Loading x3d_step_assy.py +9 −2 Original line number Diff line number Diff line Loading @@ -521,7 +521,11 @@ def colorMatchCandidate(assy_object, candidates, info_dict, precision = PRECISIO """ colored_candidates={} if candidates: try: assy_color_center_area = assy_object["colorCenters"] except: print ("colorMatchCandidate(), assy_object = ",assy_object) assy_color_center_area = {} cand_matches=[] for candidate in candidates: matched_colors=[] Loading Loading @@ -1316,7 +1320,7 @@ class X3dStepAssyDialog(QtGui.QWidget): if mode == "assy": return "Active FreeCAD document" elif mode == "log": return "none" # stdout" return "stdout" else: return "not set" Loading Loading @@ -1836,4 +1840,7 @@ reload (x3d_step_assy) form = x3d_step_assy.X3dStepAssyDialog() form.show() or just run conversion from the command line in Python console x3d_step_assy.generateAssemblyX3d("") #or with path x3d_step_assy.showFailedComponents() """ No newline at end of file Loading
x3d_step_assy.py +9 −2 Original line number Diff line number Diff line Loading @@ -521,7 +521,11 @@ def colorMatchCandidate(assy_object, candidates, info_dict, precision = PRECISIO """ colored_candidates={} if candidates: try: assy_color_center_area = assy_object["colorCenters"] except: print ("colorMatchCandidate(), assy_object = ",assy_object) assy_color_center_area = {} cand_matches=[] for candidate in candidates: matched_colors=[] Loading Loading @@ -1316,7 +1320,7 @@ class X3dStepAssyDialog(QtGui.QWidget): if mode == "assy": return "Active FreeCAD document" elif mode == "log": return "none" # stdout" return "stdout" else: return "not set" Loading Loading @@ -1836,4 +1840,7 @@ reload (x3d_step_assy) form = x3d_step_assy.X3dStepAssyDialog() form.show() or just run conversion from the command line in Python console x3d_step_assy.generateAssemblyX3d("") #or with path x3d_step_assy.showFailedComponents() """ No newline at end of file