From 9ed2f8c3c0e7b24703175e5563ab8fa18b74c264 Mon Sep 17 00:00:00 2001 From: dbv Date: Thu, 6 Apr 2017 13:54:18 +0300 Subject: [PATCH] Updated model. --- test.models/angle30.py | 588 ++++++++++++++++++++--------------------- 1 file changed, 293 insertions(+), 295 deletions(-) diff --git a/test.models/angle30.py b/test.models/angle30.py index ffd838e9e..1339a236b 100644 --- a/test.models/angle30.py +++ b/test.models/angle30.py @@ -4,11 +4,12 @@ model.begin() partSet = model.moduleDocument() Part_1 = model.addPart(partSet) Part_1_doc = Part_1.document() +Parameter_H = model.addParameter(Part_1_doc, "H", "6") Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ")) -SketchLine_1 = Sketch_1.addLine(50, 70, 50, 9.237629881196027) +SketchLine_1 = Sketch_1.addLine(50, 70, 50, 9.237604307034024) SketchLine_1.setName("SketchLine_10") SketchLine_1.result().setName("SketchLine_10") -SketchLine_2 = Sketch_1.addLine(41.99999565114199, -4.618804664331344, -53.92304845413265, -59.99999999999996) +SketchLine_2 = Sketch_1.addLine(42, -4.618802153516998, -53.92304845413265, -59.99999999999996) SketchLine_2.setName("SketchLine_11") SketchLine_2.result().setName("SketchLine_11") SketchLine_3 = Sketch_1.addLine(50, 70, 50, 0) @@ -20,14 +21,14 @@ SketchLine_4.setName("SketchLine_2") SketchLine_4.result().setName("SketchLine_2") SketchLine_4.setAuxiliary(True) SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_4.startPoint()) -SketchLine_5 = Sketch_1.addLine(44, 9.237575007509296, 44, 70) +SketchLine_5 = Sketch_1.addLine(44, 9.237604307034236, 44, 70) SketchLine_5.setName("SketchLine_8") SketchLine_5.result().setName("SketchLine_8") SketchLine_6 = Sketch_1.addLine(-53.92304845413265, -59.99999999999996, -56.92304845413265, -54.80384757729332) SketchLine_6.setName("SketchLine_3") SketchLine_6.result().setName("SketchLine_3") SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_6.startPoint()) -SketchLine_7 = Sketch_1.addLine(-56.92304845413265, -54.80384757729332, 39.00000555191657, 0.5773534745901636) +SketchLine_7 = Sketch_1.addLine(-56.92304845413265, -54.80384757729332, 39.00000000000029, 0.5773502691898111) SketchLine_7.setName("SketchLine_9") SketchLine_7.result().setName("SketchLine_9") SketchLine_8 = Sketch_1.addLine(-56.92304845413265, -54.80384757729332, 44, 3.464101615137769) @@ -48,12 +49,12 @@ SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchLine_3.startPoint() SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_3.result()) SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_9.result()) SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_10.result()) -SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_3.startPoint(), SketchLine_9.result(), 6) +SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_3.startPoint(), SketchLine_9.result(), "H") SketchLine_11 = Sketch_1.addLine(model.selection("EDGE", "PartSet/OZ")) SketchLine_11.setName("SketchLine_7") SketchLine_11.result().setName("SketchLine_7") SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_3.startPoint(), SketchLine_11.result(), 50) -SketchArc_1 = Sketch_1.addArc(34, 9.23760430703403, 39.00000555191657, 0.5773534745901636, 44, 9.237575007509296, False) +SketchArc_1 = Sketch_1.addArc(34, 9.237604307034236, 39.00000000000029, 0.5773502691898111, 44, 9.237604307034236, False) SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchArc_1.startPoint(), SketchLine_7.endPoint()) SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_5.startPoint()) SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_5.result()) @@ -62,7 +63,7 @@ SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_9.endPoint(), SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_8.startPoint(), SketchLine_7.startPoint()) SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchLine_5.startPoint(), SketchLine_9.result()) SketchConstraintCoincidence_12 = Sketch_1.setCoincident(SketchLine_7.endPoint(), SketchLine_8.result()) -SketchArc_2 = Sketch_1.addArc(34, 9.237604307034017, 41.99999565114199, -4.618804664331344, 50, 9.237629881196027, False) +SketchArc_2 = Sketch_1.addArc(34, 9.237604307034022, 42, -4.618802153516998, 50, 9.237604307034024, False) SketchConstraintCoincidence_13 = Sketch_1.setCoincident(SketchArc_2.startPoint(), SketchLine_2.startPoint()) SketchConstraintCoincidence_14 = Sketch_1.setCoincident(SketchArc_2.endPoint(), SketchLine_1.endPoint()) SketchConstraintTangent_3 = Sketch_1.setTangent(SketchArc_2.results()[1], SketchLine_1.result()) @@ -75,7 +76,7 @@ SketchConstraintDistance_3 = Sketch_1.setDistance(SketchLine_1.startPoint(), Ske SketchConstraintPerpendicular_1 = Sketch_1.setPerpendicular(SketchLine_2.result(), SketchLine_6.result()) SketchConstraintDistance_4 = Sketch_1.setDistance(SketchLine_6.endPoint(), SketchLine_2.result(), 6) SketchConstraintParallel_1 = Sketch_1.setParallel(SketchLine_2.result(), SketchLine_7.result()) -SketchConstraintAngle_1 = Sketch_1.setAngle(SketchLine_1.result(), SketchLine_2.result(), 120) +SketchConstraintAngle_1 = Sketch_1.setAngle(SketchLine_1.result(), SketchLine_2.result(), 119.9999999999999) SketchConstraintDistance_5 = Sketch_1.setDistance(SketchLine_4.startPoint(), SketchLine_6.startPoint(), 120) SketchLine_12 = Sketch_1.addLine(model.selection("EDGE", "PartSet/OY")) SketchConstraintCoincidence_19 = Sketch_1.setCoincident(SketchLine_4.startPoint(), SketchLine_12.result()) @@ -121,60 +122,60 @@ Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_2/ Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "Sketch_3")], model.selection(), 22, 22) Boolean_1 = model.addCommon(Part_1_doc, [model.selection("SOLID", "Extrusion_1_1")], [model.selection("SOLID", "Extrusion_2_1")]) Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/XOY")) -SketchLine_20 = Sketch_4.addLine(-4, 37.99998118249049, -4, 21.27189364217905) +SketchLine_20 = Sketch_4.addLine(-4, 38.00000000000001, -4, 21.26617031813674) SketchLine_20.setName("SketchLine_36") SketchLine_20.result().setName("SketchLine_36") -SketchArc_3 = Sketch_4.addArc(0.03759597704170694, 0.09256566148481651, -8.5, 15.29705854077836, -7.430380313394083, 15.84999181264236, True) +SketchArc_3 = Sketch_4.addArc(0, 0, -8.5, 15.2970585407786, -7.446808510638298, 15.83650981137842, True) SketchArc_3.setName("SketchArc_6") SketchArc_3.result().setName("SketchArc_6") SketchArc_3.results()[1].setName("SketchArc_6_2") -SketchArc_4 = Sketch_4.addArc(-0.08847833993119963, -0.2092058473112947, 7.448738798736517, 15.83437708398516, 8.5, 15.29705854077835, True) +SketchArc_4 = Sketch_4.addArc(0, 0, 7.446808510638299, 15.83650981137842, 8.5, 15.29705854077835, True) SketchArc_4.setName("SketchArc_8") SketchArc_4.result().setName("SketchArc_8") SketchArc_4.results()[1].setName("SketchArc_8_2") -SketchLine_21 = Sketch_4.addLine(4, 21.26494484096588, 4, 37.99999998819019) +SketchLine_21 = Sketch_4.addLine(4, 21.26617031813674, 4, 37.99999998819019) SketchLine_21.setName("SketchLine_38") SketchLine_21.result().setName("SketchLine_38") -SketchLine_22 = Sketch_4.addLine(-8.5, 15.29705854077836, -8.5, 12.23281708580693) -SketchLine_23 = Sketch_4.addLine(-10.1, 44, -9.999976547916727, 44) +SketchLine_22 = Sketch_4.addLine(-8.5, 15.2970585407786, -8.499999999999998, 12) +SketchLine_23 = Sketch_4.addLine(-10.1, 44.00000000000001, -9.999999999999854, 44.00000000000001) SketchLine_23.setName("SketchLine_37") SketchLine_23.result().setName("SketchLine_37") -SketchLine_24 = Sketch_4.addLine(9.999996841999446, 44, 10.1, 44) +SketchLine_24 = Sketch_4.addLine(9.99999999990029, 43.99999998819102, 10.1, 44) SketchLine_24.setName("SketchLine_39") SketchLine_24.result().setName("SketchLine_39") -SketchLine_25 = Sketch_4.addLine(8.5, 12.23281708580693, 8.5, 15.29705854077835) +SketchLine_25 = Sketch_4.addLine(8.5, 12, 8.5, 15.29705854077835) SketchLine_25.setName("SketchLine_24") SketchLine_25.result().setName("SketchLine_24") -SketchLine_27 = Sketch_4.addLine(4, 44.00000000000001, 10.1, 44) -SketchLine_27.setAuxiliary(True) -SketchLine_26 = Sketch_4.addLine(4, 17.03870823911452, 4, 44.00000000000001) +SketchLine_26 = Sketch_4.addLine(4, 44.00000000000001, 10.1, 44) SketchLine_26.setAuxiliary(True) -SketchConstraintCoincidence_27 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_27.startPoint()) +SketchLine_27 = Sketch_4.addLine(4, 17.03672503740084, 4, 44.00000000000001) +SketchLine_27.setAuxiliary(True) +SketchConstraintCoincidence_27 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_26.startPoint()) SketchConstraintCoincidence_27.setName("SketchConstraintCoincidence_33") SketchLine_28 = Sketch_4.addLine(10.1, 44, 10.1, 45.00000000000001) -SketchConstraintCoincidence_28 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_28.startPoint()) +SketchConstraintCoincidence_28 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_28.startPoint()) SketchConstraintCoincidence_28.setName("SketchConstraintCoincidence_34") SketchLine_29 = Sketch_4.addLine(10.1, 45.00000000000001, -10.1, 45) SketchConstraintCoincidence_29 = Sketch_4.setCoincident(SketchLine_28.endPoint(), SketchLine_29.startPoint()) SketchConstraintCoincidence_29.setName("SketchConstraintCoincidence_35") -SketchLine_30 = Sketch_4.addLine(-10.1, 45, -10.1, 44) +SketchLine_30 = Sketch_4.addLine(-10.1, 45, -10.1, 44.00000000000001) SketchConstraintCoincidence_30 = Sketch_4.setCoincident(SketchLine_29.endPoint(), SketchLine_30.startPoint()) SketchConstraintCoincidence_30.setName("SketchConstraintCoincidence_36") -SketchLine_31 = Sketch_4.addLine(-10.1, 44, -4, 44.00000000000001) +SketchLine_31 = Sketch_4.addLine(-10.1, 44.00000000000001, -4, 44.00000000000001) SketchLine_31.setAuxiliary(True) SketchConstraintCoincidence_31 = Sketch_4.setCoincident(SketchLine_30.endPoint(), SketchLine_31.startPoint()) SketchConstraintCoincidence_31.setName("SketchConstraintCoincidence_37") -SketchLine_32 = Sketch_4.addLine(-4, 44.00000000000001, -4, 17.05620228544792) +SketchLine_32 = Sketch_4.addLine(-4, 44.00000000000001, -4.000000000000001, 17.03672503740078) SketchLine_32.setName("SketchLine_20") SketchLine_32.result().setName("SketchLine_20") SketchLine_32.setAuxiliary(True) SketchConstraintCoincidence_32 = Sketch_4.setCoincident(SketchLine_32.startPoint(), SketchLine_31.endPoint()) SketchConstraintCoincidence_32.setName("SketchConstraintCoincidence_38") SketchConstraintVertical_5 = Sketch_4.setVertical(SketchLine_32.result()) -SketchConstraintVertical_6 = Sketch_4.setVertical(SketchLine_26.result()) +SketchConstraintVertical_6 = Sketch_4.setVertical(SketchLine_27.result()) SketchConstraintHorizontal_3 = Sketch_4.setHorizontal(SketchLine_29.result()) SketchConstraintHorizontal_4 = Sketch_4.setHorizontal(SketchLine_31.result()) -SketchConstraintHorizontal_5 = Sketch_4.setHorizontal(SketchLine_27.result()) +SketchConstraintHorizontal_5 = Sketch_4.setHorizontal(SketchLine_26.result()) SketchConstraintVertical_7 = Sketch_4.setVertical(SketchLine_30.result()) SketchConstraintVertical_8 = Sketch_4.setVertical(SketchLine_28.result()) SketchConstraintVertical_9 = Sketch_4.setVertical(SketchLine_25.result()) @@ -184,41 +185,41 @@ SketchLine_33.setName("SketchLine_32") SketchLine_33.result().setName("SketchLine_32") SketchConstraintDistance_10 = Sketch_4.setDistance(SketchLine_22.startPoint(), SketchLine_32.result(), 4.5) SketchConstraintDistance_10.setName("SketchConstraintDistance_13") -SketchLine_34 = Sketch_4.addLine(-8.5, 12.23281708580693, 8.5, 12.23281708580693) +SketchLine_34 = Sketch_4.addLine(-8.499999999999998, 12, 8.5, 12) SketchLine_34.setName("SketchLine_33") SketchLine_34.result().setName("SketchLine_33") SketchConstraintCoincidence_33 = Sketch_4.setCoincident(SketchLine_22.endPoint(), SketchLine_34.startPoint()) SketchConstraintCoincidence_33.setName("SketchConstraintCoincidence_39") SketchConstraintHorizontal_6 = Sketch_4.setHorizontal(SketchLine_34.result()) -SketchPoint_3 = Sketch_4.addPoint(model.selection("VERTEX", "PartSet/Origin")) -SketchArc_5 = Sketch_4.addArc(0.0375959770412408, 0.09256566148573138, -8.5, 15.29705854077836, -4, 17.05620228544792, True) +SketchPoint_2 = Sketch_4.addPoint(model.selection("VERTEX", "PartSet/Origin")) +SketchArc_5 = Sketch_4.addArc(-1.190531714553335e-011, 2.149585003540736e-011, -8.5, 15.2970585407786, -4.000000000000001, 17.03672503740078, True) SketchArc_5.setName("SketchArc_4") SketchArc_5.result().setName("SketchArc_4") SketchArc_5.results()[1].setName("SketchArc_4_2") SketchArc_5.setAuxiliary(True) SketchConstraintCoincidence_34 = Sketch_4.setCoincident(SketchLine_22.startPoint(), SketchArc_5.startPoint()) SketchConstraintCoincidence_34.setName("SketchConstraintCoincidence_41") -SketchArc_6 = Sketch_4.addArc(-0.08847833993497614, -0.2092058473187996, 4, 17.03870823911452, 8.5, 15.29705854077835, True) +SketchArc_6 = Sketch_4.addArc(-2.234785556504386e-013, -4.022299956989981e-013, 4, 17.03672503740084, 8.5, 15.29705854077835, True) SketchArc_6.setName("SketchArc_5") SketchArc_6.result().setName("SketchArc_5") SketchArc_6.results()[1].setName("SketchArc_5_2") SketchArc_6.setAuxiliary(True) SketchConstraintCoincidence_35 = Sketch_4.setCoincident(SketchLine_25.endPoint(), SketchArc_6.endPoint()) SketchConstraintCoincidence_35.setName("SketchConstraintCoincidence_42") -SketchPoint_4 = Sketch_4.addPoint(-4, 17.05620228544792) -SketchPoint_5 = Sketch_4.addPoint(4, 17.03870823911452) -SketchConstraintCoincidence_36 = Sketch_4.setCoincident(SketchArc_5.endPoint(), SketchPoint_4.coordinates()) +SketchPoint_3 = Sketch_4.addPoint(-4.000000000000001, 17.03672503740078) +SketchPoint_4 = Sketch_4.addPoint(4, 17.03672503740084) +SketchConstraintCoincidence_36 = Sketch_4.setCoincident(SketchArc_5.endPoint(), SketchPoint_3.coordinates()) SketchConstraintCoincidence_36.setName("SketchConstraintCoincidence_46") -SketchConstraintCoincidence_37 = Sketch_4.setCoincident(SketchArc_6.startPoint(), SketchPoint_5.coordinates()) +SketchConstraintCoincidence_37 = Sketch_4.setCoincident(SketchArc_6.startPoint(), SketchPoint_4.coordinates()) SketchConstraintCoincidence_37.setName("SketchConstraintCoincidence_48") SketchConstraintCoincidence_38 = Sketch_4.setCoincident(SketchArc_5.endPoint(), SketchLine_32.endPoint()) SketchConstraintCoincidence_38.setName("SketchConstraintCoincidence_40") -SketchConstraintCoincidence_39 = Sketch_4.setCoincident(SketchPoint_5.coordinates(), SketchLine_26.startPoint()) +SketchConstraintCoincidence_39 = Sketch_4.setCoincident(SketchPoint_4.coordinates(), SketchLine_27.startPoint()) SketchConstraintCoincidence_39.setName("SketchConstraintCoincidence_43") -SketchArc_7 = Sketch_4.addArc(-10, 21.27189688984679, -7.430380313394083, 15.84999181264236, -4, 21.27189364217905, False) +SketchArc_7 = Sketch_4.addArc(-10, 21.26617031813674, -7.446808510638298, 15.83650981137842, -4, 21.26617031813674, False) SketchConstraintCoincidence_40 = Sketch_4.setCoincident(SketchArc_7.startPoint(), SketchArc_3.endPoint()) SketchConstraintCoincidence_40.setName("SketchConstraintCoincidence_44") -SketchLine_35 = Sketch_4.addLine(-4, 44.00000000000001, -4, 21.27189364217905) +SketchLine_35 = Sketch_4.addLine(-4, 44.00000000000001, -4, 21.26617031813674) SketchLine_35.setName("SketchLine_34") SketchLine_35.result().setName("SketchLine_34") SketchLine_35.setAuxiliary(True) @@ -235,11 +236,11 @@ SketchConstraintCoincidence_44 = Sketch_4.setCoincident(SketchLine_35.endPoint() SketchConstraintCoincidence_44.setName("SketchConstraintCoincidence_50") SketchConstraintCoincidence_45 = Sketch_4.setCoincident(SketchArc_3.endPoint(), SketchArc_5.results()[1]) SketchConstraintCoincidence_45.setName("SketchConstraintCoincidence_51") -SketchArc_8 = Sketch_4.addArc(10, 21.26494485199291, 4, 21.26494484096588, 7.448738798736517, 15.83437708398516, False) +SketchArc_8 = Sketch_4.addArc(10, 21.26617031813674, 4, 21.26617031813674, 7.446808510638299, 15.83650981137842, False) SketchArc_8.setName("SketchArc_9") SketchArc_8.result().setName("SketchArc_9") SketchArc_8.results()[1].setName("SketchArc_9_2") -SketchLine_36 = Sketch_4.addLine(4, 21.26494484096588, 4, 44.00000000000001) +SketchLine_36 = Sketch_4.addLine(4, 21.26617031813674, 4, 44.00000000000001) SketchLine_36.setName("SketchLine_35") SketchLine_36.result().setName("SketchLine_35") SketchLine_36.setAuxiliary(True) @@ -251,12 +252,12 @@ SketchConstraintTangent_8 = Sketch_4.setTangent(SketchArc_8.results()[1], Sketch SketchConstraintTangent_9 = Sketch_4.setTangent(SketchArc_8.results()[1], SketchLine_36.result()) SketchConstraintCoincidence_48 = Sketch_4.setCoincident(SketchArc_6.endPoint(), SketchArc_4.endPoint()) SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_54") -SketchConstraintCoincidence_49 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_36.endPoint()) +SketchConstraintCoincidence_49 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_36.endPoint()) SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_55") SketchConstraintTangent_10 = Sketch_4.setTangent(SketchArc_6.results()[1], SketchArc_4.results()[1]) SketchConstraintCoincidence_50 = Sketch_4.setCoincident(SketchArc_4.startPoint(), SketchArc_6.results()[1]) SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_56") -SketchConstraintCoincidence_51 = Sketch_4.setCoincident(SketchLine_36.startPoint(), SketchLine_26.result()) +SketchConstraintCoincidence_51 = Sketch_4.setCoincident(SketchLine_36.startPoint(), SketchLine_27.result()) SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_57") SketchConstraintCoincidence_52 = Sketch_4.setCoincident(SketchLine_25.startPoint(), SketchLine_34.endPoint()) SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_58") @@ -271,7 +272,7 @@ SketchConstraintDistance_11 = Sketch_4.setDistance(SketchLine_25.endPoint(), Ske SketchConstraintDistance_12 = Sketch_4.setDistance(SketchArc_8.startPoint(), SketchLine_33.result(), 4) SketchConstraintDistance_13 = Sketch_4.setDistance(SketchArc_7.endPoint(), SketchLine_33.result(), 4) SketchConstraintDistance_13.setName("SketchConstraintDistance_14") -SketchArc_9 = Sketch_4.addArc(-10, 37.99999999999999, -4, 37.99998118249049, -9.999976547916727, 44, False) +SketchArc_9 = Sketch_4.addArc(-10, 38.00000000000001, -4, 38.00000000000001, -9.999999999999854, 44.00000000000001, False) SketchArc_9.setName("SketchArc_10") SketchArc_9.result().setName("SketchArc_10") SketchArc_9.results()[1].setName("SketchArc_10_2") @@ -289,7 +290,7 @@ SketchConstraintCoincidence_59 = Sketch_4.setCoincident(SketchLine_20.startPoint SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_65") SketchConstraintCoincidence_60 = Sketch_4.setCoincident(SketchLine_23.endPoint(), SketchLine_31.result()) SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_66") -SketchArc_10 = Sketch_4.addArc(10, 37.99999999999996, 9.999996841999446, 44, 4, 37.99999998819019, False) +SketchArc_10 = Sketch_4.addArc(10, 37.99999999999996, 9.99999999990029, 43.99999998819102, 4, 37.99999998819019, False) SketchArc_10.setName("SketchArc_11") SketchArc_10.result().setName("SketchArc_11") SketchArc_10.results()[1].setName("SketchArc_11_2") @@ -301,11 +302,11 @@ SketchConstraintTangent_13 = Sketch_4.setTangent(SketchArc_10.results()[1], Sket SketchConstraintTangent_14 = Sketch_4.setTangent(SketchArc_10.results()[1], SketchLine_24.result()) SketchConstraintCoincidence_63 = Sketch_4.setCoincident(SketchLine_36.startPoint(), SketchLine_21.startPoint()) SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_69") -SketchConstraintCoincidence_64 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_24.endPoint()) +SketchConstraintCoincidence_64 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_24.endPoint()) SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_70") SketchConstraintCoincidence_65 = Sketch_4.setCoincident(SketchLine_21.endPoint(), SketchLine_36.result()) SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_71") -SketchConstraintCoincidence_66 = Sketch_4.setCoincident(SketchLine_24.startPoint(), SketchLine_27.result()) +SketchConstraintCoincidence_66 = Sketch_4.setCoincident(SketchLine_24.startPoint(), SketchLine_26.result()) SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_72") SketchConstraintRadius_7 = Sketch_4.setRadius(SketchArc_9.results()[1], 6) SketchConstraintRadius_8 = Sketch_4.setRadius(SketchArc_10.results()[1], 6) @@ -339,9 +340,9 @@ Sketch_5 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ")) SketchLine_38 = Sketch_5.addLine(44, 3.464101615137769, 17.52573586555855, 49.31887218898888) SketchLine_38.setName("SketchLine_41") SketchLine_38.result().setName("SketchLine_41") -SketchPoint_6 = Sketch_5.addPoint(model.selection("VERTEX", "Sketch_1/Vertex-SketchLine_5s-SketchLine_4e")) -SketchConstraintCoincidence_67 = Sketch_5.setCoincident(SketchLine_38.startPoint(), SketchPoint_6.result()) -SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_73") +SketchPoint_5 = Sketch_5.addPoint(model.selection("VERTEX", "Sketch_1/Vertex-SketchLine_5s-SketchLine_4e")) +SketchConstraintCoincidence_69 = Sketch_5.setCoincident(SketchLine_38.startPoint(), SketchPoint_5.result()) +SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_73") SketchLine_39 = Sketch_5.addLine(model.selection("EDGE", "Sketch_1/Edge-SketchLine_4")) SketchLine_39.setName("SketchLine_42") SketchLine_39.result().setName("SketchLine_42") @@ -350,60 +351,60 @@ model.do() Axis_4 = model.addAxis(Part_1_doc, model.selection("FACE", "Sketch_1/Face-SketchLine_10r-SketchLine_11r-SketchLine_8r-SketchLine_3r-SketchLine_9r-SketchLine_6r-SketchArc_1_2r-SketchArc_2_2f"), model.selection("VERTEX", "Sketch_1/Vertex-SketchLine_5s-SketchLine_4e")) Plane_4 = model.addPlane(Part_1_doc, model.selection("EDGE", "Axis_1"), model.selection("VERTEX", "Sketch_5/Vertex-SketchLine_41e"), False) Sketch_6 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1")) -SketchLine_40 = Sketch_6.addLine(4, 12.99999833620712, 4, 12.89999999999998) +SketchLine_40 = Sketch_6.addLine(3.999999999999999, 13.00000000002605, 4, 12.89999999999998) SketchLine_40.setName("SketchLine_55") SketchLine_40.result().setName("SketchLine_55") SketchLine_41 = Sketch_6.addLine(4, 12.89999999999998, -4, 12.89999999999998) SketchLine_41.setName("SketchLine_44") SketchLine_41.result().setName("SketchLine_44") -SketchLine_42 = Sketch_6.addLine(4, 18.99999999999998, 4, 12.89999999999998) +SketchLine_42 = Sketch_6.addLine(4, 19.00000000002614, 4, 12.89999999999998) SketchLine_42.setName("SketchLine_43") SketchLine_42.result().setName("SketchLine_43") SketchLine_42.setAuxiliary(True) -SketchConstraintCoincidence_68 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_41.startPoint()) -SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_74") -SketchLine_43 = Sketch_6.addLine(-4, 12.89999999999998, -4, 13.0000014806823) +SketchConstraintCoincidence_70 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_41.startPoint()) +SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_74") +SketchLine_43 = Sketch_6.addLine(-4, 12.89999999999998, -4.000000000000001, 13.00000000002612) SketchLine_43.setName("SketchLine_52") SketchLine_43.result().setName("SketchLine_52") -SketchLine_44 = Sketch_6.addLine(-9.999992772985484, 18.99999999999998, -10.09999999999998, 18.99999999999998) +SketchLine_44 = Sketch_6.addLine(-9.999999999999867, 19.00000000002614, -10.09999999999998, 19.00000000002614) SketchLine_44.setName("SketchLine_53") SketchLine_44.result().setName("SketchLine_53") -SketchLine_45 = Sketch_6.addLine(-4, 12.89999999999998, -4, 18.99999999999998) +SketchLine_45 = Sketch_6.addLine(-4, 12.89999999999998, -4, 19.00000000002614) SketchLine_45.setAuxiliary(True) -SketchConstraintCoincidence_69 = Sketch_6.setCoincident(SketchLine_41.endPoint(), SketchLine_45.startPoint()) -SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_75") -SketchLine_46 = Sketch_6.addLine(10.10000000000002, 18.99999999999998, 10.00002047508484, 18.99999999999998) +SketchConstraintCoincidence_71 = Sketch_6.setCoincident(SketchLine_41.endPoint(), SketchLine_45.startPoint()) +SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_75") +SketchLine_46 = Sketch_6.addLine(10.09999999999999, 19.00000000002614, 9.999999999999858, 19.00000000002614) SketchLine_46.setName("SketchLine_54") SketchLine_46.result().setName("SketchLine_54") -SketchLine_47 = Sketch_6.addLine(-4, 18.99999999999998, -10.09999999999998, 18.99999999999998) +SketchLine_47 = Sketch_6.addLine(-4, 19.00000000002614, -10.09999999999998, 19.00000000002614) SketchLine_47.setName("SketchLine_46") SketchLine_47.result().setName("SketchLine_46") SketchLine_47.setAuxiliary(True) -SketchConstraintCoincidence_70 = Sketch_6.setCoincident(SketchLine_45.endPoint(), SketchLine_47.startPoint()) -SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_76") -SketchLine_48 = Sketch_6.addLine(-10.09999999999998, 18.99999999999998, -10.09999999999998, 19.79999999999998) +SketchConstraintCoincidence_72 = Sketch_6.setCoincident(SketchLine_45.endPoint(), SketchLine_47.startPoint()) +SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_76") +SketchLine_48 = Sketch_6.addLine(-10.09999999999998, 19.00000000002614, -10.09999999999998, 19.80000000002615) SketchLine_48.setName("SketchLine_47") SketchLine_48.result().setName("SketchLine_47") -SketchConstraintCoincidence_71 = Sketch_6.setCoincident(SketchLine_47.endPoint(), SketchLine_48.startPoint()) -SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_77") -SketchLine_49 = Sketch_6.addLine(-10.09999999999998, 19.79999999999998, 10.09999999999999, 19.79999999999998) +SketchConstraintCoincidence_73 = Sketch_6.setCoincident(SketchLine_47.endPoint(), SketchLine_48.startPoint()) +SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_77") +SketchLine_49 = Sketch_6.addLine(-10.09999999999998, 19.80000000002615, 10.09999999999999, 19.80000000002615) SketchLine_49.setName("SketchLine_48") SketchLine_49.result().setName("SketchLine_48") -SketchConstraintCoincidence_72 = Sketch_6.setCoincident(SketchLine_48.endPoint(), SketchLine_49.startPoint()) -SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_78") -SketchLine_50 = Sketch_6.addLine(10.09999999999999, 19.79999999999998, 10.10000000000002, 18.99999999999998) +SketchConstraintCoincidence_74 = Sketch_6.setCoincident(SketchLine_48.endPoint(), SketchLine_49.startPoint()) +SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_78") +SketchLine_50 = Sketch_6.addLine(10.09999999999999, 19.80000000002615, 10.09999999999999, 19.00000000002614) SketchLine_50.setName("SketchLine_49") SketchLine_50.result().setName("SketchLine_49") -SketchConstraintCoincidence_73 = Sketch_6.setCoincident(SketchLine_49.endPoint(), SketchLine_50.startPoint()) -SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_79") -SketchLine_51 = Sketch_6.addLine(10.10000000000002, 18.99999999999998, 4, 18.99999999999998) +SketchConstraintCoincidence_75 = Sketch_6.setCoincident(SketchLine_49.endPoint(), SketchLine_50.startPoint()) +SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_79") +SketchLine_51 = Sketch_6.addLine(10.09999999999999, 19.00000000002614, 4, 19.00000000002614) SketchLine_51.setName("SketchLine_50") SketchLine_51.result().setName("SketchLine_50") SketchLine_51.setAuxiliary(True) -SketchConstraintCoincidence_74 = Sketch_6.setCoincident(SketchLine_50.endPoint(), SketchLine_51.startPoint()) -SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_80") -SketchConstraintCoincidence_75 = Sketch_6.setCoincident(SketchLine_42.startPoint(), SketchLine_51.endPoint()) -SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_81") +SketchConstraintCoincidence_76 = Sketch_6.setCoincident(SketchLine_50.endPoint(), SketchLine_51.startPoint()) +SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_80") +SketchConstraintCoincidence_77 = Sketch_6.setCoincident(SketchLine_42.startPoint(), SketchLine_51.endPoint()) +SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_81") SketchConstraintVertical_11 = Sketch_6.setVertical(SketchLine_45.result()) SketchConstraintVertical_12 = Sketch_6.setVertical(SketchLine_42.result()) SketchConstraintHorizontal_7 = Sketch_6.setHorizontal(SketchLine_41.result()) @@ -411,67 +412,60 @@ SketchConstraintHorizontal_8 = Sketch_6.setHorizontal(SketchLine_47.result()) SketchConstraintHorizontal_9 = Sketch_6.setHorizontal(SketchLine_51.result()) SketchConstraintHorizontal_10 = Sketch_6.setHorizontal(SketchLine_49.result()) SketchConstraintVertical_13 = Sketch_6.setVertical(SketchLine_50.result()) -SketchConstraintDistance_19 = Sketch_6.setDistance(SketchLine_48.startPoint(), SketchLine_49.result(), 0.8) -SketchConstraintDistance_19.setName("SketchConstraintDistance_20") -SketchConstraintDistance_20 = Sketch_6.setDistance(SketchLine_51.startPoint(), SketchLine_49.result(), 0.8) -SketchConstraintDistance_20.setName("SketchConstraintDistance_21") +SketchConstraintDistance_20 = Sketch_6.setDistance(SketchLine_48.startPoint(), SketchLine_49.result(), 0.8) +SketchConstraintDistance_21 = Sketch_6.setDistance(SketchLine_51.startPoint(), SketchLine_49.result(), 0.8) SketchLine_52 = Sketch_6.addLine(model.selection("EDGE", "Sketch_5/Edge-SketchLine_41")) SketchLine_52.setName("SketchLine_51") SketchLine_52.result().setName("SketchLine_51") -SketchConstraintDistance_21 = Sketch_6.setDistance(SketchLine_45.startPoint(), SketchLine_52.result(), 4) -SketchConstraintDistance_21.setName("SketchConstraintDistance_22") -SketchConstraintDistance_22 = Sketch_6.setDistance(SketchLine_42.endPoint(), SketchLine_52.result(), 4) -SketchConstraintDistance_22.setName("SketchConstraintDistance_23") -SketchArc_11 = Sketch_6.addArc(-10, 12.99999999999983, -4, 13.0000014806823, -9.999992772985484, 18.99999999999998, False) +SketchConstraintDistance_22 = Sketch_6.setDistance(SketchLine_45.startPoint(), SketchLine_52.result(), 4) +SketchConstraintDistance_23 = Sketch_6.setDistance(SketchLine_42.endPoint(), SketchLine_52.result(), 4) +SketchArc_11 = Sketch_6.addArc(-10, 13.00000000002614, -4.000000000000001, 13.00000000002612, -9.999999999999867, 19.00000000002614, False) SketchArc_11.setName("SketchArc_12") SketchArc_11.result().setName("SketchArc_12") SketchArc_11.results()[1].setName("SketchArc_12_2") -SketchConstraintCoincidence_76 = Sketch_6.setCoincident(SketchArc_11.startPoint(), SketchLine_43.endPoint()) -SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_82") -SketchConstraintCoincidence_77 = Sketch_6.setCoincident(SketchArc_11.endPoint(), SketchLine_44.startPoint()) -SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_83") +SketchConstraintCoincidence_78 = Sketch_6.setCoincident(SketchArc_11.startPoint(), SketchLine_43.endPoint()) +SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_82") +SketchConstraintCoincidence_79 = Sketch_6.setCoincident(SketchArc_11.endPoint(), SketchLine_44.startPoint()) +SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_83") SketchConstraintTangent_15 = Sketch_6.setTangent(SketchArc_11.results()[1], SketchLine_43.result()) SketchConstraintTangent_16 = Sketch_6.setTangent(SketchArc_11.results()[1], SketchLine_44.result()) -SketchConstraintCoincidence_78 = Sketch_6.setCoincident(SketchLine_45.startPoint(), SketchLine_43.startPoint()) -SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_84") -SketchConstraintCoincidence_79 = Sketch_6.setCoincident(SketchLine_47.endPoint(), SketchLine_44.endPoint()) -SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_85") -SketchConstraintCoincidence_80 = Sketch_6.setCoincident(SketchLine_43.endPoint(), SketchLine_45.result()) -SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_86") -SketchConstraintCoincidence_81 = Sketch_6.setCoincident(SketchLine_44.startPoint(), SketchLine_47.result()) -SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_87") -SketchArc_12 = Sketch_6.addArc(10.00000000000004, 12.99999999999978, 10.00002047508484, 18.99999999999998, 4, 12.99999833620712, False) +SketchConstraintCoincidence_80 = Sketch_6.setCoincident(SketchLine_45.startPoint(), SketchLine_43.startPoint()) +SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_84") +SketchConstraintCoincidence_81 = Sketch_6.setCoincident(SketchLine_47.endPoint(), SketchLine_44.endPoint()) +SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_85") +SketchConstraintCoincidence_82 = Sketch_6.setCoincident(SketchLine_43.endPoint(), SketchLine_45.result()) +SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_86") +SketchConstraintCoincidence_83 = Sketch_6.setCoincident(SketchLine_44.startPoint(), SketchLine_47.result()) +SketchConstraintCoincidence_83.setName("SketchConstraintCoincidence_87") +SketchArc_12 = Sketch_6.addArc(9.999999999999998, 13.00000000002614, 9.999999999999858, 19.00000000002614, 3.999999999999999, 13.00000000002605, False) SketchArc_12.setName("SketchArc_13") SketchArc_12.result().setName("SketchArc_13") SketchArc_12.results()[1].setName("SketchArc_13_2") -SketchConstraintCoincidence_82 = Sketch_6.setCoincident(SketchArc_12.startPoint(), SketchLine_46.endPoint()) -SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_88") -SketchConstraintCoincidence_83 = Sketch_6.setCoincident(SketchArc_12.endPoint(), SketchLine_40.startPoint()) -SketchConstraintCoincidence_83.setName("SketchConstraintCoincidence_89") +SketchConstraintCoincidence_84 = Sketch_6.setCoincident(SketchArc_12.startPoint(), SketchLine_46.endPoint()) +SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_88") +SketchConstraintCoincidence_85 = Sketch_6.setCoincident(SketchArc_12.endPoint(), SketchLine_40.startPoint()) +SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_89") SketchConstraintTangent_17 = Sketch_6.setTangent(SketchArc_12.results()[1], SketchLine_46.result()) SketchConstraintTangent_18 = Sketch_6.setTangent(SketchArc_12.results()[1], SketchLine_40.result()) -SketchConstraintCoincidence_84 = Sketch_6.setCoincident(SketchLine_51.startPoint(), SketchLine_46.startPoint()) -SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_90") -SketchConstraintCoincidence_85 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_40.endPoint()) -SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_91") -SketchConstraintCoincidence_86 = Sketch_6.setCoincident(SketchLine_46.endPoint(), SketchLine_51.result()) -SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_92") -SketchConstraintCoincidence_87 = Sketch_6.setCoincident(SketchLine_40.startPoint(), SketchLine_42.result()) -SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_93") +SketchConstraintCoincidence_86 = Sketch_6.setCoincident(SketchLine_51.startPoint(), SketchLine_46.startPoint()) +SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_90") +SketchConstraintCoincidence_87 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_40.endPoint()) +SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_91") +SketchConstraintCoincidence_88 = Sketch_6.setCoincident(SketchLine_46.endPoint(), SketchLine_51.result()) +SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_92") +SketchConstraintCoincidence_89 = Sketch_6.setCoincident(SketchLine_40.startPoint(), SketchLine_42.result()) +SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_93") SketchConstraintRadius_9 = Sketch_6.setRadius(SketchArc_11.results()[1], 6) SketchConstraintRadius_10 = Sketch_6.setRadius(SketchArc_12.results()[1], 6) -SketchConstraintDistance_23 = Sketch_6.setDistance(SketchLine_40.result(), SketchLine_46.startPoint(), 6.1) -SketchConstraintDistance_23.setName("SketchConstraintDistance_24") -SketchConstraintDistance_24 = Sketch_6.setDistance(SketchLine_48.startPoint(), SketchLine_43.result(), 6.1) -SketchConstraintDistance_24.setName("SketchConstraintDistance_25") +SketchConstraintDistance_24 = Sketch_6.setDistance(SketchLine_40.result(), SketchLine_46.startPoint(), 6.1) +SketchConstraintDistance_25 = Sketch_6.setDistance(SketchLine_48.startPoint(), SketchLine_43.result(), 6.1) SketchConstraintVertical_14 = Sketch_6.setVertical(SketchLine_48.result()) -SketchConstraintDistance_25 = Sketch_6.setDistance(SketchLine_41.result(), SketchArc_12.startPoint(), 6.1) -SketchConstraintDistance_25.setName("SketchConstraintDistance_26") +SketchConstraintDistance_26 = Sketch_6.setDistance(SketchLine_41.result(), SketchArc_12.startPoint(), 6.1) SketchLine_53 = Sketch_6.addLine(model.selection("EDGE", "Axis_1")) SketchLine_53.setName("SketchLine_56") SketchLine_53.result().setName("SketchLine_56") -SketchConstraintCoincidence_88 = Sketch_6.setCoincident(SketchArc_12.startPoint(), SketchLine_53.result()) -SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_94") +SketchConstraintCoincidence_90 = Sketch_6.setCoincident(SketchArc_12.startPoint(), SketchLine_53.result()) +SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_94") model.do() Extrusion_7 = model.addExtrusion(Part_1_doc, [model.selection("FACE", "Sketch_6/Face-SketchLine_55r-SketchLine_44r-SketchLine_52r-SketchLine_53r-SketchLine_54r-SketchLine_47r-SketchLine_48r-SketchLine_49r-SketchArc_12_2r-SketchArc_13_2r")], model.selection(), 0, 40) Boolean_4 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Boolean_1_1")], [model.selection("SOLID", "Boolean_2_1")]) @@ -479,278 +473,282 @@ Boolean_5 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Boolean_4_1")], Boolean_6 = model.addCut(Part_1_doc, [model.selection("SOLID", "Boolean_5_1")], [model.selection("SOLID", "Boolean_3_1")]) Extrusion_8 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_1/Wire-SketchLine_10r-SketchLine_11r-SketchLine_8r-SketchLine_3r-SketchLine_9r-SketchLine_6r-SketchArc_1_2r-SketchArc_2_2f")], model.selection(), 55, 55) Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_8_1/Generated_Face_7")) -SketchLine_54 = Sketch_7.addLine(55, -9.237629881196027, 55, -60.00000049730294) +SketchLine_54 = Sketch_7.addLine(55, -9.237604307034024, 55, -60) SketchLine_54.setName("SketchLine_66") SketchLine_54.result().setName("SketchLine_66") -SketchPoint_7 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_7&Extrusion_8_1/Generated_Face_6&Extrusion_8_1/To_Face_1")) -SketchLine_55 = Sketch_7.addLine(55, -9.237629881196027, 55, -70) +SketchPoint_6 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_7&Extrusion_8_1/Generated_Face_6&Extrusion_8_1/To_Face_1")) +SketchLine_55 = Sketch_7.addLine(55, -9.237604307034024, 55, -70) SketchLine_55.setName("SketchLine_57") SketchLine_55.result().setName("SketchLine_57") SketchLine_55.setAuxiliary(True) -SketchConstraintCoincidence_89 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchPoint_7.result()) -SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_95") -SketchPoint_8 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_8&Extrusion_8_1/Generated_Face_7&Extrusion_8_1/To_Face_1")) -SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_55.endPoint(), SketchPoint_8.result()) -SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_96") -SketchLine_56 = Sketch_7.addLine(45.00000744821924, -70, -45.00000429345155, -70) +SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchPoint_6.result()) +SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_95") +SketchPoint_7 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_8&Extrusion_8_1/Generated_Face_7&Extrusion_8_1/To_Face_1")) +SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_55.endPoint(), SketchPoint_7.result()) +SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_96") +SketchLine_56 = Sketch_7.addLine(45.00000000000001, -70, -45.00000000000001, -70) SketchLine_56.setName("SketchLine_67") SketchLine_56.result().setName("SketchLine_67") SketchLine_57 = Sketch_7.addLine(55, -70, -55, -70) SketchLine_57.setName("SketchLine_58") SketchLine_57.result().setName("SketchLine_58") SketchLine_57.setAuxiliary(True) -SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_55.endPoint(), SketchLine_57.startPoint()) -SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_97") -SketchPoint_9 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_8&Extrusion_8_1/Generated_Face_7&Extrusion_8_1/From_Face_1")) -SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchPoint_9.result()) -SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_98") -SketchLine_58 = Sketch_7.addLine(-55, -60.00001819955111, -55, -9.237629881196027) +SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchLine_55.endPoint(), SketchLine_57.startPoint()) +SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_97") +SketchPoint_8 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_8&Extrusion_8_1/Generated_Face_7&Extrusion_8_1/From_Face_1")) +SketchConstraintCoincidence_94 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchPoint_8.result()) +SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_98") +SketchLine_58 = Sketch_7.addLine(-55.00000000000001, -59.99999999999999, -55, -9.237604307034024) SketchLine_58.setName("SketchLine_68") SketchLine_58.result().setName("SketchLine_68") -SketchLine_59 = Sketch_7.addLine(-55, -70, -55, -9.237629881196027) +SketchLine_59 = Sketch_7.addLine(-55, -70, -55, -9.237604307034024) SketchLine_59.setAuxiliary(True) -SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_59.startPoint()) -SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_99") -SketchPoint_10 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_7&Extrusion_8_1/Generated_Face_6&Extrusion_8_1/From_Face_1")) -SketchConstraintCoincidence_94 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchPoint_10.result()) -SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_100") -SketchLine_60 = Sketch_7.addLine(-55, -9.237629881196027, -61.32702426187202, -9.237629881196027) -SketchConstraintCoincidence_95 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchLine_60.startPoint()) -SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_101") -SketchLine_61 = Sketch_7.addLine(-61.32702426187202, -9.237629881196027, -61.32702426187202, -75.68652656141983) -SketchConstraintCoincidence_96 = Sketch_7.setCoincident(SketchLine_60.endPoint(), SketchLine_61.startPoint()) -SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_102") +SketchConstraintCoincidence_95 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_59.startPoint()) +SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_99") +SketchPoint_9 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_7&Extrusion_8_1/Generated_Face_6&Extrusion_8_1/From_Face_1")) +SketchConstraintCoincidence_96 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchPoint_9.result()) +SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_100") +SketchLine_60 = Sketch_7.addLine(-55, -9.237604307034024, -61.32702426187202, -9.237604307034024) +SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchLine_60.startPoint()) +SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_101") +SketchLine_61 = Sketch_7.addLine(-61.32702426187202, -9.237604307034024, -61.32702426187202, -75.68652656141983) +SketchConstraintCoincidence_98 = Sketch_7.setCoincident(SketchLine_60.endPoint(), SketchLine_61.startPoint()) +SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_102") SketchLine_62 = Sketch_7.addLine(-61.32702426187202, -75.68652656141983, 60.38641987912783, -75.68652656141983) -SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_61.endPoint(), SketchLine_62.startPoint()) -SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_103") -SketchLine_63 = Sketch_7.addLine(60.38641987912783, -75.68652656141983, 60.38641987912783, -9.237629881196027) -SketchConstraintCoincidence_98 = Sketch_7.setCoincident(SketchLine_62.endPoint(), SketchLine_63.startPoint()) -SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_104") -SketchLine_64 = Sketch_7.addLine(60.38641987912783, -9.237629881196027, 55, -9.237629881196027) -SketchConstraintCoincidence_99 = Sketch_7.setCoincident(SketchLine_63.endPoint(), SketchLine_64.startPoint()) -SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_105") -SketchConstraintCoincidence_100 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchLine_64.endPoint()) -SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_106") -SketchConstraintCoincidence_101 = Sketch_7.setCoincident(SketchPoint_7.coordinates(), SketchLine_64.endPoint()) -SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_107") +SketchConstraintCoincidence_99 = Sketch_7.setCoincident(SketchLine_61.endPoint(), SketchLine_62.startPoint()) +SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_103") +SketchLine_63 = Sketch_7.addLine(60.38641987912783, -75.68652656141983, 60.38641987912783, -9.237604307034024) +SketchConstraintCoincidence_100 = Sketch_7.setCoincident(SketchLine_62.endPoint(), SketchLine_63.startPoint()) +SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_104") +SketchLine_64 = Sketch_7.addLine(60.38641987912783, -9.237604307034024, 55, -9.237604307034024) +SketchConstraintCoincidence_101 = Sketch_7.setCoincident(SketchLine_63.endPoint(), SketchLine_64.startPoint()) +SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_105") +SketchConstraintCoincidence_102 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchLine_64.endPoint()) +SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_106") +SketchConstraintCoincidence_103 = Sketch_7.setCoincident(SketchPoint_6.coordinates(), SketchLine_64.endPoint()) +SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_107") SketchConstraintHorizontal_11 = Sketch_7.setHorizontal(SketchLine_64.result()) SketchConstraintHorizontal_12 = Sketch_7.setHorizontal(SketchLine_60.result()) SketchConstraintHorizontal_13 = Sketch_7.setHorizontal(SketchLine_62.result()) SketchConstraintVertical_15 = Sketch_7.setVertical(SketchLine_61.result()) SketchConstraintVertical_16 = Sketch_7.setVertical(SketchLine_63.result()) -SketchArc_13 = Sketch_7.addArc(45, -60, 45.00000744821924, -70, 55, -60.00000049730294, False) +SketchArc_13 = Sketch_7.addArc(45, -60, 45.00000000000001, -70, 55, -60, False) SketchArc_13.setName("SketchArc_14") SketchArc_13.result().setName("SketchArc_14") SketchArc_13.results()[1].setName("SketchArc_14_2") -SketchLine_65 = Sketch_7.addLine(45.00000744821924, -70, -55, -70) +SketchLine_65 = Sketch_7.addLine(45.00000000000001, -70, -55, -70) SketchLine_65.setAuxiliary(True) -SketchConstraintCoincidence_102 = Sketch_7.setCoincident(SketchArc_13.startPoint(), SketchLine_65.startPoint()) -SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_108") -SketchConstraintCoincidence_103 = Sketch_7.setCoincident(SketchArc_13.endPoint(), SketchLine_54.endPoint()) -SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_109") +SketchConstraintCoincidence_104 = Sketch_7.setCoincident(SketchArc_13.startPoint(), SketchLine_65.startPoint()) +SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_108") +SketchConstraintCoincidence_105 = Sketch_7.setCoincident(SketchArc_13.endPoint(), SketchLine_54.endPoint()) +SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_109") SketchConstraintTangent_19 = Sketch_7.setTangent(SketchArc_13.results()[1], SketchLine_65.result()) SketchConstraintTangent_20 = Sketch_7.setTangent(SketchArc_13.results()[1], SketchLine_54.result()) -SketchConstraintCoincidence_104 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_65.endPoint()) -SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_110") -SketchConstraintCoincidence_105 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchLine_54.startPoint()) -SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_111") -SketchConstraintCoincidence_106 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_57.result()) -SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_112") -SketchConstraintCoincidence_107 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_55.result()) -SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_113") -SketchArc_14 = Sketch_7.addArc(-45, -59.99999999999999, -55, -60.00001819955111, -45.00000429345155, -70, False) +SketchConstraintCoincidence_106 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_65.endPoint()) +SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_110") +SketchConstraintCoincidence_107 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchLine_54.startPoint()) +SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_111") +SketchConstraintCoincidence_108 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_57.result()) +SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_112") +SketchConstraintCoincidence_109 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_55.result()) +SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_113") +SketchArc_14 = Sketch_7.addArc(-45.00000000000001, -60.00000000000004, -55.00000000000001, -59.99999999999999, -45.00000000000001, -70, False) SketchArc_14.setName("SketchArc_15") SketchArc_14.result().setName("SketchArc_15") SketchArc_14.results()[1].setName("SketchArc_15_2") -SketchConstraintCoincidence_108 = Sketch_7.setCoincident(SketchArc_14.startPoint(), SketchLine_58.startPoint()) -SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_114") -SketchConstraintCoincidence_109 = Sketch_7.setCoincident(SketchArc_14.endPoint(), SketchLine_56.endPoint()) -SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_115") +SketchConstraintCoincidence_110 = Sketch_7.setCoincident(SketchArc_14.startPoint(), SketchLine_58.startPoint()) +SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_114") +SketchConstraintCoincidence_111 = Sketch_7.setCoincident(SketchArc_14.endPoint(), SketchLine_56.endPoint()) +SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_115") SketchConstraintTangent_21 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_56.result()) SketchConstraintTangent_22 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_58.result()) -SketchConstraintCoincidence_110 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_56.startPoint()) -SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_116") -SketchConstraintCoincidence_111 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchLine_58.endPoint()) -SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_117") -SketchConstraintCoincidence_112 = Sketch_7.setCoincident(SketchLine_56.endPoint(), SketchLine_65.result()) -SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_118") -SketchConstraintCoincidence_113 = Sketch_7.setCoincident(SketchLine_58.startPoint(), SketchLine_59.result()) -SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_119") +SketchConstraintCoincidence_112 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_56.startPoint()) +SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_116") +SketchConstraintCoincidence_113 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchLine_58.endPoint()) +SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_117") +SketchConstraintCoincidence_114 = Sketch_7.setCoincident(SketchLine_56.endPoint(), SketchLine_65.result()) +SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_118") +SketchConstraintCoincidence_115 = Sketch_7.setCoincident(SketchLine_58.startPoint(), SketchLine_59.result()) +SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_119") SketchConstraintRadius_11 = Sketch_7.setRadius(SketchArc_13.results()[1], 10) SketchConstraintRadius_12 = Sketch_7.setRadius(SketchArc_14.results()[1], 10) SketchCircle_4 = Sketch_7.addCircle(44, -59, 5) SketchCircle_5 = Sketch_7.addCircle(-43.99999999999999, -58.99999999999999, 5) SketchConstraintRadius_13 = Sketch_7.setRadius(SketchCircle_4.results()[1], 5) SketchConstraintRadius_14 = Sketch_7.setRadius(SketchCircle_5.results()[1], 5) -SketchConstraintDistance_26 = Sketch_7.setDistance(SketchCircle_4.center(), SketchLine_56.result(), 11) -SketchConstraintDistance_26.setName("SketchConstraintDistance_27") -SketchConstraintDistance_27 = Sketch_7.setDistance(SketchCircle_4.center(), SketchLine_54.result(), 11) -SketchConstraintDistance_27.setName("SketchConstraintDistance_28") -SketchConstraintDistance_28 = Sketch_7.setDistance(SketchCircle_5.center(), SketchLine_56.result(), 11) -SketchConstraintDistance_28.setName("SketchConstraintDistance_29") -SketchConstraintDistance_29 = Sketch_7.setDistance(SketchCircle_5.center(), SketchLine_58.result(), 11) -SketchConstraintDistance_29.setName("SketchConstraintDistance_30") -SketchCircle_6 = Sketch_7.addCircle(44.00000000000001, -20.23762988119603, 5) +SketchConstraintDistance_27 = Sketch_7.setDistance(SketchCircle_4.center(), SketchLine_56.result(), 11) +SketchConstraintDistance_28 = Sketch_7.setDistance(SketchCircle_4.center(), SketchLine_54.result(), 11) +SketchConstraintDistance_29 = Sketch_7.setDistance(SketchCircle_5.center(), SketchLine_56.result(), 11) +SketchConstraintDistance_30 = Sketch_7.setDistance(SketchCircle_5.center(), SketchLine_58.result(), 11) +SketchCircle_6 = Sketch_7.addCircle(44, -20.23760430703402, 5) SketchConstraintRadius_15 = Sketch_7.setRadius(SketchCircle_6.results()[1], 5) -SketchCircle_7 = Sketch_7.addCircle(-44.00000000000001, -20.23762988119603, 5) +SketchCircle_7 = Sketch_7.addCircle(-44, -20.23760430703402, 5) SketchConstraintRadius_16 = Sketch_7.setRadius(SketchCircle_7.results()[1], 5) -SketchConstraintDistance_30 = Sketch_7.setDistance(SketchCircle_6.center(), SketchLine_54.result(), 11) -SketchConstraintDistance_30.setName("SketchConstraintDistance_31") +SketchConstraintDistance_31 = Sketch_7.setDistance(SketchCircle_6.center(), SketchLine_54.result(), 11) SketchLine_66 = Sketch_7.addLine(model.selection("EDGE", "Extrusion_8_1/Generated_Face_7&Extrusion_8_1/Generated_Face_6")) SketchLine_66.setName("SketchLine_69") SketchLine_66.result().setName("SketchLine_69") -SketchConstraintDistance_31 = Sketch_7.setDistance(SketchCircle_6.center(), SketchLine_66.result(), 11) -SketchConstraintDistance_31.setName("SketchConstraintDistance_32") -SketchConstraintDistance_32 = Sketch_7.setDistance(SketchCircle_7.center(), SketchLine_58.result(), 11) -SketchConstraintDistance_32.setName("SketchConstraintDistance_33") -SketchConstraintDistance_33 = Sketch_7.setDistance(SketchCircle_7.center(), SketchLine_66.result(), 11) -SketchConstraintDistance_33.setName("SketchConstraintDistance_34") +SketchConstraintDistance_32 = Sketch_7.setDistance(SketchCircle_6.center(), SketchLine_66.result(), 11) +SketchConstraintDistance_33 = Sketch_7.setDistance(SketchCircle_7.center(), SketchLine_58.result(), 11) +SketchConstraintDistance_34 = Sketch_7.setDistance(SketchCircle_7.center(), SketchLine_66.result(), 11) model.do() ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [model.selection("WIRE", "Sketch_7/Wire-SketchLine_66f-SketchLine_67f-SketchLine_68f-SketchLine_60f-SketchLine_61f-SketchLine_62f-SketchLine_63f-SketchLine_64f-SketchArc_14_2r-SketchArc_15_2r"), model.selection("FACE", "Sketch_7/Face-SketchCircle_4_2f"), model.selection("FACE", "Sketch_7/Face-SketchCircle_5_2f"), model.selection("FACE", "Sketch_7/Face-SketchCircle_7_2f"), model.selection("FACE", "Sketch_7/Face-SketchCircle_6_2f")], model.selection(), 0, 10, [model.selection("SOLID", "Extrusion_8_1")]) Sketch_8 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_8_1/Generated_Face_5")) -SketchLine_67 = Sketch_8.addLine(55, -34.06366086055925, 55, 66.69873256076872) +SketchLine_67 = Sketch_8.addLine(55, -34.06366588218793, 55, 66.69872981077805) SketchLine_67.setName("SketchLine_79") SketchLine_67.result().setName("SketchLine_79") -SketchPoint_11 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_1&ExtrusionCut_1_1/Modfied_6&Extrusion_8_1/Generated_Face_5")) -SketchLine_68 = Sketch_8.addLine(55, -34.06366086055925, 55, 76.69872981077803) +SketchPoint_10 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_6&ExtrusionCut_1_1/Modfied_1&Extrusion_8_1/Generated_Face_5")) +SketchLine_68 = Sketch_8.addLine(55, -34.06366588218793, 55, 76.69872981077803) SketchLine_68.setName("SketchLine_70") SketchLine_68.result().setName("SketchLine_70") SketchLine_68.setAuxiliary(True) -SketchConstraintCoincidence_114 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchPoint_11.result()) -SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_120") -SketchPoint_12 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_1&Extrusion_8_1/Generated_Face_5&Extrusion_8_1/Generated_Face_4")) -SketchConstraintCoincidence_115 = Sketch_8.setCoincident(SketchLine_68.endPoint(), SketchPoint_12.result()) -SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_121") -SketchLine_69 = Sketch_8.addLine(45.00002965668516, 76.69872981077802, -45.00000043269755, 76.69872981077803) +SketchConstraintCoincidence_116 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchPoint_10.result()) +SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_120") +SketchPoint_11 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_1&Extrusion_8_1/Generated_Face_5&Extrusion_8_1/Generated_Face_4")) +SketchConstraintCoincidence_117 = Sketch_8.setCoincident(SketchLine_68.endPoint(), SketchPoint_11.result()) +SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_121") +SketchLine_69 = Sketch_8.addLine(45, 76.69872981077805, -44.9999999570576, 76.69872981077805) SketchLine_69.setName("SketchLine_80") SketchLine_69.result().setName("SketchLine_80") SketchLine_70 = Sketch_8.addLine(55, 76.69872981077803, -55, 76.69872981077803) SketchLine_70.setName("SketchLine_71") SketchLine_70.result().setName("SketchLine_71") SketchLine_70.setAuxiliary(True) -SketchConstraintCoincidence_116 = Sketch_8.setCoincident(SketchLine_68.endPoint(), SketchLine_70.startPoint()) -SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_122") -SketchPoint_13 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_3&Extrusion_8_1/Generated_Face_5&Extrusion_8_1/Generated_Face_4")) -SketchConstraintCoincidence_117 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchPoint_13.result()) -SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_123") -SketchLine_71 = Sketch_8.addLine(-55, 66.69873008106598, -55, -34.06366086055925) +SketchConstraintCoincidence_118 = Sketch_8.setCoincident(SketchLine_68.endPoint(), SketchLine_70.startPoint()) +SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_122") +SketchPoint_12 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_3&Extrusion_8_1/Generated_Face_5&Extrusion_8_1/Generated_Face_4")) +SketchConstraintCoincidence_119 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchPoint_12.result()) +SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_123") +SketchLine_71 = Sketch_8.addLine(-55, 66.69872976783566, -55, -34.06366588218793) SketchLine_71.setName("SketchLine_81") SketchLine_71.result().setName("SketchLine_81") -SketchLine_72 = Sketch_8.addLine(-55, 76.69872981077803, -55, -34.06366086055925) +SketchLine_72 = Sketch_8.addLine(-55, 76.69872981077803, -55, -34.06366588218793) SketchLine_72.setAuxiliary(True) -SketchConstraintCoincidence_118 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchLine_72.startPoint()) -SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_124") -SketchPoint_14 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_3&ExtrusionCut_1_1/Modfied_6&Extrusion_8_1/Generated_Face_5")) -SketchConstraintCoincidence_119 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchPoint_14.result()) -SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_125") -SketchLine_73 = Sketch_8.addLine(-55, -34.06366086055925, -63.63698496776804, -34.06366086055925) -SketchConstraintCoincidence_120 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchLine_73.startPoint()) -SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_126") -SketchLine_74 = Sketch_8.addLine(-63.63698496776804, -34.06366086055925, -63.63698496776804, 83.16226073446268) -SketchConstraintCoincidence_121 = Sketch_8.setCoincident(SketchLine_73.endPoint(), SketchLine_74.startPoint()) -SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_127") -SketchLine_75 = Sketch_8.addLine(-63.63698496776804, 83.16226073446268, 64.71305347901398, 83.16226073446268) -SketchConstraintCoincidence_122 = Sketch_8.setCoincident(SketchLine_74.endPoint(), SketchLine_75.startPoint()) -SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_128") -SketchLine_76 = Sketch_8.addLine(64.71305347901398, 83.16226073446268, 64.71305347901398, -34.06366086055925) -SketchConstraintCoincidence_123 = Sketch_8.setCoincident(SketchLine_75.endPoint(), SketchLine_76.startPoint()) -SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_129") -SketchLine_77 = Sketch_8.addLine(64.71305347901398, -34.06366086055925, 55, -34.06366086055925) -SketchConstraintCoincidence_124 = Sketch_8.setCoincident(SketchLine_76.endPoint(), SketchLine_77.startPoint()) -SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_130") -SketchConstraintCoincidence_125 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchLine_77.endPoint()) -SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_131") -SketchConstraintCoincidence_126 = Sketch_8.setCoincident(SketchPoint_11.coordinates(), SketchLine_77.endPoint()) -SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_132") +SketchConstraintCoincidence_120 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchLine_72.startPoint()) +SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_124") +SketchPoint_13 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_6&ExtrusionCut_1_1/Modfied_3&Extrusion_8_1/Generated_Face_5")) +SketchConstraintCoincidence_121 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchPoint_13.result()) +SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_125") +SketchLine_73 = Sketch_8.addLine(-55, -34.06366588218793, -83.25521566485324, -34.06366588218793) +SketchConstraintCoincidence_122 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchLine_73.startPoint()) +SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_126") +SketchLine_74 = Sketch_8.addLine(-83.25521566485324, -34.06366588218793, -83.25521566485298, 92.00148393088952) +SketchConstraintCoincidence_123 = Sketch_8.setCoincident(SketchLine_73.endPoint(), SketchLine_74.startPoint()) +SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_127") +SketchLine_75 = Sketch_8.addLine(-83.25521566485298, 92.00148393088952, 87.50975635635101, 92.00148393088952) +SketchConstraintCoincidence_124 = Sketch_8.setCoincident(SketchLine_74.endPoint(), SketchLine_75.startPoint()) +SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_128") +SketchLine_76 = Sketch_8.addLine(87.50975635635101, 92.00148393088952, 87.50975635635101, -34.06366588218793) +SketchConstraintCoincidence_125 = Sketch_8.setCoincident(SketchLine_75.endPoint(), SketchLine_76.startPoint()) +SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_129") +SketchLine_77 = Sketch_8.addLine(87.50975635635101, -34.06366588218793, 55, -34.06366588218793) +SketchConstraintCoincidence_126 = Sketch_8.setCoincident(SketchLine_76.endPoint(), SketchLine_77.startPoint()) +SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_130") +SketchConstraintCoincidence_127 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchLine_77.endPoint()) +SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_131") +SketchConstraintCoincidence_128 = Sketch_8.setCoincident(SketchPoint_10.coordinates(), SketchLine_77.endPoint()) +SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_132") SketchConstraintHorizontal_14 = Sketch_8.setHorizontal(SketchLine_77.result()) SketchConstraintHorizontal_15 = Sketch_8.setHorizontal(SketchLine_73.result()) SketchConstraintHorizontal_16 = Sketch_8.setHorizontal(SketchLine_75.result()) SketchConstraintVertical_17 = Sketch_8.setVertical(SketchLine_74.result()) SketchConstraintVertical_18 = Sketch_8.setVertical(SketchLine_76.result()) -SketchArc_15 = Sketch_8.addArc(45, 66.69872981077803, 55, 66.69873256076872, 45.00002965668516, 76.69872981077802, False) +SketchArc_15 = Sketch_8.addArc(45, 66.69872981077805, 55, 66.69872981077805, 45, 76.69872981077805, False) SketchArc_15.setName("SketchArc_16") SketchArc_15.result().setName("SketchArc_16") SketchArc_15.results()[1].setName("SketchArc_16_2") -SketchConstraintCoincidence_127 = Sketch_8.setCoincident(SketchArc_15.startPoint(), SketchLine_67.endPoint()) -SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_133") -SketchLine_78 = Sketch_8.addLine(45.00002965668516, 76.69872981077802, -55, 76.69872981077803) +SketchConstraintCoincidence_129 = Sketch_8.setCoincident(SketchArc_15.startPoint(), SketchLine_67.endPoint()) +SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_133") +SketchLine_78 = Sketch_8.addLine(45, 76.69872981077805, -55, 76.69872981077803) SketchLine_78.setAuxiliary(True) -SketchConstraintCoincidence_128 = Sketch_8.setCoincident(SketchArc_15.endPoint(), SketchLine_78.startPoint()) -SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_134") +SketchConstraintCoincidence_130 = Sketch_8.setCoincident(SketchArc_15.endPoint(), SketchLine_78.startPoint()) +SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_134") SketchConstraintTangent_23 = Sketch_8.setTangent(SketchArc_15.results()[1], SketchLine_78.result()) SketchConstraintTangent_24 = Sketch_8.setTangent(SketchArc_15.results()[1], SketchLine_67.result()) -SketchConstraintCoincidence_129 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchLine_78.endPoint()) -SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_135") -SketchConstraintCoincidence_130 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchLine_67.startPoint()) -SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_136") -SketchConstraintCoincidence_131 = Sketch_8.setCoincident(SketchLine_78.startPoint(), SketchLine_70.result()) -SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_137") -SketchConstraintCoincidence_132 = Sketch_8.setCoincident(SketchLine_67.endPoint(), SketchLine_68.result()) -SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_138") -SketchArc_16 = Sketch_8.addArc(-45, 66.69872981077802, -45.00000043269755, 76.69872981077803, -55, 66.69873008106598, False) +SketchConstraintCoincidence_131 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchLine_78.endPoint()) +SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_135") +SketchConstraintCoincidence_132 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchLine_67.startPoint()) +SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_136") +SketchConstraintCoincidence_133 = Sketch_8.setCoincident(SketchLine_78.startPoint(), SketchLine_70.result()) +SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_137") +SketchConstraintCoincidence_134 = Sketch_8.setCoincident(SketchLine_67.endPoint(), SketchLine_68.result()) +SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_138") +SketchArc_16 = Sketch_8.addArc(-44.9999999570576, 66.69872976783566, -44.9999999570576, 76.69872981077805, -55, 66.69872976783566, False) SketchArc_16.setName("SketchArc_17") SketchArc_16.result().setName("SketchArc_17") SketchArc_16.results()[1].setName("SketchArc_17_2") -SketchConstraintCoincidence_133 = Sketch_8.setCoincident(SketchArc_16.startPoint(), SketchLine_69.endPoint()) -SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_139") -SketchConstraintCoincidence_134 = Sketch_8.setCoincident(SketchArc_16.endPoint(), SketchLine_71.startPoint()) -SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_140") +SketchConstraintCoincidence_135 = Sketch_8.setCoincident(SketchArc_16.startPoint(), SketchLine_69.endPoint()) +SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_139") +SketchConstraintCoincidence_136 = Sketch_8.setCoincident(SketchArc_16.endPoint(), SketchLine_71.startPoint()) +SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_140") SketchConstraintTangent_25 = Sketch_8.setTangent(SketchArc_16.results()[1], SketchLine_69.result()) SketchConstraintTangent_26 = Sketch_8.setTangent(SketchArc_16.results()[1], SketchLine_71.result()) -SketchConstraintCoincidence_135 = Sketch_8.setCoincident(SketchLine_78.startPoint(), SketchLine_69.startPoint()) -SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_141") -SketchConstraintCoincidence_136 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchLine_71.endPoint()) -SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_142") -SketchConstraintCoincidence_137 = Sketch_8.setCoincident(SketchLine_69.endPoint(), SketchLine_78.result()) -SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_143") -SketchConstraintCoincidence_138 = Sketch_8.setCoincident(SketchLine_71.startPoint(), SketchLine_72.result()) -SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_144") +SketchConstraintCoincidence_137 = Sketch_8.setCoincident(SketchLine_78.startPoint(), SketchLine_69.startPoint()) +SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_141") +SketchConstraintCoincidence_138 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchLine_71.endPoint()) +SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_142") +SketchConstraintCoincidence_139 = Sketch_8.setCoincident(SketchLine_69.endPoint(), SketchLine_78.result()) +SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_143") +SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchLine_71.startPoint(), SketchLine_72.result()) +SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_144") SketchConstraintRadius_17 = Sketch_8.setRadius(SketchArc_15.results()[1], 10) SketchConstraintRadius_18 = Sketch_8.setRadius(SketchArc_16.results()[1], 10) SketchCircle_8 = Sketch_8.addCircle(-44, 51.69872981077802, 5) SketchConstraintRadius_19 = Sketch_8.setRadius(SketchCircle_8.results()[1], 5) -SketchConstraintDistance_34 = Sketch_8.setDistance(SketchCircle_8.center(), SketchLine_69.result(), 25) -SketchConstraintDistance_34.setName("SketchConstraintDistance_35") -SketchConstraintDistance_35 = Sketch_8.setDistance(SketchCircle_8.center(), SketchLine_71.result(), 11) -SketchConstraintDistance_35.setName("SketchConstraintDistance_36") -SketchCircle_9 = Sketch_8.addCircle(-44, 16.69872981077804, 5) +SketchConstraintDistance_35 = Sketch_8.setDistance(SketchCircle_8.center(), SketchLine_69.result(), 25) +SketchConstraintDistance_36 = Sketch_8.setDistance(SketchCircle_8.center(), SketchLine_71.result(), 11) +SketchCircle_9 = Sketch_8.addCircle(-44, 16.69872981077805, 5) SketchConstraintRadius_20 = Sketch_8.setRadius(SketchCircle_9.results()[1], 5) -SketchConstraintDistance_36 = Sketch_8.setDistance(SketchCircle_9.center(), SketchLine_71.result(), 11) -SketchConstraintDistance_36.setName("SketchConstraintDistance_37") -SketchConstraintDistance_37 = Sketch_8.setDistance(SketchCircle_9.center(), SketchLine_69.result(), 60) -SketchConstraintDistance_37.setName("SketchConstraintDistance_38") -SketchArc_17 = Sketch_8.addArc(44, 16.69872981077803, 49, 16.69872981077802, 39, 16.69872981077804, True) +SketchConstraintDistance_37 = Sketch_8.setDistance(SketchCircle_9.center(), SketchLine_71.result(), 11) +SketchConstraintDistance_38 = Sketch_8.setDistance(SketchCircle_9.center(), SketchLine_69.result(), 60) +SketchArc_17 = Sketch_8.addArc(44, 16.69872981077803, 49, 16.69872981077806, 39, 16.69872981077804, True) SketchArc_17.setName("SketchArc_19") SketchArc_17.result().setName("SketchArc_19") SketchArc_17.results()[1].setName("SketchArc_19_2") SketchConstraintRadius_21 = Sketch_8.setRadius(SketchArc_17.results()[1], 5) SketchConstraintRadius_21.setName("SketchConstraintRadius_22") -SketchConstraintDistance_38 = Sketch_8.setDistance(SketchArc_17.center(), SketchLine_69.result(), 60) -SketchConstraintDistance_38.setName("SketchConstraintDistance_41") -SketchArc_18 = Sketch_8.addArc(44, 51.69872981077804, 49, 51.69872981077802, 39, 51.69872981077802, False) -SketchLine_79 = Sketch_8.addLine(49, 16.69872981077802, 49, 51.69872981077802) +SketchConstraintDistance_39 = Sketch_8.setDistance(SketchArc_17.center(), SketchLine_69.result(), 60) +SketchConstraintDistance_39.setName("SketchConstraintDistance_41") +SketchArc_18 = Sketch_8.addArc(44, 51.69872981077805, 49, 51.69872981077805, 39.00000000000002, 51.69873025170988, False) +SketchLine_79 = Sketch_8.addLine(49, 16.69872981077806, 49, 51.69872981077805) SketchLine_79.setName("SketchLine_82") SketchLine_79.result().setName("SketchLine_82") -SketchConstraintCoincidence_139 = Sketch_8.setCoincident(SketchArc_18.startPoint(), SketchLine_79.endPoint()) -SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_145") -SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchLine_79.startPoint(), SketchArc_17.startPoint()) -SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_146") -SketchLine_80 = Sketch_8.addLine(39, 16.69872981077804, 39, 51.69872981077802) +SketchConstraintCoincidence_141 = Sketch_8.setCoincident(SketchArc_18.startPoint(), SketchLine_79.endPoint()) +SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_145") +SketchConstraintCoincidence_142 = Sketch_8.setCoincident(SketchLine_79.startPoint(), SketchArc_17.startPoint()) +SketchConstraintCoincidence_142.setName("SketchConstraintCoincidence_146") +SketchLine_80 = Sketch_8.addLine(39, 16.69872981077804, 39.00000000000002, 51.69873025170988) SketchLine_80.setName("SketchLine_83") SketchLine_80.result().setName("SketchLine_83") -SketchConstraintCoincidence_141 = Sketch_8.setCoincident(SketchArc_17.endPoint(), SketchLine_80.startPoint()) -SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_147") -SketchConstraintCoincidence_142 = Sketch_8.setCoincident(SketchArc_18.endPoint(), SketchLine_80.endPoint()) -SketchConstraintCoincidence_142.setName("SketchConstraintCoincidence_148") -SketchConstraintDistance_39 = Sketch_8.setDistance(SketchArc_17.center(), SketchLine_67.result(), 11) -SketchConstraintDistance_40 = Sketch_8.setDistance(SketchLine_69.result(), SketchArc_18.center(), 25) -SketchConstraintDistance_41 = Sketch_8.setDistance(SketchArc_18.center(), SketchLine_67.result(), 11) +SketchConstraintCoincidence_143 = Sketch_8.setCoincident(SketchArc_17.endPoint(), SketchLine_80.startPoint()) +SketchConstraintCoincidence_143.setName("SketchConstraintCoincidence_147") +SketchConstraintCoincidence_144 = Sketch_8.setCoincident(SketchArc_18.endPoint(), SketchLine_80.endPoint()) +SketchConstraintCoincidence_144.setName("SketchConstraintCoincidence_148") +SketchConstraintDistance_40 = Sketch_8.setDistance(SketchArc_17.center(), SketchLine_67.result(), 11) +SketchConstraintDistance_41 = Sketch_8.setDistance(SketchLine_69.result(), SketchArc_18.center(), 25) SketchConstraintDistance_41.setName("SketchConstraintDistance_42") +SketchConstraintDistance_42 = Sketch_8.setDistance(SketchArc_18.center(), SketchLine_67.result(), 11) SketchConstraintRadius_22 = Sketch_8.setRadius(SketchArc_18.results()[1], 5) SketchConstraintRadius_22.setName("SketchConstraintRadius_23") +SketchConstraintLength_1 = Sketch_8.setLength(SketchLine_80.result(), 35.000000440932) +SketchConstraintLength_2 = Sketch_8.setLength(SketchLine_79.result(), 35) +SketchConstraintLength_3 = Sketch_8.setLength(SketchLine_75.result(), 170.764972021204) +SketchConstraintLength_4 = Sketch_8.setLength(SketchLine_77.result(), 32.509756356351) +SketchConstraintLength_5 = Sketch_8.setLength(SketchLine_76.result(), 126.065149813077) +SketchConstraintDistance_43 = Sketch_8.setDistance(SketchArc_18.endPoint(), SketchLine_69.result(), 24.999999559068) +SketchConstraintDistance_43.setName("SketchConstraintDistance_44") +SketchConstraintDistance_44 = Sketch_8.setDistance(SketchArc_18.startPoint(), SketchLine_69.result(), 25) +SketchConstraintDistance_44.setName("SketchConstraintDistance_45") model.do() ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_8/Face-SketchLine_79r-SketchLine_80r-SketchLine_81r-SketchLine_73r-SketchLine_74r-SketchLine_75r-SketchLine_76r-SketchLine_77r-SketchArc_16_2r-SketchArc_17_2r"), model.selection("WIRE", "Sketch_8/Wire-SketchCircle_8_2f"), model.selection("WIRE", "Sketch_8/Wire-SketchCircle_9_2f"), model.selection("WIRE", "Sketch_8/Wire-SketchArc_19_2f-SketchArc_18_2f-SketchLine_82f-SketchLine_83r")], model.selection(), 0, 10, [model.selection("SOLID", "ExtrusionCut_1_1")]) Boolean_7 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Boolean_6_1")], [model.selection("SOLID", "ExtrusionCut_2_1")]) +model.do() + +# Test reexecution after parameter change +Parameter_H.setValue(8) +model.do() +model.testResultsVolumes(Boolean_7, [169755.330836739361984655261039734]) +Parameter_H.setValue(6) model.end() from GeomAPI import GeomAPI_Shape @@ -761,6 +759,6 @@ model.testNbSubShapes(Boolean_7, GeomAPI_Shape.SOLID, [1]) model.testNbSubShapes(Boolean_7, GeomAPI_Shape.FACE, [50]) model.testNbSubShapes(Boolean_7, GeomAPI_Shape.EDGE, [266]) model.testNbSubShapes(Boolean_7, GeomAPI_Shape.VERTEX, [532]) -model.testResultsVolumes(Boolean_7, [156999.218330596777377650141716003]) +model.testResultsVolumes(Boolean_7, [156999.209584889642428606748580933]) assert(model.checkPythonDump) -- 2.39.2