FreeCAD/FreeCAD

Core: STEP File Import Takes Excessive Time

Open

#18,735 opened on Dec 26, 2024

View on GitHub
 (27 comments) (0 reactions) (0 assignees)C++ (5,550 forks)batch import
3rd party: OCCFile format: STEPHelp wantedMod: CoreStatus: ConfirmedTopic: HelixTopic: PerformanceType: Bugno-auto-close

Repository metrics

Stars
 (30,913 stars)
PR merge metrics
 (Avg merge 24d 7h) (217 merged PRs in 30d)

Description

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

The issue lies in the performance of importing STEP files. I tested it in SolidWorks, and the attached file is imported in 1 minute, with a dialog window accompanying the process.

In FreeCAD, it takes 1 hour!! , and the software seems to freeze during the operation.

Additionally, after importing the file, if I save it in FreeCAD format, it takes a very long time to open again when I try to load it.

This is important to resolve as it is a key factor preventing a transition to FreeCAD.

Exemple: Reading Step File from Solidowrks image

Import STEP FILE to test: EixoY.zip

Model Imported: image

Full version info

OS: Windows 11 build 26100
Architecture: x86_64
Version: 1.1.0dev.39708 (Git) Conda
Build type: Release
Branch: main
Hash: 173ff4da1ef4f075d56c0dc617d1bf00d5f49d4b
Python 3.11.11, Qt 5.15.15, Coin 4.0.3, Vtk 9.3.0, OCC 7.8.1
Locale: Portuguese/Portugal (pt_PT)
Stylesheet/Theme/QtStyle: OpenLight.qss/OpenLight/Fusion
Installed mods: 
  * OpenTheme 2024.9.1
  * sheetmetal 0.5.6

Subproject(s) affected?

File formats

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Contributor guide