gcanvas icon indicating copy to clipboard operation
gcanvas copied to clipboard

Is it possible to control the amount of generated segments?

Open GuiRitter opened this issue 5 years ago • 1 comments

Hi everyone.

I'm using Gcanvas with canvg to generate CNC from SVG.

I want to know if it's possible to decrease the amount of generated Gcode commands, for when commands are too close to each other, like less than 0,001 mm (which only makes sense after I convert from px to mm according to my scenario).

A picture is worth a thousand words so, this is what I want to do. I don't remember if I did implemented that or if I just considered, but I'd like to know if it's already implemented in Gcanvas or canvg in any way, shape or form.

Ideally, I wanted to just input a value that relates to how many segments will be generated, so I can fine tune how many segments I need generated based on how long they get generated.

I'm just asking if it's already possible because, if it isn't I imagine it will be a lot of work to implement it.

Thanks in advance.

GuiRitter avatar Apr 30 '19 20:04 GuiRitter

I don't know the answer but I read about half the article and it was super interesting.

MCTaylor17 avatar Jul 04 '20 04:07 MCTaylor17