Replies: 3 comments 1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi!
My recommendation are packages designed for these tasks: |
Beta Was this translation helpful? Give feedback.
1 reply
-
![]() I messed around a bit more with ARC to faces, but had to split the ARC into 10 segments with some math, and it's not exactly what I was looking for, so I figured for now ezDXF is not the right tool. |
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.
-
I have been looking into ezdxf last few days, got to know LINE, ARC, LWPOLYLINE, etc... pretty well. made code to open a dxf file, recreate LINE and ARC's into a new file, even converting it to lwpolyline. My goal is to make this so the 2d drawing which comes from locked software into a 3d model as the output changes every day.
I thought just to ask the community if what I am trying to achieve is possible at all ?
From this LINE and ARC's only:

to this:

I have made a function that converts the line's into lwpolyline with z as the height factor (either start or end + height). I slightly looked into arc, but I figured if I cant extrude the line's into a 3d face, then I wont dig further. When I open up the new dxf, the lwpolylines is not extruded in the z axis.
`
for entity in msp:
if entity.dxftype() == "LINE":
start = entity.dxf.start
end = entity.dxf.end
start_3d = (start[0], start[1], start[2] + 1)
end_3d = (end[0], end[1], end[2] + 1)
`
Well actually closing the top and bottom is next step.
What do you all think, possible ?
Beta Was this translation helpful? Give feedback.
All reactions