Problem importing Step (.stp) - File

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!
User avatar
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Problem importing Step (.stp) - File

Postby NormandC » Sat Feb 02, 2019 4:14 pm

Those calls refer to libraries from the OCC geometric kernel. I'm not sure there's anything that can be done here. It's possible that the original STEP file is faulty. It may be surprising, but some commercial CAD packages have very poor STEP export capability.

You could try importing the STEP file in another CAD program or viewer. For example there is CAD Assistant, a viewer made by Open Cascade (maker of the OCC kernel that FreeCAD uses). There's a Windows version.
Site Admin
Posts: 16849
Joined: Thu Feb 19, 2009 10:32 am

Re: Problem importing Step (.stp) - File

Postby wmayer » Tue Feb 12, 2019 8:14 pm

Traceback (most recent call last):
File "<string>", line 1, in <module>
<type 'exceptions.RuntimeError'>: Access violation
Traceback (most recent call last):
File "<string>", line 1, in <module>
<type 'exceptions.RuntimeError'>: Access violation
The Access violation message usually is an indication that a segmentation fault occurred somewhere. Because on Windows FreeCAD is built with the SEH option the application in many cases survive the segmentation fault. There is a good chance that the bug is with OCCT 7.2.

Above you said that it imports fine with CAD Assistant which is also based on OCCT. Can you figure out on which OCCT version your installation of CAD Assistant depends on?