From 5215b40d093873b6a921a00144a0a50cdb97f6ea Mon Sep 17 00:00:00 2001 From: mpv Date: Fri, 30 Mar 2018 09:48:55 +0300 Subject: [PATCH] Big models porting and porting-debug basing on it --- src/Model/Model_AttributeSelection.cpp | 5 +- test.models/clothespin.py | 1358 ++++++++++++------------ 2 files changed, 686 insertions(+), 677 deletions(-) diff --git a/src/Model/Model_AttributeSelection.cpp b/src/Model/Model_AttributeSelection.cpp index 7c86500cd..93a9b24bb 100644 --- a/src/Model/Model_AttributeSelection.cpp +++ b/src/Model/Model_AttributeSelection.cpp @@ -448,13 +448,14 @@ TDF_LabelMap& Model_AttributeSelection::scope() } } // for group Scope is not limitet: this is always up to date objects - bool isGroup = aFeature.get() && aFeature->getKind() == "Group"; + // this causes problem in galeries.py + //bool isGroup = aFeature.get() && aFeature->getKind() == "Group"; for(; aFIter != allFeatures.end(); aFIter++) { if (*aFIter == owner()) { // the left features are created later (except subs of composite) aMePassed = true; continue; } - if (isGroup) aMePassed = false; + //if (isGroup) aMePassed = false; bool isInScope = !aMePassed; if (!isInScope && aComposite.get()) { // try to add sub-elements of composite if this is composite diff --git a/test.models/clothespin.py b/test.models/clothespin.py index 32aa4baa4..f84b88985 100644 --- a/test.models/clothespin.py +++ b/test.models/clothespin.py @@ -58,14 +58,14 @@ SketchLine_7.setName("SketchLine_9") SketchLine_7.result().setName("SketchLine_9") SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_7.startPoint()) SketchConstraintCoincidence_6.setName("SketchConstraintCoincidence_9") -SketchLine_8 = Sketch_1.addLine(0, 0, 0, 3.499999999999999) +SketchLine_8 = Sketch_1.addLine(0, 0, 0, 3.5) SketchLine_8.setName("SketchLine_10") SketchLine_8.result().setName("SketchLine_10") SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchLine_8.startPoint()) SketchConstraintCoincidence_7.setName("SketchConstraintCoincidence_10") SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchPoint_1.coordinates(), SketchLine_8.startPoint()) SketchConstraintCoincidence_8.setName("SketchConstraintCoincidence_11") -SketchLine_9 = Sketch_1.addLine(0, 3.499999999999999, 8, 5) +SketchLine_9 = Sketch_1.addLine(0, 3.5, 8, 5) SketchLine_9.setName("SketchLine_11") SketchLine_9.result().setName("SketchLine_11") SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_8.endPoint(), SketchLine_9.startPoint()) @@ -86,20 +86,20 @@ SketchConstraintVertical_3 = Sketch_1.setVertical(SketchLine_6.result()) SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchLine_5.endPoint(), SketchArc_1.startPoint()) SketchConstraintCoincidence_11.setName("SketchConstraintCoincidence_15") SketchConstraintVertical_4 = Sketch_1.setVertical(SketchLine_8.result()) -SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_8.endPoint(), SketchLine_1.result(), 3.5) -SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_9.endPoint(), SketchLine_8.result(), 8) +SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_8.endPoint(), SketchLine_1.result(), 3.5, False) +SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_9.endPoint(), SketchLine_8.result(), 8, False) SketchConstraintLength_2 = Sketch_1.setLength(SketchLine_10.result(), 2.5) SketchConstraintRadius_1 = Sketch_1.setRadius(SketchArc_1.results()[1], 3) SketchConstraintLength_3 = Sketch_1.setLength(SketchLine_6.result(), 0.5) SketchConstraintLength_4 = Sketch_1.setLength(SketchLine_7.result(), 1) SketchConstraintLength_5 = Sketch_1.setLength(SketchLine_5.result(), 0.5) -SketchConstraintDistance_3 = Sketch_1.setDistance(SketchLine_6.endPoint(), SketchLine_1.result(), 7.5) +SketchConstraintDistance_3 = Sketch_1.setDistance(SketchLine_6.endPoint(), SketchLine_1.result(), 7.5, False) SketchConstraintLength_6 = Sketch_1.setLength(SketchLine_3.result(), 3) SketchConstraintLength_6.setName("SketchConstraintLength_7") SketchConstraintLength_7 = Sketch_1.setLength(SketchLine_2.result(), 1.5) SketchConstraintLength_7.setName("SketchConstraintLength_8") -SketchConstraintDistance_4 = Sketch_1.setDistance(SketchLine_9.endPoint(), SketchLine_1.result(), 5) -SketchConstraintDistance_5 = Sketch_1.setDistance(SketchLine_5.startPoint(), SketchLine_1.result(), 7.5) +SketchConstraintDistance_4 = Sketch_1.setDistance(SketchLine_9.endPoint(), SketchLine_1.result(), 5, False) +SketchConstraintDistance_5 = Sketch_1.setDistance(SketchLine_5.startPoint(), SketchLine_1.result(), 7.5, False) SketchLine_11 = Sketch_1.addLine(12.81710695710752, 0, 12.81710695710752, 7.765286531476907) SketchLine_11.setName("SketchLine_13") SketchLine_11.result().setName("SketchLine_13") @@ -111,7 +111,7 @@ SketchPoint_2 = Sketch_1.addPoint(12.81710695710752, 3) SketchPoint_2.setAuxiliary(True) SketchConstraintCoincidence_13 = Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchLine_11.result()) SketchConstraintCoincidence_13.setName("SketchConstraintCoincidence_17") -SketchConstraintDistance_6 = Sketch_1.setDistance(SketchPoint_2.coordinates(), SketchLine_1.result(), 3) +SketchConstraintDistance_6 = Sketch_1.setDistance(SketchPoint_2.coordinates(), SketchLine_1.result(), 3, False) SketchLine_12 = Sketch_1.addLine(28, 7.5, 29, 7.5) SketchLine_12.setName("SketchLine_14") SketchLine_12.result().setName("SketchLine_14") @@ -130,12 +130,12 @@ SketchConstraintCoincidence_18 = Sketch_1.setCoincident(SketchPoint_2.coordinate SketchConstraintCoincidence_18.setName("SketchConstraintCoincidence_22") SketchConstraintHorizontal_4 = Sketch_1.setHorizontal(SketchLine_12.result()) SketchConstraintHorizontal_4.setName("SketchConstraintHorizontal_9") -SketchConstraintDistance_7 = Sketch_1.setDistance(SketchLine_5.startPoint(), SketchLine_2.result(), 32) +SketchConstraintDistance_7 = Sketch_1.setDistance(SketchLine_5.startPoint(), SketchLine_2.result(), 32, False) SketchConstraintDistance_7.setName("SketchConstraintDistance_9") model.do() Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_1/Wire-SketchLine_1f-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchLine_10r-SketchLine_11r-SketchLine_12r-SketchLine_14r-SketchArc_2_2r")], model.selection(), 12, 0) -Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/XOZ")) -SketchArc_3 = Sketch_2.addArc(53.99996594708078, 6.000000000028422, 54, 12, 53.99994409538203, -3.231174267785264e-027, True) +Sketch_2 = model.addSketch(Part_1_doc, model.standardPlane("XOZ")) +SketchArc_3 = Sketch_2.addArc(54, 6, 54, 12, 54, 0, True) SketchLine_13 = Sketch_2.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_13&Extrusion_1_1/To_Face_1")) SketchLine_13.setName("SketchLine_15") SketchLine_13.result().setName("SketchLine_15") @@ -146,11 +146,11 @@ SketchLine_14.setName("SketchLine_16") SketchLine_14.result().setName("SketchLine_16") SketchConstraintCoincidence_20 = Sketch_2.setCoincident(SketchArc_3.endPoint(), SketchLine_14.result()) SketchConstraintCoincidence_20.setName("SketchConstraintCoincidence_24") -SketchConstraintRadius_2 = Sketch_2.setRadius(SketchArc_3.results()[1], 6) SketchLine_15 = Sketch_2.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_13&Extrusion_1_1/Generated_Face_12")) SketchLine_15.setName("SketchLine_17") SketchLine_15.result().setName("SketchLine_17") -SketchConstraintDistance_8 = Sketch_2.setDistance(SketchArc_3.startPoint(), SketchLine_15.result(), 6) +SketchConstraintTangent_1 = Sketch_2.setTangent(SketchArc_3.results()[1], SketchLine_15.result()) +SketchConstraintDistance_8 = Sketch_2.setDistance(SketchArc_3.startPoint(), SketchLine_15.result(), 6, False) SketchConstraintDistance_8.setName("SketchConstraintDistance_7") SketchLine_16 = Sketch_2.addLine(54, 12, 53.10174978726379, 13.92603605930655) SketchLine_16.setName("SketchLine_18") @@ -172,7 +172,7 @@ SketchLine_19.setName("SketchLine_21") SketchLine_19.result().setName("SketchLine_21") SketchConstraintCoincidence_24 = Sketch_2.setCoincident(SketchLine_18.endPoint(), SketchLine_19.startPoint()) SketchConstraintCoincidence_24.setName("SketchConstraintCoincidence_28") -SketchLine_20 = Sketch_2.addLine(53.10174978726379, -2.868701973344648, 53.99994409538203, -3.231174267785264e-027) +SketchLine_20 = Sketch_2.addLine(53.10174978726379, -2.868701973344648, 54, 0) SketchLine_20.setName("SketchLine_22") SketchLine_20.result().setName("SketchLine_22") SketchConstraintCoincidence_25 = Sketch_2.setCoincident(SketchLine_19.endPoint(), SketchLine_20.startPoint()) @@ -182,7 +182,7 @@ SketchConstraintCoincidence_26.setName("SketchConstraintCoincidence_30") model.do() ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchArc_3_2r-SketchLine_18r-SketchLine_19r-SketchLine_20r-SketchLine_21r-SketchLine_22r")], model.selection(), 7, 15, [model.selection("SOLID", "Extrusion_1_1")]) Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_1_1/Generated_Face_9")) -SketchLine_21 = Sketch_3.addLine(28, -6, -4.270492394552598, -6.000000000000001) +SketchLine_21 = Sketch_3.addLine(28, -6, -4.270492394552598, -6) SketchLine_21.setName("SketchLine_23") SketchLine_21.result().setName("SketchLine_23") SketchLine_21.setAuxiliary(True) @@ -192,23 +192,23 @@ SketchLine_22.result().setName("SketchLine_24") SketchConstraintCoincidence_27 = Sketch_3.setCoincident(SketchLine_21.startPoint(), SketchLine_22.result()) SketchConstraintCoincidence_27.setName("SketchConstraintCoincidence_31") SketchConstraintHorizontal_5 = Sketch_3.setHorizontal(SketchLine_21.result()) -SketchLine_23 = Sketch_3.addLine(28, -6, 63.78468475453244, -6.000000000000001) +SketchLine_23 = Sketch_3.addLine(28, -6, 63.78468475453244, -6) SketchLine_23.setName("SketchLine_25") SketchLine_23.result().setName("SketchLine_25") SketchLine_23.setAuxiliary(True) SketchConstraintCoincidence_28 = Sketch_3.setCoincident(SketchLine_21.startPoint(), SketchLine_23.startPoint()) SketchConstraintCoincidence_28.setName("SketchConstraintCoincidence_32") SketchConstraintHorizontal_6 = Sketch_3.setHorizontal(SketchLine_23.result()) -SketchLine_24 = Sketch_3.addLine(60, -1.500000000000001, 29, -1.500000000000001) +SketchLine_24 = Sketch_3.addLine(60, -1.5, 29, -1.5) SketchLine_24.setName("SketchLine_26") SketchLine_24.result().setName("SketchLine_26") -SketchLine_25 = Sketch_3.addLine(29, -1.500000000000001, 29, -10.5) +SketchLine_25 = Sketch_3.addLine(29, -1.5, 29, -10.5) SketchLine_25.setName("SketchLine_27") SketchLine_25.result().setName("SketchLine_27") SketchLine_26 = Sketch_3.addLine(29, -10.5, 60, -10.5) SketchLine_26.setName("SketchLine_28") SketchLine_26.result().setName("SketchLine_28") -SketchLine_27 = Sketch_3.addLine(60, -10.5, 60, -1.500000000000001) +SketchLine_27 = Sketch_3.addLine(60, -10.5, 60, -1.5) SketchLine_27.setName("SketchLine_29") SketchLine_27.result().setName("SketchLine_29") SketchConstraintCoincidence_29 = Sketch_3.setCoincident(SketchLine_27.endPoint(), SketchLine_24.startPoint()) @@ -223,7 +223,7 @@ SketchConstraintHorizontal_7 = Sketch_3.setHorizontal(SketchLine_24.result()) SketchConstraintVertical_6 = Sketch_3.setVertical(SketchLine_25.result()) SketchConstraintHorizontal_8 = Sketch_3.setHorizontal(SketchLine_26.result()) SketchConstraintVertical_7 = Sketch_3.setVertical(SketchLine_27.result()) -SketchLine_28 = Sketch_3.addLine(29, -10.5, 60, -1.500000000000001) +SketchLine_28 = Sketch_3.addLine(29, -10.5, 60, -1.5) SketchLine_28.setName("SketchLine_30") SketchLine_28.result().setName("SketchLine_30") SketchLine_28.setAuxiliary(True) @@ -235,7 +235,7 @@ SketchConstraintCoincidence_35 = Sketch_3.setCoincident(SketchLine_24.startPoint SketchConstraintCoincidence_35.setName("SketchConstraintCoincidence_39") SketchConstraintCoincidence_36 = Sketch_3.setCoincident(SketchLine_27.endPoint(), SketchLine_28.endPoint()) SketchConstraintCoincidence_36.setName("SketchConstraintCoincidence_40") -SketchLine_29 = Sketch_3.addLine(29, -1.500000000000001, 60, -10.5) +SketchLine_29 = Sketch_3.addLine(29, -1.5, 60, -10.5) SketchLine_29.setName("SketchLine_31") SketchLine_29.result().setName("SketchLine_31") SketchLine_29.setAuxiliary(True) @@ -247,27 +247,27 @@ SketchConstraintCoincidence_39 = Sketch_3.setCoincident(SketchLine_26.endPoint() SketchConstraintCoincidence_39.setName("SketchConstraintCoincidence_43") SketchConstraintCoincidence_40 = Sketch_3.setCoincident(SketchLine_27.startPoint(), SketchLine_29.endPoint()) SketchConstraintCoincidence_40.setName("SketchConstraintCoincidence_44") -SketchPoint_3 = Sketch_3.addPoint(44.5, -6.000000000000001) +SketchPoint_3 = Sketch_3.addPoint(44.5, -6) SketchPoint_3.setAuxiliary(True) SketchConstraintCoincidence_41 = Sketch_3.setCoincident(SketchPoint_3.coordinates(), SketchLine_29.result()) SketchConstraintCoincidence_41.setName("SketchConstraintCoincidence_45") SketchConstraintMiddle_1 = Sketch_3.setMiddlePoint(SketchPoint_3.coordinates(), SketchLine_29.result()) SketchConstraintCoincidence_42 = Sketch_3.setCoincident(SketchPoint_3.coordinates(), SketchLine_23.result()) SketchConstraintCoincidence_42.setName("SketchConstraintCoincidence_46") -SketchConstraintDistance_9 = Sketch_3.setDistance(SketchLine_22.startPoint(), SketchLine_23.result(), 6) +SketchConstraintDistance_9 = Sketch_3.setDistance(SketchLine_22.startPoint(), SketchLine_23.result(), 6, False) SketchConstraintDistance_9.setName("SketchConstraintDistance_8") SketchConstraintLength_9 = Sketch_3.setLength(SketchLine_27.result(), 9) SketchConstraintLength_9.setName("SketchConstraintLength_10") -SketchLine_30 = Sketch_3.addLine(21.00014787857639, -1.499999999999999, 12.00014787857639, -1.499999999999999) +SketchLine_30 = Sketch_3.addLine(21.00014787857639, -1.499999999999981, 12.00014787857639, -1.499999999999981) SketchLine_30.setName("SketchLine_32") SketchLine_30.result().setName("SketchLine_32") -SketchLine_31 = Sketch_3.addLine(12.00014787857639, -1.499999999999999, 12.00014787857639, -10.5) +SketchLine_31 = Sketch_3.addLine(12.00014787857639, -1.499999999999981, 12.00014787857639, -10.49999999999998) SketchLine_31.setName("SketchLine_33") SketchLine_31.result().setName("SketchLine_33") -SketchLine_32 = Sketch_3.addLine(12.00014787857639, -10.5, 21.00014787857639, -10.5) +SketchLine_32 = Sketch_3.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -10.49999999999998) SketchLine_32.setName("SketchLine_34") SketchLine_32.result().setName("SketchLine_34") -SketchLine_33 = Sketch_3.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_33 = Sketch_3.addLine(21.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981) SketchLine_33.setName("SketchLine_35") SketchLine_33.result().setName("SketchLine_35") SketchConstraintCoincidence_43 = Sketch_3.setCoincident(SketchLine_33.endPoint(), SketchLine_30.startPoint()) @@ -285,7 +285,7 @@ SketchConstraintHorizontal_10 = Sketch_3.setHorizontal(SketchLine_32.result()) SketchConstraintHorizontal_10.setName("SketchConstraintHorizontal_11") SketchConstraintVertical_9 = Sketch_3.setVertical(SketchLine_33.result()) SketchConstraintEqual_1 = Sketch_3.setEqual(SketchLine_25.result(), SketchLine_33.result()) -SketchLine_34 = Sketch_3.addLine(12.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_34 = Sketch_3.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981) SketchLine_34.setName("SketchLine_36") SketchLine_34.result().setName("SketchLine_36") SketchLine_34.setAuxiliary(True) @@ -297,7 +297,7 @@ SketchConstraintCoincidence_49 = Sketch_3.setCoincident(SketchLine_30.startPoint SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_53") SketchConstraintCoincidence_50 = Sketch_3.setCoincident(SketchLine_33.endPoint(), SketchLine_34.endPoint()) SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_54") -SketchPoint_4 = Sketch_3.addPoint(16.50014787857639, -5.999999999999999) +SketchPoint_4 = Sketch_3.addPoint(16.50014787857639, -6) SketchPoint_4.setAuxiliary(True) SketchConstraintCoincidence_51 = Sketch_3.setCoincident(SketchPoint_4.coordinates(), SketchLine_34.result()) SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_55") @@ -346,7 +346,7 @@ SketchConstraintLength_11 = Sketch_4.setLength(SketchLine_40.result(), 1.925) SketchConstraintLength_11.setName("SketchConstraintLength_12") SketchConstraintEqual_3 = Sketch_4.setEqual(SketchLine_37.result(), SketchLine_39.result()) SketchConstraintPerpendicular_1 = Sketch_4.setPerpendicular(SketchLine_37.result(), SketchLine_39.result()) -SketchConstraintDistance_10 = Sketch_4.setDistance(SketchLine_38.startPoint(), SketchLine_37.startPoint(), 0.44) +SketchConstraintDistance_10 = Sketch_4.setDistance(SketchLine_38.startPoint(), SketchLine_37.startPoint(), 0.44, False) SketchMultiTranslation_1_objects = [SketchLine_37.result(), SketchLine_40.result(), SketchLine_39.result()] SketchMultiTranslation_1 = Sketch_4.addTranslation(SketchMultiTranslation_1_objects, SketchLine_40.startPoint(), SketchLine_38.endPoint(), 4, True) [SketchLine_41, SketchLine_42, SketchLine_43, SketchLine_44, SketchLine_45, SketchLine_46, SketchLine_47, SketchLine_48, SketchLine_49] = SketchMultiTranslation_1.translated() @@ -370,10 +370,10 @@ SketchLine_41.setName("SketchLine_43") SketchLine_41.result().setName("SketchLine_43") model.do() ExtrusionCut_3 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_4")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modfied_2"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_2_1")]) -Plane_4 = model.addPlane(Part_1_doc, model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_1"), model.selection("VERTEX", "ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_7&Extrusion_1_1/Generated_Face_6"), model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_2_1/Modfied_6&ExtrusionCut_3_1/Modfied_3")) +Plane_4 = model.addPlane(Part_1_doc, model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_1"), model.selection("VERTEX", "ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_6&Extrusion_1_1/Generated_Face_7"), model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_2_1/Modfied_6&ExtrusionCut_3_1/Modfied_3")) Sketch_5 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1")) -SketchArc_4 = Sketch_5.addArc(25.00007393928819, -7.521062532210847, 22.00014787857639, -7.5, 28, -7.5, True) -SketchPoint_5 = Sketch_5.addPoint(22.00014787857639, -7.5) +SketchArc_4 = Sketch_5.addArc(25, -7.50002056854448, 22, -7.5, 28, -7.5, True) +SketchPoint_5 = Sketch_5.addPoint(22, -7.5) SketchConstraintRigid_1 = Sketch_5.setFixed(SketchPoint_5.result()) SketchConstraintRigid_1.setName("SketchConstraintRigid_10") SketchConstraintCoincidence_60 = Sketch_5.setCoincident(SketchArc_4.startPoint(), SketchPoint_5.result()) @@ -383,15 +383,15 @@ SketchConstraintRigid_2 = Sketch_5.setFixed(SketchPoint_6.result()) SketchConstraintRigid_2.setName("SketchConstraintRigid_11") SketchConstraintCoincidence_61 = Sketch_5.setCoincident(SketchArc_4.endPoint(), SketchPoint_6.result()) SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_65") -SketchConstraintRadius_3 = Sketch_5.setRadius(SketchArc_4.results()[1], 3) -SketchLine_50 = Sketch_5.addLine(22.00014787857639, -7.5, 22.00014787857639, -11.56094005408083) +SketchConstraintRadius_2 = Sketch_5.setRadius(SketchArc_4.results()[1], 3) +SketchLine_50 = Sketch_5.addLine(22, -7.5, 22, -11.56094005408083) SketchLine_50.setName("SketchLine_52") SketchLine_50.result().setName("SketchLine_52") SketchConstraintCoincidence_62 = Sketch_5.setCoincident(SketchArc_4.startPoint(), SketchLine_50.startPoint()) SketchConstraintCoincidence_62.setName("SketchConstraintCoincidence_66") SketchConstraintCoincidence_63 = Sketch_5.setCoincident(SketchPoint_5.coordinates(), SketchLine_50.startPoint()) SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_67") -SketchLine_51 = Sketch_5.addLine(22.00014787857639, -11.56094005408083, 28, -11.56094005408083) +SketchLine_51 = Sketch_5.addLine(22, -11.56094005408083, 28, -11.56094005408083) SketchLine_51.setName("SketchLine_53") SketchLine_51.result().setName("SketchLine_53") SketchConstraintCoincidence_64 = Sketch_5.setCoincident(SketchLine_50.endPoint(), SketchLine_51.startPoint()) @@ -415,7 +415,7 @@ Plane_6 = model.addPlane(Part_1_doc, model.selection("FACE", "Plane_2"), 3, True ExtrusionCut_4 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2f-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), 3, 0, [model.selection("SOLID", "ExtrusionCut_3_1")]) ExtrusionCut_5 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2f-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), model.selection("FACE", "Plane_3"), 0, model.selection("FACE", "Plane_2"), 0, [model.selection("SOLID", "ExtrusionCut_4_1")]) Sketch_6 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_4_1/Modfied_6")) -SketchArc_5 = Sketch_6.addArc(45.99999999999999, 0, 45.49999999999999, 8.91700958118717e-020, 46.49999999999999, 8.280962276646116e-019, False) +SketchArc_5 = Sketch_6.addArc(46, 0, 45.5, 0, 46.5, 0, False) SketchLine_53 = Sketch_6.addLine(0, 0, 54, 0) SketchLine_53.setName("SketchLine_55") SketchLine_53.result().setName("SketchLine_55") @@ -427,24 +427,24 @@ SketchConstraintCoincidence_69 = Sketch_6.setCoincident(SketchArc_5.startPoint() SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_73") SketchConstraintCoincidence_70 = Sketch_6.setCoincident(SketchArc_5.endPoint(), SketchLine_53.result()) SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_74") -SketchLine_54 = Sketch_6.addLine(45.49999999999999, 8.91700958118717e-020, 46.49999999999999, 8.280962276646116e-019) +SketchLine_54 = Sketch_6.addLine(45.5, 0, 46.5, 0) SketchLine_54.setName("SketchLine_56") SketchLine_54.result().setName("SketchLine_56") SketchConstraintCoincidence_71 = Sketch_6.setCoincident(SketchArc_5.startPoint(), SketchLine_54.startPoint()) SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_75") SketchConstraintCoincidence_72 = Sketch_6.setCoincident(SketchArc_5.endPoint(), SketchLine_54.endPoint()) SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_76") -SketchConstraintRadius_4 = Sketch_6.setRadius(SketchArc_5.results()[1], 0.5) -SketchLine_55 = Sketch_6.addLine(0, 0, 0, 3.499999999999999) +SketchConstraintRadius_3 = Sketch_6.setRadius(SketchArc_5.results()[1], 0.5) +SketchLine_55 = Sketch_6.addLine(0, 0, 0, 3.5) SketchLine_55.setName("SketchLine_57") SketchLine_55.result().setName("SketchLine_57") -SketchConstraintDistance_11 = Sketch_6.setDistance(SketchArc_5.center(), SketchLine_55.result(), 46) +SketchConstraintDistance_11 = Sketch_6.setDistance(SketchArc_5.center(), SketchLine_55.result(), 46, False) SketchConstraintRigid_4 = Sketch_6.setFixed(SketchLine_55.result()) SketchConstraintRigid_4.setName("SketchConstraintRigid_13") SketchPoint_7 = Sketch_6.addPoint(58, 0) SketchConstraintCoincidence_73 = Sketch_6.setCoincident(SketchPoint_7.coordinates(), SketchLine_53.result()) SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_77") -SketchConstraintDistance_12 = Sketch_6.setDistance(SketchArc_5.center(), SketchPoint_7.coordinates(), 12) +SketchConstraintDistance_12 = Sketch_6.setDistance(SketchArc_5.center(), SketchPoint_7.coordinates(), 12, False) SketchMultiTranslation_2 = Sketch_6.addTranslation([SketchLine_54.result(), SketchArc_5.results()[1]], SketchArc_5.center(), SketchPoint_7.coordinates(), 9, True) [SketchLine_56, SketchLine_57, SketchLine_58, SketchLine_59, SketchLine_60, SketchLine_61, SketchLine_62, SketchLine_63, SketchArc_6, SketchArc_7, SketchArc_8, SketchArc_9, SketchArc_10, SketchArc_11, SketchArc_12, SketchArc_13] = SketchMultiTranslation_2.translated() SketchLine_63.setName("SketchLine_65") @@ -465,17 +465,17 @@ SketchLine_56.setName("SketchLine_58") SketchLine_56.result().setName("SketchLine_58") model.do() ExtrusionFuse_1 = model.addExtrusionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_6")], model.selection(), model.selection("FACE", "Sketch_1/Face-SketchLine_1f-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchLine_10r-SketchLine_11r-SketchLine_12r-SketchLine_14r-SketchArc_2_2r"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_5_1")]) -Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_2_1/Modfied_8")) -SketchLine_64 = Sketch_7.addLine(50.25000000000001, -4.5, 31.24999999998802, -4.499999999999997) +Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_2_1/Modfied_9")) +SketchLine_64 = Sketch_7.addLine(50.25, -4.5, 31.25, -4.5) SketchLine_64.setName("SketchLine_76") SketchLine_64.result().setName("SketchLine_76") -SketchLine_65 = Sketch_7.addLine(51.00000000000001, -6.749999999999998, 51.00000000000001, -5.24999997149696) +SketchLine_65 = Sketch_7.addLine(51, -6.75, 51, -5.25) SketchLine_65.setName("SketchLine_78") SketchLine_65.result().setName("SketchLine_78") -SketchLine_66 = Sketch_7.addLine(31, -4.750000022881151, 31, -7.249999999972618) +SketchLine_66 = Sketch_7.addLine(31, -4.75, 31, -7.249999999978425) SketchLine_66.setName("SketchLine_80") SketchLine_66.result().setName("SketchLine_80") -SketchLine_67 = Sketch_7.addLine(31.25000000003855, -7.5, 50.24999994039248, -7.5) +SketchLine_67 = Sketch_7.addLine(31.25000000000632, -7.499999999999999, 50.25, -7.5) SketchLine_67.setName("SketchLine_79") SketchLine_67.result().setName("SketchLine_79") SketchLine_68 = Sketch_7.addLine(51, -4.5, 31, -4.5) @@ -524,9 +524,9 @@ SketchPoint_9.setAuxiliary(True) SketchConstraintCoincidence_82 = Sketch_7.setCoincident(SketchPoint_9.coordinates(), SketchLine_72.result()) SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_86") SketchConstraintMiddle_3 = Sketch_7.setMiddlePoint(SketchLine_72.result(), SketchPoint_9.coordinates()) -SketchPoint_10 = Sketch_7.addPoint(21.00014787857639, -5.999999999999999) +SketchPoint_10 = Sketch_7.addPoint(21, -6) SketchPoint_10.setAuxiliary(True) -SketchLine_73 = Sketch_7.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_73 = Sketch_7.addLine(21, -10.5, 21, -1.5) SketchLine_73.setName("SketchLine_71") SketchLine_73.result().setName("SketchLine_71") SketchConstraintRigid_5 = Sketch_7.setFixed(SketchLine_73.result()) @@ -534,7 +534,7 @@ SketchConstraintRigid_5.setName("SketchConstraintRigid_14") SketchConstraintCoincidence_83 = Sketch_7.setCoincident(SketchPoint_10.coordinates(), SketchLine_73.result()) SketchConstraintCoincidence_83.setName("SketchConstraintCoincidence_87") SketchConstraintMiddle_4 = Sketch_7.setMiddlePoint(SketchPoint_10.coordinates(), SketchLine_73.result()) -SketchLine_74 = Sketch_7.addLine(21.00014787857639, -6, 41, -5.999999999999999) +SketchLine_74 = Sketch_7.addLine(21, -6, 41, -6) SketchLine_74.setName("SketchLine_72") SketchLine_74.result().setName("SketchLine_72") SketchLine_74.setAuxiliary(True) @@ -551,24 +551,24 @@ SketchConstraintLength_12.setName("SketchConstraintLength_13") SketchConstraintLength_13 = Sketch_7.setLength(SketchLine_68.result(), 20) SketchConstraintLength_13.setName("SketchConstraintLength_14") SketchPoint_11 = Sketch_7.addPoint(29, -10.5) -SketchConstraintDistance_13 = Sketch_7.setDistance(SketchPoint_11.coordinates(), SketchLine_70.result(), 2) +SketchConstraintDistance_13 = Sketch_7.setDistance(SketchPoint_11.coordinates(), SketchLine_70.result(), 2, False) SketchConstraintRigid_6 = Sketch_7.setFixed(SketchPoint_11.result()) SketchConstraintRigid_6.setName("SketchConstraintRigid_15") -SketchArc_14 = Sketch_7.addArc(50.24999999999999, -5.250000000000003, 51.00000000000001, -5.24999997149696, 50.25000000000001, -4.5, False) -SketchLine_75 = Sketch_7.addLine(51, -7.5, 51.00000000000001, -5.24999997149696) +SketchArc_14 = Sketch_7.addArc(50.25, -5.25, 51, -5.25, 50.25, -4.5, False) +SketchLine_75 = Sketch_7.addLine(51, -7.5, 51, -5.25) SketchLine_75.setName("SketchLine_74") SketchLine_75.result().setName("SketchLine_74") SketchLine_75.setAuxiliary(True) SketchConstraintCoincidence_87 = Sketch_7.setCoincident(SketchArc_14.startPoint(), SketchLine_75.endPoint()) SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_91") -SketchLine_76 = Sketch_7.addLine(50.25000000000001, -4.5, 31, -4.5) +SketchLine_76 = Sketch_7.addLine(50.25, -4.5, 31, -4.5) SketchLine_76.setName("SketchLine_73") SketchLine_76.result().setName("SketchLine_73") SketchLine_76.setAuxiliary(True) SketchConstraintCoincidence_88 = Sketch_7.setCoincident(SketchArc_14.endPoint(), SketchLine_76.startPoint()) SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_92") -SketchConstraintTangent_1 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_76.result()) -SketchConstraintTangent_2 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_75.result()) +SketchConstraintTangent_2 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_76.result()) +SketchConstraintTangent_3 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_75.result()) SketchConstraintCoincidence_89 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchLine_76.endPoint()) SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_93") SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_69.startPoint(), SketchLine_75.startPoint()) @@ -577,17 +577,17 @@ SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_76.startPoint SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_95") SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_75.endPoint(), SketchLine_69.result()) SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_96") -SketchArc_15 = Sketch_7.addArc(31.25000000000067, -4.750000000000669, 31.24999999998802, -4.499999999999997, 31, -4.750000022881151, False) +SketchArc_15 = Sketch_7.addArc(31.25, -4.750000000010547, 31.24999999999071, -4.5, 31, -4.750000000010547, False) SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchArc_15.startPoint(), SketchLine_64.endPoint()) SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_97") -SketchLine_77 = Sketch_7.addLine(31, -4.750000022881151, 31, -7.5) +SketchLine_77 = Sketch_7.addLine(31, -4.75, 31, -7.5) SketchLine_77.setName("SketchLine_75") SketchLine_77.result().setName("SketchLine_75") SketchLine_77.setAuxiliary(True) SketchConstraintCoincidence_94 = Sketch_7.setCoincident(SketchArc_15.endPoint(), SketchLine_77.startPoint()) SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_98") -SketchConstraintTangent_3 = Sketch_7.setTangent(SketchArc_15.results()[1], SketchLine_77.result()) -SketchConstraintTangent_4 = Sketch_7.setTangent(SketchArc_15.results()[1], SketchLine_64.result()) +SketchConstraintTangent_4 = Sketch_7.setTangent(SketchArc_15.results()[1], SketchLine_77.result()) +SketchConstraintTangent_5 = Sketch_7.setTangent(SketchArc_15.results()[1], SketchLine_64.result()) SketchConstraintCoincidence_95 = Sketch_7.setCoincident(SketchLine_70.endPoint(), SketchLine_77.endPoint()) SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_99") SketchConstraintCoincidence_96 = Sketch_7.setCoincident(SketchLine_76.startPoint(), SketchLine_64.startPoint()) @@ -596,8 +596,8 @@ SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_77.startPoint SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_101") SketchConstraintCoincidence_98 = Sketch_7.setCoincident(SketchLine_64.endPoint(), SketchLine_76.result()) SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_102") -SketchArc_16 = Sketch_7.addArc(50.25, -6.749999999999999, 50.24999994039248, -7.5, 51.00000000000001, -6.749999999999998, False) -SketchLine_78 = Sketch_7.addLine(31, -7.5, 50.24999994039248, -7.5) +SketchArc_16 = Sketch_7.addArc(50.25, -6.75, 50.25, -7.5, 51, -6.75, False) +SketchLine_78 = Sketch_7.addLine(31, -7.5, 50.25, -7.5) SketchLine_78.setName("SketchLine_77") SketchLine_78.result().setName("SketchLine_77") SketchLine_78.setAuxiliary(True) @@ -605,8 +605,8 @@ SketchConstraintCoincidence_99 = Sketch_7.setCoincident(SketchArc_16.startPoint( SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_103") SketchConstraintCoincidence_100 = Sketch_7.setCoincident(SketchArc_16.endPoint(), SketchLine_65.startPoint()) SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_104") -SketchConstraintTangent_5 = Sketch_7.setTangent(SketchArc_16.results()[1], SketchLine_78.result()) -SketchConstraintTangent_6 = Sketch_7.setTangent(SketchArc_16.results()[1], SketchLine_65.result()) +SketchConstraintTangent_6 = Sketch_7.setTangent(SketchArc_16.results()[1], SketchLine_78.result()) +SketchConstraintTangent_7 = Sketch_7.setTangent(SketchArc_16.results()[1], SketchLine_65.result()) SketchConstraintCoincidence_101 = Sketch_7.setCoincident(SketchLine_71.startPoint(), SketchLine_78.startPoint()) SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_105") SketchConstraintCoincidence_102 = Sketch_7.setCoincident(SketchLine_75.endPoint(), SketchLine_65.endPoint()) @@ -615,13 +615,11 @@ SketchConstraintCoincidence_103 = Sketch_7.setCoincident(SketchLine_78.endPoint( SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_107") SketchConstraintCoincidence_104 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_75.result()) SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_108") -SketchArc_17 = Sketch_7.addArc(31.25000000000003, -7.250000000000001, 31, -7.249999999972618, 31.25000000003855, -7.5, False) +SketchArc_17 = Sketch_7.addArc(31.25000000000166, -7.249999999978784, 31, -7.249999999978425, 31.25000000000632, -7.499999999999999, False) SketchConstraintCoincidence_105 = Sketch_7.setCoincident(SketchArc_17.startPoint(), SketchLine_66.endPoint()) SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_109") SketchConstraintCoincidence_106 = Sketch_7.setCoincident(SketchArc_17.endPoint(), SketchLine_67.startPoint()) SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_110") -SketchConstraintTangent_7 = Sketch_7.setTangent(SketchArc_17.results()[1], SketchLine_67.result()) -SketchConstraintTangent_8 = Sketch_7.setTangent(SketchArc_17.results()[1], SketchLine_66.result()) SketchConstraintCoincidence_107 = Sketch_7.setCoincident(SketchLine_78.endPoint(), SketchLine_67.endPoint()) SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_111") SketchConstraintCoincidence_108 = Sketch_7.setCoincident(SketchLine_77.startPoint(), SketchLine_66.startPoint()) @@ -630,21 +628,26 @@ SketchConstraintCoincidence_109 = Sketch_7.setCoincident(SketchLine_67.startPoin SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_113") SketchConstraintCoincidence_110 = Sketch_7.setCoincident(SketchLine_66.endPoint(), SketchLine_77.result()) SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_114") -SketchConstraintRadius_5 = Sketch_7.setRadius(SketchArc_14.results()[1], 0.75) -SketchConstraintRadius_6 = Sketch_7.setRadius(SketchArc_16.results()[1], 0.75) -SketchConstraintRadius_7 = Sketch_7.setRadius(SketchArc_15.results()[1], 0.25) -SketchConstraintRadius_8 = Sketch_7.setRadius(SketchArc_17.results()[1], 0.25) +SketchConstraintRadius_4 = Sketch_7.setRadius(SketchArc_14.results()[1], 0.75) +SketchConstraintRadius_5 = Sketch_7.setRadius(SketchArc_16.results()[1], 0.75) +SketchConstraintRadius_6 = Sketch_7.setRadius(SketchArc_15.results()[1], 0.25) +SketchConstraintTangent_8 = Sketch_7.setTangent(SketchArc_17.results()[1], SketchLine_67.result()) +SketchConstraintTangent_8.setName("SketchConstraintTangent_16") +SketchConstraintTangent_9 = Sketch_7.setTangent(SketchArc_17.results()[1], SketchLine_66.result()) +SketchConstraintTangent_9.setName("SketchConstraintTangent_17") +SketchConstraintRadius_7 = Sketch_7.setRadius(SketchArc_17.results()[1], 0.25) +SketchConstraintRadius_7.setName("SketchConstraintRadius_10") model.do() ExtrusionCut_6 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_7")], model.selection(), 0, 20, [model.selection("SOLID", "ExtrusionFuse_1_1")]) Sketch_8 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_6_1/Modfied_10")) -SketchPoint_12 = Sketch_8.addPoint(53.99994409538203, -1.615587133892632e-027) -SketchPoint_13 = Sketch_8.addPoint(53.99994409538203, -1.615587133892632e-027) +SketchPoint_12 = Sketch_8.addPoint(54, 0) +SketchPoint_13 = Sketch_8.addPoint(54, 0) SketchConstraintRigid_7 = Sketch_8.setFixed(SketchPoint_13.result()) SketchConstraintRigid_7.setName("SketchConstraintRigid_16") SketchConstraintCoincidence_111 = Sketch_8.setCoincident(SketchPoint_12.coordinates(), SketchPoint_13.result()) SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_115") SketchPoint_14 = Sketch_8.addPoint(54, 12) -SketchLine_79 = Sketch_8.addLine(54, 12, 53.99994409538203, -1.615587133892632e-027) +SketchLine_79 = Sketch_8.addLine(54, 12, 54, 0) SketchLine_79.setName("SketchLine_81") SketchLine_79.result().setName("SketchLine_81") SketchLine_79.setAuxiliary(True) @@ -654,30 +657,30 @@ SketchConstraintCoincidence_113 = Sketch_8.setCoincident(SketchPoint_12.coordina SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_117") SketchConstraintCoincidence_114 = Sketch_8.setCoincident(SketchPoint_13.coordinates(), SketchLine_79.endPoint()) SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_118") -SketchPoint_15 = Sketch_8.addPoint(53.99999534128184, 11.00000000001085) +SketchPoint_15 = Sketch_8.addPoint(54, 11) SketchConstraintCoincidence_115 = Sketch_8.setCoincident(SketchPoint_15.coordinates(), SketchLine_79.result()) SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_119") -SketchPoint_16 = Sketch_8.addPoint(53.99994875410019, 0.9999999999891482) +SketchPoint_16 = Sketch_8.addPoint(54, 1) SketchConstraintCoincidence_116 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchLine_79.result()) SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_120") -SketchConstraintDistance_14 = Sketch_8.setDistance(SketchPoint_12.coordinates(), SketchPoint_16.coordinates(), 1) -SketchConstraintDistance_15 = Sketch_8.setDistance(SketchPoint_14.coordinates(), SketchPoint_15.coordinates(), 1) +SketchConstraintDistance_14 = Sketch_8.setDistance(SketchPoint_12.coordinates(), SketchPoint_16.coordinates(), 1, False) +SketchConstraintDistance_15 = Sketch_8.setDistance(SketchPoint_14.coordinates(), SketchPoint_15.coordinates(), 1, False) SketchPoint_17 = Sketch_8.addPoint(54, 12) SketchConstraintCoincidence_117 = Sketch_8.setCoincident(SketchPoint_14.coordinates(), SketchPoint_17.coordinates()) SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_121") SketchConstraintRigid_8 = Sketch_8.setFixed(SketchPoint_17.result()) SketchConstraintRigid_8.setName("SketchConstraintRigid_17") -SketchLine_80 = Sketch_8.addLine(53.99999534128184, 11.00000000001085, 43.53696016024325, 11.00000000001085) +SketchLine_80 = Sketch_8.addLine(54, 11, 43.82041221793113, 11) SketchLine_80.setName("SketchLine_82") SketchLine_80.result().setName("SketchLine_82") SketchConstraintCoincidence_118 = Sketch_8.setCoincident(SketchPoint_15.coordinates(), SketchLine_80.startPoint()) SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_122") -SketchLine_81 = Sketch_8.addLine(43.53696016024325, 11.00000000001085, 43.56530536601203, 13.47539228785809) +SketchLine_81 = Sketch_8.addLine(43.82041221793113, 11, 43.82041221793113, 13.36310636658867) SketchLine_81.setName("SketchLine_83") SketchLine_81.result().setName("SketchLine_83") SketchConstraintCoincidence_119 = Sketch_8.setCoincident(SketchLine_80.endPoint(), SketchLine_81.startPoint()) SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_123") -SketchLine_82 = Sketch_8.addLine(43.56530536601203, 13.47539228785809, 63.09515214070713, 13.47539228785809) +SketchLine_82 = Sketch_8.addLine(43.82041221793113, 13.36310636658867, 63.09515214070713, 13.47539228785809) SketchLine_82.setName("SketchLine_84") SketchLine_82.result().setName("SketchLine_84") SketchConstraintCoincidence_120 = Sketch_8.setCoincident(SketchLine_81.endPoint(), SketchLine_82.startPoint()) @@ -692,12 +695,12 @@ SketchLine_84.setName("SketchLine_86") SketchLine_84.result().setName("SketchLine_86") SketchConstraintCoincidence_122 = Sketch_8.setCoincident(SketchLine_83.endPoint(), SketchLine_84.startPoint()) SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_126") -SketchLine_85 = Sketch_8.addLine(43.82041221793113, -1.802673621518767, 43.79206701216234, 0.9999999999891482) +SketchLine_85 = Sketch_8.addLine(43.82041221793113, -1.802673621518767, 43.79206701216234, 1) SketchLine_85.setName("SketchLine_87") SketchLine_85.result().setName("SketchLine_87") SketchConstraintCoincidence_123 = Sketch_8.setCoincident(SketchLine_84.endPoint(), SketchLine_85.startPoint()) SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_127") -SketchLine_86 = Sketch_8.addLine(53.99994875410019, 0.9999999999891482, 43.79206701216234, 0.9999999999891482) +SketchLine_86 = Sketch_8.addLine(54, 1, 43.79206701216234, 1) SketchLine_86.setName("SketchLine_88") SketchLine_86.result().setName("SketchLine_88") SketchConstraintCoincidence_124 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchLine_86.startPoint()) @@ -708,23 +711,24 @@ SketchConstraintHorizontal_16 = Sketch_8.setHorizontal(SketchLine_80.result()) SketchConstraintHorizontal_16.setName("SketchConstraintHorizontal_17") SketchConstraintCoincidence_125 = Sketch_8.setCoincident(SketchLine_85.endPoint(), SketchLine_86.endPoint()) SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_129") -SketchArc_18 = Sketch_8.addArc(53.99995774377268, 6.000000000066637, 53.99999534128184, 11.00000000001085, 53.99994875410019, 0.9999999999891482, True) -SketchConstraintCoincidence_126 = Sketch_8.setCoincident(SketchPoint_15.coordinates(), SketchArc_18.startPoint()) +SketchArc_18 = Sketch_8.addArc(54, 6, 54, 11, 54, 1, True) +SketchConstraintCoincidence_126 = Sketch_8.setCoincident(SketchArc_18.center(), SketchLine_79.result()) SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_130") -SketchConstraintCoincidence_127 = Sketch_8.setCoincident(SketchLine_80.startPoint(), SketchArc_18.startPoint()) -SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_131") -SketchConstraintCoincidence_128 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchArc_18.endPoint()) -SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_132") -SketchConstraintCoincidence_129 = Sketch_8.setCoincident(SketchLine_86.startPoint(), SketchArc_18.endPoint()) -SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_133") -SketchConstraintRadius_9 = Sketch_8.setRadius(SketchArc_18.results()[1], 5) -SketchLine_87 = Sketch_8.addLine(43.50261344273609, 8.249999999999998, 43.50261344273609, 3.749999999999998) +SketchConstraintCoincidence_127 = Sketch_8.setCoincident(SketchPoint_15.coordinates(), SketchArc_18.startPoint()) +SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_130_") +SketchConstraintCoincidence_128 = Sketch_8.setCoincident(SketchLine_80.startPoint(), SketchArc_18.startPoint()) +SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_131") +SketchConstraintCoincidence_129 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchArc_18.endPoint()) +SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_132") +SketchConstraintCoincidence_130 = Sketch_8.setCoincident(SketchLine_86.startPoint(), SketchArc_18.endPoint()) +SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_133") +SketchLine_87 = Sketch_8.addLine(43.50261344273609, 8.25, 43.50261344273609, 3.75) SketchLine_87.setName("SketchLine_90") SketchLine_87.result().setName("SketchLine_90") SketchConstraintVertical_14 = Sketch_8.setVertical(SketchLine_87.result()) SketchConstraintLength_14 = Sketch_8.setLength(SketchLine_87.result(), 4.5) SketchConstraintLength_14.setName("SketchConstraintLength_15") -SketchPoint_18 = Sketch_8.addPoint(43.50261344273609, 5.999999999999998) +SketchPoint_18 = Sketch_8.addPoint(43.50261344273609, 6) SketchConstraintMiddle_5 = Sketch_8.setMiddlePoint(SketchPoint_18.coordinates(), SketchLine_87.result()) SketchPoint_19 = Sketch_8.addPoint(0, 6) SketchPoint_19.setAuxiliary(True) @@ -733,70 +737,70 @@ SketchLine_88.setName("SketchLine_94") SketchLine_88.result().setName("SketchLine_94") SketchConstraintRigid_9 = Sketch_8.setFixed(SketchLine_88.result()) SketchConstraintRigid_9.setName("SketchConstraintRigid_19") -SketchConstraintCoincidence_130 = Sketch_8.setCoincident(SketchPoint_19.coordinates(), SketchLine_88.result()) -SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_139") +SketchConstraintCoincidence_131 = Sketch_8.setCoincident(SketchPoint_19.coordinates(), SketchLine_88.result()) +SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_139") SketchConstraintMiddle_6 = Sketch_8.setMiddlePoint(SketchLine_88.result(), SketchPoint_19.coordinates()) SketchLine_89 = Sketch_8.addLine(0, 6, 68.8619738308997, 6) SketchLine_89.setName("SketchLine_95") SketchLine_89.result().setName("SketchLine_95") SketchLine_89.setAuxiliary(True) -SketchConstraintCoincidence_131 = Sketch_8.setCoincident(SketchPoint_19.coordinates(), SketchLine_89.startPoint()) -SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_140") +SketchConstraintCoincidence_132 = Sketch_8.setCoincident(SketchPoint_19.coordinates(), SketchLine_89.startPoint()) +SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_140") SketchConstraintHorizontal_17 = Sketch_8.setHorizontal(SketchLine_89.result()) SketchConstraintHorizontal_17.setName("SketchConstraintHorizontal_20") SketchPoint_20 = Sketch_8.addPoint(48.00130672136804, 6) -SketchConstraintCoincidence_132 = Sketch_8.setCoincident(SketchPoint_20.coordinates(), SketchLine_89.result()) -SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_146") -SketchLine_90 = Sketch_8.addLine(43.50261344273609, 8.249999999999998, 51.26978940411676, 8.249999999999998) +SketchConstraintCoincidence_133 = Sketch_8.setCoincident(SketchPoint_20.coordinates(), SketchLine_89.result()) +SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_146") +SketchLine_90 = Sketch_8.addLine(43.50261344273609, 8.25, 51.26978940411676, 8.25) SketchLine_90.setName("SketchLine_92") SketchLine_90.result().setName("SketchLine_92") -SketchConstraintCoincidence_133 = Sketch_8.setCoincident(SketchLine_87.startPoint(), SketchLine_90.startPoint()) -SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_135") -SketchLine_91 = Sketch_8.addLine(51.26978940411676, 8.249999999999998, 51.26978940411676, 3.749999999999998) +SketchConstraintCoincidence_134 = Sketch_8.setCoincident(SketchLine_87.startPoint(), SketchLine_90.startPoint()) +SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_135") +SketchLine_91 = Sketch_8.addLine(51.26978940411676, 8.25, 51.26978940411676, 3.75) SketchLine_91.setName("SketchLine_97") SketchLine_91.result().setName("SketchLine_97") -SketchConstraintCoincidence_134 = Sketch_8.setCoincident(SketchLine_90.endPoint(), SketchLine_91.startPoint()) -SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_136") -SketchLine_92 = Sketch_8.addLine(51.26978940411676, 3.749999999999998, 43.50261344273609, 3.749999999999998) +SketchConstraintCoincidence_135 = Sketch_8.setCoincident(SketchLine_90.endPoint(), SketchLine_91.startPoint()) +SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_136") +SketchLine_92 = Sketch_8.addLine(51.26978940411676, 3.75, 43.50261344273609, 3.75) SketchLine_92.setName("SketchLine_98") SketchLine_92.result().setName("SketchLine_98") -SketchConstraintCoincidence_135 = Sketch_8.setCoincident(SketchLine_91.endPoint(), SketchLine_92.startPoint()) -SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_137") -SketchConstraintCoincidence_136 = Sketch_8.setCoincident(SketchLine_87.endPoint(), SketchLine_92.endPoint()) -SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_138") +SketchConstraintCoincidence_136 = Sketch_8.setCoincident(SketchLine_91.endPoint(), SketchLine_92.startPoint()) +SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_137") +SketchConstraintCoincidence_137 = Sketch_8.setCoincident(SketchLine_87.endPoint(), SketchLine_92.endPoint()) +SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_138") SketchConstraintHorizontal_18 = Sketch_8.setHorizontal(SketchLine_92.result()) SketchConstraintHorizontal_19 = Sketch_8.setHorizontal(SketchLine_90.result()) SketchConstraintVertical_15 = Sketch_8.setVertical(SketchLine_91.result()) -SketchLine_93 = Sketch_8.addLine(43.50261344273609, 3.749999999999998, 51.26978940411676, 8.249999999999998) +SketchLine_93 = Sketch_8.addLine(43.50261344273609, 3.75, 51.26978940411676, 8.25) SketchLine_93.setAuxiliary(True) -SketchConstraintCoincidence_137 = Sketch_8.setCoincident(SketchLine_87.endPoint(), SketchLine_93.startPoint()) -SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_141") -SketchConstraintCoincidence_138 = Sketch_8.setCoincident(SketchLine_92.endPoint(), SketchLine_93.startPoint()) -SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_142") -SketchConstraintCoincidence_139 = Sketch_8.setCoincident(SketchLine_91.startPoint(), SketchLine_93.endPoint()) -SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_143") -SketchPoint_21 = Sketch_8.addPoint(47.38620142342643, 5.999999999999998) +SketchConstraintCoincidence_138 = Sketch_8.setCoincident(SketchLine_87.endPoint(), SketchLine_93.startPoint()) +SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_141") +SketchConstraintCoincidence_139 = Sketch_8.setCoincident(SketchLine_92.endPoint(), SketchLine_93.startPoint()) +SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_142") +SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchLine_91.startPoint(), SketchLine_93.endPoint()) +SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_143") +SketchPoint_21 = Sketch_8.addPoint(47.38620142342643, 6) SketchPoint_21.setAuxiliary(True) -SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchPoint_21.coordinates(), SketchLine_93.result()) -SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_144") +SketchConstraintCoincidence_141 = Sketch_8.setCoincident(SketchPoint_21.coordinates(), SketchLine_93.result()) +SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_144") SketchConstraintMiddle_7 = Sketch_8.setMiddlePoint(SketchPoint_21.coordinates(), SketchLine_93.result()) -SketchConstraintCoincidence_141 = Sketch_8.setCoincident(SketchPoint_21.coordinates(), SketchLine_89.result()) -SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_145") +SketchConstraintCoincidence_142 = Sketch_8.setCoincident(SketchPoint_21.coordinates(), SketchLine_89.result()) +SketchConstraintCoincidence_142.setName("SketchConstraintCoincidence_145") model.do() ExtrusionCut_7 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_8")], model.selection(), 10, 0, [model.selection("SOLID", "ExtrusionCut_6_1")]) Sketch_9 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_7_1/Modfied_26")) -SketchLine_94 = Sketch_9.addLine(21.00014787857639, 4.163450069699051, 21.00014787857639, 0) +SketchLine_94 = Sketch_9.addLine(21, 4.163450069699051, 21, 0) SketchLine_94.setName("SketchLine_107") SketchLine_94.result().setName("SketchLine_107") -SketchLine_95 = Sketch_9.addLine(29, 5, 21.00014787857639, 5) +SketchLine_95 = Sketch_9.addLine(29, 5, 21, 5) SketchLine_95.setName("SketchLine_96") SketchLine_95.result().setName("SketchLine_96") SketchLine_95.setAuxiliary(True) -SketchArc_19 = Sketch_9.addArc(25.00007393928819, 8.000098583186649, 21.53790262696343, 4.392693725936027, 28.46224525161297, 4.392693725936026, False) +SketchArc_19 = Sketch_9.addArc(25, 8, 21.53774043054522, 4.392679848735523, 28.46225956945478, 4.392679848735522, False) SketchArc_19.setName("SketchArc_22") SketchArc_19.result().setName("SketchArc_22") SketchArc_19.results()[1].setName("SketchArc_22_2") -SketchLine_96 = Sketch_9.addLine(21.00014787857639, 0, 29, 0) +SketchLine_96 = Sketch_9.addLine(21, 0, 29, 0) SketchLine_96.setName("SketchLine_100") SketchLine_96.result().setName("SketchLine_100") SketchLine_97 = Sketch_9.addLine(29, 0, 29, 4.163450069699049) @@ -806,130 +810,130 @@ SketchLine_98 = Sketch_9.addLine(29, 0, 29, 5) SketchLine_98.setName("SketchLine_101") SketchLine_98.result().setName("SketchLine_101") SketchLine_98.setAuxiliary(True) -SketchConstraintCoincidence_142 = Sketch_9.setCoincident(SketchLine_98.endPoint(), SketchLine_95.startPoint()) -SketchConstraintCoincidence_142.setName("SketchConstraintCoincidence_147") -SketchLine_99 = Sketch_9.addLine(21.00014787857639, 5, 21.00014787857639, 0) +SketchConstraintCoincidence_143 = Sketch_9.setCoincident(SketchLine_98.endPoint(), SketchLine_95.startPoint()) +SketchConstraintCoincidence_143.setName("SketchConstraintCoincidence_147") +SketchLine_99 = Sketch_9.addLine(21, 5, 21, 0) SketchLine_99.setAuxiliary(True) -SketchConstraintCoincidence_143 = Sketch_9.setCoincident(SketchLine_95.endPoint(), SketchLine_99.startPoint()) -SketchConstraintCoincidence_143.setName("SketchConstraintCoincidence_148") -SketchConstraintCoincidence_144 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_96.startPoint()) -SketchConstraintCoincidence_144.setName("SketchConstraintCoincidence_149") -SketchConstraintCoincidence_145 = Sketch_9.setCoincident(SketchLine_96.endPoint(), SketchLine_98.startPoint()) -SketchConstraintCoincidence_145.setName("SketchConstraintCoincidence_150") +SketchConstraintCoincidence_144 = Sketch_9.setCoincident(SketchLine_95.endPoint(), SketchLine_99.startPoint()) +SketchConstraintCoincidence_144.setName("SketchConstraintCoincidence_148") +SketchConstraintCoincidence_145 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_96.startPoint()) +SketchConstraintCoincidence_145.setName("SketchConstraintCoincidence_149") +SketchConstraintCoincidence_146 = Sketch_9.setCoincident(SketchLine_96.endPoint(), SketchLine_98.startPoint()) +SketchConstraintCoincidence_146.setName("SketchConstraintCoincidence_150") SketchConstraintHorizontal_20 = Sketch_9.setHorizontal(SketchLine_95.result()) SketchConstraintHorizontal_20.setName("SketchConstraintHorizontal_21") SketchConstraintVertical_16 = Sketch_9.setVertical(SketchLine_99.result()) SketchConstraintHorizontal_21 = Sketch_9.setHorizontal(SketchLine_96.result()) SketchConstraintHorizontal_21.setName("SketchConstraintHorizontal_22") SketchConstraintVertical_17 = Sketch_9.setVertical(SketchLine_98.result()) -SketchPoint_22 = Sketch_9.addPoint(21.00014787857639, 7.5) -SketchConstraintCoincidence_146 = Sketch_9.setCoincident(SketchLine_99.result(), SketchPoint_22.coordinates()) -SketchConstraintCoincidence_146.setName("SketchConstraintCoincidence_151") +SketchPoint_22 = Sketch_9.addPoint(21, 7.5) +SketchConstraintCoincidence_147 = Sketch_9.setCoincident(SketchLine_99.result(), SketchPoint_22.coordinates()) +SketchConstraintCoincidence_147.setName("SketchConstraintCoincidence_151") SketchConstraintRigid_10 = Sketch_9.setFixed(SketchPoint_22.result()) SketchConstraintRigid_10.setName("SketchConstraintRigid_18") SketchPoint_23 = Sketch_9.addPoint(29, 7.5) -SketchConstraintCoincidence_147 = Sketch_9.setCoincident(SketchLine_98.result(), SketchPoint_23.coordinates()) -SketchConstraintCoincidence_147.setName("SketchConstraintCoincidence_152") +SketchConstraintCoincidence_148 = Sketch_9.setCoincident(SketchLine_98.result(), SketchPoint_23.coordinates()) +SketchConstraintCoincidence_148.setName("SketchConstraintCoincidence_152") SketchConstraintRigid_11 = Sketch_9.setFixed(SketchPoint_23.result()) SketchConstraintRigid_11.setName("SketchConstraintRigid_20") SketchConstraintLength_15 = Sketch_9.setLength(SketchLine_99.result(), 5) SketchConstraintLength_15.setName("SketchConstraintLength_16") -SketchLine_100 = Sketch_9.addLine(0, 0, 45.49999999999999, 0) +SketchLine_100 = Sketch_9.addLine(0, 0, 45.5, 0) SketchLine_100.setName("SketchLine_102") SketchLine_100.result().setName("SketchLine_102") -SketchConstraintCoincidence_148 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_100.result()) -SketchConstraintCoincidence_148.setName("SketchConstraintCoincidence_153") +SketchConstraintCoincidence_149 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_100.result()) +SketchConstraintCoincidence_149.setName("SketchConstraintCoincidence_153") SketchConstraintRigid_12 = Sketch_9.setFixed(SketchLine_100.result()) SketchConstraintRigid_12.setName("SketchConstraintRigid_21") -SketchArc_20 = Sketch_9.addArc(25.00007393928819, 8.000098583186649, 21.00014787857639, 5, 29, 5, False) +SketchArc_20 = Sketch_9.addArc(25, 8, 21, 5, 29, 5, False) SketchArc_20.setName("SketchArc_19") SketchArc_20.result().setName("SketchArc_19") SketchArc_20.results()[1].setName("SketchArc_19_2") SketchArc_20.setAuxiliary(True) -SketchConstraintCoincidence_149 = Sketch_9.setCoincident(SketchLine_95.endPoint(), SketchArc_20.startPoint()) -SketchConstraintCoincidence_149.setName("SketchConstraintCoincidence_154") -SketchConstraintCoincidence_150 = Sketch_9.setCoincident(SketchLine_99.startPoint(), SketchArc_20.startPoint()) -SketchConstraintCoincidence_150.setName("SketchConstraintCoincidence_155") -SketchConstraintCoincidence_151 = Sketch_9.setCoincident(SketchLine_95.startPoint(), SketchArc_20.endPoint()) -SketchConstraintCoincidence_151.setName("SketchConstraintCoincidence_156") -SketchConstraintCoincidence_152 = Sketch_9.setCoincident(SketchLine_98.endPoint(), SketchArc_20.endPoint()) -SketchConstraintCoincidence_152.setName("SketchConstraintCoincidence_157") -SketchConstraintRadius_10 = Sketch_9.setRadius(SketchArc_20.results()[1], 5) +SketchConstraintCoincidence_150 = Sketch_9.setCoincident(SketchLine_95.endPoint(), SketchArc_20.startPoint()) +SketchConstraintCoincidence_150.setName("SketchConstraintCoincidence_154") +SketchConstraintCoincidence_151 = Sketch_9.setCoincident(SketchLine_99.startPoint(), SketchArc_20.startPoint()) +SketchConstraintCoincidence_151.setName("SketchConstraintCoincidence_155") +SketchConstraintCoincidence_152 = Sketch_9.setCoincident(SketchLine_95.startPoint(), SketchArc_20.endPoint()) +SketchConstraintCoincidence_152.setName("SketchConstraintCoincidence_156") +SketchConstraintCoincidence_153 = Sketch_9.setCoincident(SketchLine_98.endPoint(), SketchArc_20.endPoint()) +SketchConstraintCoincidence_153.setName("SketchConstraintCoincidence_157") +SketchConstraintRadius_8 = Sketch_9.setRadius(SketchArc_20.results()[1], 5) SketchLine_101 = Sketch_9.addLine(1, 0, 1, 1.8) SketchLine_101.setName("SketchLine_103") SketchLine_101.result().setName("SketchLine_103") -SketchConstraintCoincidence_153 = Sketch_9.setCoincident(SketchLine_101.startPoint(), SketchLine_100.result()) -SketchConstraintCoincidence_153.setName("SketchConstraintCoincidence_158") +SketchConstraintCoincidence_154 = Sketch_9.setCoincident(SketchLine_101.startPoint(), SketchLine_100.result()) +SketchConstraintCoincidence_154.setName("SketchConstraintCoincidence_158") SketchLine_102 = Sketch_9.addLine(1, 1.8, 8, 3.389761862250954) SketchLine_102.setName("SketchLine_104") SketchLine_102.result().setName("SketchLine_104") -SketchConstraintCoincidence_154 = Sketch_9.setCoincident(SketchLine_101.endPoint(), SketchLine_102.startPoint()) -SketchConstraintCoincidence_154.setName("SketchConstraintCoincidence_159") +SketchConstraintCoincidence_155 = Sketch_9.setCoincident(SketchLine_101.endPoint(), SketchLine_102.startPoint()) +SketchConstraintCoincidence_155.setName("SketchConstraintCoincidence_159") SketchLine_103 = Sketch_9.addLine(8, 3.389761862250954, 8, 0) SketchLine_103.setName("SketchLine_105") SketchLine_103.result().setName("SketchLine_105") -SketchConstraintCoincidence_155 = Sketch_9.setCoincident(SketchLine_102.endPoint(), SketchLine_103.startPoint()) -SketchConstraintCoincidence_155.setName("SketchConstraintCoincidence_160") +SketchConstraintCoincidence_156 = Sketch_9.setCoincident(SketchLine_102.endPoint(), SketchLine_103.startPoint()) +SketchConstraintCoincidence_156.setName("SketchConstraintCoincidence_160") SketchLine_104 = Sketch_9.addLine(8, 0, 1, 0) SketchLine_104.setName("SketchLine_106") SketchLine_104.result().setName("SketchLine_106") -SketchConstraintCoincidence_156 = Sketch_9.setCoincident(SketchLine_103.endPoint(), SketchLine_104.startPoint()) -SketchConstraintCoincidence_156.setName("SketchConstraintCoincidence_161") -SketchConstraintCoincidence_157 = Sketch_9.setCoincident(SketchLine_101.startPoint(), SketchLine_104.endPoint()) -SketchConstraintCoincidence_157.setName("SketchConstraintCoincidence_162") -SketchConstraintCoincidence_158 = Sketch_9.setCoincident(SketchLine_104.startPoint(), SketchLine_100.result()) -SketchConstraintCoincidence_158.setName("SketchConstraintCoincidence_163") +SketchConstraintCoincidence_157 = Sketch_9.setCoincident(SketchLine_103.endPoint(), SketchLine_104.startPoint()) +SketchConstraintCoincidence_157.setName("SketchConstraintCoincidence_161") +SketchConstraintCoincidence_158 = Sketch_9.setCoincident(SketchLine_101.startPoint(), SketchLine_104.endPoint()) +SketchConstraintCoincidence_158.setName("SketchConstraintCoincidence_162") +SketchConstraintCoincidence_159 = Sketch_9.setCoincident(SketchLine_104.startPoint(), SketchLine_100.result()) +SketchConstraintCoincidence_159.setName("SketchConstraintCoincidence_163") SketchConstraintVertical_18 = Sketch_9.setVertical(SketchLine_103.result()) SketchConstraintVertical_19 = Sketch_9.setVertical(SketchLine_101.result()) SketchConstraintLength_16 = Sketch_9.setLength(SketchLine_104.result(), 7) SketchConstraintLength_16.setName("SketchConstraintLength_17") -SketchConstraintDistance_16 = Sketch_9.setDistance(SketchLine_101.result(), SketchLine_100.startPoint(), 1) +SketchConstraintDistance_16 = Sketch_9.setDistance(SketchLine_101.result(), SketchLine_100.startPoint(), 1, False) SketchConstraintLength_17 = Sketch_9.setLength(SketchLine_101.result(), 1.8) SketchConstraintLength_17.setName("SketchConstraintLength_18") -SketchArc_21 = Sketch_9.addArc(21.3178882838101, 4.163450069699051, 21.53790262696343, 4.392693725936027, 21.00014787857639, 4.163450069699051, False) -SketchArc_22 = Sketch_9.addArc(25.00007393928819, 8.000098583186649, 21.53790262696343, 4.392693725936027, 29, 5, False) +SketchArc_21 = Sketch_9.addArc(21.31772863153846, 4.163450069699051, 21.53774043054522, 4.392679848735523, 21, 4.163450069699051, False) +SketchArc_22 = Sketch_9.addArc(25, 8, 21.53774043054522, 4.392679848735523, 29, 5, False) SketchArc_22.setName("SketchArc_20") SketchArc_22.result().setName("SketchArc_20") SketchArc_22.results()[1].setName("SketchArc_20_2") SketchArc_22.setAuxiliary(True) -SketchConstraintCoincidence_159 = Sketch_9.setCoincident(SketchArc_21.startPoint(), SketchArc_22.startPoint()) -SketchConstraintCoincidence_159.setName("SketchConstraintCoincidence_164") -SketchConstraintCoincidence_160 = Sketch_9.setCoincident(SketchArc_21.endPoint(), SketchLine_94.startPoint()) -SketchConstraintCoincidence_160.setName("SketchConstraintCoincidence_165") -SketchConstraintTangent_9 = Sketch_9.setTangent(SketchArc_21.results()[1], SketchLine_94.result()) -SketchConstraintTangent_10 = Sketch_9.setTangent(SketchArc_21.results()[1], SketchArc_22.results()[1]) -SketchConstraintCoincidence_161 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_94.endPoint()) -SketchConstraintCoincidence_161.setName("SketchConstraintCoincidence_166") -SketchConstraintCoincidence_162 = Sketch_9.setCoincident(SketchArc_20.endPoint(), SketchArc_22.endPoint()) -SketchConstraintCoincidence_162.setName("SketchConstraintCoincidence_167") -SketchConstraintTangent_11 = Sketch_9.setTangent(SketchArc_20.results()[1], SketchArc_22.results()[1]) -SketchConstraintCoincidence_163 = Sketch_9.setCoincident(SketchLine_94.startPoint(), SketchLine_99.result()) -SketchConstraintCoincidence_163.setName("SketchConstraintCoincidence_168") -SketchConstraintCoincidence_164 = Sketch_9.setCoincident(SketchArc_22.startPoint(), SketchArc_20.results()[1]) -SketchConstraintCoincidence_164.setName("SketchConstraintCoincidence_169") -SketchArc_23 = Sketch_9.addArc(28.68225959476629, 4.163450069699049, 29, 4.163450069699049, 28.46224525161297, 4.392693725936026, False) -SketchConstraintCoincidence_165 = Sketch_9.setCoincident(SketchArc_23.startPoint(), SketchLine_97.endPoint()) -SketchConstraintCoincidence_165.setName("SketchConstraintCoincidence_170") -SketchConstraintCoincidence_166 = Sketch_9.setCoincident(SketchArc_23.endPoint(), SketchArc_19.endPoint()) -SketchConstraintCoincidence_166.setName("SketchConstraintCoincidence_171") -SketchConstraintTangent_12 = Sketch_9.setTangent(SketchArc_23.results()[1], SketchArc_19.results()[1]) -SketchConstraintTangent_13 = Sketch_9.setTangent(SketchArc_23.results()[1], SketchLine_97.result()) -SketchConstraintCoincidence_167 = Sketch_9.setCoincident(SketchArc_22.startPoint(), SketchArc_19.startPoint()) -SketchConstraintCoincidence_167.setName("SketchConstraintCoincidence_172") -SketchConstraintCoincidence_168 = Sketch_9.setCoincident(SketchLine_98.startPoint(), SketchLine_97.startPoint()) -SketchConstraintCoincidence_168.setName("SketchConstraintCoincidence_173") -SketchConstraintTangent_14 = Sketch_9.setTangent(SketchArc_22.results()[1], SketchArc_19.results()[1]) -SketchConstraintCoincidence_169 = Sketch_9.setCoincident(SketchArc_19.endPoint(), SketchArc_22.results()[1]) -SketchConstraintCoincidence_169.setName("SketchConstraintCoincidence_174") -SketchConstraintCoincidence_170 = Sketch_9.setCoincident(SketchLine_97.endPoint(), SketchLine_98.result()) -SketchConstraintCoincidence_170.setName("SketchConstraintCoincidence_175") +SketchConstraintCoincidence_160 = Sketch_9.setCoincident(SketchArc_21.startPoint(), SketchArc_22.startPoint()) +SketchConstraintCoincidence_160.setName("SketchConstraintCoincidence_164") +SketchConstraintCoincidence_161 = Sketch_9.setCoincident(SketchArc_21.endPoint(), SketchLine_94.startPoint()) +SketchConstraintCoincidence_161.setName("SketchConstraintCoincidence_165") +SketchConstraintTangent_10 = Sketch_9.setTangent(SketchArc_21.results()[1], SketchLine_94.result()) +SketchConstraintTangent_11 = Sketch_9.setTangent(SketchArc_21.results()[1], SketchArc_22.results()[1]) +SketchConstraintCoincidence_162 = Sketch_9.setCoincident(SketchLine_99.endPoint(), SketchLine_94.endPoint()) +SketchConstraintCoincidence_162.setName("SketchConstraintCoincidence_166") +SketchConstraintCoincidence_163 = Sketch_9.setCoincident(SketchArc_20.endPoint(), SketchArc_22.endPoint()) +SketchConstraintCoincidence_163.setName("SketchConstraintCoincidence_167") +SketchConstraintTangent_12 = Sketch_9.setTangent(SketchArc_20.results()[1], SketchArc_22.results()[1]) +SketchConstraintCoincidence_164 = Sketch_9.setCoincident(SketchLine_94.startPoint(), SketchLine_99.result()) +SketchConstraintCoincidence_164.setName("SketchConstraintCoincidence_168") +SketchConstraintCoincidence_165 = Sketch_9.setCoincident(SketchArc_22.startPoint(), SketchArc_20.results()[1]) +SketchConstraintCoincidence_165.setName("SketchConstraintCoincidence_169") +SketchArc_23 = Sketch_9.addArc(28.68227136846154, 4.163450069699049, 29, 4.163450069699049, 28.46225956945478, 4.392679848735522, False) +SketchConstraintCoincidence_166 = Sketch_9.setCoincident(SketchArc_23.startPoint(), SketchLine_97.endPoint()) +SketchConstraintCoincidence_166.setName("SketchConstraintCoincidence_170") +SketchConstraintCoincidence_167 = Sketch_9.setCoincident(SketchArc_23.endPoint(), SketchArc_19.endPoint()) +SketchConstraintCoincidence_167.setName("SketchConstraintCoincidence_171") +SketchConstraintTangent_13 = Sketch_9.setTangent(SketchArc_23.results()[1], SketchArc_19.results()[1]) +SketchConstraintTangent_14 = Sketch_9.setTangent(SketchArc_23.results()[1], SketchLine_97.result()) +SketchConstraintCoincidence_168 = Sketch_9.setCoincident(SketchArc_22.startPoint(), SketchArc_19.startPoint()) +SketchConstraintCoincidence_168.setName("SketchConstraintCoincidence_172") +SketchConstraintCoincidence_169 = Sketch_9.setCoincident(SketchLine_98.startPoint(), SketchLine_97.startPoint()) +SketchConstraintCoincidence_169.setName("SketchConstraintCoincidence_173") +SketchConstraintTangent_15 = Sketch_9.setTangent(SketchArc_22.results()[1], SketchArc_19.results()[1]) +SketchConstraintCoincidence_170 = Sketch_9.setCoincident(SketchArc_19.endPoint(), SketchArc_22.results()[1]) +SketchConstraintCoincidence_170.setName("SketchConstraintCoincidence_174") +SketchConstraintCoincidence_171 = Sketch_9.setCoincident(SketchLine_97.endPoint(), SketchLine_98.result()) +SketchConstraintCoincidence_171.setName("SketchConstraintCoincidence_175") model.do() Plane_7 = model.addPlane(Part_1_doc, model.selection("FACE", "Plane_2"), 4, False) Plane_8 = model.addPlane(Part_1_doc, model.selection("FACE", "Plane_2"), 4, True) ExtrusionCut_8 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_9")], model.selection(), model.selection("FACE", "Plane_5"), 0, model.selection("FACE", "Plane_4"), 0, [model.selection("SOLID", "ExtrusionCut_7_1")]) Sketch_10 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_8_1/Modfied_5")) SketchCircle_1 = Sketch_10.addCircle(12, 6, 1) -SketchConstraintRadius_11 = Sketch_10.setRadius(SketchCircle_1.results()[1], 1) +SketchConstraintRadius_9 = Sketch_10.setRadius(SketchCircle_1.results()[1], 1) SketchPoint_24 = Sketch_10.addPoint(0, 6) SketchPoint_24.setAuxiliary(True) SketchLine_105 = Sketch_10.addLine(0, 0, 0, 12) @@ -937,20 +941,20 @@ SketchLine_105.setName("SketchLine_109") SketchLine_105.result().setName("SketchLine_109") SketchConstraintRigid_13 = Sketch_10.setFixed(SketchLine_105.result()) SketchConstraintRigid_13.setName("SketchConstraintRigid_22") -SketchConstraintCoincidence_171 = Sketch_10.setCoincident(SketchPoint_24.coordinates(), SketchLine_105.result()) -SketchConstraintCoincidence_171.setName("SketchConstraintCoincidence_176") +SketchConstraintCoincidence_172 = Sketch_10.setCoincident(SketchPoint_24.coordinates(), SketchLine_105.result()) +SketchConstraintCoincidence_172.setName("SketchConstraintCoincidence_176") SketchConstraintMiddle_8 = Sketch_10.setMiddlePoint(SketchLine_105.result(), SketchPoint_24.coordinates()) SketchLine_106 = Sketch_10.addLine(0, 6, 17.31036191565843, 6) SketchLine_106.setName("SketchLine_110") SketchLine_106.result().setName("SketchLine_110") SketchLine_106.setAuxiliary(True) -SketchConstraintCoincidence_172 = Sketch_10.setCoincident(SketchPoint_24.coordinates(), SketchLine_106.startPoint()) -SketchConstraintCoincidence_172.setName("SketchConstraintCoincidence_177") +SketchConstraintCoincidence_173 = Sketch_10.setCoincident(SketchPoint_24.coordinates(), SketchLine_106.startPoint()) +SketchConstraintCoincidence_173.setName("SketchConstraintCoincidence_177") SketchConstraintHorizontal_22 = Sketch_10.setHorizontal(SketchLine_106.result()) SketchConstraintHorizontal_22.setName("SketchConstraintHorizontal_23") -SketchConstraintCoincidence_173 = Sketch_10.setCoincident(SketchCircle_1.center(), SketchLine_106.result()) -SketchConstraintCoincidence_173.setName("SketchConstraintCoincidence_178") -SketchConstraintDistance_17 = Sketch_10.setDistance(SketchLine_105.result(), SketchCircle_1.center(), 12) +SketchConstraintCoincidence_174 = Sketch_10.setCoincident(SketchCircle_1.center(), SketchLine_106.result()) +SketchConstraintCoincidence_174.setName("SketchConstraintCoincidence_178") +SketchConstraintDistance_17 = Sketch_10.setDistance(SketchLine_105.result(), SketchCircle_1.center(), 12, False) model.do() ExtrusionCut_9 = model.addExtrusionCut(Part_1_doc, [model.selection("WIRE", "Sketch_10/Wire-SketchCircle_1_2f")], model.selection(), 0, 0.75, [model.selection("SOLID", "ExtrusionCut_8_1")]) model.do() @@ -959,22 +963,22 @@ Part_2_doc = Part_2.document() Sketch_11 = model.addSketch(Part_2_doc, model.defaultPlane("XOY")) SketchLine_107 = Sketch_11.addLine(0, 0, 60, 0) SketchPoint_25 = Sketch_11.addPoint(model.selection("VERTEX", "PartSet/Origin")) -SketchConstraintCoincidence_174 = Sketch_11.setCoincident(SketchLine_107.startPoint(), SketchPoint_25.result()) +SketchConstraintCoincidence_175 = Sketch_11.setCoincident(SketchLine_107.startPoint(), SketchPoint_25.result()) SketchLine_108 = Sketch_11.addLine(60, 0, 60, 1.5) SketchLine_108.setName("SketchLine_3") SketchLine_108.result().setName("SketchLine_3") -SketchConstraintCoincidence_175 = Sketch_11.setCoincident(SketchLine_107.endPoint(), SketchLine_108.startPoint()) -SketchConstraintCoincidence_175.setName("SketchConstraintCoincidence_3") +SketchConstraintCoincidence_176 = Sketch_11.setCoincident(SketchLine_107.endPoint(), SketchLine_108.startPoint()) +SketchConstraintCoincidence_176.setName("SketchConstraintCoincidence_3") SketchLine_109 = Sketch_11.addLine(60, 1.5, 57, 1.5) SketchLine_109.setName("SketchLine_4") SketchLine_109.result().setName("SketchLine_4") -SketchConstraintCoincidence_176 = Sketch_11.setCoincident(SketchLine_108.endPoint(), SketchLine_109.startPoint()) -SketchConstraintCoincidence_176.setName("SketchConstraintCoincidence_4") +SketchConstraintCoincidence_177 = Sketch_11.setCoincident(SketchLine_108.endPoint(), SketchLine_109.startPoint()) +SketchConstraintCoincidence_177.setName("SketchConstraintCoincidence_4") SketchLine_110 = Sketch_11.addLine(57, 1.5, 29, 7.5) SketchLine_110.setName("SketchLine_5") SketchLine_110.result().setName("SketchLine_5") -SketchConstraintCoincidence_177 = Sketch_11.setCoincident(SketchLine_109.endPoint(), SketchLine_110.startPoint()) -SketchConstraintCoincidence_177.setName("SketchConstraintCoincidence_5") +SketchConstraintCoincidence_178 = Sketch_11.setCoincident(SketchLine_109.endPoint(), SketchLine_110.startPoint()) +SketchConstraintCoincidence_178.setName("SketchConstraintCoincidence_5") SketchLine_111 = Sketch_11.addLine(28, 7.5, 28, 8) SketchLine_111.setName("SketchLine_7") SketchLine_111.result().setName("SketchLine_7") @@ -982,30 +986,30 @@ SketchArc_24 = Sketch_11.addArc(25.00007393928819, 7.9789374678129, 28, 8, 22.00 SketchLine_112 = Sketch_11.addLine(22.00014787857639, 8, 22.00014787857639, 7.5) SketchLine_112.setName("SketchLine_8") SketchLine_112.result().setName("SketchLine_8") -SketchConstraintCoincidence_178 = Sketch_11.setCoincident(SketchArc_24.endPoint(), SketchLine_112.startPoint()) -SketchConstraintCoincidence_178.setName("SketchConstraintCoincidence_8") +SketchConstraintCoincidence_179 = Sketch_11.setCoincident(SketchArc_24.endPoint(), SketchLine_112.startPoint()) +SketchConstraintCoincidence_179.setName("SketchConstraintCoincidence_8") SketchLine_113 = Sketch_11.addLine(22.00014787857639, 7.5, 21.00014787857639, 7.5) SketchLine_113.setName("SketchLine_9") SketchLine_113.result().setName("SketchLine_9") -SketchConstraintCoincidence_179 = Sketch_11.setCoincident(SketchLine_112.endPoint(), SketchLine_113.startPoint()) -SketchConstraintCoincidence_179.setName("SketchConstraintCoincidence_9") -SketchLine_114 = Sketch_11.addLine(0, 0, 0, 3.499999999999999) +SketchConstraintCoincidence_180 = Sketch_11.setCoincident(SketchLine_112.endPoint(), SketchLine_113.startPoint()) +SketchConstraintCoincidence_180.setName("SketchConstraintCoincidence_9") +SketchLine_114 = Sketch_11.addLine(0, 0, 0, 3.5) SketchLine_114.setName("SketchLine_10") SketchLine_114.result().setName("SketchLine_10") -SketchConstraintCoincidence_180 = Sketch_11.setCoincident(SketchLine_107.startPoint(), SketchLine_114.startPoint()) -SketchConstraintCoincidence_180.setName("SketchConstraintCoincidence_10") -SketchConstraintCoincidence_181 = Sketch_11.setCoincident(SketchPoint_25.coordinates(), SketchLine_114.startPoint()) -SketchConstraintCoincidence_181.setName("SketchConstraintCoincidence_11") -SketchLine_115 = Sketch_11.addLine(0, 3.499999999999999, 8, 5) +SketchConstraintCoincidence_181 = Sketch_11.setCoincident(SketchLine_107.startPoint(), SketchLine_114.startPoint()) +SketchConstraintCoincidence_181.setName("SketchConstraintCoincidence_10") +SketchConstraintCoincidence_182 = Sketch_11.setCoincident(SketchPoint_25.coordinates(), SketchLine_114.startPoint()) +SketchConstraintCoincidence_182.setName("SketchConstraintCoincidence_11") +SketchLine_115 = Sketch_11.addLine(0, 3.5, 8, 5) SketchLine_115.setName("SketchLine_11") SketchLine_115.result().setName("SketchLine_11") -SketchConstraintCoincidence_182 = Sketch_11.setCoincident(SketchLine_114.endPoint(), SketchLine_115.startPoint()) -SketchConstraintCoincidence_182.setName("SketchConstraintCoincidence_13") +SketchConstraintCoincidence_183 = Sketch_11.setCoincident(SketchLine_114.endPoint(), SketchLine_115.startPoint()) +SketchConstraintCoincidence_183.setName("SketchConstraintCoincidence_13") SketchLine_116 = Sketch_11.addLine(8, 5, 10.426976887961, 4.40018070612629) SketchLine_116.setName("SketchLine_12") SketchLine_116.result().setName("SketchLine_12") -SketchConstraintCoincidence_183 = Sketch_11.setCoincident(SketchLine_115.endPoint(), SketchLine_116.startPoint()) -SketchConstraintCoincidence_183.setName("SketchConstraintCoincidence_14") +SketchConstraintCoincidence_184 = Sketch_11.setCoincident(SketchLine_115.endPoint(), SketchLine_116.startPoint()) +SketchConstraintCoincidence_184.setName("SketchConstraintCoincidence_14") SketchConstraintLength_18 = Sketch_11.setLength(SketchLine_107.result(), 60) SketchConstraintHorizontal_23 = Sketch_11.setHorizontal(SketchLine_107.result()) SketchConstraintVertical_20 = Sketch_11.setVertical(SketchLine_108.result()) @@ -1014,201 +1018,201 @@ SketchConstraintHorizontal_25 = Sketch_11.setHorizontal(SketchLine_113.result()) SketchConstraintHorizontal_25.setName("SketchConstraintHorizontal_4") SketchConstraintVertical_21 = Sketch_11.setVertical(SketchLine_111.result()) SketchConstraintVertical_22 = Sketch_11.setVertical(SketchLine_112.result()) -SketchConstraintCoincidence_184 = Sketch_11.setCoincident(SketchLine_111.endPoint(), SketchArc_24.startPoint()) -SketchConstraintCoincidence_184.setName("SketchConstraintCoincidence_15") +SketchConstraintCoincidence_185 = Sketch_11.setCoincident(SketchLine_111.endPoint(), SketchArc_24.startPoint()) +SketchConstraintCoincidence_185.setName("SketchConstraintCoincidence_15") SketchConstraintVertical_23 = Sketch_11.setVertical(SketchLine_114.result()) -SketchConstraintDistance_18 = Sketch_11.setDistance(SketchLine_114.endPoint(), SketchLine_107.result(), 3.5) -SketchConstraintDistance_19 = Sketch_11.setDistance(SketchLine_115.endPoint(), SketchLine_114.result(), 8) +SketchConstraintDistance_18 = Sketch_11.setDistance(SketchLine_114.endPoint(), SketchLine_107.result(), 3.5, False) +SketchConstraintDistance_19 = Sketch_11.setDistance(SketchLine_115.endPoint(), SketchLine_114.result(), 8, False) SketchConstraintLength_19 = Sketch_11.setLength(SketchLine_116.result(), 2.5) -SketchConstraintRadius_12 = Sketch_11.setRadius(SketchArc_24.results()[1], 3) +SketchConstraintRadius_10 = Sketch_11.setRadius(SketchArc_24.results()[1], 3) SketchConstraintLength_20 = Sketch_11.setLength(SketchLine_112.result(), 0.5) SketchConstraintLength_21 = Sketch_11.setLength(SketchLine_113.result(), 1) SketchConstraintLength_22 = Sketch_11.setLength(SketchLine_111.result(), 0.5) -SketchConstraintDistance_20 = Sketch_11.setDistance(SketchLine_112.endPoint(), SketchLine_107.result(), 7.5) +SketchConstraintDistance_20 = Sketch_11.setDistance(SketchLine_112.endPoint(), SketchLine_107.result(), 7.5, False) SketchConstraintLength_23 = Sketch_11.setLength(SketchLine_109.result(), 3) SketchConstraintLength_23.setName("SketchConstraintLength_7") SketchConstraintLength_24 = Sketch_11.setLength(SketchLine_108.result(), 1.5) SketchConstraintLength_24.setName("SketchConstraintLength_8") -SketchConstraintDistance_21 = Sketch_11.setDistance(SketchLine_115.endPoint(), SketchLine_107.result(), 5) -SketchConstraintDistance_22 = Sketch_11.setDistance(SketchLine_111.startPoint(), SketchLine_107.result(), 7.5) +SketchConstraintDistance_21 = Sketch_11.setDistance(SketchLine_115.endPoint(), SketchLine_107.result(), 5, False) +SketchConstraintDistance_22 = Sketch_11.setDistance(SketchLine_111.startPoint(), SketchLine_107.result(), 7.5, False) SketchLine_117 = Sketch_11.addLine(12.81710695710752, 0, 12.81710695710752, 7.765286531476907) SketchLine_117.setName("SketchLine_13") SketchLine_117.result().setName("SketchLine_13") SketchLine_117.setAuxiliary(True) -SketchConstraintCoincidence_185 = Sketch_11.setCoincident(SketchLine_117.startPoint(), SketchLine_107.result()) -SketchConstraintCoincidence_185.setName("SketchConstraintCoincidence_16") +SketchConstraintCoincidence_186 = Sketch_11.setCoincident(SketchLine_117.startPoint(), SketchLine_107.result()) +SketchConstraintCoincidence_186.setName("SketchConstraintCoincidence_16") SketchConstraintVertical_24 = Sketch_11.setVertical(SketchLine_117.result()) SketchPoint_26 = Sketch_11.addPoint(12.81710695710752, 3) SketchPoint_26.setAuxiliary(True) -SketchConstraintCoincidence_186 = Sketch_11.setCoincident(SketchPoint_26.coordinates(), SketchLine_117.result()) -SketchConstraintCoincidence_186.setName("SketchConstraintCoincidence_17") -SketchConstraintDistance_23 = Sketch_11.setDistance(SketchPoint_26.coordinates(), SketchLine_107.result(), 3) +SketchConstraintCoincidence_187 = Sketch_11.setCoincident(SketchPoint_26.coordinates(), SketchLine_117.result()) +SketchConstraintCoincidence_187.setName("SketchConstraintCoincidence_17") +SketchConstraintDistance_23 = Sketch_11.setDistance(SketchPoint_26.coordinates(), SketchLine_107.result(), 3, False) SketchLine_118 = Sketch_11.addLine(28, 7.5, 29, 7.5) SketchLine_118.setName("SketchLine_14") SketchLine_118.result().setName("SketchLine_14") -SketchConstraintCoincidence_187 = Sketch_11.setCoincident(SketchLine_111.startPoint(), SketchLine_118.startPoint()) -SketchConstraintCoincidence_187.setName("SketchConstraintCoincidence_18") -SketchConstraintCoincidence_188 = Sketch_11.setCoincident(SketchLine_110.endPoint(), SketchLine_118.endPoint()) -SketchConstraintCoincidence_188.setName("SketchConstraintCoincidence_19") +SketchConstraintCoincidence_188 = Sketch_11.setCoincident(SketchLine_111.startPoint(), SketchLine_118.startPoint()) +SketchConstraintCoincidence_188.setName("SketchConstraintCoincidence_18") +SketchConstraintCoincidence_189 = Sketch_11.setCoincident(SketchLine_110.endPoint(), SketchLine_118.endPoint()) +SketchConstraintCoincidence_189.setName("SketchConstraintCoincidence_19") SketchConstraintLength_25 = Sketch_11.setLength(SketchLine_118.result(), 1) SketchConstraintLength_25.setName("SketchConstraintLength_9") SketchArc_25 = Sketch_11.addArc(14.78851987160339, 9.105317068618911, 10.426976887961, 4.40018070612629, 21.00014787857639, 7.5, False) -SketchConstraintCoincidence_189 = Sketch_11.setCoincident(SketchLine_116.endPoint(), SketchArc_25.startPoint()) -SketchConstraintCoincidence_189.setName("SketchConstraintCoincidence_20") -SketchConstraintCoincidence_190 = Sketch_11.setCoincident(SketchLine_113.endPoint(), SketchArc_25.endPoint()) -SketchConstraintCoincidence_190.setName("SketchConstraintCoincidence_21") -SketchConstraintCoincidence_191 = Sketch_11.setCoincident(SketchPoint_26.coordinates(), SketchArc_25.results()[1]) -SketchConstraintCoincidence_191.setName("SketchConstraintCoincidence_22") +SketchConstraintCoincidence_190 = Sketch_11.setCoincident(SketchLine_116.endPoint(), SketchArc_25.startPoint()) +SketchConstraintCoincidence_190.setName("SketchConstraintCoincidence_20") +SketchConstraintCoincidence_191 = Sketch_11.setCoincident(SketchLine_113.endPoint(), SketchArc_25.endPoint()) +SketchConstraintCoincidence_191.setName("SketchConstraintCoincidence_21") +SketchConstraintCoincidence_192 = Sketch_11.setCoincident(SketchPoint_26.coordinates(), SketchArc_25.results()[1]) +SketchConstraintCoincidence_192.setName("SketchConstraintCoincidence_22") SketchConstraintHorizontal_26 = Sketch_11.setHorizontal(SketchLine_118.result()) SketchConstraintHorizontal_26.setName("SketchConstraintHorizontal_9") -SketchConstraintDistance_24 = Sketch_11.setDistance(SketchLine_111.startPoint(), SketchLine_108.result(), 32) +SketchConstraintDistance_24 = Sketch_11.setDistance(SketchLine_111.startPoint(), SketchLine_108.result(), 32, False) SketchConstraintDistance_24.setName("SketchConstraintDistance_9") model.do() Extrusion_2 = model.addExtrusion(Part_2_doc, [model.selection("WIRE", "Sketch_1/Wire-SketchLine_1f-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchLine_10r-SketchLine_11r-SketchLine_12r-SketchLine_14r-SketchArc_2_2r")], model.selection(), 12, 0) -Sketch_12 = model.addSketch(Part_2_doc, model.selection("FACE", "PartSet/XOZ")) -SketchArc_26 = Sketch_12.addArc(53.99996594708078, 6.000000000028422, 54, 12, 53.99994409538203, -3.231174267785264e-027, True) +Sketch_12 = model.addSketch(Part_2_doc, model.standardPlane("XOZ")) +SketchArc_26 = Sketch_12.addArc(54, 6, 54, 12, 54, 0, True) SketchLine_119 = Sketch_12.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_13&Extrusion_1_1/To_Face_1")) SketchLine_119.setName("SketchLine_15") SketchLine_119.result().setName("SketchLine_15") -SketchConstraintCoincidence_192 = Sketch_12.setCoincident(SketchArc_26.startPoint(), SketchLine_119.result()) -SketchConstraintCoincidence_192.setName("SketchConstraintCoincidence_23") +SketchConstraintCoincidence_193 = Sketch_12.setCoincident(SketchArc_26.startPoint(), SketchLine_119.result()) +SketchConstraintCoincidence_193.setName("SketchConstraintCoincidence_23") SketchLine_120 = Sketch_12.addLine(model.selection("EDGE", "Sketch_1/Edge-SketchLine_1")) SketchLine_120.setName("SketchLine_16") SketchLine_120.result().setName("SketchLine_16") -SketchConstraintCoincidence_193 = Sketch_12.setCoincident(SketchArc_26.endPoint(), SketchLine_120.result()) -SketchConstraintCoincidence_193.setName("SketchConstraintCoincidence_24") -SketchConstraintRadius_13 = Sketch_12.setRadius(SketchArc_26.results()[1], 6) +SketchConstraintCoincidence_194 = Sketch_12.setCoincident(SketchArc_26.endPoint(), SketchLine_120.result()) +SketchConstraintCoincidence_194.setName("SketchConstraintCoincidence_24") SketchLine_121 = Sketch_12.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_13&Extrusion_1_1/Generated_Face_12")) SketchLine_121.setName("SketchLine_17") SketchLine_121.result().setName("SketchLine_17") -SketchConstraintDistance_25 = Sketch_12.setDistance(SketchArc_26.startPoint(), SketchLine_121.result(), 6) +SketchConstraintTangent_16 = Sketch_12.setTangent(SketchArc_26.results()[1], SketchLine_121.result()) +SketchConstraintDistance_25 = Sketch_12.setDistance(SketchArc_26.startPoint(), SketchLine_121.result(), 6, False) SketchConstraintDistance_25.setName("SketchConstraintDistance_7") SketchLine_122 = Sketch_12.addLine(54, 12, 53.10174978726379, 13.92603605930655) SketchLine_122.setName("SketchLine_18") SketchLine_122.result().setName("SketchLine_18") -SketchConstraintCoincidence_194 = Sketch_12.setCoincident(SketchArc_26.startPoint(), SketchLine_122.startPoint()) -SketchConstraintCoincidence_194.setName("SketchConstraintCoincidence_25") +SketchConstraintCoincidence_195 = Sketch_12.setCoincident(SketchArc_26.startPoint(), SketchLine_122.startPoint()) +SketchConstraintCoincidence_195.setName("SketchConstraintCoincidence_25") SketchLine_123 = Sketch_12.addLine(53.10174978726379, 13.92603605930655, 63.82610057919769, 13.82486293862793) SketchLine_123.setName("SketchLine_19") SketchLine_123.result().setName("SketchLine_19") -SketchConstraintCoincidence_195 = Sketch_12.setCoincident(SketchLine_122.endPoint(), SketchLine_123.startPoint()) -SketchConstraintCoincidence_195.setName("SketchConstraintCoincidence_26") +SketchConstraintCoincidence_196 = Sketch_12.setCoincident(SketchLine_122.endPoint(), SketchLine_123.startPoint()) +SketchConstraintCoincidence_196.setName("SketchConstraintCoincidence_26") SketchLine_124 = Sketch_12.addLine(63.82610057919769, 13.82486293862793, 62.66260969139353, -3.07104821470189) SketchLine_124.setName("SketchLine_20") SketchLine_124.result().setName("SketchLine_20") -SketchConstraintCoincidence_196 = Sketch_12.setCoincident(SketchLine_123.endPoint(), SketchLine_124.startPoint()) -SketchConstraintCoincidence_196.setName("SketchConstraintCoincidence_27") +SketchConstraintCoincidence_197 = Sketch_12.setCoincident(SketchLine_123.endPoint(), SketchLine_124.startPoint()) +SketchConstraintCoincidence_197.setName("SketchConstraintCoincidence_27") SketchLine_125 = Sketch_12.addLine(62.66260969139353, -3.07104821470189, 53.10174978726379, -2.868701973344648) SketchLine_125.setName("SketchLine_21") SketchLine_125.result().setName("SketchLine_21") -SketchConstraintCoincidence_197 = Sketch_12.setCoincident(SketchLine_124.endPoint(), SketchLine_125.startPoint()) -SketchConstraintCoincidence_197.setName("SketchConstraintCoincidence_28") -SketchLine_126 = Sketch_12.addLine(53.10174978726379, -2.868701973344648, 53.99994409538203, -3.231174267785264e-027) +SketchConstraintCoincidence_198 = Sketch_12.setCoincident(SketchLine_124.endPoint(), SketchLine_125.startPoint()) +SketchConstraintCoincidence_198.setName("SketchConstraintCoincidence_28") +SketchLine_126 = Sketch_12.addLine(53.10174978726379, -2.868701973344648, 54, 0) SketchLine_126.setName("SketchLine_22") SketchLine_126.result().setName("SketchLine_22") -SketchConstraintCoincidence_198 = Sketch_12.setCoincident(SketchLine_125.endPoint(), SketchLine_126.startPoint()) -SketchConstraintCoincidence_198.setName("SketchConstraintCoincidence_29") -SketchConstraintCoincidence_199 = Sketch_12.setCoincident(SketchArc_26.endPoint(), SketchLine_126.endPoint()) -SketchConstraintCoincidence_199.setName("SketchConstraintCoincidence_30") +SketchConstraintCoincidence_199 = Sketch_12.setCoincident(SketchLine_125.endPoint(), SketchLine_126.startPoint()) +SketchConstraintCoincidence_199.setName("SketchConstraintCoincidence_29") +SketchConstraintCoincidence_200 = Sketch_12.setCoincident(SketchArc_26.endPoint(), SketchLine_126.endPoint()) +SketchConstraintCoincidence_200.setName("SketchConstraintCoincidence_30") model.do() ExtrusionCut_10 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_2/Face-SketchArc_3_2r-SketchLine_18r-SketchLine_19r-SketchLine_20r-SketchLine_21r-SketchLine_22r")], model.selection(), 7, 15, [model.selection("SOLID", "Extrusion_1_1")]) Sketch_13 = model.addSketch(Part_2_doc, model.selection("FACE", "Extrusion_1_1/Generated_Face_9")) -SketchLine_127 = Sketch_13.addLine(28, -6, -4.270492394552598, -6.000000000000001) +SketchLine_127 = Sketch_13.addLine(28, -6, -4.270492394552598, -6) SketchLine_127.setName("SketchLine_23") SketchLine_127.result().setName("SketchLine_23") SketchLine_127.setAuxiliary(True) SketchLine_128 = Sketch_13.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_8&Extrusion_1_1/Generated_Face_9")) SketchLine_128.setName("SketchLine_24") SketchLine_128.result().setName("SketchLine_24") -SketchConstraintCoincidence_200 = Sketch_13.setCoincident(SketchLine_127.startPoint(), SketchLine_128.result()) -SketchConstraintCoincidence_200.setName("SketchConstraintCoincidence_31") +SketchConstraintCoincidence_201 = Sketch_13.setCoincident(SketchLine_127.startPoint(), SketchLine_128.result()) +SketchConstraintCoincidence_201.setName("SketchConstraintCoincidence_31") SketchConstraintHorizontal_27 = Sketch_13.setHorizontal(SketchLine_127.result()) -SketchLine_129 = Sketch_13.addLine(28, -6, 63.78468475453244, -6.000000000000001) +SketchLine_129 = Sketch_13.addLine(28, -6, 63.78468475453244, -6) SketchLine_129.setName("SketchLine_25") SketchLine_129.result().setName("SketchLine_25") SketchLine_129.setAuxiliary(True) -SketchConstraintCoincidence_201 = Sketch_13.setCoincident(SketchLine_127.startPoint(), SketchLine_129.startPoint()) -SketchConstraintCoincidence_201.setName("SketchConstraintCoincidence_32") +SketchConstraintCoincidence_202 = Sketch_13.setCoincident(SketchLine_127.startPoint(), SketchLine_129.startPoint()) +SketchConstraintCoincidence_202.setName("SketchConstraintCoincidence_32") SketchConstraintHorizontal_28 = Sketch_13.setHorizontal(SketchLine_129.result()) -SketchLine_130 = Sketch_13.addLine(60, -1.500000000000001, 29, -1.500000000000001) +SketchLine_130 = Sketch_13.addLine(60, -1.5, 29, -1.5) SketchLine_130.setName("SketchLine_26") SketchLine_130.result().setName("SketchLine_26") -SketchLine_131 = Sketch_13.addLine(29, -1.500000000000001, 29, -10.5) +SketchLine_131 = Sketch_13.addLine(29, -1.5, 29, -10.5) SketchLine_131.setName("SketchLine_27") SketchLine_131.result().setName("SketchLine_27") SketchLine_132 = Sketch_13.addLine(29, -10.5, 60, -10.5) SketchLine_132.setName("SketchLine_28") SketchLine_132.result().setName("SketchLine_28") -SketchLine_133 = Sketch_13.addLine(60, -10.5, 60, -1.500000000000001) +SketchLine_133 = Sketch_13.addLine(60, -10.5, 60, -1.5) SketchLine_133.setName("SketchLine_29") SketchLine_133.result().setName("SketchLine_29") -SketchConstraintCoincidence_202 = Sketch_13.setCoincident(SketchLine_133.endPoint(), SketchLine_130.startPoint()) -SketchConstraintCoincidence_202.setName("SketchConstraintCoincidence_33") -SketchConstraintCoincidence_203 = Sketch_13.setCoincident(SketchLine_130.endPoint(), SketchLine_131.startPoint()) -SketchConstraintCoincidence_203.setName("SketchConstraintCoincidence_34") -SketchConstraintCoincidence_204 = Sketch_13.setCoincident(SketchLine_131.endPoint(), SketchLine_132.startPoint()) -SketchConstraintCoincidence_204.setName("SketchConstraintCoincidence_35") -SketchConstraintCoincidence_205 = Sketch_13.setCoincident(SketchLine_132.endPoint(), SketchLine_133.startPoint()) -SketchConstraintCoincidence_205.setName("SketchConstraintCoincidence_36") +SketchConstraintCoincidence_203 = Sketch_13.setCoincident(SketchLine_133.endPoint(), SketchLine_130.startPoint()) +SketchConstraintCoincidence_203.setName("SketchConstraintCoincidence_33") +SketchConstraintCoincidence_204 = Sketch_13.setCoincident(SketchLine_130.endPoint(), SketchLine_131.startPoint()) +SketchConstraintCoincidence_204.setName("SketchConstraintCoincidence_34") +SketchConstraintCoincidence_205 = Sketch_13.setCoincident(SketchLine_131.endPoint(), SketchLine_132.startPoint()) +SketchConstraintCoincidence_205.setName("SketchConstraintCoincidence_35") +SketchConstraintCoincidence_206 = Sketch_13.setCoincident(SketchLine_132.endPoint(), SketchLine_133.startPoint()) +SketchConstraintCoincidence_206.setName("SketchConstraintCoincidence_36") SketchConstraintHorizontal_29 = Sketch_13.setHorizontal(SketchLine_130.result()) SketchConstraintVertical_25 = Sketch_13.setVertical(SketchLine_131.result()) SketchConstraintHorizontal_30 = Sketch_13.setHorizontal(SketchLine_132.result()) SketchConstraintVertical_26 = Sketch_13.setVertical(SketchLine_133.result()) -SketchLine_134 = Sketch_13.addLine(29, -10.5, 60, -1.500000000000001) +SketchLine_134 = Sketch_13.addLine(29, -10.5, 60, -1.5) SketchLine_134.setName("SketchLine_30") SketchLine_134.result().setName("SketchLine_30") SketchLine_134.setAuxiliary(True) -SketchConstraintCoincidence_206 = Sketch_13.setCoincident(SketchLine_131.endPoint(), SketchLine_134.startPoint()) -SketchConstraintCoincidence_206.setName("SketchConstraintCoincidence_37") -SketchConstraintCoincidence_207 = Sketch_13.setCoincident(SketchLine_132.startPoint(), SketchLine_134.startPoint()) -SketchConstraintCoincidence_207.setName("SketchConstraintCoincidence_38") -SketchConstraintCoincidence_208 = Sketch_13.setCoincident(SketchLine_130.startPoint(), SketchLine_134.endPoint()) -SketchConstraintCoincidence_208.setName("SketchConstraintCoincidence_39") -SketchConstraintCoincidence_209 = Sketch_13.setCoincident(SketchLine_133.endPoint(), SketchLine_134.endPoint()) -SketchConstraintCoincidence_209.setName("SketchConstraintCoincidence_40") -SketchLine_135 = Sketch_13.addLine(29, -1.500000000000001, 60, -10.5) +SketchConstraintCoincidence_207 = Sketch_13.setCoincident(SketchLine_131.endPoint(), SketchLine_134.startPoint()) +SketchConstraintCoincidence_207.setName("SketchConstraintCoincidence_37") +SketchConstraintCoincidence_208 = Sketch_13.setCoincident(SketchLine_132.startPoint(), SketchLine_134.startPoint()) +SketchConstraintCoincidence_208.setName("SketchConstraintCoincidence_38") +SketchConstraintCoincidence_209 = Sketch_13.setCoincident(SketchLine_130.startPoint(), SketchLine_134.endPoint()) +SketchConstraintCoincidence_209.setName("SketchConstraintCoincidence_39") +SketchConstraintCoincidence_210 = Sketch_13.setCoincident(SketchLine_133.endPoint(), SketchLine_134.endPoint()) +SketchConstraintCoincidence_210.setName("SketchConstraintCoincidence_40") +SketchLine_135 = Sketch_13.addLine(29, -1.5, 60, -10.5) SketchLine_135.setName("SketchLine_31") SketchLine_135.result().setName("SketchLine_31") SketchLine_135.setAuxiliary(True) -SketchConstraintCoincidence_210 = Sketch_13.setCoincident(SketchLine_130.endPoint(), SketchLine_135.startPoint()) -SketchConstraintCoincidence_210.setName("SketchConstraintCoincidence_41") -SketchConstraintCoincidence_211 = Sketch_13.setCoincident(SketchLine_131.startPoint(), SketchLine_135.startPoint()) -SketchConstraintCoincidence_211.setName("SketchConstraintCoincidence_42") -SketchConstraintCoincidence_212 = Sketch_13.setCoincident(SketchLine_132.endPoint(), SketchLine_135.endPoint()) -SketchConstraintCoincidence_212.setName("SketchConstraintCoincidence_43") -SketchConstraintCoincidence_213 = Sketch_13.setCoincident(SketchLine_133.startPoint(), SketchLine_135.endPoint()) -SketchConstraintCoincidence_213.setName("SketchConstraintCoincidence_44") -SketchPoint_27 = Sketch_13.addPoint(44.5, -6.000000000000001) +SketchConstraintCoincidence_211 = Sketch_13.setCoincident(SketchLine_130.endPoint(), SketchLine_135.startPoint()) +SketchConstraintCoincidence_211.setName("SketchConstraintCoincidence_41") +SketchConstraintCoincidence_212 = Sketch_13.setCoincident(SketchLine_131.startPoint(), SketchLine_135.startPoint()) +SketchConstraintCoincidence_212.setName("SketchConstraintCoincidence_42") +SketchConstraintCoincidence_213 = Sketch_13.setCoincident(SketchLine_132.endPoint(), SketchLine_135.endPoint()) +SketchConstraintCoincidence_213.setName("SketchConstraintCoincidence_43") +SketchConstraintCoincidence_214 = Sketch_13.setCoincident(SketchLine_133.startPoint(), SketchLine_135.endPoint()) +SketchConstraintCoincidence_214.setName("SketchConstraintCoincidence_44") +SketchPoint_27 = Sketch_13.addPoint(44.5, -6) SketchPoint_27.setAuxiliary(True) -SketchConstraintCoincidence_214 = Sketch_13.setCoincident(SketchPoint_27.coordinates(), SketchLine_135.result()) -SketchConstraintCoincidence_214.setName("SketchConstraintCoincidence_45") +SketchConstraintCoincidence_215 = Sketch_13.setCoincident(SketchPoint_27.coordinates(), SketchLine_135.result()) +SketchConstraintCoincidence_215.setName("SketchConstraintCoincidence_45") SketchConstraintMiddle_9 = Sketch_13.setMiddlePoint(SketchPoint_27.coordinates(), SketchLine_135.result()) -SketchConstraintCoincidence_215 = Sketch_13.setCoincident(SketchPoint_27.coordinates(), SketchLine_129.result()) -SketchConstraintCoincidence_215.setName("SketchConstraintCoincidence_46") -SketchConstraintDistance_26 = Sketch_13.setDistance(SketchLine_128.startPoint(), SketchLine_129.result(), 6) +SketchConstraintCoincidence_216 = Sketch_13.setCoincident(SketchPoint_27.coordinates(), SketchLine_129.result()) +SketchConstraintCoincidence_216.setName("SketchConstraintCoincidence_46") +SketchConstraintDistance_26 = Sketch_13.setDistance(SketchLine_128.startPoint(), SketchLine_129.result(), 6, False) SketchConstraintDistance_26.setName("SketchConstraintDistance_8") SketchConstraintLength_26 = Sketch_13.setLength(SketchLine_133.result(), 9) SketchConstraintLength_26.setName("SketchConstraintLength_10") -SketchLine_136 = Sketch_13.addLine(21.00014787857639, -1.499999999999999, 12.00014787857639, -1.499999999999999) +SketchLine_136 = Sketch_13.addLine(21.00014787857639, -1.499999999999981, 12.00014787857639, -1.499999999999981) SketchLine_136.setName("SketchLine_32") SketchLine_136.result().setName("SketchLine_32") -SketchLine_137 = Sketch_13.addLine(12.00014787857639, -1.499999999999999, 12.00014787857639, -10.5) +SketchLine_137 = Sketch_13.addLine(12.00014787857639, -1.499999999999981, 12.00014787857639, -10.49999999999998) SketchLine_137.setName("SketchLine_33") SketchLine_137.result().setName("SketchLine_33") -SketchLine_138 = Sketch_13.addLine(12.00014787857639, -10.5, 21.00014787857639, -10.5) +SketchLine_138 = Sketch_13.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -10.49999999999998) SketchLine_138.setName("SketchLine_34") SketchLine_138.result().setName("SketchLine_34") -SketchLine_139 = Sketch_13.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_139 = Sketch_13.addLine(21.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981) SketchLine_139.setName("SketchLine_35") SketchLine_139.result().setName("SketchLine_35") -SketchConstraintCoincidence_216 = Sketch_13.setCoincident(SketchLine_139.endPoint(), SketchLine_136.startPoint()) -SketchConstraintCoincidence_216.setName("SketchConstraintCoincidence_47") -SketchConstraintCoincidence_217 = Sketch_13.setCoincident(SketchLine_136.endPoint(), SketchLine_137.startPoint()) -SketchConstraintCoincidence_217.setName("SketchConstraintCoincidence_48") -SketchConstraintCoincidence_218 = Sketch_13.setCoincident(SketchLine_137.endPoint(), SketchLine_138.startPoint()) -SketchConstraintCoincidence_218.setName("SketchConstraintCoincidence_49") -SketchConstraintCoincidence_219 = Sketch_13.setCoincident(SketchLine_138.endPoint(), SketchLine_139.startPoint()) -SketchConstraintCoincidence_219.setName("SketchConstraintCoincidence_50") +SketchConstraintCoincidence_217 = Sketch_13.setCoincident(SketchLine_139.endPoint(), SketchLine_136.startPoint()) +SketchConstraintCoincidence_217.setName("SketchConstraintCoincidence_47") +SketchConstraintCoincidence_218 = Sketch_13.setCoincident(SketchLine_136.endPoint(), SketchLine_137.startPoint()) +SketchConstraintCoincidence_218.setName("SketchConstraintCoincidence_48") +SketchConstraintCoincidence_219 = Sketch_13.setCoincident(SketchLine_137.endPoint(), SketchLine_138.startPoint()) +SketchConstraintCoincidence_219.setName("SketchConstraintCoincidence_49") +SketchConstraintCoincidence_220 = Sketch_13.setCoincident(SketchLine_138.endPoint(), SketchLine_139.startPoint()) +SketchConstraintCoincidence_220.setName("SketchConstraintCoincidence_50") SketchConstraintHorizontal_31 = Sketch_13.setHorizontal(SketchLine_136.result()) SketchConstraintHorizontal_31.setName("SketchConstraintHorizontal_10") SketchConstraintVertical_27 = Sketch_13.setVertical(SketchLine_137.result()) @@ -1216,37 +1220,37 @@ SketchConstraintHorizontal_32 = Sketch_13.setHorizontal(SketchLine_138.result()) SketchConstraintHorizontal_32.setName("SketchConstraintHorizontal_11") SketchConstraintVertical_28 = Sketch_13.setVertical(SketchLine_139.result()) SketchConstraintEqual_4 = Sketch_13.setEqual(SketchLine_131.result(), SketchLine_139.result()) -SketchLine_140 = Sketch_13.addLine(12.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_140 = Sketch_13.addLine(12.00014787857639, -10.49999999999998, 21.00014787857639, -1.499999999999981) SketchLine_140.setName("SketchLine_36") SketchLine_140.result().setName("SketchLine_36") SketchLine_140.setAuxiliary(True) -SketchConstraintCoincidence_220 = Sketch_13.setCoincident(SketchLine_137.endPoint(), SketchLine_140.startPoint()) -SketchConstraintCoincidence_220.setName("SketchConstraintCoincidence_51") -SketchConstraintCoincidence_221 = Sketch_13.setCoincident(SketchLine_138.startPoint(), SketchLine_140.startPoint()) -SketchConstraintCoincidence_221.setName("SketchConstraintCoincidence_52") -SketchConstraintCoincidence_222 = Sketch_13.setCoincident(SketchLine_136.startPoint(), SketchLine_140.endPoint()) -SketchConstraintCoincidence_222.setName("SketchConstraintCoincidence_53") -SketchConstraintCoincidence_223 = Sketch_13.setCoincident(SketchLine_139.endPoint(), SketchLine_140.endPoint()) -SketchConstraintCoincidence_223.setName("SketchConstraintCoincidence_54") -SketchPoint_28 = Sketch_13.addPoint(16.50014787857639, -5.999999999999999) +SketchConstraintCoincidence_221 = Sketch_13.setCoincident(SketchLine_137.endPoint(), SketchLine_140.startPoint()) +SketchConstraintCoincidence_221.setName("SketchConstraintCoincidence_51") +SketchConstraintCoincidence_222 = Sketch_13.setCoincident(SketchLine_138.startPoint(), SketchLine_140.startPoint()) +SketchConstraintCoincidence_222.setName("SketchConstraintCoincidence_52") +SketchConstraintCoincidence_223 = Sketch_13.setCoincident(SketchLine_136.startPoint(), SketchLine_140.endPoint()) +SketchConstraintCoincidence_223.setName("SketchConstraintCoincidence_53") +SketchConstraintCoincidence_224 = Sketch_13.setCoincident(SketchLine_139.endPoint(), SketchLine_140.endPoint()) +SketchConstraintCoincidence_224.setName("SketchConstraintCoincidence_54") +SketchPoint_28 = Sketch_13.addPoint(16.50014787857639, -6) SketchPoint_28.setAuxiliary(True) -SketchConstraintCoincidence_224 = Sketch_13.setCoincident(SketchPoint_28.coordinates(), SketchLine_140.result()) -SketchConstraintCoincidence_224.setName("SketchConstraintCoincidence_55") +SketchConstraintCoincidence_225 = Sketch_13.setCoincident(SketchPoint_28.coordinates(), SketchLine_140.result()) +SketchConstraintCoincidence_225.setName("SketchConstraintCoincidence_55") SketchConstraintMiddle_10 = Sketch_13.setMiddlePoint(SketchLine_140.result(), SketchPoint_28.coordinates()) -SketchConstraintCoincidence_225 = Sketch_13.setCoincident(SketchPoint_28.coordinates(), SketchLine_127.result()) -SketchConstraintCoincidence_225.setName("SketchConstraintCoincidence_56") +SketchConstraintCoincidence_226 = Sketch_13.setCoincident(SketchPoint_28.coordinates(), SketchLine_127.result()) +SketchConstraintCoincidence_226.setName("SketchConstraintCoincidence_56") SketchLine_141 = Sketch_13.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_9&ExtrusionCut_1_1/Modfied_3")) SketchLine_141.setName("SketchLine_37") SketchLine_141.result().setName("SketchLine_37") -SketchConstraintCoincidence_226 = Sketch_13.setCoincident(SketchLine_131.startPoint(), SketchLine_141.result()) -SketchConstraintCoincidence_226.setName("SketchConstraintCoincidence_57") +SketchConstraintCoincidence_227 = Sketch_13.setCoincident(SketchLine_131.startPoint(), SketchLine_141.result()) +SketchConstraintCoincidence_227.setName("SketchConstraintCoincidence_57") SketchConstraintLength_27 = Sketch_13.setLength(SketchLine_130.result(), 31) SketchConstraintLength_27.setName("SketchConstraintLength_11") SketchLine_142 = Sketch_13.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_4&Extrusion_1_1/Generated_Face_5")) SketchLine_142.setName("SketchLine_38") SketchLine_142.result().setName("SketchLine_38") -SketchConstraintCoincidence_227 = Sketch_13.setCoincident(SketchLine_136.startPoint(), SketchLine_142.result()) -SketchConstraintCoincidence_227.setName("SketchConstraintCoincidence_58") +SketchConstraintCoincidence_228 = Sketch_13.setCoincident(SketchLine_136.startPoint(), SketchLine_142.result()) +SketchConstraintCoincidence_228.setName("SketchConstraintCoincidence_58") SketchConstraintEqual_5 = Sketch_13.setEqual(SketchLine_136.result(), SketchLine_131.result()) model.do() ExtrusionCut_11 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_3/Face-SketchLine_32f-SketchLine_33f-SketchLine_34f-SketchLine_35f"), model.selection("FACE", "Sketch_3/Face-SketchLine_26f-SketchLine_27f-SketchLine_28f-SketchLine_29f")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modfied_4"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_1_1")]) @@ -1257,27 +1261,27 @@ SketchLine_143.result().setName("SketchLine_39") SketchLine_144 = Sketch_14.addLine(model.selection("EDGE", "ExtrusionCut_1_1/Modfied_1&Extrusion_1_1/Generated_Face_2")) SketchLine_144.setName("SketchLine_40") SketchLine_144.result().setName("SketchLine_40") -SketchConstraintCoincidence_228 = Sketch_14.setCoincident(SketchLine_143.startPoint(), SketchLine_144.result()) -SketchConstraintCoincidence_228.setName("SketchConstraintCoincidence_59") +SketchConstraintCoincidence_229 = Sketch_14.setCoincident(SketchLine_143.startPoint(), SketchLine_144.result()) +SketchConstraintCoincidence_229.setName("SketchConstraintCoincidence_59") SketchLine_145 = Sketch_14.addLine(1.55585595716119, 2.812450190483599, 2.324492722099671, 3.935842385393688) SketchLine_145.setName("SketchLine_41") SketchLine_145.result().setName("SketchLine_41") -SketchConstraintCoincidence_229 = Sketch_14.setCoincident(SketchLine_143.endPoint(), SketchLine_145.startPoint()) -SketchConstraintCoincidence_229.setName("SketchConstraintCoincidence_60") -SketchConstraintCoincidence_230 = Sketch_14.setCoincident(SketchLine_145.endPoint(), SketchLine_144.result()) -SketchConstraintCoincidence_230.setName("SketchConstraintCoincidence_61") +SketchConstraintCoincidence_230 = Sketch_14.setCoincident(SketchLine_143.endPoint(), SketchLine_145.startPoint()) +SketchConstraintCoincidence_230.setName("SketchConstraintCoincidence_60") +SketchConstraintCoincidence_231 = Sketch_14.setCoincident(SketchLine_145.endPoint(), SketchLine_144.result()) +SketchConstraintCoincidence_231.setName("SketchConstraintCoincidence_61") SketchLine_146 = Sketch_14.addLine(2.324492722099671, 3.935842385393688, 0.4324637622511017, 3.581086955422081) SketchLine_146.setName("SketchLine_42") SketchLine_146.result().setName("SketchLine_42") -SketchConstraintCoincidence_231 = Sketch_14.setCoincident(SketchLine_145.endPoint(), SketchLine_146.startPoint()) -SketchConstraintCoincidence_231.setName("SketchConstraintCoincidence_62") -SketchConstraintCoincidence_232 = Sketch_14.setCoincident(SketchLine_143.startPoint(), SketchLine_146.endPoint()) -SketchConstraintCoincidence_232.setName("SketchConstraintCoincidence_63") +SketchConstraintCoincidence_232 = Sketch_14.setCoincident(SketchLine_145.endPoint(), SketchLine_146.startPoint()) +SketchConstraintCoincidence_232.setName("SketchConstraintCoincidence_62") +SketchConstraintCoincidence_233 = Sketch_14.setCoincident(SketchLine_143.startPoint(), SketchLine_146.endPoint()) +SketchConstraintCoincidence_233.setName("SketchConstraintCoincidence_63") SketchConstraintLength_28 = Sketch_14.setLength(SketchLine_146.result(), 1.925) SketchConstraintLength_28.setName("SketchConstraintLength_12") SketchConstraintEqual_6 = Sketch_14.setEqual(SketchLine_143.result(), SketchLine_145.result()) SketchConstraintPerpendicular_2 = Sketch_14.setPerpendicular(SketchLine_143.result(), SketchLine_145.result()) -SketchConstraintDistance_27 = Sketch_14.setDistance(SketchLine_144.startPoint(), SketchLine_143.startPoint(), 0.44) +SketchConstraintDistance_27 = Sketch_14.setDistance(SketchLine_144.startPoint(), SketchLine_143.startPoint(), 0.44, False) SketchMultiTranslation_3_objects = [SketchLine_143.result(), SketchLine_146.result(), SketchLine_145.result()] SketchMultiTranslation_3 = Sketch_14.addTranslation(SketchMultiTranslation_3_objects, SketchLine_146.startPoint(), SketchLine_144.endPoint(), 4, True) [SketchLine_147, SketchLine_148, SketchLine_149, SketchLine_150, SketchLine_151, SketchLine_152, SketchLine_153, SketchLine_154, SketchLine_155] = SketchMultiTranslation_3.translated() @@ -1301,41 +1305,41 @@ SketchLine_147.setName("SketchLine_43") SketchLine_147.result().setName("SketchLine_43") model.do() ExtrusionCut_12 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_4")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modfied_2"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_2_1")]) -Plane_9 = model.addPlane(Part_2_doc, model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_1"), model.selection("VERTEX", "ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_7&Extrusion_1_1/Generated_Face_6"), model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_2_1/Modfied_6&ExtrusionCut_3_1/Modfied_3")) +Plane_9 = model.addPlane(Part_2_doc, model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_1"), model.selection("VERTEX", "ExtrusionCut_3_1/Modfied_3&Extrusion_1_1/Generated_Face_6&Extrusion_1_1/Generated_Face_7"), model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_5&ExtrusionCut_2_1/Modfied_6&ExtrusionCut_3_1/Modfied_3")) Sketch_15 = model.addSketch(Part_2_doc, model.selection("FACE", "Plane_1")) -SketchArc_27 = Sketch_15.addArc(25.00007393928819, -7.521062532210847, 22.00014787857639, -7.5, 28, -7.5, True) -SketchPoint_29 = Sketch_15.addPoint(22.00014787857639, -7.5) +SketchArc_27 = Sketch_15.addArc(25, -7.50002056854448, 22, -7.5, 28, -7.5, True) +SketchPoint_29 = Sketch_15.addPoint(22, -7.5) SketchConstraintRigid_14 = Sketch_15.setFixed(SketchPoint_29.result()) SketchConstraintRigid_14.setName("SketchConstraintRigid_10") -SketchConstraintCoincidence_233 = Sketch_15.setCoincident(SketchArc_27.startPoint(), SketchPoint_29.result()) -SketchConstraintCoincidence_233.setName("SketchConstraintCoincidence_64") +SketchConstraintCoincidence_234 = Sketch_15.setCoincident(SketchArc_27.startPoint(), SketchPoint_29.result()) +SketchConstraintCoincidence_234.setName("SketchConstraintCoincidence_64") SketchPoint_30 = Sketch_15.addPoint(28, -7.5) SketchConstraintRigid_15 = Sketch_15.setFixed(SketchPoint_30.result()) SketchConstraintRigid_15.setName("SketchConstraintRigid_11") -SketchConstraintCoincidence_234 = Sketch_15.setCoincident(SketchArc_27.endPoint(), SketchPoint_30.result()) -SketchConstraintCoincidence_234.setName("SketchConstraintCoincidence_65") -SketchConstraintRadius_14 = Sketch_15.setRadius(SketchArc_27.results()[1], 3) -SketchLine_156 = Sketch_15.addLine(22.00014787857639, -7.5, 22.00014787857639, -11.56094005408083) +SketchConstraintCoincidence_235 = Sketch_15.setCoincident(SketchArc_27.endPoint(), SketchPoint_30.result()) +SketchConstraintCoincidence_235.setName("SketchConstraintCoincidence_65") +SketchConstraintRadius_11 = Sketch_15.setRadius(SketchArc_27.results()[1], 3) +SketchLine_156 = Sketch_15.addLine(22, -7.5, 22, -11.56094005408083) SketchLine_156.setName("SketchLine_52") SketchLine_156.result().setName("SketchLine_52") -SketchConstraintCoincidence_235 = Sketch_15.setCoincident(SketchArc_27.startPoint(), SketchLine_156.startPoint()) -SketchConstraintCoincidence_235.setName("SketchConstraintCoincidence_66") -SketchConstraintCoincidence_236 = Sketch_15.setCoincident(SketchPoint_29.coordinates(), SketchLine_156.startPoint()) -SketchConstraintCoincidence_236.setName("SketchConstraintCoincidence_67") -SketchLine_157 = Sketch_15.addLine(22.00014787857639, -11.56094005408083, 28, -11.56094005408083) +SketchConstraintCoincidence_236 = Sketch_15.setCoincident(SketchArc_27.startPoint(), SketchLine_156.startPoint()) +SketchConstraintCoincidence_236.setName("SketchConstraintCoincidence_66") +SketchConstraintCoincidence_237 = Sketch_15.setCoincident(SketchPoint_29.coordinates(), SketchLine_156.startPoint()) +SketchConstraintCoincidence_237.setName("SketchConstraintCoincidence_67") +SketchLine_157 = Sketch_15.addLine(22, -11.56094005408083, 28, -11.56094005408083) SketchLine_157.setName("SketchLine_53") SketchLine_157.result().setName("SketchLine_53") -SketchConstraintCoincidence_237 = Sketch_15.setCoincident(SketchLine_156.endPoint(), SketchLine_157.startPoint()) -SketchConstraintCoincidence_237.setName("SketchConstraintCoincidence_68") +SketchConstraintCoincidence_238 = Sketch_15.setCoincident(SketchLine_156.endPoint(), SketchLine_157.startPoint()) +SketchConstraintCoincidence_238.setName("SketchConstraintCoincidence_68") SketchLine_158 = Sketch_15.addLine(28, -11.56094005408083, 28, -7.5) SketchLine_158.setName("SketchLine_54") SketchLine_158.result().setName("SketchLine_54") -SketchConstraintCoincidence_238 = Sketch_15.setCoincident(SketchLine_157.endPoint(), SketchLine_158.startPoint()) -SketchConstraintCoincidence_238.setName("SketchConstraintCoincidence_69") -SketchConstraintCoincidence_239 = Sketch_15.setCoincident(SketchArc_27.endPoint(), SketchLine_158.endPoint()) -SketchConstraintCoincidence_239.setName("SketchConstraintCoincidence_70") -SketchConstraintCoincidence_240 = Sketch_15.setCoincident(SketchPoint_30.coordinates(), SketchLine_158.endPoint()) -SketchConstraintCoincidence_240.setName("SketchConstraintCoincidence_71") +SketchConstraintCoincidence_239 = Sketch_15.setCoincident(SketchLine_157.endPoint(), SketchLine_158.startPoint()) +SketchConstraintCoincidence_239.setName("SketchConstraintCoincidence_69") +SketchConstraintCoincidence_240 = Sketch_15.setCoincident(SketchArc_27.endPoint(), SketchLine_158.endPoint()) +SketchConstraintCoincidence_240.setName("SketchConstraintCoincidence_70") +SketchConstraintCoincidence_241 = Sketch_15.setCoincident(SketchPoint_30.coordinates(), SketchLine_158.endPoint()) +SketchConstraintCoincidence_241.setName("SketchConstraintCoincidence_71") SketchConstraintVertical_29 = Sketch_15.setVertical(SketchLine_156.result()) SketchConstraintVertical_30 = Sketch_15.setVertical(SketchLine_158.result()) SketchConstraintHorizontal_33 = Sketch_15.setHorizontal(SketchLine_157.result()) @@ -1346,36 +1350,36 @@ Plane_11 = model.addPlane(Part_2_doc, model.selection("FACE", "Plane_2"), 3, Tru ExtrusionCut_13 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2f-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), 3, 0, [model.selection("SOLID", "ExtrusionCut_3_1")]) ExtrusionCut_14 = model.addExtrusionCut(Part_2_doc, [model.selection("FACE", "Sketch_5/Face-SketchArc_4_2f-SketchLine_52f-SketchLine_53f-SketchLine_54f")], model.selection(), model.selection("FACE", "Plane_3"), 0, model.selection("FACE", "Plane_2"), 0, [model.selection("SOLID", "ExtrusionCut_4_1")]) Sketch_16 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_4_1/Modfied_6")) -SketchArc_28 = Sketch_16.addArc(45.99999999999999, 0, 45.49999999999999, 8.91700958118717e-020, 46.49999999999999, 8.280962276646116e-019, False) +SketchArc_28 = Sketch_16.addArc(46, 0, 45.5, 0, 46.5, 0, False) SketchLine_159 = Sketch_16.addLine(0, 0, 54, 0) SketchLine_159.setName("SketchLine_55") SketchLine_159.result().setName("SketchLine_55") SketchConstraintRigid_16 = Sketch_16.setFixed(SketchLine_159.result()) SketchConstraintRigid_16.setName("SketchConstraintRigid_12") -SketchConstraintCoincidence_241 = Sketch_16.setCoincident(SketchArc_28.center(), SketchLine_159.result()) -SketchConstraintCoincidence_241.setName("SketchConstraintCoincidence_72") -SketchConstraintCoincidence_242 = Sketch_16.setCoincident(SketchArc_28.startPoint(), SketchLine_159.result()) -SketchConstraintCoincidence_242.setName("SketchConstraintCoincidence_73") -SketchConstraintCoincidence_243 = Sketch_16.setCoincident(SketchArc_28.endPoint(), SketchLine_159.result()) -SketchConstraintCoincidence_243.setName("SketchConstraintCoincidence_74") -SketchLine_160 = Sketch_16.addLine(45.49999999999999, 8.91700958118717e-020, 46.49999999999999, 8.280962276646116e-019) +SketchConstraintCoincidence_242 = Sketch_16.setCoincident(SketchArc_28.center(), SketchLine_159.result()) +SketchConstraintCoincidence_242.setName("SketchConstraintCoincidence_72") +SketchConstraintCoincidence_243 = Sketch_16.setCoincident(SketchArc_28.startPoint(), SketchLine_159.result()) +SketchConstraintCoincidence_243.setName("SketchConstraintCoincidence_73") +SketchConstraintCoincidence_244 = Sketch_16.setCoincident(SketchArc_28.endPoint(), SketchLine_159.result()) +SketchConstraintCoincidence_244.setName("SketchConstraintCoincidence_74") +SketchLine_160 = Sketch_16.addLine(45.5, 0, 46.5, 0) SketchLine_160.setName("SketchLine_56") SketchLine_160.result().setName("SketchLine_56") -SketchConstraintCoincidence_244 = Sketch_16.setCoincident(SketchArc_28.startPoint(), SketchLine_160.startPoint()) -SketchConstraintCoincidence_244.setName("SketchConstraintCoincidence_75") -SketchConstraintCoincidence_245 = Sketch_16.setCoincident(SketchArc_28.endPoint(), SketchLine_160.endPoint()) -SketchConstraintCoincidence_245.setName("SketchConstraintCoincidence_76") -SketchConstraintRadius_15 = Sketch_16.setRadius(SketchArc_28.results()[1], 0.5) -SketchLine_161 = Sketch_16.addLine(0, 0, 0, 3.499999999999999) +SketchConstraintCoincidence_245 = Sketch_16.setCoincident(SketchArc_28.startPoint(), SketchLine_160.startPoint()) +SketchConstraintCoincidence_245.setName("SketchConstraintCoincidence_75") +SketchConstraintCoincidence_246 = Sketch_16.setCoincident(SketchArc_28.endPoint(), SketchLine_160.endPoint()) +SketchConstraintCoincidence_246.setName("SketchConstraintCoincidence_76") +SketchConstraintRadius_12 = Sketch_16.setRadius(SketchArc_28.results()[1], 0.5) +SketchLine_161 = Sketch_16.addLine(0, 0, 0, 3.5) SketchLine_161.setName("SketchLine_57") SketchLine_161.result().setName("SketchLine_57") -SketchConstraintDistance_28 = Sketch_16.setDistance(SketchArc_28.center(), SketchLine_161.result(), 46) +SketchConstraintDistance_28 = Sketch_16.setDistance(SketchArc_28.center(), SketchLine_161.result(), 46, False) SketchConstraintRigid_17 = Sketch_16.setFixed(SketchLine_161.result()) SketchConstraintRigid_17.setName("SketchConstraintRigid_13") SketchPoint_31 = Sketch_16.addPoint(58, 0) -SketchConstraintCoincidence_246 = Sketch_16.setCoincident(SketchPoint_31.coordinates(), SketchLine_159.result()) -SketchConstraintCoincidence_246.setName("SketchConstraintCoincidence_77") -SketchConstraintDistance_29 = Sketch_16.setDistance(SketchArc_28.center(), SketchPoint_31.coordinates(), 12) +SketchConstraintCoincidence_247 = Sketch_16.setCoincident(SketchPoint_31.coordinates(), SketchLine_159.result()) +SketchConstraintCoincidence_247.setName("SketchConstraintCoincidence_77") +SketchConstraintDistance_29 = Sketch_16.setDistance(SketchArc_28.center(), SketchPoint_31.coordinates(), 12, False) SketchMultiTranslation_4 = Sketch_16.addTranslation([SketchLine_160.result(), SketchArc_28.results()[1]], SketchArc_28.center(), SketchPoint_31.coordinates(), 9, True) [SketchLine_162, SketchLine_163, SketchLine_164, SketchLine_165, SketchLine_166, SketchLine_167, SketchLine_168, SketchLine_169, SketchArc_29, SketchArc_30, SketchArc_31, SketchArc_32, SketchArc_33, SketchArc_34, SketchArc_35, SketchArc_36] = SketchMultiTranslation_4.translated() SketchLine_169.setName("SketchLine_65") @@ -1396,17 +1400,17 @@ SketchLine_162.setName("SketchLine_58") SketchLine_162.result().setName("SketchLine_58") model.do() ExtrusionFuse_2 = model.addExtrusionFuse(Part_2_doc, [model.selection("COMPOUND", "Sketch_6")], model.selection(), model.selection("FACE", "Sketch_1/Face-SketchLine_1f-SketchLine_3f-SketchLine_4f-SketchLine_5f-SketchLine_7f-SketchArc_1_2f-SketchLine_8f-SketchLine_9f-SketchLine_10r-SketchLine_11r-SketchLine_12r-SketchLine_14r-SketchArc_2_2r"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_5_1")]) -Sketch_17 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_2_1/Modfied_8")) -SketchLine_170 = Sketch_17.addLine(50.25000000000001, -4.5, 31.24999999998802, -4.499999999999997) +Sketch_17 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_2_1/Modfied_9")) +SketchLine_170 = Sketch_17.addLine(50.25, -4.5, 31.25, -4.5) SketchLine_170.setName("SketchLine_76") SketchLine_170.result().setName("SketchLine_76") -SketchLine_171 = Sketch_17.addLine(51.00000000000001, -6.749999999999998, 51.00000000000001, -5.24999997149696) +SketchLine_171 = Sketch_17.addLine(51, -6.75, 51, -5.25) SketchLine_171.setName("SketchLine_78") SketchLine_171.result().setName("SketchLine_78") -SketchLine_172 = Sketch_17.addLine(31, -4.750000022881151, 31, -7.249999999972618) +SketchLine_172 = Sketch_17.addLine(31, -4.75, 31, -7.249999999999651) SketchLine_172.setName("SketchLine_80") SketchLine_172.result().setName("SketchLine_80") -SketchLine_173 = Sketch_17.addLine(31.25000000003855, -7.5, 50.24999994039248, -7.5) +SketchLine_173 = Sketch_17.addLine(31.25, -7.499999999999998, 50.25, -7.5) SketchLine_173.setName("SketchLine_79") SketchLine_173.result().setName("SketchLine_79") SketchLine_174 = Sketch_17.addLine(51, -4.5, 31, -4.5) @@ -1415,22 +1419,22 @@ SketchLine_174.result().setName("SketchLine_66") SketchLine_174.setAuxiliary(True) SketchLine_175 = Sketch_17.addLine(51, -7.5, 51, -4.5) SketchLine_175.setAuxiliary(True) -SketchConstraintCoincidence_247 = Sketch_17.setCoincident(SketchLine_175.endPoint(), SketchLine_174.startPoint()) -SketchConstraintCoincidence_247.setName("SketchConstraintCoincidence_78") +SketchConstraintCoincidence_248 = Sketch_17.setCoincident(SketchLine_175.endPoint(), SketchLine_174.startPoint()) +SketchConstraintCoincidence_248.setName("SketchConstraintCoincidence_78") SketchLine_176 = Sketch_17.addLine(31, -4.5, 31, -7.5) SketchLine_176.setName("SketchLine_67") SketchLine_176.result().setName("SketchLine_67") SketchLine_176.setAuxiliary(True) -SketchConstraintCoincidence_248 = Sketch_17.setCoincident(SketchLine_174.endPoint(), SketchLine_176.startPoint()) -SketchConstraintCoincidence_248.setName("SketchConstraintCoincidence_79") +SketchConstraintCoincidence_249 = Sketch_17.setCoincident(SketchLine_174.endPoint(), SketchLine_176.startPoint()) +SketchConstraintCoincidence_249.setName("SketchConstraintCoincidence_79") SketchLine_177 = Sketch_17.addLine(31, -7.5, 51, -7.5) SketchLine_177.setName("SketchLine_68") SketchLine_177.result().setName("SketchLine_68") SketchLine_177.setAuxiliary(True) -SketchConstraintCoincidence_249 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_177.startPoint()) -SketchConstraintCoincidence_249.setName("SketchConstraintCoincidence_80") -SketchConstraintCoincidence_250 = Sketch_17.setCoincident(SketchLine_177.endPoint(), SketchLine_175.startPoint()) -SketchConstraintCoincidence_250.setName("SketchConstraintCoincidence_81") +SketchConstraintCoincidence_250 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_177.startPoint()) +SketchConstraintCoincidence_250.setName("SketchConstraintCoincidence_80") +SketchConstraintCoincidence_251 = Sketch_17.setCoincident(SketchLine_177.endPoint(), SketchLine_175.startPoint()) +SketchConstraintCoincidence_251.setName("SketchConstraintCoincidence_81") SketchConstraintHorizontal_34 = Sketch_17.setHorizontal(SketchLine_174.result()) SketchConstraintHorizontal_34.setName("SketchConstraintHorizontal_13") SketchConstraintVertical_31 = Sketch_17.setVertical(SketchLine_176.result()) @@ -1441,221 +1445,225 @@ SketchLine_178 = Sketch_17.addLine(31, -7.5, 51, -4.5) SketchLine_178.setName("SketchLine_70") SketchLine_178.result().setName("SketchLine_70") SketchLine_178.setAuxiliary(True) -SketchConstraintCoincidence_251 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_178.startPoint()) -SketchConstraintCoincidence_251.setName("SketchConstraintCoincidence_82") -SketchConstraintCoincidence_252 = Sketch_17.setCoincident(SketchLine_177.startPoint(), SketchLine_178.startPoint()) -SketchConstraintCoincidence_252.setName("SketchConstraintCoincidence_83") +SketchConstraintCoincidence_252 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_178.startPoint()) +SketchConstraintCoincidence_252.setName("SketchConstraintCoincidence_82") +SketchConstraintCoincidence_253 = Sketch_17.setCoincident(SketchLine_177.startPoint(), SketchLine_178.startPoint()) +SketchConstraintCoincidence_253.setName("SketchConstraintCoincidence_83") SketchPoint_32 = Sketch_17.addPoint(51, -4.5) -SketchConstraintCoincidence_253 = Sketch_17.setCoincident(SketchLine_174.startPoint(), SketchPoint_32.coordinates()) -SketchConstraintCoincidence_253.setName("SketchConstraintCoincidence_84") -SketchConstraintCoincidence_254 = Sketch_17.setCoincident(SketchLine_175.endPoint(), SketchPoint_32.coordinates()) -SketchConstraintCoincidence_254.setName("SketchConstraintCoincidence_85") +SketchConstraintCoincidence_254 = Sketch_17.setCoincident(SketchLine_174.startPoint(), SketchPoint_32.coordinates()) +SketchConstraintCoincidence_254.setName("SketchConstraintCoincidence_84") +SketchConstraintCoincidence_255 = Sketch_17.setCoincident(SketchLine_175.endPoint(), SketchPoint_32.coordinates()) +SketchConstraintCoincidence_255.setName("SketchConstraintCoincidence_85") SketchPoint_33 = Sketch_17.addPoint(41, -6) SketchPoint_33.setAuxiliary(True) -SketchConstraintCoincidence_255 = Sketch_17.setCoincident(SketchPoint_33.coordinates(), SketchLine_178.result()) -SketchConstraintCoincidence_255.setName("SketchConstraintCoincidence_86") +SketchConstraintCoincidence_256 = Sketch_17.setCoincident(SketchPoint_33.coordinates(), SketchLine_178.result()) +SketchConstraintCoincidence_256.setName("SketchConstraintCoincidence_86") SketchConstraintMiddle_11 = Sketch_17.setMiddlePoint(SketchLine_178.result(), SketchPoint_33.coordinates()) -SketchPoint_34 = Sketch_17.addPoint(21.00014787857639, -5.999999999999999) +SketchPoint_34 = Sketch_17.addPoint(21, -6) SketchPoint_34.setAuxiliary(True) -SketchLine_179 = Sketch_17.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_179 = Sketch_17.addLine(21, -10.5, 21, -1.5) SketchLine_179.setName("SketchLine_71") SketchLine_179.result().setName("SketchLine_71") SketchConstraintRigid_18 = Sketch_17.setFixed(SketchLine_179.result()) SketchConstraintRigid_18.setName("SketchConstraintRigid_14") -SketchConstraintCoincidence_256 = Sketch_17.setCoincident(SketchPoint_34.coordinates(), SketchLine_179.result()) -SketchConstraintCoincidence_256.setName("SketchConstraintCoincidence_87") +SketchConstraintCoincidence_257 = Sketch_17.setCoincident(SketchPoint_34.coordinates(), SketchLine_179.result()) +SketchConstraintCoincidence_257.setName("SketchConstraintCoincidence_87") SketchConstraintMiddle_12 = Sketch_17.setMiddlePoint(SketchPoint_34.coordinates(), SketchLine_179.result()) -SketchLine_180 = Sketch_17.addLine(21.00014787857639, -6, 41, -5.999999999999999) +SketchLine_180 = Sketch_17.addLine(21, -6, 41, -6) SketchLine_180.setName("SketchLine_72") SketchLine_180.result().setName("SketchLine_72") SketchLine_180.setAuxiliary(True) -SketchConstraintCoincidence_257 = Sketch_17.setCoincident(SketchPoint_34.coordinates(), SketchLine_180.startPoint()) -SketchConstraintCoincidence_257.setName("SketchConstraintCoincidence_88") -SketchConstraintCoincidence_258 = Sketch_17.setCoincident(SketchPoint_33.coordinates(), SketchLine_180.endPoint()) -SketchConstraintCoincidence_258.setName("SketchConstraintCoincidence_89") +SketchConstraintCoincidence_258 = Sketch_17.setCoincident(SketchPoint_34.coordinates(), SketchLine_180.startPoint()) +SketchConstraintCoincidence_258.setName("SketchConstraintCoincidence_88") +SketchConstraintCoincidence_259 = Sketch_17.setCoincident(SketchPoint_33.coordinates(), SketchLine_180.endPoint()) +SketchConstraintCoincidence_259.setName("SketchConstraintCoincidence_89") SketchConstraintHorizontal_36 = Sketch_17.setHorizontal(SketchLine_180.result()) SketchConstraintHorizontal_36.setName("SketchConstraintHorizontal_15") -SketchConstraintCoincidence_259 = Sketch_17.setCoincident(SketchLine_178.endPoint(), SketchLine_174.startPoint()) -SketchConstraintCoincidence_259.setName("SketchConstraintCoincidence_90") +SketchConstraintCoincidence_260 = Sketch_17.setCoincident(SketchLine_178.endPoint(), SketchLine_174.startPoint()) +SketchConstraintCoincidence_260.setName("SketchConstraintCoincidence_90") SketchConstraintLength_29 = Sketch_17.setLength(SketchLine_175.result(), 3) SketchConstraintLength_29.setName("SketchConstraintLength_13") SketchConstraintLength_30 = Sketch_17.setLength(SketchLine_174.result(), 20) SketchConstraintLength_30.setName("SketchConstraintLength_14") SketchPoint_35 = Sketch_17.addPoint(29, -10.5) -SketchConstraintDistance_30 = Sketch_17.setDistance(SketchPoint_35.coordinates(), SketchLine_176.result(), 2) +SketchConstraintDistance_30 = Sketch_17.setDistance(SketchPoint_35.coordinates(), SketchLine_176.result(), 2, False) SketchConstraintRigid_19 = Sketch_17.setFixed(SketchPoint_35.result()) SketchConstraintRigid_19.setName("SketchConstraintRigid_15") -SketchArc_37 = Sketch_17.addArc(50.24999999999999, -5.250000000000003, 51.00000000000001, -5.24999997149696, 50.25000000000001, -4.5, False) -SketchLine_181 = Sketch_17.addLine(51, -7.5, 51.00000000000001, -5.24999997149696) +SketchArc_37 = Sketch_17.addArc(50.25, -5.25, 51, -5.25, 50.25, -4.5, False) +SketchLine_181 = Sketch_17.addLine(51, -7.5, 51, -5.25) SketchLine_181.setName("SketchLine_74") SketchLine_181.result().setName("SketchLine_74") SketchLine_181.setAuxiliary(True) -SketchConstraintCoincidence_260 = Sketch_17.setCoincident(SketchArc_37.startPoint(), SketchLine_181.endPoint()) -SketchConstraintCoincidence_260.setName("SketchConstraintCoincidence_91") -SketchLine_182 = Sketch_17.addLine(50.25000000000001, -4.5, 31, -4.5) +SketchConstraintCoincidence_261 = Sketch_17.setCoincident(SketchArc_37.startPoint(), SketchLine_181.endPoint()) +SketchConstraintCoincidence_261.setName("SketchConstraintCoincidence_91") +SketchLine_182 = Sketch_17.addLine(50.25, -4.5, 31, -4.5) SketchLine_182.setName("SketchLine_73") SketchLine_182.result().setName("SketchLine_73") SketchLine_182.setAuxiliary(True) -SketchConstraintCoincidence_261 = Sketch_17.setCoincident(SketchArc_37.endPoint(), SketchLine_182.startPoint()) -SketchConstraintCoincidence_261.setName("SketchConstraintCoincidence_92") -SketchConstraintTangent_15 = Sketch_17.setTangent(SketchArc_37.results()[1], SketchLine_182.result()) -SketchConstraintTangent_16 = Sketch_17.setTangent(SketchArc_37.results()[1], SketchLine_181.result()) -SketchConstraintCoincidence_262 = Sketch_17.setCoincident(SketchLine_174.endPoint(), SketchLine_182.endPoint()) -SketchConstraintCoincidence_262.setName("SketchConstraintCoincidence_93") -SketchConstraintCoincidence_263 = Sketch_17.setCoincident(SketchLine_175.startPoint(), SketchLine_181.startPoint()) -SketchConstraintCoincidence_263.setName("SketchConstraintCoincidence_94") -SketchConstraintCoincidence_264 = Sketch_17.setCoincident(SketchLine_182.startPoint(), SketchLine_174.result()) -SketchConstraintCoincidence_264.setName("SketchConstraintCoincidence_95") -SketchConstraintCoincidence_265 = Sketch_17.setCoincident(SketchLine_181.endPoint(), SketchLine_175.result()) -SketchConstraintCoincidence_265.setName("SketchConstraintCoincidence_96") -SketchArc_38 = Sketch_17.addArc(31.25000000000067, -4.750000000000669, 31.24999999998802, -4.499999999999997, 31, -4.750000022881151, False) -SketchConstraintCoincidence_266 = Sketch_17.setCoincident(SketchArc_38.startPoint(), SketchLine_170.endPoint()) -SketchConstraintCoincidence_266.setName("SketchConstraintCoincidence_97") -SketchLine_183 = Sketch_17.addLine(31, -4.750000022881151, 31, -7.5) +SketchConstraintCoincidence_262 = Sketch_17.setCoincident(SketchArc_37.endPoint(), SketchLine_182.startPoint()) +SketchConstraintCoincidence_262.setName("SketchConstraintCoincidence_92") +SketchConstraintTangent_17 = Sketch_17.setTangent(SketchArc_37.results()[1], SketchLine_182.result()) +SketchConstraintTangent_18 = Sketch_17.setTangent(SketchArc_37.results()[1], SketchLine_181.result()) +SketchConstraintCoincidence_263 = Sketch_17.setCoincident(SketchLine_174.endPoint(), SketchLine_182.endPoint()) +SketchConstraintCoincidence_263.setName("SketchConstraintCoincidence_93") +SketchConstraintCoincidence_264 = Sketch_17.setCoincident(SketchLine_175.startPoint(), SketchLine_181.startPoint()) +SketchConstraintCoincidence_264.setName("SketchConstraintCoincidence_94") +SketchConstraintCoincidence_265 = Sketch_17.setCoincident(SketchLine_182.startPoint(), SketchLine_174.result()) +SketchConstraintCoincidence_265.setName("SketchConstraintCoincidence_95") +SketchConstraintCoincidence_266 = Sketch_17.setCoincident(SketchLine_181.endPoint(), SketchLine_175.result()) +SketchConstraintCoincidence_266.setName("SketchConstraintCoincidence_96") +SketchArc_38 = Sketch_17.addArc(31.25, -4.75, 31.25, -4.5, 31, -4.75, False) +SketchConstraintCoincidence_267 = Sketch_17.setCoincident(SketchArc_38.startPoint(), SketchLine_170.endPoint()) +SketchConstraintCoincidence_267.setName("SketchConstraintCoincidence_97") +SketchLine_183 = Sketch_17.addLine(31, -4.75, 31, -7.5) SketchLine_183.setName("SketchLine_75") SketchLine_183.result().setName("SketchLine_75") SketchLine_183.setAuxiliary(True) -SketchConstraintCoincidence_267 = Sketch_17.setCoincident(SketchArc_38.endPoint(), SketchLine_183.startPoint()) -SketchConstraintCoincidence_267.setName("SketchConstraintCoincidence_98") -SketchConstraintTangent_17 = Sketch_17.setTangent(SketchArc_38.results()[1], SketchLine_183.result()) -SketchConstraintTangent_18 = Sketch_17.setTangent(SketchArc_38.results()[1], SketchLine_170.result()) -SketchConstraintCoincidence_268 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_183.endPoint()) -SketchConstraintCoincidence_268.setName("SketchConstraintCoincidence_99") -SketchConstraintCoincidence_269 = Sketch_17.setCoincident(SketchLine_182.startPoint(), SketchLine_170.startPoint()) -SketchConstraintCoincidence_269.setName("SketchConstraintCoincidence_100") -SketchConstraintCoincidence_270 = Sketch_17.setCoincident(SketchLine_183.startPoint(), SketchLine_176.result()) -SketchConstraintCoincidence_270.setName("SketchConstraintCoincidence_101") -SketchConstraintCoincidence_271 = Sketch_17.setCoincident(SketchLine_170.endPoint(), SketchLine_182.result()) -SketchConstraintCoincidence_271.setName("SketchConstraintCoincidence_102") -SketchArc_39 = Sketch_17.addArc(50.25, -6.749999999999999, 50.24999994039248, -7.5, 51.00000000000001, -6.749999999999998, False) -SketchLine_184 = Sketch_17.addLine(31, -7.5, 50.24999994039248, -7.5) +SketchConstraintCoincidence_268 = Sketch_17.setCoincident(SketchArc_38.endPoint(), SketchLine_183.startPoint()) +SketchConstraintCoincidence_268.setName("SketchConstraintCoincidence_98") +SketchConstraintTangent_19 = Sketch_17.setTangent(SketchArc_38.results()[1], SketchLine_183.result()) +SketchConstraintTangent_20 = Sketch_17.setTangent(SketchArc_38.results()[1], SketchLine_170.result()) +SketchConstraintCoincidence_269 = Sketch_17.setCoincident(SketchLine_176.endPoint(), SketchLine_183.endPoint()) +SketchConstraintCoincidence_269.setName("SketchConstraintCoincidence_99") +SketchConstraintCoincidence_270 = Sketch_17.setCoincident(SketchLine_182.startPoint(), SketchLine_170.startPoint()) +SketchConstraintCoincidence_270.setName("SketchConstraintCoincidence_100") +SketchConstraintCoincidence_271 = Sketch_17.setCoincident(SketchLine_183.startPoint(), SketchLine_176.result()) +SketchConstraintCoincidence_271.setName("SketchConstraintCoincidence_101") +SketchConstraintCoincidence_272 = Sketch_17.setCoincident(SketchLine_170.endPoint(), SketchLine_182.result()) +SketchConstraintCoincidence_272.setName("SketchConstraintCoincidence_102") +SketchArc_39 = Sketch_17.addArc(50.25, -6.75, 50.25, -7.5, 51, -6.75, False) +SketchLine_184 = Sketch_17.addLine(31, -7.5, 50.25, -7.5) SketchLine_184.setName("SketchLine_77") SketchLine_184.result().setName("SketchLine_77") SketchLine_184.setAuxiliary(True) -SketchConstraintCoincidence_272 = Sketch_17.setCoincident(SketchArc_39.startPoint(), SketchLine_184.endPoint()) -SketchConstraintCoincidence_272.setName("SketchConstraintCoincidence_103") -SketchConstraintCoincidence_273 = Sketch_17.setCoincident(SketchArc_39.endPoint(), SketchLine_171.startPoint()) -SketchConstraintCoincidence_273.setName("SketchConstraintCoincidence_104") -SketchConstraintTangent_19 = Sketch_17.setTangent(SketchArc_39.results()[1], SketchLine_184.result()) -SketchConstraintTangent_20 = Sketch_17.setTangent(SketchArc_39.results()[1], SketchLine_171.result()) -SketchConstraintCoincidence_274 = Sketch_17.setCoincident(SketchLine_177.startPoint(), SketchLine_184.startPoint()) -SketchConstraintCoincidence_274.setName("SketchConstraintCoincidence_105") -SketchConstraintCoincidence_275 = Sketch_17.setCoincident(SketchLine_181.endPoint(), SketchLine_171.endPoint()) -SketchConstraintCoincidence_275.setName("SketchConstraintCoincidence_106") -SketchConstraintCoincidence_276 = Sketch_17.setCoincident(SketchLine_184.endPoint(), SketchLine_177.result()) -SketchConstraintCoincidence_276.setName("SketchConstraintCoincidence_107") -SketchConstraintCoincidence_277 = Sketch_17.setCoincident(SketchLine_171.startPoint(), SketchLine_181.result()) -SketchConstraintCoincidence_277.setName("SketchConstraintCoincidence_108") -SketchArc_40 = Sketch_17.addArc(31.25000000000003, -7.250000000000001, 31, -7.249999999972618, 31.25000000003855, -7.5, False) -SketchConstraintCoincidence_278 = Sketch_17.setCoincident(SketchArc_40.startPoint(), SketchLine_172.endPoint()) -SketchConstraintCoincidence_278.setName("SketchConstraintCoincidence_109") -SketchConstraintCoincidence_279 = Sketch_17.setCoincident(SketchArc_40.endPoint(), SketchLine_173.startPoint()) -SketchConstraintCoincidence_279.setName("SketchConstraintCoincidence_110") -SketchConstraintTangent_21 = Sketch_17.setTangent(SketchArc_40.results()[1], SketchLine_173.result()) -SketchConstraintTangent_22 = Sketch_17.setTangent(SketchArc_40.results()[1], SketchLine_172.result()) -SketchConstraintCoincidence_280 = Sketch_17.setCoincident(SketchLine_184.endPoint(), SketchLine_173.endPoint()) -SketchConstraintCoincidence_280.setName("SketchConstraintCoincidence_111") -SketchConstraintCoincidence_281 = Sketch_17.setCoincident(SketchLine_183.startPoint(), SketchLine_172.startPoint()) -SketchConstraintCoincidence_281.setName("SketchConstraintCoincidence_112") -SketchConstraintCoincidence_282 = Sketch_17.setCoincident(SketchLine_173.startPoint(), SketchLine_184.result()) -SketchConstraintCoincidence_282.setName("SketchConstraintCoincidence_113") -SketchConstraintCoincidence_283 = Sketch_17.setCoincident(SketchLine_172.endPoint(), SketchLine_183.result()) -SketchConstraintCoincidence_283.setName("SketchConstraintCoincidence_114") -SketchConstraintRadius_16 = Sketch_17.setRadius(SketchArc_37.results()[1], 0.75) -SketchConstraintRadius_17 = Sketch_17.setRadius(SketchArc_39.results()[1], 0.75) -SketchConstraintRadius_18 = Sketch_17.setRadius(SketchArc_38.results()[1], 0.25) -SketchConstraintRadius_19 = Sketch_17.setRadius(SketchArc_40.results()[1], 0.25) +SketchConstraintCoincidence_273 = Sketch_17.setCoincident(SketchArc_39.startPoint(), SketchLine_184.endPoint()) +SketchConstraintCoincidence_273.setName("SketchConstraintCoincidence_103") +SketchConstraintCoincidence_274 = Sketch_17.setCoincident(SketchArc_39.endPoint(), SketchLine_171.startPoint()) +SketchConstraintCoincidence_274.setName("SketchConstraintCoincidence_104") +SketchConstraintTangent_21 = Sketch_17.setTangent(SketchArc_39.results()[1], SketchLine_184.result()) +SketchConstraintTangent_22 = Sketch_17.setTangent(SketchArc_39.results()[1], SketchLine_171.result()) +SketchConstraintCoincidence_275 = Sketch_17.setCoincident(SketchLine_177.startPoint(), SketchLine_184.startPoint()) +SketchConstraintCoincidence_275.setName("SketchConstraintCoincidence_105") +SketchConstraintCoincidence_276 = Sketch_17.setCoincident(SketchLine_181.endPoint(), SketchLine_171.endPoint()) +SketchConstraintCoincidence_276.setName("SketchConstraintCoincidence_106") +SketchConstraintCoincidence_277 = Sketch_17.setCoincident(SketchLine_184.endPoint(), SketchLine_177.result()) +SketchConstraintCoincidence_277.setName("SketchConstraintCoincidence_107") +SketchConstraintCoincidence_278 = Sketch_17.setCoincident(SketchLine_171.startPoint(), SketchLine_181.result()) +SketchConstraintCoincidence_278.setName("SketchConstraintCoincidence_108") +SketchArc_40 = Sketch_17.addArc(31.25, -7.249999999999998, 31, -7.249999999999651, 31.25, -7.499999999999998, False) +SketchConstraintCoincidence_279 = Sketch_17.setCoincident(SketchArc_40.startPoint(), SketchLine_172.endPoint()) +SketchConstraintCoincidence_279.setName("SketchConstraintCoincidence_109") +SketchConstraintCoincidence_280 = Sketch_17.setCoincident(SketchArc_40.endPoint(), SketchLine_173.startPoint()) +SketchConstraintCoincidence_280.setName("SketchConstraintCoincidence_110") +SketchConstraintCoincidence_281 = Sketch_17.setCoincident(SketchLine_184.endPoint(), SketchLine_173.endPoint()) +SketchConstraintCoincidence_281.setName("SketchConstraintCoincidence_111") +SketchConstraintCoincidence_282 = Sketch_17.setCoincident(SketchLine_183.startPoint(), SketchLine_172.startPoint()) +SketchConstraintCoincidence_282.setName("SketchConstraintCoincidence_112") +SketchConstraintCoincidence_283 = Sketch_17.setCoincident(SketchLine_173.startPoint(), SketchLine_184.result()) +SketchConstraintCoincidence_283.setName("SketchConstraintCoincidence_113") +SketchConstraintCoincidence_284 = Sketch_17.setCoincident(SketchLine_172.endPoint(), SketchLine_183.result()) +SketchConstraintCoincidence_284.setName("SketchConstraintCoincidence_114") +SketchConstraintRadius_13 = Sketch_17.setRadius(SketchArc_37.results()[1], 0.75) +SketchConstraintRadius_14 = Sketch_17.setRadius(SketchArc_39.results()[1], 0.75) +SketchConstraintRadius_15 = Sketch_17.setRadius(SketchArc_38.results()[1], 0.25) +SketchConstraintTangent_23 = Sketch_17.setTangent(SketchArc_40.results()[1], SketchLine_173.result()) +SketchConstraintTangent_23.setName("SketchConstraintTangent_16") +SketchConstraintTangent_24 = Sketch_17.setTangent(SketchLine_172.result(), SketchArc_40.results()[1]) +SketchConstraintTangent_24.setName("SketchConstraintTangent_17") +SketchConstraintRadius_16 = Sketch_17.setRadius(SketchArc_40.results()[1], 0.25) +SketchConstraintRadius_16.setName("SketchConstraintRadius_10") model.do() ExtrusionCut_15 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_7")], model.selection(), 0, 20, [model.selection("SOLID", "ExtrusionFuse_1_1")]) Sketch_18 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_6_1/Modfied_10")) -SketchPoint_36 = Sketch_18.addPoint(53.99994409538203, -1.615587133892632e-027) -SketchPoint_37 = Sketch_18.addPoint(53.99994409538203, -1.615587133892632e-027) +SketchPoint_36 = Sketch_18.addPoint(54, 0) +SketchPoint_37 = Sketch_18.addPoint(54, 0) SketchConstraintRigid_20 = Sketch_18.setFixed(SketchPoint_37.result()) SketchConstraintRigid_20.setName("SketchConstraintRigid_16") -SketchConstraintCoincidence_284 = Sketch_18.setCoincident(SketchPoint_36.coordinates(), SketchPoint_37.result()) -SketchConstraintCoincidence_284.setName("SketchConstraintCoincidence_115") +SketchConstraintCoincidence_285 = Sketch_18.setCoincident(SketchPoint_36.coordinates(), SketchPoint_37.result()) +SketchConstraintCoincidence_285.setName("SketchConstraintCoincidence_115") SketchPoint_38 = Sketch_18.addPoint(54, 12) -SketchLine_185 = Sketch_18.addLine(54, 12, 53.99994409538203, -1.615587133892632e-027) +SketchLine_185 = Sketch_18.addLine(54, 12, 54, 0) SketchLine_185.setName("SketchLine_81") SketchLine_185.result().setName("SketchLine_81") SketchLine_185.setAuxiliary(True) -SketchConstraintCoincidence_285 = Sketch_18.setCoincident(SketchPoint_38.coordinates(), SketchLine_185.startPoint()) -SketchConstraintCoincidence_285.setName("SketchConstraintCoincidence_116") -SketchConstraintCoincidence_286 = Sketch_18.setCoincident(SketchPoint_36.coordinates(), SketchLine_185.endPoint()) -SketchConstraintCoincidence_286.setName("SketchConstraintCoincidence_117") -SketchConstraintCoincidence_287 = Sketch_18.setCoincident(SketchPoint_37.coordinates(), SketchLine_185.endPoint()) -SketchConstraintCoincidence_287.setName("SketchConstraintCoincidence_118") -SketchPoint_39 = Sketch_18.addPoint(53.99999534128184, 11.00000000001085) -SketchConstraintCoincidence_288 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchLine_185.result()) -SketchConstraintCoincidence_288.setName("SketchConstraintCoincidence_119") -SketchPoint_40 = Sketch_18.addPoint(53.99994875410019, 0.9999999999891482) -SketchConstraintCoincidence_289 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchLine_185.result()) -SketchConstraintCoincidence_289.setName("SketchConstraintCoincidence_120") -SketchConstraintDistance_31 = Sketch_18.setDistance(SketchPoint_36.coordinates(), SketchPoint_40.coordinates(), 1) -SketchConstraintDistance_32 = Sketch_18.setDistance(SketchPoint_38.coordinates(), SketchPoint_39.coordinates(), 1) +SketchConstraintCoincidence_286 = Sketch_18.setCoincident(SketchPoint_38.coordinates(), SketchLine_185.startPoint()) +SketchConstraintCoincidence_286.setName("SketchConstraintCoincidence_116") +SketchConstraintCoincidence_287 = Sketch_18.setCoincident(SketchPoint_36.coordinates(), SketchLine_185.endPoint()) +SketchConstraintCoincidence_287.setName("SketchConstraintCoincidence_117") +SketchConstraintCoincidence_288 = Sketch_18.setCoincident(SketchPoint_37.coordinates(), SketchLine_185.endPoint()) +SketchConstraintCoincidence_288.setName("SketchConstraintCoincidence_118") +SketchPoint_39 = Sketch_18.addPoint(54, 11) +SketchConstraintCoincidence_289 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchLine_185.result()) +SketchConstraintCoincidence_289.setName("SketchConstraintCoincidence_119") +SketchPoint_40 = Sketch_18.addPoint(54, 1) +SketchConstraintCoincidence_290 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchLine_185.result()) +SketchConstraintCoincidence_290.setName("SketchConstraintCoincidence_120") +SketchConstraintDistance_31 = Sketch_18.setDistance(SketchPoint_36.coordinates(), SketchPoint_40.coordinates(), 1, False) +SketchConstraintDistance_32 = Sketch_18.setDistance(SketchPoint_38.coordinates(), SketchPoint_39.coordinates(), 1, False) SketchPoint_41 = Sketch_18.addPoint(54, 12) -SketchConstraintCoincidence_290 = Sketch_18.setCoincident(SketchPoint_38.coordinates(), SketchPoint_41.coordinates()) -SketchConstraintCoincidence_290.setName("SketchConstraintCoincidence_121") +SketchConstraintCoincidence_291 = Sketch_18.setCoincident(SketchPoint_38.coordinates(), SketchPoint_41.coordinates()) +SketchConstraintCoincidence_291.setName("SketchConstraintCoincidence_121") SketchConstraintRigid_21 = Sketch_18.setFixed(SketchPoint_41.result()) SketchConstraintRigid_21.setName("SketchConstraintRigid_17") -SketchLine_186 = Sketch_18.addLine(53.99999534128184, 11.00000000001085, 43.53696016024325, 11.00000000001085) +SketchLine_186 = Sketch_18.addLine(54, 11, 43.82041221793113, 11) SketchLine_186.setName("SketchLine_82") SketchLine_186.result().setName("SketchLine_82") -SketchConstraintCoincidence_291 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchLine_186.startPoint()) -SketchConstraintCoincidence_291.setName("SketchConstraintCoincidence_122") -SketchLine_187 = Sketch_18.addLine(43.53696016024325, 11.00000000001085, 43.56530536601203, 13.47539228785809) +SketchConstraintCoincidence_292 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchLine_186.startPoint()) +SketchConstraintCoincidence_292.setName("SketchConstraintCoincidence_122") +SketchLine_187 = Sketch_18.addLine(43.82041221793113, 11, 43.82041221793113, 13.36310636658867) SketchLine_187.setName("SketchLine_83") SketchLine_187.result().setName("SketchLine_83") -SketchConstraintCoincidence_292 = Sketch_18.setCoincident(SketchLine_186.endPoint(), SketchLine_187.startPoint()) -SketchConstraintCoincidence_292.setName("SketchConstraintCoincidence_123") -SketchLine_188 = Sketch_18.addLine(43.56530536601203, 13.47539228785809, 63.09515214070713, 13.47539228785809) +SketchConstraintCoincidence_293 = Sketch_18.setCoincident(SketchLine_186.endPoint(), SketchLine_187.startPoint()) +SketchConstraintCoincidence_293.setName("SketchConstraintCoincidence_123") +SketchLine_188 = Sketch_18.addLine(43.82041221793113, 13.36310636658867, 63.09515214070713, 13.47539228785809) SketchLine_188.setName("SketchLine_84") SketchLine_188.result().setName("SketchLine_84") -SketchConstraintCoincidence_293 = Sketch_18.setCoincident(SketchLine_187.endPoint(), SketchLine_188.startPoint()) -SketchConstraintCoincidence_293.setName("SketchConstraintCoincidence_124") +SketchConstraintCoincidence_294 = Sketch_18.setCoincident(SketchLine_187.endPoint(), SketchLine_188.startPoint()) +SketchConstraintCoincidence_294.setName("SketchConstraintCoincidence_124") SketchLine_189 = Sketch_18.addLine(63.09515214070713, 13.47539228785809, 63.12349734647592, -1.774328415749978) SketchLine_189.setName("SketchLine_85") SketchLine_189.result().setName("SketchLine_85") -SketchConstraintCoincidence_294 = Sketch_18.setCoincident(SketchLine_188.endPoint(), SketchLine_189.startPoint()) -SketchConstraintCoincidence_294.setName("SketchConstraintCoincidence_125") +SketchConstraintCoincidence_295 = Sketch_18.setCoincident(SketchLine_188.endPoint(), SketchLine_189.startPoint()) +SketchConstraintCoincidence_295.setName("SketchConstraintCoincidence_125") SketchLine_190 = Sketch_18.addLine(63.12349734647592, -1.774328415749978, 43.82041221793113, -1.802673621518767) SketchLine_190.setName("SketchLine_86") SketchLine_190.result().setName("SketchLine_86") -SketchConstraintCoincidence_295 = Sketch_18.setCoincident(SketchLine_189.endPoint(), SketchLine_190.startPoint()) -SketchConstraintCoincidence_295.setName("SketchConstraintCoincidence_126") -SketchLine_191 = Sketch_18.addLine(43.82041221793113, -1.802673621518767, 43.79206701216234, 0.9999999999891482) +SketchConstraintCoincidence_296 = Sketch_18.setCoincident(SketchLine_189.endPoint(), SketchLine_190.startPoint()) +SketchConstraintCoincidence_296.setName("SketchConstraintCoincidence_126") +SketchLine_191 = Sketch_18.addLine(43.82041221793113, -1.802673621518767, 43.79206701216234, 1) SketchLine_191.setName("SketchLine_87") SketchLine_191.result().setName("SketchLine_87") -SketchConstraintCoincidence_296 = Sketch_18.setCoincident(SketchLine_190.endPoint(), SketchLine_191.startPoint()) -SketchConstraintCoincidence_296.setName("SketchConstraintCoincidence_127") -SketchLine_192 = Sketch_18.addLine(53.99994875410019, 0.9999999999891482, 43.79206701216234, 0.9999999999891482) +SketchConstraintCoincidence_297 = Sketch_18.setCoincident(SketchLine_190.endPoint(), SketchLine_191.startPoint()) +SketchConstraintCoincidence_297.setName("SketchConstraintCoincidence_127") +SketchLine_192 = Sketch_18.addLine(54, 1, 43.79206701216234, 1) SketchLine_192.setName("SketchLine_88") SketchLine_192.result().setName("SketchLine_88") -SketchConstraintCoincidence_297 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchLine_192.startPoint()) -SketchConstraintCoincidence_297.setName("SketchConstraintCoincidence_128") +SketchConstraintCoincidence_298 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchLine_192.startPoint()) +SketchConstraintCoincidence_298.setName("SketchConstraintCoincidence_128") SketchConstraintHorizontal_37 = Sketch_18.setHorizontal(SketchLine_192.result()) SketchConstraintHorizontal_37.setName("SketchConstraintHorizontal_16") SketchConstraintHorizontal_38 = Sketch_18.setHorizontal(SketchLine_186.result()) SketchConstraintHorizontal_38.setName("SketchConstraintHorizontal_17") -SketchConstraintCoincidence_298 = Sketch_18.setCoincident(SketchLine_191.endPoint(), SketchLine_192.endPoint()) -SketchConstraintCoincidence_298.setName("SketchConstraintCoincidence_129") -SketchArc_41 = Sketch_18.addArc(53.99995774377268, 6.000000000066637, 53.99999534128184, 11.00000000001085, 53.99994875410019, 0.9999999999891482, True) -SketchConstraintCoincidence_299 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchArc_41.startPoint()) -SketchConstraintCoincidence_299.setName("SketchConstraintCoincidence_130") -SketchConstraintCoincidence_300 = Sketch_18.setCoincident(SketchLine_186.startPoint(), SketchArc_41.startPoint()) -SketchConstraintCoincidence_300.setName("SketchConstraintCoincidence_131") -SketchConstraintCoincidence_301 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchArc_41.endPoint()) -SketchConstraintCoincidence_301.setName("SketchConstraintCoincidence_132") -SketchConstraintCoincidence_302 = Sketch_18.setCoincident(SketchLine_192.startPoint(), SketchArc_41.endPoint()) -SketchConstraintCoincidence_302.setName("SketchConstraintCoincidence_133") -SketchConstraintRadius_20 = Sketch_18.setRadius(SketchArc_41.results()[1], 5) -SketchLine_193 = Sketch_18.addLine(43.50261344273609, 8.249999999999998, 43.50261344273609, 3.749999999999998) +SketchConstraintCoincidence_299 = Sketch_18.setCoincident(SketchLine_191.endPoint(), SketchLine_192.endPoint()) +SketchConstraintCoincidence_299.setName("SketchConstraintCoincidence_129") +SketchArc_41 = Sketch_18.addArc(54, 6, 54, 11, 54, 1, True) +SketchConstraintCoincidence_300 = Sketch_18.setCoincident(SketchArc_41.center(), SketchLine_185.result()) +SketchConstraintCoincidence_300.setName("SketchConstraintCoincidence_130") +SketchConstraintCoincidence_301 = Sketch_18.setCoincident(SketchPoint_39.coordinates(), SketchArc_41.startPoint()) +SketchConstraintCoincidence_301.setName("SketchConstraintCoincidence_130_") +SketchConstraintCoincidence_302 = Sketch_18.setCoincident(SketchLine_186.startPoint(), SketchArc_41.startPoint()) +SketchConstraintCoincidence_302.setName("SketchConstraintCoincidence_131") +SketchConstraintCoincidence_303 = Sketch_18.setCoincident(SketchPoint_40.coordinates(), SketchArc_41.endPoint()) +SketchConstraintCoincidence_303.setName("SketchConstraintCoincidence_132") +SketchConstraintCoincidence_304 = Sketch_18.setCoincident(SketchLine_192.startPoint(), SketchArc_41.endPoint()) +SketchConstraintCoincidence_304.setName("SketchConstraintCoincidence_133") +SketchLine_193 = Sketch_18.addLine(43.50261344273609, 8.25, 43.50261344273609, 3.75) SketchLine_193.setName("SketchLine_90") SketchLine_193.result().setName("SketchLine_90") SketchConstraintVertical_33 = Sketch_18.setVertical(SketchLine_193.result()) SketchConstraintLength_31 = Sketch_18.setLength(SketchLine_193.result(), 4.5) SketchConstraintLength_31.setName("SketchConstraintLength_15") -SketchPoint_42 = Sketch_18.addPoint(43.50261344273609, 5.999999999999998) +SketchPoint_42 = Sketch_18.addPoint(43.50261344273609, 6) SketchConstraintMiddle_13 = Sketch_18.setMiddlePoint(SketchPoint_42.coordinates(), SketchLine_193.result()) SketchPoint_43 = Sketch_18.addPoint(0, 6) SketchPoint_43.setAuxiliary(True) @@ -1664,70 +1672,70 @@ SketchLine_194.setName("SketchLine_94") SketchLine_194.result().setName("SketchLine_94") SketchConstraintRigid_22 = Sketch_18.setFixed(SketchLine_194.result()) SketchConstraintRigid_22.setName("SketchConstraintRigid_19") -SketchConstraintCoincidence_303 = Sketch_18.setCoincident(SketchPoint_43.coordinates(), SketchLine_194.result()) -SketchConstraintCoincidence_303.setName("SketchConstraintCoincidence_139") +SketchConstraintCoincidence_305 = Sketch_18.setCoincident(SketchPoint_43.coordinates(), SketchLine_194.result()) +SketchConstraintCoincidence_305.setName("SketchConstraintCoincidence_139") SketchConstraintMiddle_14 = Sketch_18.setMiddlePoint(SketchLine_194.result(), SketchPoint_43.coordinates()) SketchLine_195 = Sketch_18.addLine(0, 6, 68.8619738308997, 6) SketchLine_195.setName("SketchLine_95") SketchLine_195.result().setName("SketchLine_95") SketchLine_195.setAuxiliary(True) -SketchConstraintCoincidence_304 = Sketch_18.setCoincident(SketchPoint_43.coordinates(), SketchLine_195.startPoint()) -SketchConstraintCoincidence_304.setName("SketchConstraintCoincidence_140") +SketchConstraintCoincidence_306 = Sketch_18.setCoincident(SketchPoint_43.coordinates(), SketchLine_195.startPoint()) +SketchConstraintCoincidence_306.setName("SketchConstraintCoincidence_140") SketchConstraintHorizontal_39 = Sketch_18.setHorizontal(SketchLine_195.result()) SketchConstraintHorizontal_39.setName("SketchConstraintHorizontal_20") SketchPoint_44 = Sketch_18.addPoint(48.00130672136804, 6) -SketchConstraintCoincidence_305 = Sketch_18.setCoincident(SketchPoint_44.coordinates(), SketchLine_195.result()) -SketchConstraintCoincidence_305.setName("SketchConstraintCoincidence_146") -SketchLine_196 = Sketch_18.addLine(43.50261344273609, 8.249999999999998, 51.26978940411676, 8.249999999999998) +SketchConstraintCoincidence_307 = Sketch_18.setCoincident(SketchPoint_44.coordinates(), SketchLine_195.result()) +SketchConstraintCoincidence_307.setName("SketchConstraintCoincidence_146") +SketchLine_196 = Sketch_18.addLine(43.50261344273609, 8.25, 51.26978940411676, 8.25) SketchLine_196.setName("SketchLine_92") SketchLine_196.result().setName("SketchLine_92") -SketchConstraintCoincidence_306 = Sketch_18.setCoincident(SketchLine_193.startPoint(), SketchLine_196.startPoint()) -SketchConstraintCoincidence_306.setName("SketchConstraintCoincidence_135") -SketchLine_197 = Sketch_18.addLine(51.26978940411676, 8.249999999999998, 51.26978940411676, 3.749999999999998) +SketchConstraintCoincidence_308 = Sketch_18.setCoincident(SketchLine_193.startPoint(), SketchLine_196.startPoint()) +SketchConstraintCoincidence_308.setName("SketchConstraintCoincidence_135") +SketchLine_197 = Sketch_18.addLine(51.26978940411676, 8.25, 51.26978940411676, 3.75) SketchLine_197.setName("SketchLine_97") SketchLine_197.result().setName("SketchLine_97") -SketchConstraintCoincidence_307 = Sketch_18.setCoincident(SketchLine_196.endPoint(), SketchLine_197.startPoint()) -SketchConstraintCoincidence_307.setName("SketchConstraintCoincidence_136") -SketchLine_198 = Sketch_18.addLine(51.26978940411676, 3.749999999999998, 43.50261344273609, 3.749999999999998) +SketchConstraintCoincidence_309 = Sketch_18.setCoincident(SketchLine_196.endPoint(), SketchLine_197.startPoint()) +SketchConstraintCoincidence_309.setName("SketchConstraintCoincidence_136") +SketchLine_198 = Sketch_18.addLine(51.26978940411676, 3.75, 43.50261344273609, 3.75) SketchLine_198.setName("SketchLine_98") SketchLine_198.result().setName("SketchLine_98") -SketchConstraintCoincidence_308 = Sketch_18.setCoincident(SketchLine_197.endPoint(), SketchLine_198.startPoint()) -SketchConstraintCoincidence_308.setName("SketchConstraintCoincidence_137") -SketchConstraintCoincidence_309 = Sketch_18.setCoincident(SketchLine_193.endPoint(), SketchLine_198.endPoint()) -SketchConstraintCoincidence_309.setName("SketchConstraintCoincidence_138") +SketchConstraintCoincidence_310 = Sketch_18.setCoincident(SketchLine_197.endPoint(), SketchLine_198.startPoint()) +SketchConstraintCoincidence_310.setName("SketchConstraintCoincidence_137") +SketchConstraintCoincidence_311 = Sketch_18.setCoincident(SketchLine_193.endPoint(), SketchLine_198.endPoint()) +SketchConstraintCoincidence_311.setName("SketchConstraintCoincidence_138") SketchConstraintHorizontal_40 = Sketch_18.setHorizontal(SketchLine_198.result()) SketchConstraintHorizontal_41 = Sketch_18.setHorizontal(SketchLine_196.result()) SketchConstraintVertical_34 = Sketch_18.setVertical(SketchLine_197.result()) -SketchLine_199 = Sketch_18.addLine(43.50261344273609, 3.749999999999998, 51.26978940411676, 8.249999999999998) +SketchLine_199 = Sketch_18.addLine(43.50261344273609, 3.75, 51.26978940411676, 8.25) SketchLine_199.setAuxiliary(True) -SketchConstraintCoincidence_310 = Sketch_18.setCoincident(SketchLine_193.endPoint(), SketchLine_199.startPoint()) -SketchConstraintCoincidence_310.setName("SketchConstraintCoincidence_141") -SketchConstraintCoincidence_311 = Sketch_18.setCoincident(SketchLine_198.endPoint(), SketchLine_199.startPoint()) -SketchConstraintCoincidence_311.setName("SketchConstraintCoincidence_142") -SketchConstraintCoincidence_312 = Sketch_18.setCoincident(SketchLine_197.startPoint(), SketchLine_199.endPoint()) -SketchConstraintCoincidence_312.setName("SketchConstraintCoincidence_143") -SketchPoint_45 = Sketch_18.addPoint(47.38620142342643, 5.999999999999998) +SketchConstraintCoincidence_312 = Sketch_18.setCoincident(SketchLine_193.endPoint(), SketchLine_199.startPoint()) +SketchConstraintCoincidence_312.setName("SketchConstraintCoincidence_141") +SketchConstraintCoincidence_313 = Sketch_18.setCoincident(SketchLine_198.endPoint(), SketchLine_199.startPoint()) +SketchConstraintCoincidence_313.setName("SketchConstraintCoincidence_142") +SketchConstraintCoincidence_314 = Sketch_18.setCoincident(SketchLine_197.startPoint(), SketchLine_199.endPoint()) +SketchConstraintCoincidence_314.setName("SketchConstraintCoincidence_143") +SketchPoint_45 = Sketch_18.addPoint(47.38620142342643, 6) SketchPoint_45.setAuxiliary(True) -SketchConstraintCoincidence_313 = Sketch_18.setCoincident(SketchPoint_45.coordinates(), SketchLine_199.result()) -SketchConstraintCoincidence_313.setName("SketchConstraintCoincidence_144") +SketchConstraintCoincidence_315 = Sketch_18.setCoincident(SketchPoint_45.coordinates(), SketchLine_199.result()) +SketchConstraintCoincidence_315.setName("SketchConstraintCoincidence_144") SketchConstraintMiddle_15 = Sketch_18.setMiddlePoint(SketchPoint_45.coordinates(), SketchLine_199.result()) -SketchConstraintCoincidence_314 = Sketch_18.setCoincident(SketchPoint_45.coordinates(), SketchLine_195.result()) -SketchConstraintCoincidence_314.setName("SketchConstraintCoincidence_145") +SketchConstraintCoincidence_316 = Sketch_18.setCoincident(SketchPoint_45.coordinates(), SketchLine_195.result()) +SketchConstraintCoincidence_316.setName("SketchConstraintCoincidence_145") model.do() ExtrusionCut_16 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_8")], model.selection(), 10, 0, [model.selection("SOLID", "ExtrusionCut_6_1")]) Sketch_19 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_7_1/Modfied_26")) -SketchLine_200 = Sketch_19.addLine(21.00014787857639, 4.163450069699051, 21.00014787857639, 0) +SketchLine_200 = Sketch_19.addLine(21, 4.163450069699051, 21, 0) SketchLine_200.setName("SketchLine_107") SketchLine_200.result().setName("SketchLine_107") -SketchLine_201 = Sketch_19.addLine(29, 5, 21.00014787857639, 5) +SketchLine_201 = Sketch_19.addLine(29, 5, 21, 5) SketchLine_201.setName("SketchLine_96") SketchLine_201.result().setName("SketchLine_96") SketchLine_201.setAuxiliary(True) -SketchArc_42 = Sketch_19.addArc(25.00007393928819, 8.000098583186649, 21.53790262696343, 4.392693725936027, 28.46224525161297, 4.392693725936026, False) +SketchArc_42 = Sketch_19.addArc(25, 8, 21.53774043054522, 4.392679848735523, 28.46225956945478, 4.392679848735522, False) SketchArc_42.setName("SketchArc_22") SketchArc_42.result().setName("SketchArc_22") SketchArc_42.results()[1].setName("SketchArc_22_2") -SketchLine_202 = Sketch_19.addLine(21.00014787857639, 0, 29, 0) +SketchLine_202 = Sketch_19.addLine(21, 0, 29, 0) SketchLine_202.setName("SketchLine_100") SketchLine_202.result().setName("SketchLine_100") SketchLine_203 = Sketch_19.addLine(29, 0, 29, 4.163450069699049) @@ -1737,130 +1745,130 @@ SketchLine_204 = Sketch_19.addLine(29, 0, 29, 5) SketchLine_204.setName("SketchLine_101") SketchLine_204.result().setName("SketchLine_101") SketchLine_204.setAuxiliary(True) -SketchConstraintCoincidence_315 = Sketch_19.setCoincident(SketchLine_204.endPoint(), SketchLine_201.startPoint()) -SketchConstraintCoincidence_315.setName("SketchConstraintCoincidence_147") -SketchLine_205 = Sketch_19.addLine(21.00014787857639, 5, 21.00014787857639, 0) +SketchConstraintCoincidence_317 = Sketch_19.setCoincident(SketchLine_204.endPoint(), SketchLine_201.startPoint()) +SketchConstraintCoincidence_317.setName("SketchConstraintCoincidence_147") +SketchLine_205 = Sketch_19.addLine(21, 5, 21, 0) SketchLine_205.setAuxiliary(True) -SketchConstraintCoincidence_316 = Sketch_19.setCoincident(SketchLine_201.endPoint(), SketchLine_205.startPoint()) -SketchConstraintCoincidence_316.setName("SketchConstraintCoincidence_148") -SketchConstraintCoincidence_317 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_202.startPoint()) -SketchConstraintCoincidence_317.setName("SketchConstraintCoincidence_149") -SketchConstraintCoincidence_318 = Sketch_19.setCoincident(SketchLine_202.endPoint(), SketchLine_204.startPoint()) -SketchConstraintCoincidence_318.setName("SketchConstraintCoincidence_150") +SketchConstraintCoincidence_318 = Sketch_19.setCoincident(SketchLine_201.endPoint(), SketchLine_205.startPoint()) +SketchConstraintCoincidence_318.setName("SketchConstraintCoincidence_148") +SketchConstraintCoincidence_319 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_202.startPoint()) +SketchConstraintCoincidence_319.setName("SketchConstraintCoincidence_149") +SketchConstraintCoincidence_320 = Sketch_19.setCoincident(SketchLine_202.endPoint(), SketchLine_204.startPoint()) +SketchConstraintCoincidence_320.setName("SketchConstraintCoincidence_150") SketchConstraintHorizontal_42 = Sketch_19.setHorizontal(SketchLine_201.result()) SketchConstraintHorizontal_42.setName("SketchConstraintHorizontal_21") SketchConstraintVertical_35 = Sketch_19.setVertical(SketchLine_205.result()) SketchConstraintHorizontal_43 = Sketch_19.setHorizontal(SketchLine_202.result()) SketchConstraintHorizontal_43.setName("SketchConstraintHorizontal_22") SketchConstraintVertical_36 = Sketch_19.setVertical(SketchLine_204.result()) -SketchPoint_46 = Sketch_19.addPoint(21.00014787857639, 7.5) -SketchConstraintCoincidence_319 = Sketch_19.setCoincident(SketchLine_205.result(), SketchPoint_46.coordinates()) -SketchConstraintCoincidence_319.setName("SketchConstraintCoincidence_151") +SketchPoint_46 = Sketch_19.addPoint(21, 7.5) +SketchConstraintCoincidence_321 = Sketch_19.setCoincident(SketchLine_205.result(), SketchPoint_46.coordinates()) +SketchConstraintCoincidence_321.setName("SketchConstraintCoincidence_151") SketchConstraintRigid_23 = Sketch_19.setFixed(SketchPoint_46.result()) SketchConstraintRigid_23.setName("SketchConstraintRigid_18") SketchPoint_47 = Sketch_19.addPoint(29, 7.5) -SketchConstraintCoincidence_320 = Sketch_19.setCoincident(SketchLine_204.result(), SketchPoint_47.coordinates()) -SketchConstraintCoincidence_320.setName("SketchConstraintCoincidence_152") +SketchConstraintCoincidence_322 = Sketch_19.setCoincident(SketchLine_204.result(), SketchPoint_47.coordinates()) +SketchConstraintCoincidence_322.setName("SketchConstraintCoincidence_152") SketchConstraintRigid_24 = Sketch_19.setFixed(SketchPoint_47.result()) SketchConstraintRigid_24.setName("SketchConstraintRigid_20") SketchConstraintLength_32 = Sketch_19.setLength(SketchLine_205.result(), 5) SketchConstraintLength_32.setName("SketchConstraintLength_16") -SketchLine_206 = Sketch_19.addLine(0, 0, 45.49999999999999, 0) +SketchLine_206 = Sketch_19.addLine(0, 0, 45.5, 0) SketchLine_206.setName("SketchLine_102") SketchLine_206.result().setName("SketchLine_102") -SketchConstraintCoincidence_321 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_206.result()) -SketchConstraintCoincidence_321.setName("SketchConstraintCoincidence_153") +SketchConstraintCoincidence_323 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_206.result()) +SketchConstraintCoincidence_323.setName("SketchConstraintCoincidence_153") SketchConstraintRigid_25 = Sketch_19.setFixed(SketchLine_206.result()) SketchConstraintRigid_25.setName("SketchConstraintRigid_21") -SketchArc_43 = Sketch_19.addArc(25.00007393928819, 8.000098583186649, 21.00014787857639, 5, 29, 5, False) +SketchArc_43 = Sketch_19.addArc(25, 8, 21, 5, 29, 5, False) SketchArc_43.setName("SketchArc_19") SketchArc_43.result().setName("SketchArc_19") SketchArc_43.results()[1].setName("SketchArc_19_2") SketchArc_43.setAuxiliary(True) -SketchConstraintCoincidence_322 = Sketch_19.setCoincident(SketchLine_201.endPoint(), SketchArc_43.startPoint()) -SketchConstraintCoincidence_322.setName("SketchConstraintCoincidence_154") -SketchConstraintCoincidence_323 = Sketch_19.setCoincident(SketchLine_205.startPoint(), SketchArc_43.startPoint()) -SketchConstraintCoincidence_323.setName("SketchConstraintCoincidence_155") -SketchConstraintCoincidence_324 = Sketch_19.setCoincident(SketchLine_201.startPoint(), SketchArc_43.endPoint()) -SketchConstraintCoincidence_324.setName("SketchConstraintCoincidence_156") -SketchConstraintCoincidence_325 = Sketch_19.setCoincident(SketchLine_204.endPoint(), SketchArc_43.endPoint()) -SketchConstraintCoincidence_325.setName("SketchConstraintCoincidence_157") -SketchConstraintRadius_21 = Sketch_19.setRadius(SketchArc_43.results()[1], 5) +SketchConstraintCoincidence_324 = Sketch_19.setCoincident(SketchLine_201.endPoint(), SketchArc_43.startPoint()) +SketchConstraintCoincidence_324.setName("SketchConstraintCoincidence_154") +SketchConstraintCoincidence_325 = Sketch_19.setCoincident(SketchLine_205.startPoint(), SketchArc_43.startPoint()) +SketchConstraintCoincidence_325.setName("SketchConstraintCoincidence_155") +SketchConstraintCoincidence_326 = Sketch_19.setCoincident(SketchLine_201.startPoint(), SketchArc_43.endPoint()) +SketchConstraintCoincidence_326.setName("SketchConstraintCoincidence_156") +SketchConstraintCoincidence_327 = Sketch_19.setCoincident(SketchLine_204.endPoint(), SketchArc_43.endPoint()) +SketchConstraintCoincidence_327.setName("SketchConstraintCoincidence_157") +SketchConstraintRadius_17 = Sketch_19.setRadius(SketchArc_43.results()[1], 5) SketchLine_207 = Sketch_19.addLine(1, 0, 1, 1.8) SketchLine_207.setName("SketchLine_103") SketchLine_207.result().setName("SketchLine_103") -SketchConstraintCoincidence_326 = Sketch_19.setCoincident(SketchLine_207.startPoint(), SketchLine_206.result()) -SketchConstraintCoincidence_326.setName("SketchConstraintCoincidence_158") +SketchConstraintCoincidence_328 = Sketch_19.setCoincident(SketchLine_207.startPoint(), SketchLine_206.result()) +SketchConstraintCoincidence_328.setName("SketchConstraintCoincidence_158") SketchLine_208 = Sketch_19.addLine(1, 1.8, 8, 3.389761862250954) SketchLine_208.setName("SketchLine_104") SketchLine_208.result().setName("SketchLine_104") -SketchConstraintCoincidence_327 = Sketch_19.setCoincident(SketchLine_207.endPoint(), SketchLine_208.startPoint()) -SketchConstraintCoincidence_327.setName("SketchConstraintCoincidence_159") +SketchConstraintCoincidence_329 = Sketch_19.setCoincident(SketchLine_207.endPoint(), SketchLine_208.startPoint()) +SketchConstraintCoincidence_329.setName("SketchConstraintCoincidence_159") SketchLine_209 = Sketch_19.addLine(8, 3.389761862250954, 8, 0) SketchLine_209.setName("SketchLine_105") SketchLine_209.result().setName("SketchLine_105") -SketchConstraintCoincidence_328 = Sketch_19.setCoincident(SketchLine_208.endPoint(), SketchLine_209.startPoint()) -SketchConstraintCoincidence_328.setName("SketchConstraintCoincidence_160") +SketchConstraintCoincidence_330 = Sketch_19.setCoincident(SketchLine_208.endPoint(), SketchLine_209.startPoint()) +SketchConstraintCoincidence_330.setName("SketchConstraintCoincidence_160") SketchLine_210 = Sketch_19.addLine(8, 0, 1, 0) SketchLine_210.setName("SketchLine_106") SketchLine_210.result().setName("SketchLine_106") -SketchConstraintCoincidence_329 = Sketch_19.setCoincident(SketchLine_209.endPoint(), SketchLine_210.startPoint()) -SketchConstraintCoincidence_329.setName("SketchConstraintCoincidence_161") -SketchConstraintCoincidence_330 = Sketch_19.setCoincident(SketchLine_207.startPoint(), SketchLine_210.endPoint()) -SketchConstraintCoincidence_330.setName("SketchConstraintCoincidence_162") -SketchConstraintCoincidence_331 = Sketch_19.setCoincident(SketchLine_210.startPoint(), SketchLine_206.result()) -SketchConstraintCoincidence_331.setName("SketchConstraintCoincidence_163") +SketchConstraintCoincidence_331 = Sketch_19.setCoincident(SketchLine_209.endPoint(), SketchLine_210.startPoint()) +SketchConstraintCoincidence_331.setName("SketchConstraintCoincidence_161") +SketchConstraintCoincidence_332 = Sketch_19.setCoincident(SketchLine_207.startPoint(), SketchLine_210.endPoint()) +SketchConstraintCoincidence_332.setName("SketchConstraintCoincidence_162") +SketchConstraintCoincidence_333 = Sketch_19.setCoincident(SketchLine_210.startPoint(), SketchLine_206.result()) +SketchConstraintCoincidence_333.setName("SketchConstraintCoincidence_163") SketchConstraintVertical_37 = Sketch_19.setVertical(SketchLine_209.result()) SketchConstraintVertical_38 = Sketch_19.setVertical(SketchLine_207.result()) SketchConstraintLength_33 = Sketch_19.setLength(SketchLine_210.result(), 7) SketchConstraintLength_33.setName("SketchConstraintLength_17") -SketchConstraintDistance_33 = Sketch_19.setDistance(SketchLine_207.result(), SketchLine_206.startPoint(), 1) +SketchConstraintDistance_33 = Sketch_19.setDistance(SketchLine_207.result(), SketchLine_206.startPoint(), 1, False) SketchConstraintLength_34 = Sketch_19.setLength(SketchLine_207.result(), 1.8) SketchConstraintLength_34.setName("SketchConstraintLength_18") -SketchArc_44 = Sketch_19.addArc(21.3178882838101, 4.163450069699051, 21.53790262696343, 4.392693725936027, 21.00014787857639, 4.163450069699051, False) -SketchArc_45 = Sketch_19.addArc(25.00007393928819, 8.000098583186649, 21.53790262696343, 4.392693725936027, 29, 5, False) +SketchArc_44 = Sketch_19.addArc(21.31772863153846, 4.163450069699051, 21.53774043054522, 4.392679848735523, 21, 4.163450069699051, False) +SketchArc_45 = Sketch_19.addArc(25, 8, 21.53774043054522, 4.392679848735523, 29, 5, False) SketchArc_45.setName("SketchArc_20") SketchArc_45.result().setName("SketchArc_20") SketchArc_45.results()[1].setName("SketchArc_20_2") SketchArc_45.setAuxiliary(True) -SketchConstraintCoincidence_332 = Sketch_19.setCoincident(SketchArc_44.startPoint(), SketchArc_45.startPoint()) -SketchConstraintCoincidence_332.setName("SketchConstraintCoincidence_164") -SketchConstraintCoincidence_333 = Sketch_19.setCoincident(SketchArc_44.endPoint(), SketchLine_200.startPoint()) -SketchConstraintCoincidence_333.setName("SketchConstraintCoincidence_165") -SketchConstraintTangent_23 = Sketch_19.setTangent(SketchArc_44.results()[1], SketchLine_200.result()) -SketchConstraintTangent_24 = Sketch_19.setTangent(SketchArc_44.results()[1], SketchArc_45.results()[1]) -SketchConstraintCoincidence_334 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_200.endPoint()) -SketchConstraintCoincidence_334.setName("SketchConstraintCoincidence_166") -SketchConstraintCoincidence_335 = Sketch_19.setCoincident(SketchArc_43.endPoint(), SketchArc_45.endPoint()) -SketchConstraintCoincidence_335.setName("SketchConstraintCoincidence_167") -SketchConstraintTangent_25 = Sketch_19.setTangent(SketchArc_43.results()[1], SketchArc_45.results()[1]) -SketchConstraintCoincidence_336 = Sketch_19.setCoincident(SketchLine_200.startPoint(), SketchLine_205.result()) -SketchConstraintCoincidence_336.setName("SketchConstraintCoincidence_168") -SketchConstraintCoincidence_337 = Sketch_19.setCoincident(SketchArc_45.startPoint(), SketchArc_43.results()[1]) -SketchConstraintCoincidence_337.setName("SketchConstraintCoincidence_169") -SketchArc_46 = Sketch_19.addArc(28.68225959476629, 4.163450069699049, 29, 4.163450069699049, 28.46224525161297, 4.392693725936026, False) -SketchConstraintCoincidence_338 = Sketch_19.setCoincident(SketchArc_46.startPoint(), SketchLine_203.endPoint()) -SketchConstraintCoincidence_338.setName("SketchConstraintCoincidence_170") -SketchConstraintCoincidence_339 = Sketch_19.setCoincident(SketchArc_46.endPoint(), SketchArc_42.endPoint()) -SketchConstraintCoincidence_339.setName("SketchConstraintCoincidence_171") -SketchConstraintTangent_26 = Sketch_19.setTangent(SketchArc_46.results()[1], SketchArc_42.results()[1]) -SketchConstraintTangent_27 = Sketch_19.setTangent(SketchArc_46.results()[1], SketchLine_203.result()) -SketchConstraintCoincidence_340 = Sketch_19.setCoincident(SketchArc_45.startPoint(), SketchArc_42.startPoint()) -SketchConstraintCoincidence_340.setName("SketchConstraintCoincidence_172") -SketchConstraintCoincidence_341 = Sketch_19.setCoincident(SketchLine_204.startPoint(), SketchLine_203.startPoint()) -SketchConstraintCoincidence_341.setName("SketchConstraintCoincidence_173") -SketchConstraintTangent_28 = Sketch_19.setTangent(SketchArc_45.results()[1], SketchArc_42.results()[1]) -SketchConstraintCoincidence_342 = Sketch_19.setCoincident(SketchArc_42.endPoint(), SketchArc_45.results()[1]) -SketchConstraintCoincidence_342.setName("SketchConstraintCoincidence_174") -SketchConstraintCoincidence_343 = Sketch_19.setCoincident(SketchLine_203.endPoint(), SketchLine_204.result()) -SketchConstraintCoincidence_343.setName("SketchConstraintCoincidence_175") +SketchConstraintCoincidence_334 = Sketch_19.setCoincident(SketchArc_44.startPoint(), SketchArc_45.startPoint()) +SketchConstraintCoincidence_334.setName("SketchConstraintCoincidence_164") +SketchConstraintCoincidence_335 = Sketch_19.setCoincident(SketchArc_44.endPoint(), SketchLine_200.startPoint()) +SketchConstraintCoincidence_335.setName("SketchConstraintCoincidence_165") +SketchConstraintTangent_25 = Sketch_19.setTangent(SketchArc_44.results()[1], SketchLine_200.result()) +SketchConstraintTangent_26 = Sketch_19.setTangent(SketchArc_44.results()[1], SketchArc_45.results()[1]) +SketchConstraintCoincidence_336 = Sketch_19.setCoincident(SketchLine_205.endPoint(), SketchLine_200.endPoint()) +SketchConstraintCoincidence_336.setName("SketchConstraintCoincidence_166") +SketchConstraintCoincidence_337 = Sketch_19.setCoincident(SketchArc_43.endPoint(), SketchArc_45.endPoint()) +SketchConstraintCoincidence_337.setName("SketchConstraintCoincidence_167") +SketchConstraintTangent_27 = Sketch_19.setTangent(SketchArc_43.results()[1], SketchArc_45.results()[1]) +SketchConstraintCoincidence_338 = Sketch_19.setCoincident(SketchLine_200.startPoint(), SketchLine_205.result()) +SketchConstraintCoincidence_338.setName("SketchConstraintCoincidence_168") +SketchConstraintCoincidence_339 = Sketch_19.setCoincident(SketchArc_45.startPoint(), SketchArc_43.results()[1]) +SketchConstraintCoincidence_339.setName("SketchConstraintCoincidence_169") +SketchArc_46 = Sketch_19.addArc(28.68227136846154, 4.163450069699049, 29, 4.163450069699049, 28.46225956945478, 4.392679848735522, False) +SketchConstraintCoincidence_340 = Sketch_19.setCoincident(SketchArc_46.startPoint(), SketchLine_203.endPoint()) +SketchConstraintCoincidence_340.setName("SketchConstraintCoincidence_170") +SketchConstraintCoincidence_341 = Sketch_19.setCoincident(SketchArc_46.endPoint(), SketchArc_42.endPoint()) +SketchConstraintCoincidence_341.setName("SketchConstraintCoincidence_171") +SketchConstraintTangent_28 = Sketch_19.setTangent(SketchArc_46.results()[1], SketchArc_42.results()[1]) +SketchConstraintTangent_29 = Sketch_19.setTangent(SketchArc_46.results()[1], SketchLine_203.result()) +SketchConstraintCoincidence_342 = Sketch_19.setCoincident(SketchArc_45.startPoint(), SketchArc_42.startPoint()) +SketchConstraintCoincidence_342.setName("SketchConstraintCoincidence_172") +SketchConstraintCoincidence_343 = Sketch_19.setCoincident(SketchLine_204.startPoint(), SketchLine_203.startPoint()) +SketchConstraintCoincidence_343.setName("SketchConstraintCoincidence_173") +SketchConstraintTangent_30 = Sketch_19.setTangent(SketchArc_45.results()[1], SketchArc_42.results()[1]) +SketchConstraintCoincidence_344 = Sketch_19.setCoincident(SketchArc_42.endPoint(), SketchArc_45.results()[1]) +SketchConstraintCoincidence_344.setName("SketchConstraintCoincidence_174") +SketchConstraintCoincidence_345 = Sketch_19.setCoincident(SketchLine_203.endPoint(), SketchLine_204.result()) +SketchConstraintCoincidence_345.setName("SketchConstraintCoincidence_175") model.do() Plane_12 = model.addPlane(Part_2_doc, model.selection("FACE", "Plane_2"), 4, False) Plane_13 = model.addPlane(Part_2_doc, model.selection("FACE", "Plane_2"), 4, True) ExtrusionCut_17 = model.addExtrusionCut(Part_2_doc, [model.selection("COMPOUND", "Sketch_9")], model.selection(), model.selection("FACE", "Plane_5"), 0, model.selection("FACE", "Plane_4"), 0, [model.selection("SOLID", "ExtrusionCut_7_1")]) Sketch_20 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_8_1/Modfied_5")) SketchCircle_2 = Sketch_20.addCircle(12, 6, 1) -SketchConstraintRadius_22 = Sketch_20.setRadius(SketchCircle_2.results()[1], 1) +SketchConstraintRadius_18 = Sketch_20.setRadius(SketchCircle_2.results()[1], 1) SketchPoint_48 = Sketch_20.addPoint(0, 6) SketchPoint_48.setAuxiliary(True) SketchLine_211 = Sketch_20.addLine(0, 0, 0, 12) @@ -1868,20 +1876,20 @@ SketchLine_211.setName("SketchLine_109") SketchLine_211.result().setName("SketchLine_109") SketchConstraintRigid_26 = Sketch_20.setFixed(SketchLine_211.result()) SketchConstraintRigid_26.setName("SketchConstraintRigid_22") -SketchConstraintCoincidence_344 = Sketch_20.setCoincident(SketchPoint_48.coordinates(), SketchLine_211.result()) -SketchConstraintCoincidence_344.setName("SketchConstraintCoincidence_176") +SketchConstraintCoincidence_346 = Sketch_20.setCoincident(SketchPoint_48.coordinates(), SketchLine_211.result()) +SketchConstraintCoincidence_346.setName("SketchConstraintCoincidence_176") SketchConstraintMiddle_16 = Sketch_20.setMiddlePoint(SketchLine_211.result(), SketchPoint_48.coordinates()) SketchLine_212 = Sketch_20.addLine(0, 6, 17.31036191565843, 6) SketchLine_212.setName("SketchLine_110") SketchLine_212.result().setName("SketchLine_110") SketchLine_212.setAuxiliary(True) -SketchConstraintCoincidence_345 = Sketch_20.setCoincident(SketchPoint_48.coordinates(), SketchLine_212.startPoint()) -SketchConstraintCoincidence_345.setName("SketchConstraintCoincidence_177") +SketchConstraintCoincidence_347 = Sketch_20.setCoincident(SketchPoint_48.coordinates(), SketchLine_212.startPoint()) +SketchConstraintCoincidence_347.setName("SketchConstraintCoincidence_177") SketchConstraintHorizontal_44 = Sketch_20.setHorizontal(SketchLine_212.result()) SketchConstraintHorizontal_44.setName("SketchConstraintHorizontal_23") -SketchConstraintCoincidence_346 = Sketch_20.setCoincident(SketchCircle_2.center(), SketchLine_212.result()) -SketchConstraintCoincidence_346.setName("SketchConstraintCoincidence_178") -SketchConstraintDistance_34 = Sketch_20.setDistance(SketchLine_211.result(), SketchCircle_2.center(), 12) +SketchConstraintCoincidence_348 = Sketch_20.setCoincident(SketchCircle_2.center(), SketchLine_212.result()) +SketchConstraintCoincidence_348.setName("SketchConstraintCoincidence_178") +SketchConstraintDistance_34 = Sketch_20.setDistance(SketchLine_211.result(), SketchCircle_2.center(), 12, False) model.do() ExtrusionCut_18 = model.addExtrusionCut(Part_2_doc, [model.selection("WIRE", "Sketch_10/Wire-SketchCircle_1_2f")], model.selection(), 0, 0.75, [model.selection("SOLID", "ExtrusionCut_8_1")]) model.do() @@ -1896,17 +1904,17 @@ from GeomAPI import GeomAPI_Shape model.testNbResults(Part_1, 1) model.testNbSubResults(Part_1, [0]) model.testNbSubShapes(Part_1, GeomAPI_Shape.SOLID, [1]) -model.testNbSubShapes(Part_1, GeomAPI_Shape.FACE, [172]) -model.testNbSubShapes(Part_1, GeomAPI_Shape.EDGE, [804]) -model.testNbSubShapes(Part_1, GeomAPI_Shape.VERTEX, [1608]) -model.testResultsVolumes(Part_1, [1876.328652945015164732467383146]) +model.testNbSubShapes(Part_1, GeomAPI_Shape.FACE, [171]) +model.testNbSubShapes(Part_1, GeomAPI_Shape.EDGE, [796]) +model.testNbSubShapes(Part_1, GeomAPI_Shape.VERTEX, [1592]) +model.testResultsVolumes(Part_1, [1875.575358102468499055248685181]) model.testNbResults(Rotation_2, 1) model.testNbSubResults(Rotation_2, [0]) model.testNbSubShapes(Rotation_2, GeomAPI_Shape.SOLID, [1]) -model.testNbSubShapes(Rotation_2, GeomAPI_Shape.FACE, [172]) -model.testNbSubShapes(Rotation_2, GeomAPI_Shape.EDGE, [804]) -model.testNbSubShapes(Rotation_2, GeomAPI_Shape.VERTEX, [1608]) -model.testResultsVolumes(Rotation_2, [1876.328652945015846853493712842]) +model.testNbSubShapes(Rotation_2, GeomAPI_Shape.FACE, [171]) +model.testNbSubShapes(Rotation_2, GeomAPI_Shape.EDGE, [796]) +model.testNbSubShapes(Rotation_2, GeomAPI_Shape.VERTEX, [1592]) +model.testResultsVolumes(Rotation_2, [1875.575358102468499055248685181]) assert(model.checkPythonDump()) -- 2.39.2