From 1c4cc212d2d20a128b948362561008b940a2a329 Mon Sep 17 00:00:00 2001 From: dbv Date: Wed, 22 Feb 2017 16:32:05 +0300 Subject: [PATCH] Added test model --- test.models/clothespin.py | 948 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 948 insertions(+) create mode 100644 test.models/clothespin.py diff --git a/test.models/clothespin.py b/test.models/clothespin.py new file mode 100644 index 000000000..13a6de750 --- /dev/null +++ b/test.models/clothespin.py @@ -0,0 +1,948 @@ +from salome.shaper import model + +model.begin() +partSet = model.moduleDocument() +Part_1 = model.addPart(partSet) +Part_1_doc = Part_1.document() +Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("XOY")) +SketchLine_1 = Sketch_1.addLine(0, 0, 60, 0) +SketchPoint_1 = Sketch_1.addPoint(model.selection("VERTEX", "PartSet/Origin")) +SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchPoint_1.result()) +SketchLine_2 = Sketch_1.addLine(60, 0, 60, 1.5) +SketchLine_2.setName("SketchLine_3") +SketchLine_2.result().setName("SketchLine_3") +SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_2.startPoint()) +SketchConstraintCoincidence_2.setName("SketchConstraintCoincidence_3") +SketchLine_3 = Sketch_1.addLine(60, 1.5, 57, 1.5) +SketchLine_3.setName("SketchLine_4") +SketchLine_3.result().setName("SketchLine_4") +SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchLine_3.startPoint()) +SketchConstraintCoincidence_3.setName("SketchConstraintCoincidence_4") +SketchLine_4 = Sketch_1.addLine(57, 1.5, 29, 7.5) +SketchLine_4.setName("SketchLine_5") +SketchLine_4.result().setName("SketchLine_5") +SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_4.startPoint()) +SketchConstraintCoincidence_4.setName("SketchConstraintCoincidence_5") +SketchLine_5 = Sketch_1.addLine(28, 7.5, 28, 8) +SketchLine_5.setName("SketchLine_7") +SketchLine_5.result().setName("SketchLine_7") +SketchArc_1 = Sketch_1.addArc(25.00007393928819, 7.9789374678129, 28, 8, 22.00014787857639, 8, False) +SketchLine_6 = Sketch_1.addLine(22.00014787857639, 8, 22.00014787857639, 7.5) +SketchLine_6.setName("SketchLine_8") +SketchLine_6.result().setName("SketchLine_8") +SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_6.startPoint()) +SketchConstraintCoincidence_5.setName("SketchConstraintCoincidence_8") +SketchLine_7 = Sketch_1.addLine(22.00014787857639, 7.5, 21.00014787857639, 7.5) +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.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.setName("SketchLine_11") +SketchLine_9.result().setName("SketchLine_11") +SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_8.endPoint(), SketchLine_9.startPoint()) +SketchConstraintCoincidence_9.setName("SketchConstraintCoincidence_13") +SketchLine_10 = Sketch_1.addLine(8, 5, 10.426976887961, 4.40018070612629) +SketchLine_10.setName("SketchLine_12") +SketchLine_10.result().setName("SketchLine_12") +SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_9.endPoint(), SketchLine_10.startPoint()) +SketchConstraintCoincidence_10.setName("SketchConstraintCoincidence_14") +SketchConstraintLength_1 = Sketch_1.setLength(SketchLine_1.result(), 60) +SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_1.result()) +SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_2.result()) +SketchConstraintHorizontal_2 = Sketch_1.setHorizontal(SketchLine_3.result()) +SketchConstraintHorizontal_3 = Sketch_1.setHorizontal(SketchLine_7.result()) +SketchConstraintHorizontal_3.setName("SketchConstraintHorizontal_4") +SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_5.result()) +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) +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) +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) +SketchLine_11 = Sketch_1.addLine(12.81710695710752, 0, 12.81710695710752, 7.765286531476907) +SketchLine_11.setName("SketchLine_13") +SketchLine_11.result().setName("SketchLine_13") +SketchLine_11.setAuxiliary(True) +SketchConstraintCoincidence_12 = Sketch_1.setCoincident(SketchLine_11.startPoint(), SketchLine_1.result()) +SketchConstraintCoincidence_12.setName("SketchConstraintCoincidence_16") +SketchConstraintVertical_5 = Sketch_1.setVertical(SketchLine_11.result()) +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) +SketchLine_12 = Sketch_1.addLine(28, 7.5, 29, 7.5) +SketchLine_12.setName("SketchLine_14") +SketchLine_12.result().setName("SketchLine_14") +SketchConstraintCoincidence_14 = Sketch_1.setCoincident(SketchLine_5.startPoint(), SketchLine_12.startPoint()) +SketchConstraintCoincidence_14.setName("SketchConstraintCoincidence_18") +SketchConstraintCoincidence_15 = Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_12.endPoint()) +SketchConstraintCoincidence_15.setName("SketchConstraintCoincidence_19") +SketchConstraintLength_8 = Sketch_1.setLength(SketchLine_12.result(), 1) +SketchConstraintLength_8.setName("SketchConstraintLength_9") +SketchArc_2 = Sketch_1.addArc(14.78851987160339, 9.105317068618911, 10.426976887961, 4.40018070612629, 21.00014787857639, 7.5, False) +SketchConstraintCoincidence_16 = Sketch_1.setCoincident(SketchLine_10.endPoint(), SketchArc_2.startPoint()) +SketchConstraintCoincidence_16.setName("SketchConstraintCoincidence_20") +SketchConstraintCoincidence_17 = Sketch_1.setCoincident(SketchLine_7.endPoint(), SketchArc_2.endPoint()) +SketchConstraintCoincidence_17.setName("SketchConstraintCoincidence_21") +SketchConstraintCoincidence_18 = Sketch_1.setCoincident(SketchPoint_2.coordinates(), SketchArc_2.results()[1]) +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.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) +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") +SketchConstraintCoincidence_19 = Sketch_2.setCoincident(SketchArc_3.startPoint(), SketchLine_13.result()) +SketchConstraintCoincidence_19.setName("SketchConstraintCoincidence_23") +SketchLine_14 = Sketch_2.addLine(model.selection("EDGE", "Sketch_1/Edge-SketchLine_1")) +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_1")) +SketchLine_15.setName("SketchLine_17") +SketchLine_15.result().setName("SketchLine_17") +SketchConstraintDistance_8 = Sketch_2.setDistance(SketchArc_3.startPoint(), SketchLine_15.result(), 6) +SketchConstraintDistance_8.setName("SketchConstraintDistance_7") +SketchLine_16 = Sketch_2.addLine(54, 12, 53.10174978726379, 13.92603605930655) +SketchLine_16.setName("SketchLine_18") +SketchLine_16.result().setName("SketchLine_18") +SketchConstraintCoincidence_21 = Sketch_2.setCoincident(SketchArc_3.startPoint(), SketchLine_16.startPoint()) +SketchConstraintCoincidence_21.setName("SketchConstraintCoincidence_25") +SketchLine_17 = Sketch_2.addLine(53.10174978726379, 13.92603605930655, 63.82610057919769, 13.82486293862793) +SketchLine_17.setName("SketchLine_19") +SketchLine_17.result().setName("SketchLine_19") +SketchConstraintCoincidence_22 = Sketch_2.setCoincident(SketchLine_16.endPoint(), SketchLine_17.startPoint()) +SketchConstraintCoincidence_22.setName("SketchConstraintCoincidence_26") +SketchLine_18 = Sketch_2.addLine(63.82610057919769, 13.82486293862793, 62.66260969139353, -3.07104821470189) +SketchLine_18.setName("SketchLine_20") +SketchLine_18.result().setName("SketchLine_20") +SketchConstraintCoincidence_23 = Sketch_2.setCoincident(SketchLine_17.endPoint(), SketchLine_18.startPoint()) +SketchConstraintCoincidence_23.setName("SketchConstraintCoincidence_27") +SketchLine_19 = Sketch_2.addLine(62.66260969139353, -3.07104821470189, 53.10174978726379, -2.868701973344648) +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.setName("SketchLine_22") +SketchLine_20.result().setName("SketchLine_22") +SketchConstraintCoincidence_25 = Sketch_2.setCoincident(SketchLine_19.endPoint(), SketchLine_20.startPoint()) +SketchConstraintCoincidence_25.setName("SketchConstraintCoincidence_29") +SketchConstraintCoincidence_26 = Sketch_2.setCoincident(SketchArc_3.endPoint(), SketchLine_20.endPoint()) +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_4")) +SketchLine_21 = Sketch_3.addLine(28, -6, -4.270492394552598, -6.000000000000001) +SketchLine_21.setName("SketchLine_23") +SketchLine_21.result().setName("SketchLine_23") +SketchLine_21.setAuxiliary(True) +SketchLine_22 = Sketch_3.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_4&Extrusion_1_1/Generated_Face_5")) +SketchLine_22.setName("SketchLine_24") +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.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.setName("SketchLine_26") +SketchLine_24.result().setName("SketchLine_26") +SketchLine_25 = Sketch_3.addLine(29, -1.500000000000001, 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.setName("SketchLine_29") +SketchLine_27.result().setName("SketchLine_29") +SketchConstraintCoincidence_29 = Sketch_3.setCoincident(SketchLine_27.endPoint(), SketchLine_24.startPoint()) +SketchConstraintCoincidence_29.setName("SketchConstraintCoincidence_33") +SketchConstraintCoincidence_30 = Sketch_3.setCoincident(SketchLine_24.endPoint(), SketchLine_25.startPoint()) +SketchConstraintCoincidence_30.setName("SketchConstraintCoincidence_34") +SketchConstraintCoincidence_31 = Sketch_3.setCoincident(SketchLine_25.endPoint(), SketchLine_26.startPoint()) +SketchConstraintCoincidence_31.setName("SketchConstraintCoincidence_35") +SketchConstraintCoincidence_32 = Sketch_3.setCoincident(SketchLine_26.endPoint(), SketchLine_27.startPoint()) +SketchConstraintCoincidence_32.setName("SketchConstraintCoincidence_36") +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.setName("SketchLine_30") +SketchLine_28.result().setName("SketchLine_30") +SketchLine_28.setAuxiliary(True) +SketchConstraintCoincidence_33 = Sketch_3.setCoincident(SketchLine_25.endPoint(), SketchLine_28.startPoint()) +SketchConstraintCoincidence_33.setName("SketchConstraintCoincidence_37") +SketchConstraintCoincidence_34 = Sketch_3.setCoincident(SketchLine_26.startPoint(), SketchLine_28.startPoint()) +SketchConstraintCoincidence_34.setName("SketchConstraintCoincidence_38") +SketchConstraintCoincidence_35 = Sketch_3.setCoincident(SketchLine_24.startPoint(), SketchLine_28.endPoint()) +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.setName("SketchLine_31") +SketchLine_29.result().setName("SketchLine_31") +SketchLine_29.setAuxiliary(True) +SketchConstraintCoincidence_37 = Sketch_3.setCoincident(SketchLine_24.endPoint(), SketchLine_29.startPoint()) +SketchConstraintCoincidence_37.setName("SketchConstraintCoincidence_41") +SketchConstraintCoincidence_38 = Sketch_3.setCoincident(SketchLine_25.startPoint(), SketchLine_29.startPoint()) +SketchConstraintCoincidence_38.setName("SketchConstraintCoincidence_42") +SketchConstraintCoincidence_39 = Sketch_3.setCoincident(SketchLine_26.endPoint(), SketchLine_29.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.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.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.setName("SketchLine_32") +SketchLine_30.result().setName("SketchLine_32") +SketchLine_31 = Sketch_3.addLine(12.00014787857639, -1.499999999999999, 12.00014787857639, -10.5) +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.setName("SketchLine_34") +SketchLine_32.result().setName("SketchLine_34") +SketchLine_33 = Sketch_3.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_33.setName("SketchLine_35") +SketchLine_33.result().setName("SketchLine_35") +SketchConstraintCoincidence_43 = Sketch_3.setCoincident(SketchLine_33.endPoint(), SketchLine_30.startPoint()) +SketchConstraintCoincidence_43.setName("SketchConstraintCoincidence_47") +SketchConstraintCoincidence_44 = Sketch_3.setCoincident(SketchLine_30.endPoint(), SketchLine_31.startPoint()) +SketchConstraintCoincidence_44.setName("SketchConstraintCoincidence_48") +SketchConstraintCoincidence_45 = Sketch_3.setCoincident(SketchLine_31.endPoint(), SketchLine_32.startPoint()) +SketchConstraintCoincidence_45.setName("SketchConstraintCoincidence_49") +SketchConstraintCoincidence_46 = Sketch_3.setCoincident(SketchLine_32.endPoint(), SketchLine_33.startPoint()) +SketchConstraintCoincidence_46.setName("SketchConstraintCoincidence_50") +SketchConstraintHorizontal_9 = Sketch_3.setHorizontal(SketchLine_30.result()) +SketchConstraintHorizontal_9.setName("SketchConstraintHorizontal_10") +SketchConstraintVertical_8 = Sketch_3.setVertical(SketchLine_31.result()) +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.setName("SketchLine_36") +SketchLine_34.result().setName("SketchLine_36") +SketchLine_34.setAuxiliary(True) +SketchConstraintCoincidence_47 = Sketch_3.setCoincident(SketchLine_31.endPoint(), SketchLine_34.startPoint()) +SketchConstraintCoincidence_47.setName("SketchConstraintCoincidence_51") +SketchConstraintCoincidence_48 = Sketch_3.setCoincident(SketchLine_32.startPoint(), SketchLine_34.startPoint()) +SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_52") +SketchConstraintCoincidence_49 = Sketch_3.setCoincident(SketchLine_30.startPoint(), SketchLine_34.endPoint()) +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, -6) +SketchPoint_4.setAuxiliary(True) +SketchConstraintCoincidence_51 = Sketch_3.setCoincident(SketchPoint_4.coordinates(), SketchLine_34.result()) +SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_55") +SketchConstraintMiddle_2 = Sketch_3.setMiddlePoint(SketchLine_34.result(), SketchPoint_4.coordinates()) +SketchConstraintCoincidence_52 = Sketch_3.setCoincident(SketchPoint_4.coordinates(), SketchLine_21.result()) +SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_56") +SketchLine_35 = Sketch_3.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_4&ExtrusionCut_1_1/Modfied_4")) +SketchLine_35.setName("SketchLine_37") +SketchLine_35.result().setName("SketchLine_37") +SketchConstraintCoincidence_53 = Sketch_3.setCoincident(SketchLine_25.startPoint(), SketchLine_35.result()) +SketchConstraintCoincidence_53.setName("SketchConstraintCoincidence_57") +SketchConstraintLength_10 = Sketch_3.setLength(SketchLine_24.result(), 31) +SketchConstraintLength_10.setName("SketchConstraintLength_11") +SketchLine_36 = Sketch_3.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_9&Extrusion_1_1/Generated_Face_8")) +SketchLine_36.setName("SketchLine_38") +SketchLine_36.result().setName("SketchLine_38") +SketchConstraintCoincidence_54 = Sketch_3.setCoincident(SketchLine_30.startPoint(), SketchLine_36.result()) +SketchConstraintCoincidence_54.setName("SketchConstraintCoincidence_58") +SketchConstraintEqual_2 = Sketch_3.setEqual(SketchLine_30.result(), SketchLine_25.result()) +model.do() +ExtrusionCut_2 = model.addExtrusionCut(Part_1_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_3"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_1_1")]) +Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_1_1/Modfied_1")) +SketchLine_37 = Sketch_4.addLine(0.4324637622511017, 3.581086955422081, 1.55585595716119, 2.812450190483599) +SketchLine_37.setName("SketchLine_39") +SketchLine_37.result().setName("SketchLine_39") +SketchLine_38 = Sketch_4.addLine(model.selection("EDGE", "ExtrusionCut_1_1/Modfied_1&Extrusion_1_1/Generated_Face_11")) +SketchLine_38.setName("SketchLine_40") +SketchLine_38.result().setName("SketchLine_40") +SketchConstraintCoincidence_55 = Sketch_4.setCoincident(SketchLine_37.startPoint(), SketchLine_38.result()) +SketchConstraintCoincidence_55.setName("SketchConstraintCoincidence_59") +SketchLine_39 = Sketch_4.addLine(1.55585595716119, 2.812450190483599, 2.324492722099671, 3.935842385393688) +SketchLine_39.setName("SketchLine_41") +SketchLine_39.result().setName("SketchLine_41") +SketchConstraintCoincidence_56 = Sketch_4.setCoincident(SketchLine_37.endPoint(), SketchLine_39.startPoint()) +SketchConstraintCoincidence_56.setName("SketchConstraintCoincidence_60") +SketchConstraintCoincidence_57 = Sketch_4.setCoincident(SketchLine_39.endPoint(), SketchLine_38.result()) +SketchConstraintCoincidence_57.setName("SketchConstraintCoincidence_61") +SketchLine_40 = Sketch_4.addLine(2.324492722099671, 3.935842385393688, 0.4324637622511017, 3.581086955422081) +SketchLine_40.setName("SketchLine_42") +SketchLine_40.result().setName("SketchLine_42") +SketchConstraintCoincidence_58 = Sketch_4.setCoincident(SketchLine_39.endPoint(), SketchLine_40.startPoint()) +SketchConstraintCoincidence_58.setName("SketchConstraintCoincidence_62") +SketchConstraintCoincidence_59 = Sketch_4.setCoincident(SketchLine_37.startPoint(), SketchLine_40.endPoint()) +SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_63") +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) +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() +SketchLine_49.setName("SketchLine_51") +SketchLine_49.result().setName("SketchLine_51") +SketchLine_48.setName("SketchLine_50") +SketchLine_48.result().setName("SketchLine_50") +SketchLine_47.setName("SketchLine_45") +SketchLine_47.result().setName("SketchLine_45") +SketchLine_46.setName("SketchLine_49") +SketchLine_46.result().setName("SketchLine_49") +SketchLine_45.setName("SketchLine_48") +SketchLine_45.result().setName("SketchLine_48") +SketchLine_43.setName("SketchLine_47") +SketchLine_43.result().setName("SketchLine_47") +SketchLine_42.setName("SketchLine_46") +SketchLine_42.result().setName("SketchLine_46") +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_12"), 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_9&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) +SketchConstraintRigid_1 = Sketch_5.setFixed(SketchPoint_5.result()) +SketchConstraintRigid_1.setName("SketchConstraintRigid_10") +SketchConstraintCoincidence_60 = Sketch_5.setCoincident(SketchArc_4.startPoint(), SketchPoint_5.result()) +SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_64") +SketchPoint_6 = Sketch_5.addPoint(28, -7.5) +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) +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.setName("SketchLine_53") +SketchLine_51.result().setName("SketchLine_53") +SketchConstraintCoincidence_64 = Sketch_5.setCoincident(SketchLine_50.endPoint(), SketchLine_51.startPoint()) +SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_68") +SketchLine_52 = Sketch_5.addLine(28, -11.56094005408083, 28, -7.5) +SketchLine_52.setName("SketchLine_54") +SketchLine_52.result().setName("SketchLine_54") +SketchConstraintCoincidence_65 = Sketch_5.setCoincident(SketchLine_51.endPoint(), SketchLine_52.startPoint()) +SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_69") +SketchConstraintCoincidence_66 = Sketch_5.setCoincident(SketchArc_4.endPoint(), SketchLine_52.endPoint()) +SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_70") +SketchConstraintCoincidence_67 = Sketch_5.setCoincident(SketchPoint_6.coordinates(), SketchLine_52.endPoint()) +SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_71") +SketchConstraintVertical_10 = Sketch_5.setVertical(SketchLine_50.result()) +SketchConstraintVertical_11 = Sketch_5.setVertical(SketchLine_52.result()) +SketchConstraintHorizontal_11 = Sketch_5.setHorizontal(SketchLine_51.result()) +SketchConstraintHorizontal_11.setName("SketchConstraintHorizontal_12") +model.do() +Plane_5 = model.addPlane(Part_1_doc, model.selection("FACE", "ExtrusionCut_3_1/Modfied_3"), 6, True) +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) +SketchLine_53 = Sketch_6.addLine(0, 0, 54, 0) +SketchLine_53.setName("SketchLine_55") +SketchLine_53.result().setName("SketchLine_55") +SketchConstraintRigid_3 = Sketch_6.setFixed(SketchLine_53.result()) +SketchConstraintRigid_3.setName("SketchConstraintRigid_12") +SketchConstraintCoincidence_68 = Sketch_6.setCoincident(SketchArc_5.center(), SketchLine_53.result()) +SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_72") +SketchConstraintCoincidence_69 = Sketch_6.setCoincident(SketchArc_5.startPoint(), SketchLine_53.result()) +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.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) +SketchLine_55.setName("SketchLine_57") +SketchLine_55.result().setName("SketchLine_57") +SketchConstraintDistance_11 = Sketch_6.setDistance(SketchArc_5.center(), SketchLine_55.result(), 46) +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) +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") +SketchLine_63.result().setName("SketchLine_65") +SketchLine_62.setName("SketchLine_64") +SketchLine_62.result().setName("SketchLine_64") +SketchLine_61.setName("SketchLine_63") +SketchLine_61.result().setName("SketchLine_63") +SketchLine_60.setName("SketchLine_62") +SketchLine_60.result().setName("SketchLine_62") +SketchLine_59.setName("SketchLine_61") +SketchLine_59.result().setName("SketchLine_61") +SketchLine_58.setName("SketchLine_60") +SketchLine_58.result().setName("SketchLine_60") +SketchLine_57.setName("SketchLine_59") +SketchLine_57.result().setName("SketchLine_59") +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_12")) +SketchLine_64 = Sketch_7.addLine(50.25000013028279, -4.499999999999999, 31.24999999998802, -4.499999999999997) +SketchLine_64.setName("SketchLine_76") +SketchLine_64.result().setName("SketchLine_76") +SketchLine_65 = Sketch_7.addLine(51.00000000000001, -6.750000215087569, 51.00000000000001, -5.24999997149696) +SketchLine_65.setName("SketchLine_78") +SketchLine_65.result().setName("SketchLine_78") +SketchLine_66 = Sketch_7.addLine(31, -4.750000022881151, 31.00000000000001, -7.249995609843254) +SketchLine_66.setName("SketchLine_80") +SketchLine_66.result().setName("SketchLine_80") +SketchLine_67 = Sketch_7.addLine(31.25000370007456, -7.499999999999999, 50.24999994039248, -7.5) +SketchLine_67.setName("SketchLine_79") +SketchLine_67.result().setName("SketchLine_79") +SketchLine_69 = Sketch_7.addLine(51, -4.5, 31, -4.5) +SketchLine_69.setName("SketchLine_66") +SketchLine_69.result().setName("SketchLine_66") +SketchLine_69.setAuxiliary(True) +SketchLine_68 = Sketch_7.addLine(51, -7.5, 51, -4.5) +SketchLine_68.setName("SketchLine_69") +SketchLine_68.result().setName("SketchLine_69") +SketchLine_68.setAuxiliary(True) +SketchConstraintCoincidence_74 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchLine_69.startPoint()) +SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_78") +SketchLine_70 = Sketch_7.addLine(31, -4.5, 31, -7.5) +SketchLine_70.setName("SketchLine_67") +SketchLine_70.result().setName("SketchLine_67") +SketchLine_70.setAuxiliary(True) +SketchConstraintCoincidence_75 = Sketch_7.setCoincident(SketchLine_69.endPoint(), SketchLine_70.startPoint()) +SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_79") +SketchLine_71 = Sketch_7.addLine(31, -7.5, 51, -7.5) +SketchLine_71.setName("SketchLine_68") +SketchLine_71.result().setName("SketchLine_68") +SketchLine_71.setAuxiliary(True) +SketchConstraintCoincidence_76 = Sketch_7.setCoincident(SketchLine_70.endPoint(), SketchLine_71.startPoint()) +SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_80") +SketchConstraintCoincidence_77 = Sketch_7.setCoincident(SketchLine_71.endPoint(), SketchLine_68.startPoint()) +SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_81") +SketchConstraintHorizontal_12 = Sketch_7.setHorizontal(SketchLine_69.result()) +SketchConstraintHorizontal_12.setName("SketchConstraintHorizontal_13") +SketchConstraintVertical_12 = Sketch_7.setVertical(SketchLine_70.result()) +SketchConstraintHorizontal_13 = Sketch_7.setHorizontal(SketchLine_71.result()) +SketchConstraintHorizontal_13.setName("SketchConstraintHorizontal_14") +SketchConstraintVertical_13 = Sketch_7.setVertical(SketchLine_68.result()) +SketchLine_72 = Sketch_7.addLine(31, -7.5, 51, -4.5) +SketchLine_72.setName("SketchLine_70") +SketchLine_72.result().setName("SketchLine_70") +SketchLine_72.setAuxiliary(True) +SketchConstraintCoincidence_78 = Sketch_7.setCoincident(SketchLine_70.endPoint(), SketchLine_72.startPoint()) +SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_82") +SketchConstraintCoincidence_79 = Sketch_7.setCoincident(SketchLine_71.startPoint(), SketchLine_72.startPoint()) +SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_83") +SketchPoint_8 = Sketch_7.addPoint(51, -4.5) +SketchConstraintCoincidence_80 = Sketch_7.setCoincident(SketchLine_69.startPoint(), SketchPoint_8.coordinates()) +SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_84") +SketchConstraintCoincidence_81 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchPoint_8.coordinates()) +SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_85") +SketchPoint_9 = Sketch_7.addPoint(41, -6) +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, -6) +SketchPoint_10.setAuxiliary(True) +SketchLine_73 = Sketch_7.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +SketchLine_73.setName("SketchLine_71") +SketchLine_73.result().setName("SketchLine_71") +SketchConstraintRigid_5 = Sketch_7.setFixed(SketchLine_73.result()) +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.setName("SketchLine_72") +SketchLine_74.result().setName("SketchLine_72") +SketchLine_74.setAuxiliary(True) +SketchConstraintCoincidence_84 = Sketch_7.setCoincident(SketchPoint_10.coordinates(), SketchLine_74.startPoint()) +SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_88") +SketchConstraintCoincidence_85 = Sketch_7.setCoincident(SketchPoint_9.coordinates(), SketchLine_74.endPoint()) +SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_89") +SketchConstraintHorizontal_14 = Sketch_7.setHorizontal(SketchLine_74.result()) +SketchConstraintHorizontal_14.setName("SketchConstraintHorizontal_15") +SketchConstraintCoincidence_86 = Sketch_7.setCoincident(SketchLine_72.endPoint(), SketchLine_69.startPoint()) +SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_90") +SketchConstraintLength_12 = Sketch_7.setLength(SketchLine_68.result(), 3) +SketchConstraintLength_12.setName("SketchConstraintLength_13") +SketchConstraintLength_13 = Sketch_7.setLength(SketchLine_69.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) +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.25000013028279, -4.499999999999999, False) +SketchLine_75 = Sketch_7.addLine(51, -7.5, 51.00000000000001, -5.24999997149696) +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.25000013028279, -4.499999999999999, 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()) +SketchConstraintCoincidence_89 = Sketch_7.setCoincident(SketchLine_69.endPoint(), SketchLine_76.endPoint()) +SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_93") +SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_68.startPoint(), SketchLine_75.startPoint()) +SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_94") +SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_76.startPoint(), SketchLine_69.result()) +SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_95") +SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_75.endPoint(), SketchLine_68.result()) +SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_96") +SketchArc_15 = Sketch_7.addArc(31.25000000000067, -4.750000000000669, 31.24999999998802, -4.499999999999997, 31, -4.750000022881151, 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.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()) +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()) +SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_100") +SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_77.startPoint(), SketchLine_70.result()) +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.750000215087569, False) +SketchLine_78 = Sketch_7.addLine(31, -7.5, 50.24999994039248, -7.5) +SketchLine_78.setName("SketchLine_77") +SketchLine_78.result().setName("SketchLine_77") +SketchLine_78.setAuxiliary(True) +SketchConstraintCoincidence_99 = Sketch_7.setCoincident(SketchArc_16.startPoint(), SketchLine_78.endPoint()) +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()) +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()) +SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_106") +SketchConstraintCoincidence_103 = Sketch_7.setCoincident(SketchLine_78.endPoint(), SketchLine_71.result()) +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.00000000000001, -7.249995609843254, 31.25000370007456, -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()) +SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_112") +SketchConstraintCoincidence_109 = Sketch_7.setCoincident(SketchLine_67.startPoint(), SketchLine_78.result()) +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) +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_17")) +SketchPoint_12 = Sketch_8.addPoint(53.99994409538203, -1.615587133892632e-027) +SketchPoint_13 = Sketch_8.addPoint(53.99994409538203, -1.615587133892632e-027) +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.setName("SketchLine_81") +SketchLine_79.result().setName("SketchLine_81") +SketchLine_79.setAuxiliary(True) +SketchConstraintCoincidence_112 = Sketch_8.setCoincident(SketchPoint_14.coordinates(), SketchLine_79.startPoint()) +SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_116") +SketchConstraintCoincidence_113 = Sketch_8.setCoincident(SketchPoint_12.coordinates(), SketchLine_79.endPoint()) +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) +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) +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) +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.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.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.setName("SketchLine_84") +SketchLine_82.result().setName("SketchLine_84") +SketchConstraintCoincidence_120 = Sketch_8.setCoincident(SketchLine_81.endPoint(), SketchLine_82.startPoint()) +SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_124") +SketchLine_83 = Sketch_8.addLine(63.09515214070713, 13.47539228785809, 63.12349734647592, -1.774328415749978) +SketchLine_83.setName("SketchLine_85") +SketchLine_83.result().setName("SketchLine_85") +SketchConstraintCoincidence_121 = Sketch_8.setCoincident(SketchLine_82.endPoint(), SketchLine_83.startPoint()) +SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_125") +SketchLine_84 = Sketch_8.addLine(63.12349734647592, -1.774328415749978, 43.82041221793113, -1.802673621518767) +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.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.setName("SketchLine_88") +SketchLine_86.result().setName("SketchLine_88") +SketchConstraintCoincidence_124 = Sketch_8.setCoincident(SketchPoint_16.coordinates(), SketchLine_86.startPoint()) +SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_128") +SketchConstraintHorizontal_15 = Sketch_8.setHorizontal(SketchLine_86.result()) +SketchConstraintHorizontal_15.setName("SketchConstraintHorizontal_16") +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()) +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) +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) +SketchConstraintMiddle_5 = Sketch_8.setMiddlePoint(SketchPoint_18.coordinates(), SketchLine_87.result()) +SketchPoint_19 = Sketch_8.addPoint(0, 6) +SketchPoint_19.setAuxiliary(True) +SketchLine_88 = Sketch_8.addLine(0, 0, 0, 12) +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") +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") +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) +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) +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) +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") +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.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) +SketchPoint_21.setAuxiliary(True) +SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchPoint_21.coordinates(), SketchLine_93.result()) +SketchConstraintCoincidence_140.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") +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_56")) +SketchLine_94 = Sketch_9.addLine(21.00014787857639, 4.163450069699051, 21.00014787857639, 0) +SketchLine_94.setName("SketchLine_107") +SketchLine_94.result().setName("SketchLine_107") +SketchLine_95 = Sketch_9.addLine(29, 5, 21.00014787857639, 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.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.setName("SketchLine_100") +SketchLine_96.result().setName("SketchLine_100") +SketchLine_97 = Sketch_9.addLine(29, 0, 29, 4.163450069699049) +SketchLine_97.setName("SketchLine_108") +SketchLine_97.result().setName("SketchLine_108") +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) +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") +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") +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") +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.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") +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.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) +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") +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") +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") +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") +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) +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_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") +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) +SketchPoint_24 = Sketch_10.addPoint(0, 6) +SketchPoint_24.setAuxiliary(True) +SketchLine_105 = Sketch_10.addLine(0, 0, 0, 12) +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") +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") +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) +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() +model.end() + +from GeomAPI import GeomAPI_Shape + +model.testNbResults(ExtrusionCut_9, 1) +model.testNbSubResults(ExtrusionCut_9, [0]) +model.testNbSubShapes(ExtrusionCut_9, GeomAPI_Shape.SOLID, [1]) +model.testNbSubShapes(ExtrusionCut_9, GeomAPI_Shape.FACE, [172]) +model.testNbSubShapes(ExtrusionCut_9, GeomAPI_Shape.EDGE, [804]) +model.testNbSubShapes(ExtrusionCut_9, GeomAPI_Shape.VERTEX, [1608]) +model.testResultsVolumes(ExtrusionCut_9, [1876.328652945095427639898844063]) + +assert(model.checkPythonDump) -- 2.39.2