Changing tool options when using polyline on the command line

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Changing tool options when using polyline on the command line

hughrand
I can easily create various shapes with polyline at the command line. For example:

          polyline; 0,0; 10,0; 10,20; 5,10; 0,10; c

What I cannot seem to figure out how to do (or find online) is switch back and forth betwen the tool options available for polyline (line, tangentail, tan radius, angle).

I want to make a polyline that is a series of lines and arcs connected in succession, and I want to do it from the command line. What am I missing?

Thank you.
Reply | Threaded
Open this post in threaded view
|

Re: Changing tool options when using polyline on the command line

dellus
I'm not a command line specialist, but it seems the function you are asking for is just not implemented in LibreCAD.  
Reply | Threaded
Open this post in threaded view
|

Re: Changing tool options when using polyline on the command line

hughrand
I was afraid of that. Do we know if this is an easy code change or a hard one?
Reply | Threaded
Open this post in threaded view
|

Re: Changing tool options when using polyline on the command line

dellus
From the manual https://librecad.readthedocs.io/en/latest/guides/cmdline.html#command-line-functions:


So it's generally possible and implemented for other tools. Are you a bit into coding yourself? Then you might have a look at that sample. If not you can place a feature request at github. If you are lucky a developer will fulfill it some day.
Reply | Threaded
Open this post in threaded view
|

Re: Changing tool options when using polyline on the command line

hughrand
I'll take a look. I haven't dug into this codebase.