You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I import an SVG with curves (lettering in my case) the resulting G-code is... large. For some reason the SVG parser seems to be rendering the curves at far higher resolution than bCNC is using. Even though I do see a reference to CNC.digits in calls to svgcode.get_gcode it doesn't seem to change the number of segments generated when I alter that value, but instead the curves become more jagged due to quantizing errors.
Here is a hunk of G-gode generated from an SVG import:
Notice that there are 8 lines with exactly the same Y coordinate which could have been one line (G1 X0.2648 Y-11.1538).
Unfortunately I don't understand enough about how SVGs or the bCNC code work to figure out how to improve this. Hoping @Harvie can point me in the right direction.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When I import an SVG with curves (lettering in my case) the resulting G-code is... large. For some reason the SVG parser seems to be rendering the curves at far higher resolution than bCNC is using. Even though I do see a reference to CNC.digits in calls to svgcode.get_gcode it doesn't seem to change the number of segments generated when I alter that value, but instead the curves become more jagged due to quantizing errors.
Here is a hunk of G-gode generated from an SVG import:
G1 X0.215 Y-11.1538
G1 X0.2221 Y-11.1538
G1 X0.2293 Y-11.1538
G1 X0.2364 Y-11.1538
G1 X0.2436 Y-11.1538
G1 X0.2507 Y-11.1538
G1 X0.2578 Y-11.1538
G1 X0.2648 Y-11.1538
Notice that there are 8 lines with exactly the same Y coordinate which could have been one line (G1 X0.2648 Y-11.1538).
Unfortunately I don't understand enough about how SVGs or the bCNC code work to figure out how to improve this. Hoping @Harvie can point me in the right direction.
Beta Was this translation helpful? Give feedback.
All reactions