Plug-in for AUTODESK Inventor files
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Plug-in for AUTODESK Inventor files
I can very well understand the frustration about post-installation of the required packages.
If anyone has an idea of how to install the packages available in the libs.zip archive, please contact me.
BTW the version linked with the freecad-addon folder is rather old! please use the latest one.
If anyone has an idea of how to install the packages available in the libs.zip archive, please contact me.
BTW the version linked with the freecad-addon folder is rather old! please use the latest one.
Re: Plug-in for AUTODESK Inventor files
jmplonka wrote: ↑Fri Jun 08, 2018 1:30 pm I can very well understand the frustration about post-installation of the required packages.
If anyone has an idea of how to install the packages available in the libs.zip archive, please contact me.
BTW the version linked with the freecad-addon folder is rather old! please use the latest one.
may be these libs could be added to the installersgrogan wrote: .. ping
Re: Plug-in for AUTODESK Inventor files
How can I use the module in ubuntu?
I managed to install xlwt and xlrd
What can I do?
Cheers,
Wolf
I managed to install xlwt and xlrd
I foundsudo apt install python-xlwt
sudo apt install python-xlrd
and in the endsudo apt install python3-pip
The system stated "xlutils installed successfully - but at FC (addon manager) still there is the message "missing python module xlutils"sudo pip3 install xlutils
What can I do?
Cheers,
Wolf
Re: Plug-in for AUTODESK Inventor files
Hi Wolf,herrdeh wrote: ↑Mon Oct 01, 2018 12:23 pm How can I use the module in ubuntu?
I managed to install xlwt and xlrdI foundsudo apt install python-xlwt
sudo apt install python-xlrdand in the endsudo apt install python3-pipThe system stated "xlutils installed successfully - but at FC (addon manager) still there is the message "missing python module xlutils"sudo pip3 install xlutils
What can I do?
as I don't have FC on linux, I only can give you the hint from https://pypi.org/project/xlutils/
https://pypi.org/project/xlutils/
In the folder of InventorLoader you should find an archive (libs.zip).
Just extract it whereever you like.
Navigate to each subfolder on the terminal.
for each subfolder run:
- #.../olefile > python ./setup.py install
- #.../xlrd-1.1.0 > python ./setup.py install
- #.../xlwt-1.3.0 > python ./setup.py install
- #.../xlutils-2.0.0 > python ./setup.py install
Cheers
-Jens
Re: Plug-in for AUTODESK Inventor files
Allright, that worked. Thank you very much.
I had to use ubuntu's "setuptools", those installed by "pip3 install setuptools" do not work; all your install commands have to be "sudo"ed. - Anyway.
Now - I successfully imported my desired part, so I'm happy.
Nevertheless - the import feature behaves unexpectedly. It might be a good idea to achieve access to a linux machine and have a look, it would be too much to explain.
Anyway - thank you very much for the module - it solved a major problem for me!
Cheers,
Wolf
I had to use ubuntu's "setuptools", those installed by "pip3 install setuptools" do not work; all your install commands have to be "sudo"ed. - Anyway.
Now - I successfully imported my desired part, so I'm happy.
Nevertheless - the import feature behaves unexpectedly. It might be a good idea to achieve access to a linux machine and have a look, it would be too much to explain.
Anyway - thank you very much for the module - it solved a major problem for me!
Cheers,
Wolf
Re: Plug-in for AUTODESK Inventor files
Thank you for sharing the example.
Your part consists of:
The parameters you're using will be collected in a table 'T_Parameters' (please compare it with Inventors "Manage"->"Parameters").
Your part consists of:
- 2D-Sketch 'ТРАЕКТОРИЯ ХОМУТА ! вкл.'
- Extrusion 'головка'
- Fillet 'Сопряжение1'
- Sweep 'Сдвиг1'
- Sweep 'Сдвиг2'
- Chamfer 'Фаска1'
- Chamfer 'Фаска2'
- Fillet 'Сопряжение2'
The parameters you're using will be collected in a table 'T_Parameters' (please compare it with Inventors "Manage"->"Parameters").
Re: Plug-in for AUTODESK Inventor files
Hi @jmplonka
Your WB is becoming very useful also for KiCAD & FreeCAD collaboration.
At the 3D models library of KiCAD we have many contributors, and some of them are not using FreeCAD. So if someone wnats to contribute with a model designed with a different CAD modeller, this is allowed.
The nice thing is that through your WB, Inventor models can be reworked in FreeCAD if needed
Here a thread in GH
https://github.com/KiCad/kicad-packages ... e/pull/174
If you want to play with the model, here it is the link:
LairdTech_28C0236-0JW-10.ipt Few small things I noticed:
1) The 'Native' importer is missing a fillet ... (but I think this is a feature in your to-do)
2) The 'Native' importer creates features, assigning each one a 'Shaded' view... would it possible to simple leave the view as the standard (DisplayMode "Flat Lines") and eventually change the view for all the document? In this way it easier to switch back to the standard view mode, just acting on the document view.
3) The 'convert to STEP' importer does all the job as the STEP file exported from inventor itself
4) Both 'Native' and 'convert to STEP' are missing colors... Colors are instead present on the Inventor preview dialog...
Do you think some of these points could be implemented?
Thanks again for your WB.
Maurice
Re: Plug-in for AUTODESK Inventor files
1) You're right - Fillets and Chamfers are on my to-do list and I'm currently working on it. But unfortunately I'm struggling sorting out the correct line indices.easyw-fc wrote: ↑Sun Oct 28, 2018 5:46 pm Few small things I noticed:
1) The 'Native' importer is missing a fillet ... (but I think this is a feature in your to-do)
2) The 'Native' importer creates features, assigning each one a 'Shaded' view... would it possible to simple leave the view as the standard (DisplayMode "Flat Lines") and eventually change the view for all the document? In this way it easier to switch back to the standard view mode, just acting on the document view.
3) The 'convert to STEP' importer does all the job as the STEP file exported from inventor itself
4) Both 'Native' and 'convert to STEP' are missing colors... Colors are instead present on the Inventor preview dialogue...
2) This is a workaround I missed to withdraw. It is planned to assign the view properties as defined in IPT files.
3) That was at least the plan, but unfortunately I'm fighting to resolve the surface's refs and implement missing curves and surfaces:
- helix_spl_cur - helical curve
- srf_srf_v_bl_spl_sur - some kind of blend spline surface?
- sweep_sur - sweep surface.
- comp_spl_sur - composed spline surface.
- resolving surface edges is a little bit tricky and leads sometimes to the wrong result
- colours are missing
- not all types of curves and surfaces are implemented (see above)
BTW: InventorLoader is not (yet?) a Workbench, it's "only" an addon/plugin. There are no additional new "Features" like iMates (allowing to parametrize a set of Part variant - e.g. Part with defined set of length, diameters, ... )
ps: thank you for sharing the example.
Re: Plug-in for AUTODESK Inventor files
Thanks a lot
Just another side note...
I noticed an issue on features like Extrusions or Revolutions etc when based on a Sketch.
The Sketch doesn't get loaded as Sketch, but as a Face (Shape)...
Here a screenshot