Importing ascii points - can't make it work

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

Importing ascii points - can't make it work

ariconstancio
Hello,

I compiled today LibreCAD from source (2.0.0beta1-73-g2a86e30) and everything went OK.
However, I can't use the 'read ascii points' plugin.

I've read all threads related to this and I've used all formats proposed with sample-levels.txt on ./LibreCAD/plugins/asciifile.

I *always* get only this message: dibpunto procesFile .

Is there anything I can do to debug this?

Thanks in advance,
Ari Constancio
Reply | Threaded
Open this post in threaded view
|

Re: Importing ascii points - can't make it work

ariconstancio
ariconstancio wrote
I compiled today LibreCAD from source (2.0.0beta1-73-g2a86e30) and everything went OK.
This is an Ubuntu machine with all dependencies installed.
Reply | Threaded
Open this post in threaded view
|

Re: Importing ascii points - can't make it work

Rallaz
On message: dibpunto procesFile. => click Ok
then Auto Zoom
Reply | Threaded
Open this post in threaded view
|

Re: Importing ascii points - can't make it work

ariconstancio
Rallaz wrote
On message: dibpunto procesFile. => click Ok
then Auto Zoom
Nothing happens after clicking OK and after selecting Auto Zoom.
Rallaz, do you have any more suggestions?

Are there any dependencies version problems?

Thanks
Reply | Threaded
Open this post in threaded view
|

Re: Importing ascii points - can't make it work

Rallaz
I tested 'read ascii points' plugin and works fine.

See this thread for format information:
http://forum.librecad.org/ASCII-file-format-td5707429.html

Attached a sample file.
Import whit format "Tab Separator" and activate 2D point Draw point number & draw point elevation.
Run "View->Auto zoom" (point coordinates are out of default current view) and if you run "Select->select all"
you will see "Selected 330"
Reply | Threaded
Open this post in threaded view
|

Re: Importing ascii points - can't make it work

Rallaz
I forgot the attachment...
m-c_germa.pun.zip
Reply | Threaded
Open this post in threaded view
|

Re: Importing ascii points - can't make it work

ariconstancio
Rallaz wrote
I forgot the attachment...
m-c_germa.pun.zip
Rallaz, thanks so much :).

Finally I understood what was happening. Points are created in a layer other than the default one.

Somehow I couldn't find this documented anywhere. If one cannot import points onto the default layer, it seems it should be mandatory to define at least a layer for the points (and not optional as it is now).

Thanks again and regards,
Ari Constancio
Reply | Threaded
Open this post in threaded view
|

Re: Importing ascii points - can't make it work

Rallaz
ariconstancio wrote
Finally I understood what was happening. Points are created in a layer other than the default one.
May be missing some more checks in layer creation, but if you set on "Draw 2D Point" and layer name are empty on accept a dialog are sown: "Point 2D layer is empty" (with a bad title -Sample plugin- )