Cannot import .dxf file #185
-
Hello everyone! I am trying to import a custom geometry from SolidWorks to section-properties, but the following error comes up: "parent = polygons.pop(0) IndexError: pop from empty list" Has this happened to anyone in the past? What software do you use to create a custom geometry from CAD and import it? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 6 replies
-
Hi @shearstressed, are you able to share the dxf file? A bit hard to debug without. Robbie |
Beta Was this translation helpful? Give feedback.
-
Hi @robbievanleeuwen , you do have a point and I'm sorry! Here is the file attached. Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thanks @pedro-brands! Glad to hear you are such an avid user :)
I think Rhino is from an independent company owned by Robert McNeel and his McNeel corporation. A polyline is a polyline and it won’t matter which software made it as long as it’s a polyline (thankfully!)
This situation with SolidWorks is puzzling…I wish I had a copy to play with!
… On Jan 28, 2022, at 06:30, pedro-brands ***@***.***> wrote:
Hi guys! I love your work. Used it so many times (and I used it for mechanical structural design btw) ! I was able to import a .dxf from inventor through your code. So I would assume, since rhino is from Autodesk, that CAD2Shapely, only works well with some type .dxf from Autodesk Softwares.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
Hi @robbievanleeuwen , you do have a point and I'm sorry! Here is the file attached.
I am sending it in the .txt format, since github doesn't accept .dxf files.
Thanks!
test.txt