2 weeks ago
Hi all.
I am trying to create an automatic mesh from a DWG file.
The DWG have contour lines with Z Values to each node/point on the lines. Is there anyway to create a mesh from these files?
Operating system used: Windows 11
2 weeks ago
You need the X, Y & Z co-ordinates, which I believe you can get from the DWG file (not that I have tried, but I recall reading about it in another post).
You can then use the option to 'Place mesh from surveys data' to create a mesh from the text file containing the co-ordinates.
But the mesh will not automatically generate contour lines.
Barry.
2 weeks ago - last edited a week ago by Laszlo Nagy
Hi Barry.
That's exactly what I'm looking for... How to create the .txt or .xyz files from the autocad file...
2 weeks ago
There is a way to create points from lines in Autocad, but it's the same manual input you would need from Archicad...
You have to select each line seperately and do a point exercise. I couldn't find a way to select all the lines and create points on all at the same time.
2 weeks ago
If you can make it into a dxf file first, this online converter should work (haven't tried it).
https://imagetostl.com/convert/file/dxf/to/xyz
Alternatively, there's also this app:
https://www.guthcad.com/dxf2xyz.htm
2 weeks ago
I thought there was some way to read the XYZ info from the DWG.
I could be wrong, it is not something I have ever had to do.
Barry.
2 weeks ago
Here is a thread regarding an Autolisp that converts lines to points, and here is one about xyz files.
AC22-28 AUS 3110 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2 weeks ago
If the DWG contains 3D information, it can be opened as an object ...
I think this is the post I was thinking of where you can then open the script for that object and then extract the XYZ information.
As I said, I have never done this.
https://community.graphisoft.com/t5/Modeling/From-DWG-to-MESH-a-trick/m-p/167437?p=183356
Barry.