Importing STEP file has some issues

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Post Reply
koktoh
Posts: 1
Joined: Mon Dec 06, 2021 1:41 pm

Importing STEP file has some issues

Post by koktoh »

Importing some colored step files is not work correctly.

1. Sometimes, imported colored step file is not displayed color.
2. Importing step file what has many parts fails.

# Using versions

---
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Japanese/Japan (ja_JP)
---

---
OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Japanese/Japan (ja_JP)
---

---
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Japanese/Japan (ja_JP)
---

# Issue 1

Ver 0.18 can import successfully, but Ver 0.19 and 0.20 can`t. In Ver 0.19 and 0.20, imported models have no color (looks like same result).
See screenshots (importing_colored_step_in_0-18 - 20.png) and step file (usb_c.step).
This step file is downloaded from internet, and modified in FreeCAD 0.19 and exported.

# Issue 2

Ver 0.18 can also import successfully.
In Ver 0.19, during importing, application says "Illegal storage access" and freeze.
In Ver 0.20, application can import with some errors without freeze. But, some colored models have no color.
See screenshots (importing_many_parts_step_in_0-18 - 20.png) and step file (02.step)
This step file is exported from KiCad (5.1.8)-1.

Screenshots and step files are here.
https://drive.google.com/drive/folders/ ... sp=sharing
Post Reply