From 49c7c031c0715dd124b9feb3f4d2fb3356abba44 Mon Sep 17 00:00:00 2001 From: dbv Date: Thu, 30 Mar 2017 18:35:01 +0300 Subject: [PATCH] Updated clothespin model. --- test.models/clothespin.py | 1024 +++++++++++++++++++++++++++++++++++-- 1 file changed, 984 insertions(+), 40 deletions(-) diff --git a/test.models/clothespin.py b/test.models/clothespin.py index 13a6de750..2e14ae35c 100644 --- a/test.models/clothespin.py +++ b/test.models/clothespin.py @@ -3,6 +3,7 @@ from salome.shaper import model model.begin() partSet = model.moduleDocument() Part_1 = model.addPart(partSet) +Part_1.result().setColor(255, 85, 0) 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) @@ -165,7 +166,7 @@ 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 = Sketch_3.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_5&Extrusion_1_1/Generated_Face_4")) SketchLine_22.setName("SketchLine_24") SketchLine_22.result().setName("SketchLine_24") SketchConstraintCoincidence_27 = Sketch_3.setCoincident(SketchLine_21.startPoint(), SketchLine_22.result()) @@ -276,7 +277,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, -6) +SketchPoint_4 = Sketch_3.addPoint(16.50014787857639, -5.999999999999999) SketchPoint_4.setAuxiliary(True) SketchConstraintCoincidence_51 = Sketch_3.setCoincident(SketchPoint_4.coordinates(), SketchLine_34.result()) SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_55") @@ -339,6 +340,8 @@ SketchLine_46.setName("SketchLine_49") SketchLine_46.result().setName("SketchLine_49") SketchLine_45.setName("SketchLine_48") SketchLine_45.result().setName("SketchLine_48") +SketchLine_44.setName("SketchLine_46") +SketchLine_44.result().setName("SketchLine_46") SketchLine_43.setName("SketchLine_47") SketchLine_43.result().setName("SketchLine_47") SketchLine_42.setName("SketchLine_46") @@ -443,33 +446,31 @@ 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 = Sketch_7.addLine(50.25000000000001, -4.5, 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 = Sketch_7.addLine(51.00000000000001, -6.749999999999998, 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 = Sketch_7.addLine(31, -4.750000022881151, 31, -7.249999999972618) 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 = Sketch_7.addLine(31.25000000003855, -7.5, 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 = Sketch_7.addLine(51, -4.5, 31, -4.5) +SketchLine_68.setName("SketchLine_66") +SketchLine_68.result().setName("SketchLine_66") SketchLine_68.setAuxiliary(True) -SketchConstraintCoincidence_74 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchLine_69.startPoint()) +SketchLine_69 = Sketch_7.addLine(51, -7.5, 51, -4.5) +SketchLine_69.setAuxiliary(True) +SketchConstraintCoincidence_74 = Sketch_7.setCoincident(SketchLine_69.endPoint(), SketchLine_68.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 = Sketch_7.setCoincident(SketchLine_68.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") @@ -477,14 +478,14 @@ 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 = Sketch_7.setCoincident(SketchLine_71.endPoint(), SketchLine_69.startPoint()) SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_81") -SketchConstraintHorizontal_12 = Sketch_7.setHorizontal(SketchLine_69.result()) +SketchConstraintHorizontal_12 = Sketch_7.setHorizontal(SketchLine_68.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()) +SketchConstraintVertical_13 = Sketch_7.setVertical(SketchLine_69.result()) SketchLine_72 = Sketch_7.addLine(31, -7.5, 51, -4.5) SketchLine_72.setName("SketchLine_70") SketchLine_72.result().setName("SketchLine_70") @@ -494,16 +495,16 @@ 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 = Sketch_7.setCoincident(SketchLine_68.startPoint(), SketchPoint_8.coordinates()) SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_84") -SketchConstraintCoincidence_81 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchPoint_8.coordinates()) +SketchConstraintCoincidence_81 = Sketch_7.setCoincident(SketchLine_69.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 = Sketch_7.addPoint(21.00014787857639, -5.999999999999999) SketchPoint_10.setAuxiliary(True) SketchLine_73 = Sketch_7.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) SketchLine_73.setName("SketchLine_71") @@ -523,24 +524,24 @@ SketchConstraintCoincidence_85 = Sketch_7.setCoincident(SketchPoint_9.coordinate 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 = Sketch_7.setCoincident(SketchLine_72.endPoint(), SketchLine_68.startPoint()) SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_90") -SketchConstraintLength_12 = Sketch_7.setLength(SketchLine_68.result(), 3) +SketchConstraintLength_12 = Sketch_7.setLength(SketchLine_69.result(), 3) SketchConstraintLength_12.setName("SketchConstraintLength_13") -SketchConstraintLength_13 = Sketch_7.setLength(SketchLine_69.result(), 20) +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) 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) +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) 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 = Sketch_7.addLine(50.25000000000001, -4.5, 31, -4.5) SketchLine_76.setName("SketchLine_73") SketchLine_76.result().setName("SketchLine_73") SketchLine_76.setAuxiliary(True) @@ -548,13 +549,13 @@ SketchConstraintCoincidence_88 = Sketch_7.setCoincident(SketchArc_14.endPoint(), 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 = Sketch_7.setCoincident(SketchLine_68.endPoint(), SketchLine_76.endPoint()) SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_93") -SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_68.startPoint(), SketchLine_75.startPoint()) +SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_69.startPoint(), SketchLine_75.startPoint()) SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_94") -SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_76.startPoint(), SketchLine_69.result()) +SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_76.startPoint(), SketchLine_68.result()) SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_95") -SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_75.endPoint(), SketchLine_68.result()) +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) SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchArc_15.startPoint(), SketchLine_64.endPoint()) @@ -575,7 +576,7 @@ 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.750000215087569, False) +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) SketchLine_78.setName("SketchLine_77") SketchLine_78.result().setName("SketchLine_77") @@ -594,7 +595,7 @@ 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.00000000000001, -7.249995609843254, 31.25000370007456, -7.499999999999999, False) +SketchArc_17 = Sketch_7.addArc(31.25000000000003, -7.250000000000001, 31, -7.249999999972618, 31.25000000003855, -7.5, 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()) @@ -933,16 +934,959 @@ SketchConstraintDistance_17 = Sketch_10.setDistance(SketchLine_105.result(), Ske 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() +Part_2 = model.addPart(partSet) +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()) +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") +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") +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") +SketchLine_111 = Sketch_11.addLine(28, 7.5, 28, 8) +SketchLine_111.setName("SketchLine_7") +SketchLine_111.result().setName("SketchLine_7") +SketchArc_24 = Sketch_11.addArc(25.00007393928819, 7.9789374678129, 28, 8, 22.00014787857639, 8, False) +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") +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) +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) +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") +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") +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()) +SketchConstraintHorizontal_24 = Sketch_11.setHorizontal(SketchLine_109.result()) +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") +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) +SketchConstraintLength_19 = Sketch_11.setLength(SketchLine_116.result(), 2.5) +SketchConstraintRadius_12 = 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) +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) +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") +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) +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") +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") +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.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) +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") +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) +SketchLine_121 = Sketch_12.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_13&Extrusion_1_1/Generated_Face_1")) +SketchLine_121.setName("SketchLine_17") +SketchLine_121.result().setName("SketchLine_17") +SketchConstraintDistance_25 = Sketch_12.setDistance(SketchArc_26.startPoint(), SketchLine_121.result(), 6) +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") +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") +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") +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) +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") +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_4")) +SketchLine_127 = Sketch_13.addLine(28, -6, -4.270492394552598, -6.000000000000001) +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_5&Extrusion_1_1/Generated_Face_4")) +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") +SketchConstraintHorizontal_27 = Sketch_13.setHorizontal(SketchLine_127.result()) +SketchLine_129 = Sketch_13.addLine(28, -6, 63.78468475453244, -6.000000000000001) +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") +SketchConstraintHorizontal_28 = Sketch_13.setHorizontal(SketchLine_129.result()) +SketchLine_130 = Sketch_13.addLine(60, -1.500000000000001, 29, -1.500000000000001) +SketchLine_130.setName("SketchLine_26") +SketchLine_130.result().setName("SketchLine_26") +SketchLine_131 = Sketch_13.addLine(29, -1.500000000000001, 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.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") +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.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) +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) +SketchPoint_27.setAuxiliary(True) +SketchConstraintCoincidence_214 = Sketch_13.setCoincident(SketchPoint_27.coordinates(), SketchLine_135.result()) +SketchConstraintCoincidence_214.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) +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.setName("SketchLine_32") +SketchLine_136.result().setName("SketchLine_32") +SketchLine_137 = Sketch_13.addLine(12.00014787857639, -1.499999999999999, 12.00014787857639, -10.5) +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.setName("SketchLine_34") +SketchLine_138.result().setName("SketchLine_34") +SketchLine_139 = Sketch_13.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +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") +SketchConstraintHorizontal_31 = Sketch_13.setHorizontal(SketchLine_136.result()) +SketchConstraintHorizontal_31.setName("SketchConstraintHorizontal_10") +SketchConstraintVertical_27 = Sketch_13.setVertical(SketchLine_137.result()) +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.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) +SketchPoint_28.setAuxiliary(True) +SketchConstraintCoincidence_224 = Sketch_13.setCoincident(SketchPoint_28.coordinates(), SketchLine_140.result()) +SketchConstraintCoincidence_224.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") +SketchLine_141 = Sketch_13.addLine(model.selection("EDGE", "Extrusion_1_1/Generated_Face_4&ExtrusionCut_1_1/Modfied_4")) +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") +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_9&Extrusion_1_1/Generated_Face_8")) +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") +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_3"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_1_1")]) +Sketch_14 = model.addSketch(Part_2_doc, model.selection("FACE", "ExtrusionCut_1_1/Modfied_1")) +SketchLine_143 = Sketch_14.addLine(0.4324637622511017, 3.581086955422081, 1.55585595716119, 2.812450190483599) +SketchLine_143.setName("SketchLine_39") +SketchLine_143.result().setName("SketchLine_39") +SketchLine_144 = Sketch_14.addLine(model.selection("EDGE", "ExtrusionCut_1_1/Modfied_1&Extrusion_1_1/Generated_Face_11")) +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") +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") +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") +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) +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() +SketchLine_155.setName("SketchLine_51") +SketchLine_155.result().setName("SketchLine_51") +SketchLine_154.setName("SketchLine_50") +SketchLine_154.result().setName("SketchLine_50") +SketchLine_153.setName("SketchLine_45") +SketchLine_153.result().setName("SketchLine_45") +SketchLine_152.setName("SketchLine_49") +SketchLine_152.result().setName("SketchLine_49") +SketchLine_151.setName("SketchLine_48") +SketchLine_151.result().setName("SketchLine_48") +SketchLine_150.setName("SketchLine_46") +SketchLine_150.result().setName("SketchLine_46") +SketchLine_149.setName("SketchLine_47") +SketchLine_149.result().setName("SketchLine_47") +SketchLine_148.setName("SketchLine_46") +SketchLine_148.result().setName("SketchLine_46") +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_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_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) +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") +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) +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) +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") +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") +SketchConstraintVertical_29 = Sketch_15.setVertical(SketchLine_156.result()) +SketchConstraintVertical_30 = Sketch_15.setVertical(SketchLine_158.result()) +SketchConstraintHorizontal_33 = Sketch_15.setHorizontal(SketchLine_157.result()) +SketchConstraintHorizontal_33.setName("SketchConstraintHorizontal_12") +model.do() +Plane_10 = model.addPlane(Part_2_doc, model.selection("FACE", "ExtrusionCut_3_1/Modfied_3"), 6, True) +Plane_11 = model.addPlane(Part_2_doc, model.selection("FACE", "Plane_2"), 3, True) +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) +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) +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) +SketchLine_161.setName("SketchLine_57") +SketchLine_161.result().setName("SketchLine_57") +SketchConstraintDistance_28 = Sketch_16.setDistance(SketchArc_28.center(), SketchLine_161.result(), 46) +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) +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") +SketchLine_169.result().setName("SketchLine_65") +SketchLine_168.setName("SketchLine_64") +SketchLine_168.result().setName("SketchLine_64") +SketchLine_167.setName("SketchLine_63") +SketchLine_167.result().setName("SketchLine_63") +SketchLine_166.setName("SketchLine_62") +SketchLine_166.result().setName("SketchLine_62") +SketchLine_165.setName("SketchLine_61") +SketchLine_165.result().setName("SketchLine_61") +SketchLine_164.setName("SketchLine_60") +SketchLine_164.result().setName("SketchLine_60") +SketchLine_163.setName("SketchLine_59") +SketchLine_163.result().setName("SketchLine_59") +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_12")) +SketchLine_170 = Sketch_17.addLine(50.25000000000001, -4.5, 31.24999999998802, -4.499999999999997) +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.setName("SketchLine_78") +SketchLine_171.result().setName("SketchLine_78") +SketchLine_172 = Sketch_17.addLine(31, -4.750000022881151, 31, -7.249999999972618) +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.setName("SketchLine_79") +SketchLine_173.result().setName("SketchLine_79") +SketchLine_174 = Sketch_17.addLine(51, -4.5, 31, -4.5) +SketchLine_174.setName("SketchLine_66") +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") +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") +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") +SketchConstraintHorizontal_34 = Sketch_17.setHorizontal(SketchLine_174.result()) +SketchConstraintHorizontal_34.setName("SketchConstraintHorizontal_13") +SketchConstraintVertical_31 = Sketch_17.setVertical(SketchLine_176.result()) +SketchConstraintHorizontal_35 = Sketch_17.setHorizontal(SketchLine_177.result()) +SketchConstraintHorizontal_35.setName("SketchConstraintHorizontal_14") +SketchConstraintVertical_32 = Sketch_17.setVertical(SketchLine_175.result()) +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") +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") +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") +SketchConstraintMiddle_11 = Sketch_17.setMiddlePoint(SketchLine_178.result(), SketchPoint_33.coordinates()) +SketchPoint_34 = Sketch_17.addPoint(21.00014787857639, -5.999999999999999) +SketchPoint_34.setAuxiliary(True) +SketchLine_179 = Sketch_17.addLine(21.00014787857639, -10.5, 21.00014787857639, -1.499999999999999) +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") +SketchConstraintMiddle_12 = Sketch_17.setMiddlePoint(SketchPoint_34.coordinates(), SketchLine_179.result()) +SketchLine_180 = Sketch_17.addLine(21.00014787857639, -6, 41, -5.999999999999999) +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") +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") +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) +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) +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) +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) +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) +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) +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_17")) +SketchPoint_36 = Sketch_18.addPoint(53.99994409538203, -1.615587133892632e-027) +SketchPoint_37 = Sketch_18.addPoint(53.99994409538203, -1.615587133892632e-027) +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") +SketchPoint_38 = Sketch_18.addPoint(54, 12) +SketchLine_185 = Sketch_18.addLine(54, 12, 53.99994409538203, -1.615587133892632e-027) +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) +SketchPoint_41 = Sketch_18.addPoint(54, 12) +SketchConstraintCoincidence_290 = Sketch_18.setCoincident(SketchPoint_38.coordinates(), SketchPoint_41.coordinates()) +SketchConstraintCoincidence_290.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.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) +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) +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") +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") +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) +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) +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") +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) +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) +SketchConstraintMiddle_13 = Sketch_18.setMiddlePoint(SketchPoint_42.coordinates(), SketchLine_193.result()) +SketchPoint_43 = Sketch_18.addPoint(0, 6) +SketchPoint_43.setAuxiliary(True) +SketchLine_194 = Sketch_18.addLine(0, 0, 0, 12) +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") +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") +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) +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) +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) +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") +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.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) +SketchPoint_45.setAuxiliary(True) +SketchConstraintCoincidence_313 = Sketch_18.setCoincident(SketchPoint_45.coordinates(), SketchLine_199.result()) +SketchConstraintCoincidence_313.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") +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_56")) +SketchLine_200 = Sketch_19.addLine(21.00014787857639, 4.163450069699051, 21.00014787857639, 0) +SketchLine_200.setName("SketchLine_107") +SketchLine_200.result().setName("SketchLine_107") +SketchLine_201 = Sketch_19.addLine(29, 5, 21.00014787857639, 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.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.setName("SketchLine_100") +SketchLine_202.result().setName("SketchLine_100") +SketchLine_203 = Sketch_19.addLine(29, 0, 29, 4.163450069699049) +SketchLine_203.setName("SketchLine_108") +SketchLine_203.result().setName("SketchLine_108") +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) +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") +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") +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") +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.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") +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.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) +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") +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") +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") +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") +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) +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_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") +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) +SketchPoint_48 = Sketch_20.addPoint(0, 6) +SketchPoint_48.setAuxiliary(True) +SketchLine_211 = Sketch_20.addLine(0, 0, 0, 12) +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") +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") +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) +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() +Rotation_1 = model.addRotation(partSet, [model.selection("COMPOUND", "Part_2/")], model.selection("EDGE", "Part_1/ExtrusionCut_9_1/Modfied_1&ExtrusionCut_7_1/Modfied_57"), 180) +Placement_1 = model.addPlacement(partSet, [model.selection("COMPOUND", "Rotation_1/")], model.selection("FACE", "Rotation_1/ExtrusionCut_5_1/Modfied_1"), model.selection("FACE", "Part_1/ExtrusionCut_5_1/Modfied_1"), False, True) +Rotation_2 = model.addRotation(partSet, [model.selection("COMPOUND", "Placement_1/")], model.selection("EDGE", "Part_1/ExtrusionCut_5_1/Modfied_8&ExtrusionCut_8_1/Modfied_3"), 7) +Rotation_2.result().setColor(255, 85, 0) 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]) +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.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]) -assert(model.checkPythonDump) +assert(model.checkPythonDump()) -- 2.39.2