Replies: 1 comment
-
Hi!
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello all!
Currently I'm have a difficulty for exporting a geometry via dxf format in ezdxf.
I'm trying to import exported dxf into Hypermesh to make FE mesh however I don't know why dxf file isn't imported to Hypermesh.
So, I just have tried to importing generated dxf file into UG-NX , it was successfully imported to UG.
Simply speaking, my dxf file that is created by ez dxf is working ok @ UG but that is not working @ Hypermesh.
Is there anyone who knows problem for this? I'm really appreciate if anyone give me a comment or hints on it.
I attached code as below
#-------------------------------------------------------------------------------------------------#
import ezdxf
doc = ezdxf.new("R2018")
msp = doc.modelspace()
points = section_pair[1]
msp.add_lwpolyline(points)
doc.saveas("lwpolyline10000.dxf")
section_pair[1] = [(107, 167),
(108, 167),
(109, 167),
(110, 167),
(111, 167),
...
(341, 167),
(342, 167),
(343, 167)]
Beta Was this translation helpful? Give feedback.
All reactions