- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to code a solution that will slice an object for 3D printing, using a DXF file. So I drew this very simple object (3D solid) in AutoCAD 2019:
It's a cube 20x20x20, with a vertical hole troughout with a radius of 5. Then I saved it as an R12 DXF and started analysing the file.
All the information in the header section of the DXF file, like $EXTMIN and $EXTMAX are positive values, and this corresponds with the object drawn. However, when I view the entities for this geometry (either in BLOCKS or ENTITIES), I get the following:
0
CIRCLE
5
4FF
8
0
10
-40.0
20
40.0
30
0.0
40
5.0
210
0.0
220
0.0
230
-1.0
Now how on earth did I get a negative value for the X position of the centre of the circle, when every element of the entity is drawn in the positive X-Y plane in AutoCAD? The value of -40 indicated that it is measured from (0,0,0) in the DXF file. But in the wrong direction.
Also, where can I find the information in the DXF file that the 2 circles are actually the start end end circles that form a hole in the cube? As far as I can see there is no information available in the DXF file from which I can conclude that there is a hole, and not just 2 circles on the top and bottom of the cube.
I searched my heinie off trying to find answers, but there is no information available online from which I can conclude or derive info to solve this issue.
Solved! Go to Solution.