Plug-in for AUTODESK Inventor files

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Roy_043
Veteran
Posts: 8456
Joined: Thu Dec 27, 2018 12:28 pm

Re: Plug-in for AUTODESK Inventor files

Post by Roy_043 »

johnwang wrote: Wed May 20, 2020 1:47 pm I just try to avoid using addonmanager. Alway install plugin manually.
If you have other issues with the Std_AddonMgr command you should maybe start a new topic.
User avatar
johnwang
Veteran
Posts: 1345
Joined: Sun Jan 27, 2019 12:41 am

Re: Plug-in for AUTODESK Inventor files

Post by johnwang »

Roy_043 wrote: Wed May 20, 2020 2:04 pm
johnwang wrote: Wed May 20, 2020 1:47 pm I just try to avoid using addonmanager. Alway install plugin manually.
If you have other issues with the Std_AddonMgr command you should maybe start a new topic.
https://forum.freecadweb.org/viewtopic.php?f=4&t=46569
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
jmplonka
Posts: 138
Joined: Tue Dec 20, 2016 7:47 am
Location: Vaihingen (Enz), Germany

Re: Plug-in for AUTODESK Inventor files

Post by jmplonka »

Roy_043 wrote: Wed May 20, 2020 1:59 pm Another test file: Primitives_test.dxf.

Error:
Traceback (most recent call last):
...
File "C:\Users\<username>\AppData\Roaming\FreeCAD\Mod\InventorLoader\Acis.py", line 2704, in setSubtype
self.vrange, i = getInterval(chunks, i, MIN_INF, MAX_INF, getScale())
...
<class 'IndexError'>: list index out of range
Back from vacation without any computer ;)
The error should be fixed now.
There still remains a common problem with the transformation information of a body. The info is currently ignored because I don't know a way to attach placement information to a shell in STEP.
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Plug-in for AUTODESK Inventor files

Post by wmayer »

Whenever opening the preferences one gets a long list of SVG files that couldn't be found. A typical warning looks like:
Cannot open file '/home/username/Projects/Mod/InventorLoader/Resources/icons/Constraint_Length.svg', because: No such file or directory
There are two reasons for the issue:
  1. The path names inside PrefsInventorLoader.ui are all wrong. They are of the form:

    Code: Select all

    ../Mod/InventorLoader/Resources/icons/Constraint_Length.svg
    
    but instead should be

    Code: Select all

    ../icons/Constraint_Length.svg
    
    After fixing this then when loading the file into the Qt Designer you can see the icons.
  2. To make it working for FreeCAD an additional change is required. This is fixed with git commit fa7ae69da
Inside the UI file the icon Constraint_Length_Driven.svg is referenced but it's not part of the repository.
jmplonka
Posts: 138
Joined: Tue Dec 20, 2016 7:47 am
Location: Vaihingen (Enz), Germany

Re: Plug-in for AUTODESK Inventor files

Post by jmplonka »

Thank you for the hint with the corrupted ICON paths. Should be fixed now - but no possibility to check it out.
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Plug-in for AUTODESK Inventor files

Post by wmayer »

I have checked out the new version and I can confirm that it works now. Thanks!
User avatar
Roy_043
Veteran
Posts: 8456
Joined: Thu Dec 27, 2018 12:28 pm

Re: Plug-in for AUTODESK Inventor files

Post by Roy_043 »

jmplonka wrote: Tue Jun 02, 2020 10:50 am The error should be fixed now.
Thanks.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Plug-in for AUTODESK Inventor files

Post by thomas-neemann »

wmayer wrote: Tue Jun 02, 2020 1:16 pm I have checked out the new version and I can confirm that it works now. Thanks!

a customer of mine would like to switch from inventor to freecad. is it possible to import inventor data and continue working on the sketch level?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
wmayer
Founder
Posts: 20245
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Plug-in for AUTODESK Inventor files

Post by wmayer »

thomas-neemann wrote: Thu Jun 04, 2020 8:50 pm
wmayer wrote: Tue Jun 02, 2020 1:16 pm I have checked out the new version and I can confirm that it works now. Thanks!

a customer of mine would like to switch from inventor to freecad. is it possible to import inventor data and continue working on the sketch level?
You better ask jmplonka directly as I don't know how complete the Inventor support is.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Plug-in for AUTODESK Inventor files

Post by thomas-neemann »

wmayer wrote: Fri Jun 05, 2020 5:58 am
thomas-neemann wrote: Thu Jun 04, 2020 8:50 pm
wmayer wrote: Tue Jun 02, 2020 1:16 pm I have checked out the new version and I can confirm that it works now. Thanks!

a customer of mine would like to switch from inventor to freecad. is it possible to import inventor data and continue working on the sketch level?
You better ask jmplonka directly as I don't know how complete the Inventor support is.
thank you. freecad is sensational
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply