FreeCAD v0.20 and importing Inventor .IPT files

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
mp77Bushnell
Posts: 50
Joined: Sun Dec 23, 2018 3:34 pm

FreeCAD v0.20 and importing Inventor .IPT files

Post by mp77Bushnell »

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.28968 (Git)
Build type: Release
Branch: master
Hash: 03f38526172d8bc6274ddfb5cdd3ad6b691f5f56
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods: 
  * A2plus
  * dxf-library
  * InventorLoader 1.3.0
  * InventorLoader-master


I installed Beta .20 tonight
I installed Inventor mods
(see above)

I then tried.. to import an inventor 2019 IPT file
FAILED.
See below which is I hope are the error messages

Code: Select all

22:17:30 Traceback (most recent call last):
File "<string>", line 1, in <module>
File "C:\Program Files\FreeCAD 0.20\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\gandrews\AppData\Roaming\FreeCAD\Mod\InventorLoader-master\importerIL.py", line 8, in <module>
import os, sys, FreeCAD, importerSAT, Import_IPT
File "C:\Program Files\FreeCAD 0.20\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\gandrews\AppData\Roaming\FreeCAD\Mod\InventorLoader-master\importerSAT.py", line 8, in <module>
import tokenize, sys, FreeCAD, Part, re, Acis, traceback, datetime, ImportGui
File "C:\Program Files\FreeCAD 0.20\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\gandrews\AppData\Roaming\FreeCAD\Mod\InventorLoader-master\Acis.py", line 10, in <module>
from importerUtils import *
File "C:\Program Files\FreeCAD 0.20\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:\Users\gandrews\AppData\Roaming\FreeCAD\Mod\InventorLoader-master\importerUtils.py", line 14, in <module>
from olefile import OleFileIO
File "C:\Program Files\FreeCAD 0.20\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
<class 'ModuleNotFoundError'>: No module named 'olefile'
I have looked at other IPT posts (seems I’m not alone)
I looked for Youtubes (one previously mentioned seemed to point at grabcad not free cad and another said to change extension which was confusing.

So can anyone describe step by step how to inport an Inventor 2019 IPT file successfully and maybe tell me how to interpret the error messages above?

I hoped .20 would solve my issues but… so far I’ve had no luck.
Last edited by Kunda1 on Mon Jun 27, 2022 11:50 am, edited 1 time in total.
Reason: fixed thread formatting and typo in title
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: .20 aqnd importing Inventor .IPT files

Post by thomas-neemann »

mp77Bushnell wrote: Thu Jun 16, 2022 2:31 am ...
Can you upload the file somewhere?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
mp77Bushnell
Posts: 50
Joined: Sun Dec 23, 2018 3:34 pm

Re: .20 aqnd importing Inventor .IPT files

Post by mp77Bushnell »

Seems "attachments" rejects .IPT files so
I am attaching with changed name and extension... HOPEFULLY this WORKS<G>
It WAS .ipt
Now it is .txt
Hopefully changing it and changing it back on you end does not break it.
Attachments
ONE BLOODY WINDOW KNIGHT.txt
(91 KiB) Downloaded 19 times
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: .20 aqnd importing Inventor .IPT files

Post by thomas-neemann »

mp77Bushnell wrote: Fri Jun 17, 2022 6:59 pm ...
here it works

Code: Select all

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Installed mods: 
  * InventorLoader 1.3.0
  * Assembly3 0.11.3
Bildschirmfoto_2022-06-17_21-08-46.png
Bildschirmfoto_2022-06-17_21-08-46.png (10.43 KiB) Viewed 1128 times
Bildschirmfoto_2022-06-17_21-07-41.png
Bildschirmfoto_2022-06-17_21-07-41.png (3.91 KiB) Viewed 1128 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
mp77Bushnell
Posts: 50
Joined: Sun Dec 23, 2018 3:34 pm

Re: .20 aqnd importing Inventor .IPT files

Post by mp77Bushnell »

So does that suggest it work in Ubuntu 20.04 and NOT in Windows?
Could it be the add on and OS?

Since I'm having difficulties with what should be "easy"... getting into differences between OS releases is WAY BEYOND MY PAY GRADE!

Anyone have success in Windows?

or looked at the errors I was getting?

Thanks.

Gordon
User avatar
mp77Bushnell
Posts: 50
Joined: Sun Dec 23, 2018 3:34 pm

Re: .20 and importing Inventor .IPT files

Post by mp77Bushnell »

So does that suggest it work in Ubuntu 20.04 and NOT in Windows?
Could it be the add on and OS?

Since I'm having difficulties with what should be "easy"... getting into differences between OS releases is WAY BEYOND MY PAY GRADE!

Anyone have success in Windows?

or looked at the errors I was getting?

Thanks.

Gordon
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: .20 aqnd importing Inventor .IPT files

Post by Roy_043 »

I encounter no issue importing the IPT file. Note that I do not have an InventorLoader-master folder. I suggest you move that folder to a temporary location where FreeCAD can't find it, reinstall InventorLoader, restart FreeCAD, and try again.

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: Dutch/Netherlands (nl_NL)
Installed mods: 
  * InventorLoader 1.3.0
  * sheetmetal 0.2.49
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: .20 aqnd importing Inventor .IPT files

Post by adrianinsaval »

unrelated but why install beta when the stable release is already available? https://github.com/FreeCAD/FreeCAD/releases/tag/0.20
Post Reply