abey79 / vpype

The Swiss-Army-knife command-line tool for plotter vector graphics.
https://vpype.readthedocs.io/
MIT License
702 stars 61 forks source link

show_pen_up does not work in API mode, but is fine in CLI mode #242

Closed vmario89 closed 3 years ago

vmario89 commented 3 years ago

Hi,

i am working on an InkScape extension to integrate vpype basics. This works really well. I did a lot of work already. But now i got some bug as described in title: show_pen_up does not work.

vpype_viewer.show(doc, view_mode=ViewMode.PREVIEW, show_pen_up=True, show_points=False, argv=None)
vpype_viewer.show(doc, view_mode=ViewMode.PREVIEW, show_pen_up=False, show_points=False, argv=None)

both produce same output: no trajectories at all. They are just missing. There must be some bug in the internals or sth ive overseen in documentation. Do you have some working example maye?

regards, Mario

vmario89 commented 3 years ago

hey, found the problem in my routine. no issue in vpype. sorry for bothering ;-)