-
I want to import body from a dxf file. To do this, I add an IBodyImporter interface to the Class DxfExchanger. The main functions of Importer are implemented in the DxfBodyImporter class. Please find code from here: RileyGe@5f6be7e When I import the file(Please find the file in the attachment) P31-2.dxf, every thing work fine. But when I import P31-6.dxf, Exception happens whith information: I try my best to find the error, I found when adding the third face exception happens. But I have little experience of occ coding, so I have trouble to fix this. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
This probably means that one of the two shapes is not valid. You can activate "enable native debugger" in the project settings to see what is happening in the OCCT and where something is going wrong. Is one of the native instance pointers null? |
Beta Was this translation helpful? Give feedback.
-
hi, this such a great feature in conversion DXF to STEP files. Is the code is merged and available or supported officially? |
Beta Was this translation helpful? Give feedback.
This probably means that one of the two shapes is not valid. You can activate "enable native debugger" in the project settings to see what is happening in the OCCT and where something is going wrong.
Is one of the native instance pointers null?