Hello, thanks, and question

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

Hello, thanks, and question

Jozef
Hello,
I appreciate LibreCad and all the work that has gone into it.  I have mainly used it as a tool to verify the dxf output from another drawing package.  So in a way it is my reference and very important to avoid mistakes when sending my files to the shop.
I am working now on an idea for converting a 2d drawing into Gcode for engraving.  I know there are packages that claim to do this but I'm yet to find a good one that can output efficient codes.  I would like to explore taking the coordinates for the various entities to use.  I know that I can get entity coordinates for one thing at a time using the plugin.  Is there a way I can get all the entities at once and send them to a file?  I know I'm asking a lot, but thought that since LibreCAD already reads the dxf file and must parse all the data, maybe it is available somehow?  My apologies if it seems a stupid question.
thanks,
Jozef
Reply | Threaded
Open this post in threaded view
|

Re: Hello, thanks, and question

sand1024
well, different entities are described by set of different coordinates... i.e. - point - just one coordinate. line - 2 of them. Circle - coordinate of center and radius... and so on.

So I'm not sure I understand how coordinates of "all entities" may be collected in some uniform way and sent to the file. Do you have some specific format in mind?
Reply | Threaded
Open this post in threaded view
|

Re: Hello, thanks, and question

perepujal
In reply to this post by Jozef
Hi, with the "List entities" plugin you could see some of the info you ask for:

Click on Plugins->List entities, select the entities you want the info, then hit Enter

alternatively, first select anything you want info, then click on Plugins->List entities, then hit Enter

Then copy/paste the output to a file, this is not automated, and maybe there are info you don't need, see for example the ouput of a circle:

n 4: CIRCLE
  Layer: 0
  Color: BYLAYER
  Line type: BYLAYER
  Line thickness: BYLAYER
  ID: 1002
    center point: X=20.0000 Y=110.2500
    radius: 23.9505
    circumference: 150.4852
    area: 1802.0961

HTH
Pere