jmplonka / InventorLoader

Workbench for FreeCAD to loads or import Autodesk (R) Inventor (R) files.
GNU General Public License v2.0
114 stars 17 forks source link

Incomplete import on plain SAT #82

Open marcocecchiscmgroup opened 6 months ago

marcocecchiscmgroup commented 6 months ago

Dear Jens, this one should be very easy for you. The attached sat, which presents nothing apparently unusual, crashes on conversion. The reason is simple, it's OCCT failing to create a periodic b-spline when indicated to be non periodic. The fix is simple:

      periodic = False, \
      periodic = pcurve.uPeriodic, \

in create createBSplinesPCurve(). With this, the converted step misses the six holes (cylindrical surface with all its bounds) on the side face. Actually the conversion results in a STEP file which is about half the size of the correct version. Both are included.

Your help here would be much appreciated, thanks in advance. samples.zip