kicad-3d-models-in-freecad icon indicating copy to clipboard operation
kicad-3d-models-in-freecad copied to clipboard

checkunion in cq_cad_tools.py#L66 should include FC preferences check

Open easyw opened this issue 6 years ago • 1 comments

checkunion in cq_cad_tools.py#L66 should check if 'Enable STEP Compound merge' is checked on FC preferences. This option checked would void the union checking. The variable is 'ReadShapeCompoundMode':

paramGetVS = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Import/hSTEP")
ReadShapeCompoundMode_status=paramGetVS.GetBool("ReadShapeCompoundMode")

easyw avatar Jul 16 '19 08:07 easyw

Similar to what has done here: https://github.com/easyw/kicadStepUpMod/raw/bfe2acd4c7e8881d03b38ac323df7f75fc233cfb/kicadStepUpCMD.py

https://github.com/easyw/kicadStepUpMod/commit/bfe2acd4c7e8881d03b38ac323df7f75fc233cfb

easyw avatar Sep 07 '19 08:09 easyw