vocx wrote: ↑Fri Aug 21, 2020 8:22 pm
I cannot reproduce the crash and my version is very similar to yours. I thought that maybe this could be an issue with OCCT 7.3 or OCCT 7.4 but people have reported success and failure with both.
What are the Import_Export_Preferences for STEP files? In my case, the only checkbox enabled is "Enable STEP Compound merge", but the rest are disabled.
Just confirmed that after changes FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Import/hSTEP").SetBool("ReadShapeCompoundMode", False) preferences, I successfully able to import STEP model on Linux and docker machine.
I was looking into the code and I noticed a curiosity. There's a local variable optionReadShapeCompoundMode that is being assigned a value but that value is never used as far as I can tell.
amrit3701 wrote: ↑Sat Aug 22, 2020 7:52 am
Just confirmed that after changes FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Import/hSTEP").SetBool("ReadShapeCompoundMode", False) preferences, I successfully able to import STEP model on Linux and docker machine.
amrit3701 wrote: ↑Sat Aug 22, 2020 7:52 am
Just confirmed that after changes FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Import/hSTEP").SetBool("ReadShapeCompoundMode", False) preferences, I successfully able to import STEP model on Linux and docker machine.
Do you mind opening a ticket for this ?
Hi @Kunda, I don't think it is an issue. As after setting step importer preferences, issue automatically fixed.
I'm still seeing this in the FreeCAD docker CLI. The work around technically works, and I can read in the file. However it imports the assembly as a single component.
Can we reconsider opening a ticket? I'm seeing this in FreeCAD 0.20 and 0.19.
Last edited by user4574 on Fri Mar 04, 2022 9:04 pm, edited 3 times in total.
user4574 wrote: ↑Fri Mar 04, 2022 3:23 pm
I'm still seeing this in the FreeCAD docker CLI. The work around technically works, and I can read in the file. However it imports the assembly as a single component.
Can we reconsider opening a ticket? I'm seeing this in FreeCAD 0.20 and 0.19.
Hi @user4574,
Your username is anonymous. Can you first introduce yourself?
The https://hub.docker.com/r/amrit3701/freecad-cli docker was compiled 2 years ago. So, the FreeCAD code is outdated in docker. Maybe rebuilding the docker image with the latest FreeCAD code solve the problem.
Also, if possible can you send the STEP file which you are testing?