Define hole from DXF Improvement #360
Replies: 1 comment 7 replies
-
Hello, Thank you for your interest in pyleecan. We are happy to know that you use it for your thesis. Feel free to open some issues/discussions if there are some topics that you want to share with the community ;) Regarding your bug first some background questions:
Normally the code shouldn't create a "closest_id" which is not a integer so I'm a bit confused by your error :/ To debug pyleecan code I personally use Windows IDE VS code (https://pyleecan.org/get.pyleecan.html) and a cloned repository of pyleecan on a python without pyleecan installed with pip. Best regards, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Thank you very much for developing and sustaining PYLEECAN, which helps a lot for my current thesis.
I'm now modeling PMSM torque ripples using PYLEECAN and need to import a specific rotor hole from a given .dxf file.
Some issues happen when using GUI to import DXF for machine design:
The .dxf file used is exported from FEMM sofware by a .fem file.
When trying different file, it's found that the line/arc in .dxf cause this error, which disapear when file only contains points.
Have you encounted this error before? what do you suggest for debug improvement?
My idea is maybe some problems in the
self.line_list
, and I'm also curious how to debug this GUI function?Thank you very much and looking forward to your reply.
BR
Xudong Wang
Beta Was this translation helpful? Give feedback.
All reactions