arpruss / gcodeplot

Use a 3-axis machine as a pen plotter
Other
167 stars 60 forks source link

Does not work on inkscape 1.1 - No points #36

Open alexiade opened 1 year ago

alexiade commented 1 year ago

It seems that upgrading breaks this plugin completely. The object I have is definetly a path, but... alas, no points.

alexiade commented 1 year ago

Managed to trace it down to this condition on stroking no longer working: path.svgState.stroke is not None . My path IS stroked, however it seems the state is no longer set. So nothing is exported.

alexiade commented 1 year ago

small feature request too - could you add init-code and end-code to plugin definition? Like so:

  <param name="init-code" type="string" _gui-text="Init Gcode" _gui-description="Pre-pended init commands"></param>
  <param name="end-code" type="string" _gui-text="End GCode" _gui-description="Appended end commands"></param>

I need them and I keep loosing them when I update the plugin...

arpruss commented 1 year ago

Do you know how inkscape 1.1 marks strokes? Can you post an example of the svg that doesn't work?

alexiade commented 1 year ago

Hmm. I tried to recreate it on windows with 1.2 and could not - path was properly exported. The bug fix list hinted that previous versions had a data loss issue... This may be caused by a bug in 1.1 that is the ubuntu LTS default, not in the plugin itself.