by using FreeCAD really for work, I stumbled upon a real problem: I have been given a STEP file for an assembly, and that assembly contained, among other things, a CAD model of a standard Newport component (HVM-1T), and for which you can download a STEP file:
https://www.newport.com/p/HVM-1t
The original STEP file as provided by Newport works flawlessly, but the one that came with the assembly doesn't. That CAD model I received is an export from some other CAD system from partners, and I don't know what they use, I only got their export, which I couldn't load into FreeCAD, or rather not into the latest FreeCAD 19-pre.
BUT: I could load it with the FreeCAD stable (0.18.4) and also with realthunder's FreeCAD 19-asm3, and also with an old FreeCAD 17. By swithcing between these version I could nail the problem down to the faulty component, which I renamed "BadCompound". I've attached the version info of the FreeCAD versions I tested.
So, what happens:
The faulty FreeCAD model HVM-1T_bad.FCStd is attached below. When you open the model, nothing spectacular happens because the faulty solid is hidden. When you try to show the faulty solid, FreeCAD complains that:
Code: Select all
<Part> ViewProviderExt.cpp(1326): Cannot compute Inventor representation for the shape of HVM_1T_bad#Part__Feature155
Code: Select all
/tmp/.mount_FreeCAB7qVtS/AppRun: line 27: 26209 Killed ${MAIN} "$@"
I've tried several older FreeCAD versions, for which you can find the info below, and basically the problem comes from OCC 7.4: everything with 7.3.0 works, with 7.4.0 it doesn't. The switch was done between git #0.19.19107 and #0.19.19180. Coin 4.0.0 or 4.0.0a doesn't make a difference.
***********************************
DOESN'T WORK:
***********************************
FreeCAD_19-pre:
OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19518 (Git) AppImage
Build type: Release
Branch: master
Hash: 16b2b9a864fbf8fcae6af1e38640995fd0fefeaf
Python version: 3.8.1
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)
v0.19.19180:
OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19180 (Git) AppImage
Build type: Release
Branch: master
Hash: 6f52e8425e73693d1242d02dc99a23b63ae36975
Python version: 3.7.6
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.4.0
Locale: English/United Kingdom (en_GB)
***********************************
WORKS:
***********************************
v0.19.19107:
OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19107 (Git) AppImage
Build type: Release
Branch: master
Hash: ad952191297fe53593c4d4b0ac80b43fd6664b22
Python version: 3.7.6
Qt version: 5.12.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
FreeCAD_19-asm3:
OS: Ubuntu 18.04.3 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16830 +1496 (Git) AppImage
Build type: Release
Branch: LinkStage3
Hash: 1b29767b545440b7ab93f1a5f2b742d622f1b547
Python version: 3.7.3
Qt version: 5.9.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
FreeCAD_18.4 (stable) :
OS: Ubuntu 18.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4.
Build type: Release
Python version: 3.6.8
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
FreeCAD 17:
OS: Ubuntu 18.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)