DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

3d dxf to 2d layout

Started by Slind, August 25, 2021, 07:07:46 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Slind

Is there a way to change a 3d .dxf file to 2d dcad file for layout? ( Only found 2d being changed to 3d on the forum. )

Thank you.
Slind
DCad 3D Max 2020 Ver 29.0

Rob S

JUst thinking without testing, could you just import the dxf file into Designcad, and then run the flattenZ.d3m macro on it?

This would place all of the entities in a single plane, but would probably contain a huge number of duplicate points.

If that is an issue, you could trace over the bits you need on a separate layer, and then delete the imported objects.
User since forever

Adrian 2.0

If you import the DXF file into DesignCAD you should be able to view it in 3D.
Change to 2D mode to get a 'plan' view or an 'Elevation'. You may need to rotate the model in 3d mode until you get the desired plane presented when you swap back to 2d.
Perform a vector-convert to change the planes to lines.

Be aware that you will actually be working over a drawing with multiple lines on top of each other, and some of your trim & intersect functions won't work because the lines are not in the same plane.

To solve the unwanted drawing depth, I use a macro (attached) to 'flatten' the drawing, but you will still have multiple lines.

Alternatively, in 3D mode chose a plan or elevation view and 'save-as a 2D projection'. You can ask the program to do a cleanup of lines but it's a flaky result. some lines may disappear and others are still stacked - it will also combine the lines in all sorts of random ways which you can solve using the break-line tool.
You will also have the option in the save-as window to save it with hidden lines removed. Objects behind the surface plane should be removed. Again, its a flaky tool. many points and lines will remain and need to be manually removed, while some surface geometry will be missing and need repair.
Play around until you get something you can use, but be sure to save your file first and work on a copy because once you do a save-as 2D projection DCad thinks the 3d file has been saved and if you close it you won't get prompted to save changes.

Adrian

Slind

After flattening, there were a lot of lines but was able to copy one set to another layer. Worked. 

Thank you!
Slind
DCad 3D Max 2020 Ver 29
" If you think keys are an aggravation, just imagine carrying the locks around instead."