jmplonka / InventorLoader

Workbench for FreeCAD to loads or import Autodesk (R) Inventor (R) files.
GNU General Public License v2.0
119 stars 17 forks source link
acis addon autodesk freecad freecad-addons inventor ipt parser sat step

InventorLoader

Loads/Imports: Autodesk (R) Inventor (R) files into FreeCAD (v0.18 or greater). Until now only Parts (IPT) but not assemblies (IAM) or drawings (IDW) or presentations (IPN) can be displayed.

As Inventor files contains a complete ACIS model representation, SAT and SAB files can also be imported into FreeCAD.

As Fusion360 files contains a complete ACIS model representation these files can also be opened in FreeCAD.

Status:

Released 1.3

Screenshots

Demo-Status subdirectory shows examples of this Addon.

Prerequisites

FreeCAD v0.17 or greater required!

This Addon also requires additional python packages:

Installation

Automatic Install (recommended)

Installable via the FreeCAD Addon Manager.
Requires a restart after downloading this addon.

Manual Install

  1. Create a directory in either two locations where FreeCAD searches for addons:
    a. FreeCAD's bin folder, or
    b. in the user's application data (%APPDATA% on Windows) or home (~/) folder (on Linux/MacOS).
  2. Create a Mod subdirectory if one doesn't exist and/or move in to it.
  3. Download the InventorLoader repository as either:
    a. ZIP archive, or via
    b.git clone https://github.com/jmplonka/InventorLoader.git
    and expand its content directly into the FreeCAD subdirectory named Mod.
  4. Start (or restart) FreeCAD

The next time FreeCAD starts new import formats for ACIS' SAT (*.sat) files and Autodesk Inventor's IPT (*.ipt) files as will be available and supported import formats.

Note: Please pre-install the Prerequisite python libraries so that the new packages become available.

Solving installation problems

Sometimes it can happen that the packages can't be installed.

  1. Navigate to the InventorLoader plugin (ILP) folder with your file-browser (e.g. Windows-Explorer)
  2. Extract the libs.zip into the ILP's folder (a new subfolder libs should be created).
  3. Open a command shell (e.g. cmd on windows or sh on linux)
    1. Adapt the PATH variable to point to FreeCAD's python: set PATH="<PATH-TO-FREECAD>\bin";%PATH% (on linux you have to export the PATH variable). Note: Linux and MAC users should use '/' instead of '\'!
    2. Change the working folder to ILP's libs folder (e.g. cd <PATH-TO-FREECAD>\Mod\InventorLoader-master\libs)
    3. Run the installation script: python ./installLibs.py This should install the required packages.
  4. Restart FreeCAD

Constraints in Native-IPT Import:

Please disable Dimension constraints in user.cfg:

<FCBool Name="Sketch.Constraint.Dimension.Angle2Line" Value="0"/>
<FCBool Name="Sketch.Constraint.Dimension.Angle3Point" Value="0"/>

Limitations

Export will not be supported - neither IPT nor SAT/SAB or DXF. Only files from INVENTOR V2010 or newer are supported.

Feature Based Import

ACIS (sat) Native Import

STEP Conversion Import

STEP converts the ACIS data from SAT or IPT files. Therefore any limitation is inherited.

Autodesk Inventor files have OLE2 files.
This allows embedding Excel workbooks e.g.:

DXF import

DXF files contains sometimes 3D-Solids. These are represented as SAT/SAB content. The solids can be imported either using native of STEP conversion.

History

1.3 (2021-03-09): Added support for Fusion360 files.
1.2 (2021-02-28): Added support for Inventor 2021 files.
1.1 (2020-05-04): Added importing of 3D-Solids from DXF files.
1.0.1 (2020-04-10): Fixed finding of SAB import.
1.0.0 (2019-08-26): Reorganized section readers (1.0).
0.18.0 (2019-08-07): Added coloring of single faces and changed to default Inventor campera position (RC2).
0.17.0 (2019-07-04): Missing features added as ACIS models (RC1).
0.16.0 (2019-03-19): Added creation of Shells
0.15.0 (2019-03-07): Added part variant handling (ak iPart)
0.14.0 (2019-03-05): InventorLoader is now a workbench.
0.13.0 (2019-03-01): Added support for Fillets and Chamfers. Segmented variable radius chamfers are not supported by FreeCAD. In such cases please import as STEP instead.

0.12.0 (2019-01-08): Added support for Surface Features "BoundaryPatch" and "Knit". Both features will be displayed with their own icon in the model browser.

0.11.0 (2018-11-06): Added support for Meshes
0.10.0 Added table for iParts.
0.9.5 Added chamfer feature for nativ strategy.
0.9.4 InventorLoader is now compatible with python 2 and 3
0.9.3 Added support of offset surfaces and spring surfaces (circle that is seepted along a helix)

0.9.2 Added named colors to STEP.
0.9.1 Added colors to STEP.
0.9.0 Added conversion to STEP. IPT files can now either be imported:

0.8.1 Fixed support of cone surfaces.
0.8.0 Added handling of Inventor 2019 file format.
0.7.2 Added interpolated surfaces for SAT files.
0.7.1 Added interpolated curves for SAT files.
0.7.0 Added ACIS file format reading for IPT and SAT files.

0.6.0 continued working on Features

0.5.5 Maintenance version

0.5.4 continued working on Features

0.5.3 Continued working on Features

0.5.2 Continued working on Features

0.5.1 Continued working on Features

0.5.0 Preparation for supporting Features (except iFeature)

0.4.2 Only Code Review

0.4.1 Completed parameter management.

0.4 Added spreadsheet for parameters.

0.3 Started working on sketches.

0.2 Reading document content now from DC-Segment instead of Graphics-/Browser- Segment

0.1 First "working" prototype.

Roadmap (in no particular order)