What are limits on X,Y inputs with Polyline command?

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

What are limits on X,Y inputs with Polyline command?

Aces
I am new to LibreCAD; coming from an AutoCAD LT and SolidWorks Background. My goal is to import X,Y coordinates using a polyline command. I managed to get LibreCAD setup to accept multiline command inputs. But the program I use to generate my X,Y coordinates does something that causes an "Expression Syntax Error". It uses Exponential format. So a typical set of data would look like this:

polyline;
-4.282803787E-01,3.937982315E+00;
-4.239265659E-01,3.938526345E+00;

and there would be 20+ data points. I tried eliminating the Exponential format to something like this:

polyline;
-0.4282803787,3.937982315;
-0.4239265659,3.938526345;

But get the same syntax error.

Any idea what I'm doing wrong?

I'm using version: Version: 2.2.0-rc1
Compiler: GNU GCC 4.9.1
Compiled on: Feb 16 2018
Qt Version: 5.4.1
Boost Version: 1.53.0
System: Windows

-Kevin
Reply | Threaded
Open this post in threaded view
|

Re: What are limits on X,Y inputs with Polyline command?

aman
Hello Aces and welcome to the forum!

I'm still using 2.1.3, and there is Plugins => Read ascii points

You can select separator, tested with commas (,) works. I think those semicolons at line ends are the source of problem.
Reply | Threaded
Open this post in threaded view
|

Re: What are limits on X,Y inputs with Polyline command?

Aces
Thanks Aman!

That worked. I selected comma as the separator; And eliminated the semicolons at the end of the lines. This is even better, as the software that creates the X,Y points doesn't add semicolons now.

Much appreciated.
-Kevin