InventorLoader
InventorLoader copied to clipboard
Ipt to Step is not working.
Hi, I just found this workbench to convert a model to step. It looks like it is not working for me. I am not sure if this is a problem with my ipt model or a problem with the InventorLoader. I am going to share the output of Freecad, here.
I selected to import the step, but it looks like it is importing all the options presented in the popup window.
20:39:25 Importing: /home/lheck/Downloads/Caja_Metalica_Octagonal.ipt
20:40:06 pyException: Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/lheck/.local/share/FreeCAD/Mod/InventorLoader/./importerIL.py", line 118, in insert
reader.create3dModel(group, doc)
File "/home/lheck/.local/share/FreeCAD/Mod/InventorLoader/./Import_IPT.py", line 279, in create3dModel
convertModel(root, doc.Name)
File "/home/lheck/.local/share/FreeCAD/Mod/InventorLoader/./importerSAT.py", line 151, in convertModel
ImportGui.insert(stepfile, docName)
<class 'OSError'>: Cannot read STEP file: /home/lheck/Downloads/Caja_Metalica_Octagonal_ipt/0016.step
I am also attaching the file here. Caja_Metalica_Octagonal.zip
I am using the latest Freecad, 0.22
OS: Ubuntu 23.10 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36117 (Git) AppImage
Build type: Release
Branch: main
Hash: 8a3407aee6dff8218282d9cdc3f4e32e7ad958d4
Python 3.10.13, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* InventorLoader 1.4.0
According to the log the model has been successfully converted, but failed writing the STEP file /home/lheck/Downloads/Caja_Metalica_Octagonal_ipt/0016.step.
This is not a problem of this library.
Ah, ok.
The generated file is this binary file
Reading it with the text editor it looks like this.
It is a data file...
It should be like this one (ASCII file)
The cat
can see something inside...
It looks like I have encoding issues or something else, here..
I was updating my last message, sorry, hit send before it was ready.
The file you shared is good. See: