Salome HOME
Correct DoF calculation
[modules/shaper.git] / test.models / case24.py
1 from SketchAPI import *
2
3 from salome.shaper import model
4
5 model.begin()
6 partSet = model.moduleDocument()
7 Part_1 = model.addPart(partSet)
8 Part_1_doc = Part_1.document()
9 model.addParameter(Part_1_doc, "DBody", "65")
10 Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/YOZ"), 89, False)
11 Sketch_1 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
12 SketchLine_1 = Sketch_1.addLine(0, 20, 16.99998550401508, 20)
13 SketchLine_1.setName("SketchLine_7")
14 SketchLine_1.result().setName("SketchLine_7")
15 SketchLine_2 = Sketch_1.addLine(20, 0, 0, 0)
16 SketchLine_2.setName("SketchLine_1")
17 SketchLine_2.result().setName("SketchLine_1")
18 SketchLine_3 = Sketch_1.addLine(0, 0, 0, 20)
19 SketchLine_3.setName("SketchLine_2")
20 SketchLine_3.result().setName("SketchLine_2")
21 SketchLine_4 = Sketch_1.addLine(20, 16.99999846116062, 20, 0)
22 SketchLine_4.setName("SketchLine_8")
23 SketchLine_4.result().setName("SketchLine_8")
24 SketchLine_5 = Sketch_1.addLine(20, 20, 20, 0)
25 SketchLine_5.setName("SketchLine_4")
26 SketchLine_5.result().setName("SketchLine_4")
27 SketchLine_5.setAuxiliary(True)
28 SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_5.endPoint(), SketchLine_2.startPoint())
29 SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchLine_3.startPoint())
30 SketchLine_6 = Sketch_1.addLine(0, 20, 20, 20)
31 SketchLine_6.setName("SketchLine_3")
32 SketchLine_6.result().setName("SketchLine_3")
33 SketchLine_6.setAuxiliary(True)
34 SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_6.startPoint())
35 SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_5.startPoint())
36 SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_2.result())
37 SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_3.result())
38 SketchConstraintHorizontal_2 = Sketch_1.setHorizontal(SketchLine_6.result())
39 SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_5.result())
40 SketchProjection_1 = Sketch_1.addProjection(model.selection("EDGE", "PartSet/OZ"))
41 SketchLine_7 = SketchProjection_1.createdFeature()
42 SketchLine_7.setName("SketchLine_5")
43 SketchLine_7.result().setName("SketchLine_5")
44 SketchProjection_2 = Sketch_1.addProjection(model.selection("EDGE", "PartSet/OY"))
45 SketchLine_8 = SketchProjection_2.createdFeature()
46 SketchLine_8.setName("SketchLine_6")
47 SketchLine_8.result().setName("SketchLine_6")
48 SketchArc_1 = Sketch_1.addArc(17, 17, 20, 16.99999846116062, 16.99998550401508, 20, False)
49 SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchArc_1.startPoint(), SketchLine_4.startPoint())
50 SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_1.endPoint())
51 SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_1.result())
52 SketchConstraintTangent_2 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_4.result())
53 SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchLine_6.startPoint(), SketchLine_1.startPoint())
54 SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchLine_5.endPoint(), SketchLine_4.endPoint())
55 SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_6.result())
56 SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_4.startPoint(), SketchLine_5.result())
57 SketchConstraintRadius_1 = Sketch_1.setRadius(SketchArc_1.results()[1], 3)
58 SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchAPI_Line(SketchLine_7).startPoint())
59 SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_2.startPoint(), SketchLine_3.result(), 20)
60 SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_3.endPoint(), SketchLine_2.result(), 20)
61 model.do()
62 Revolution_1 = model.addRevolution(Part_1_doc, [model.selection("FACE", "Sketch_1/Face-SketchLine_7r-SketchLine_1r-SketchLine_2r-SketchLine_8r-SketchArc_1_2f")], model.selection("EDGE", "Sketch_1/Edge-SketchLine_2"), 0, 180)
63 ExtrusionFuse_1 = model.addExtrusionFuse(Part_1_doc, [model.selection("FACE", "Sketch_1/Face-SketchLine_7r-SketchLine_1r-SketchLine_2r-SketchLine_8r-SketchArc_1_2f")], model.selection(), 0, 25, [model.selection("SOLID", "Revolution_1_1")])
64 Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
65 SketchLine_9 = Sketch_2.addLine(0, 20, -17.00000285538278, 20)
66 SketchLine_9.setName("SketchLine_13")
67 SketchLine_9.result().setName("SketchLine_13")
68 SketchLine_10 = Sketch_2.addLine(-20, 0, 0, 0)
69 SketchLine_10.setName("SketchLine_9")
70 SketchLine_10.result().setName("SketchLine_9")
71 SketchPoint_1 = Sketch_2.addPoint(model.selection("VERTEX", "Sketch_1/Vertex-SketchLine_2s-SketchProjection_1s-SketchLine_5s-SketchProjection_2s-SketchLine_6s-SketchLine_1e"))
72 SketchConstraintCoincidence_12 = Sketch_2.setCoincident(SketchLine_10.endPoint(), SketchPoint_1.result())
73 SketchLine_11 = Sketch_2.addLine(0, 0, 0, 20)
74 SketchLine_11.setName("SketchLine_10")
75 SketchLine_11.result().setName("SketchLine_10")
76 SketchLine_12 = Sketch_2.addLine(-20, 17.00000633266883, -20, 0)
77 SketchLine_12.setName("SketchLine_14")
78 SketchLine_12.result().setName("SketchLine_14")
79 SketchLine_13 = Sketch_2.addLine(-20, 20, -20, 0)
80 SketchLine_13.setName("SketchLine_12")
81 SketchLine_13.result().setName("SketchLine_12")
82 SketchLine_13.setAuxiliary(True)
83 SketchConstraintCoincidence_13 = Sketch_2.setCoincident(SketchLine_13.endPoint(), SketchLine_10.startPoint())
84 SketchConstraintCoincidence_14 = Sketch_2.setCoincident(SketchLine_10.endPoint(), SketchLine_11.startPoint())
85 SketchLine_14 = Sketch_2.addLine(0, 20, -20, 20)
86 SketchLine_14.setName("SketchLine_11")
87 SketchLine_14.result().setName("SketchLine_11")
88 SketchLine_14.setAuxiliary(True)
89 SketchConstraintCoincidence_15 = Sketch_2.setCoincident(SketchLine_11.endPoint(), SketchLine_14.startPoint())
90 SketchConstraintCoincidence_16 = Sketch_2.setCoincident(SketchLine_14.endPoint(), SketchLine_13.startPoint())
91 SketchConstraintHorizontal_3 = Sketch_2.setHorizontal(SketchLine_10.result())
92 SketchConstraintVertical_3 = Sketch_2.setVertical(SketchLine_11.result())
93 SketchConstraintHorizontal_4 = Sketch_2.setHorizontal(SketchLine_14.result())
94 SketchConstraintVertical_4 = Sketch_2.setVertical(SketchLine_13.result())
95 SketchArc_2 = Sketch_2.addArc(-17, 17, -17.00000285538278, 20, -20, 17.00000633266883, False)
96 SketchConstraintCoincidence_17 = Sketch_2.setCoincident(SketchArc_2.startPoint(), SketchLine_9.endPoint())
97 SketchConstraintCoincidence_18 = Sketch_2.setCoincident(SketchArc_2.endPoint(), SketchLine_12.startPoint())
98 SketchConstraintTangent_3 = Sketch_2.setTangent(SketchArc_2.results()[1], SketchLine_9.result())
99 SketchConstraintTangent_4 = Sketch_2.setTangent(SketchArc_2.results()[1], SketchLine_12.result())
100 SketchConstraintCoincidence_19 = Sketch_2.setCoincident(SketchLine_14.startPoint(), SketchLine_9.startPoint())
101 SketchConstraintCoincidence_20 = Sketch_2.setCoincident(SketchLine_13.endPoint(), SketchLine_12.endPoint())
102 SketchConstraintCoincidence_21 = Sketch_2.setCoincident(SketchLine_9.endPoint(), SketchLine_14.result())
103 SketchConstraintCoincidence_22 = Sketch_2.setCoincident(SketchLine_12.startPoint(), SketchLine_13.result())
104 SketchConstraintRadius_2 = Sketch_2.setRadius(SketchArc_2.results()[1], 3)
105 SketchConstraintDistance_3 = Sketch_2.setDistance(SketchLine_10.startPoint(), SketchLine_11.result(), 20)
106 SketchConstraintDistance_4 = Sketch_2.setDistance(SketchLine_11.endPoint(), SketchLine_10.result(), 20)
107 model.do()
108 ExtrusionFuse_2 = model.addExtrusionFuse(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchLine_13f-SketchLine_9f-SketchLine_10f-SketchLine_14f-SketchArc_2_2f")], model.selection(), 0, 25, [model.selection("SOLID", "ExtrusionFuse_1_1")])
109 Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionFuse_2_1/Modfied_8"))
110 SketchLine_15 = Sketch_3.addLine(0, -20, -17.00000002635728, -20)
111 SketchLine_15.setName("SketchLine_19")
112 SketchLine_15.result().setName("SketchLine_19")
113 SketchLine_16 = Sketch_3.addLine(-20, 0, 0, 0)
114 SketchLine_16.setName("SketchLine_15")
115 SketchLine_16.result().setName("SketchLine_15")
116 SketchPoint_2 = Sketch_3.addPoint(model.selection("VERTEX", "ExtrusionFuse_2_1/Modfied_7&ExtrusionFuse_2_1/Modfied_5&ExtrusionFuse_2_1/Modfied_8&ExtrusionFuse_2_1/Modfied_11"))
117 SketchConstraintCoincidence_23 = Sketch_3.setCoincident(SketchLine_16.endPoint(), SketchPoint_2.result())
118 SketchLine_17 = Sketch_3.addLine(0, 0, 0, -20)
119 SketchLine_17.setName("SketchLine_16")
120 SketchLine_17.result().setName("SketchLine_16")
121 SketchLine_18 = Sketch_3.addLine(-20, -16.99998301947517, -20, 0)
122 SketchLine_18.setName("SketchLine_20")
123 SketchLine_18.result().setName("SketchLine_20")
124 SketchLine_19 = Sketch_3.addLine(-20, -20, -20, 0)
125 SketchLine_19.setName("SketchLine_18")
126 SketchLine_19.result().setName("SketchLine_18")
127 SketchLine_19.setAuxiliary(True)
128 SketchConstraintCoincidence_24 = Sketch_3.setCoincident(SketchLine_19.endPoint(), SketchLine_16.startPoint())
129 SketchConstraintCoincidence_25 = Sketch_3.setCoincident(SketchLine_16.endPoint(), SketchLine_17.startPoint())
130 SketchLine_20 = Sketch_3.addLine(0, -20, -20, -20)
131 SketchLine_20.setName("SketchLine_17")
132 SketchLine_20.result().setName("SketchLine_17")
133 SketchLine_20.setAuxiliary(True)
134 SketchConstraintCoincidence_26 = Sketch_3.setCoincident(SketchLine_17.endPoint(), SketchLine_20.startPoint())
135 SketchConstraintCoincidence_27 = Sketch_3.setCoincident(SketchLine_20.endPoint(), SketchLine_19.startPoint())
136 SketchConstraintHorizontal_5 = Sketch_3.setHorizontal(SketchLine_16.result())
137 SketchConstraintVertical_5 = Sketch_3.setVertical(SketchLine_17.result())
138 SketchConstraintHorizontal_6 = Sketch_3.setHorizontal(SketchLine_20.result())
139 SketchConstraintVertical_6 = Sketch_3.setVertical(SketchLine_19.result())
140 SketchArc_3 = Sketch_3.addArc(-17, -17, -20, -16.99998301947517, -17.00000002635728, -20, False)
141 SketchConstraintCoincidence_28 = Sketch_3.setCoincident(SketchArc_3.startPoint(), SketchLine_18.startPoint())
142 SketchConstraintCoincidence_29 = Sketch_3.setCoincident(SketchArc_3.endPoint(), SketchLine_15.endPoint())
143 SketchConstraintTangent_5 = Sketch_3.setTangent(SketchArc_3.results()[1], SketchLine_15.result())
144 SketchConstraintTangent_6 = Sketch_3.setTangent(SketchArc_3.results()[1], SketchLine_18.result())
145 SketchConstraintCoincidence_30 = Sketch_3.setCoincident(SketchLine_20.startPoint(), SketchLine_15.startPoint())
146 SketchConstraintCoincidence_31 = Sketch_3.setCoincident(SketchLine_19.endPoint(), SketchLine_18.endPoint())
147 SketchConstraintCoincidence_32 = Sketch_3.setCoincident(SketchLine_15.endPoint(), SketchLine_20.result())
148 SketchConstraintCoincidence_33 = Sketch_3.setCoincident(SketchLine_18.startPoint(), SketchLine_19.result())
149 SketchConstraintRadius_3 = Sketch_3.setRadius(SketchArc_3.results()[1], 3)
150 SketchConstraintDistance_5 = Sketch_3.setDistance(SketchLine_15.startPoint(), SketchLine_16.result(), 20)
151 SketchConstraintDistance_6 = Sketch_3.setDistance(SketchLine_18.endPoint(), SketchLine_17.result(), 20)
152 SketchLine_21 = Sketch_3.addLine(-23, -0.01462093666115485, -23, -19.98755081419712)
153 SketchConstraintParallel_1 = Sketch_3.setParallel(SketchLine_17.result(), SketchLine_21.result())
154 SketchConstraintDistance_7 = Sketch_3.setDistance(SketchLine_21.startPoint(), SketchLine_18.result(), 3)
155 model.do()
156 RevolutionFuse_1 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_3")], model.selection("EDGE", "Sketch_3/Edge-SketchLine_21"), 71, 0, [model.selection("SOLID", "ExtrusionFuse_2_1")])
157 Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "RevolutionFuse_1_1/Modfied_7"))
158 SketchLine_22 = Sketch_4.addLine(-3, -20, 17.00000452949485, -20)
159 SketchLine_22.setName("SketchLine_26")
160 SketchLine_22.result().setName("SketchLine_26")
161 SketchLine_23 = Sketch_4.addLine(20, 0, -3, 0)
162 SketchLine_23.setName("SketchLine_22")
163 SketchLine_23.result().setName("SketchLine_22")
164 SketchLine_24 = Sketch_4.addLine(-3, 0, -3, -20)
165 SketchLine_24.setName("SketchLine_23")
166 SketchLine_24.result().setName("SketchLine_23")
167 SketchLine_25 = Sketch_4.addLine(20, -17.00001580618423, 20, 0)
168 SketchLine_25.setName("SketchLine_27")
169 SketchLine_25.result().setName("SketchLine_27")
170 SketchLine_26 = Sketch_4.addLine(20, -20, 20, 0)
171 SketchLine_26.setName("SketchLine_25")
172 SketchLine_26.result().setName("SketchLine_25")
173 SketchLine_26.setAuxiliary(True)
174 SketchConstraintCoincidence_34 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_23.startPoint())
175 SketchConstraintCoincidence_35 = Sketch_4.setCoincident(SketchLine_23.endPoint(), SketchLine_24.startPoint())
176 SketchLine_27 = Sketch_4.addLine(-3, -20, 20, -20)
177 SketchLine_27.setName("SketchLine_24")
178 SketchLine_27.result().setName("SketchLine_24")
179 SketchLine_27.setAuxiliary(True)
180 SketchConstraintCoincidence_36 = Sketch_4.setCoincident(SketchLine_24.endPoint(), SketchLine_27.startPoint())
181 SketchConstraintCoincidence_37 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_26.startPoint())
182 SketchConstraintHorizontal_7 = Sketch_4.setHorizontal(SketchLine_23.result())
183 SketchConstraintVertical_7 = Sketch_4.setVertical(SketchLine_24.result())
184 SketchConstraintHorizontal_8 = Sketch_4.setHorizontal(SketchLine_27.result())
185 SketchConstraintVertical_8 = Sketch_4.setVertical(SketchLine_26.result())
186 SketchArc_4 = Sketch_4.addArc(17, -17, 17.00000452949485, -20, 20, -17.00001580618423, False)
187 SketchConstraintCoincidence_38 = Sketch_4.setCoincident(SketchArc_4.startPoint(), SketchLine_22.endPoint())
188 SketchConstraintCoincidence_39 = Sketch_4.setCoincident(SketchArc_4.endPoint(), SketchLine_25.startPoint())
189 SketchConstraintTangent_7 = Sketch_4.setTangent(SketchArc_4.results()[1], SketchLine_22.result())
190 SketchConstraintTangent_8 = Sketch_4.setTangent(SketchArc_4.results()[1], SketchLine_25.result())
191 SketchConstraintCoincidence_40 = Sketch_4.setCoincident(SketchLine_27.startPoint(), SketchLine_22.startPoint())
192 SketchConstraintCoincidence_41 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_25.endPoint())
193 SketchConstraintCoincidence_42 = Sketch_4.setCoincident(SketchLine_22.endPoint(), SketchLine_27.result())
194 SketchConstraintCoincidence_43 = Sketch_4.setCoincident(SketchLine_25.startPoint(), SketchLine_26.result())
195 SketchConstraintRadius_4 = Sketch_4.setRadius(SketchArc_4.results()[1], 3)
196 SketchLine_28 = Sketch_4.addLine(model.selection("EDGE", "Sketch_3/Edge-SketchLine_15"))
197 SketchConstraintCoincidence_44 = Sketch_4.setCoincident(SketchLine_24.startPoint(), SketchLine_28.result())
198 SketchConstraintDistance_8 = Sketch_4.setDistance(SketchLine_22.endPoint(), SketchLine_23.result(), 20)
199 SketchConstraintDistance_9 = Sketch_4.setDistance(SketchLine_28.endPoint(), SketchLine_25.result(), 20)
200 SketchConstraintDistance_10 = Sketch_4.setDistance(SketchLine_24.result(), SketchLine_28.endPoint(), 3)
201 SketchLine_29 = Sketch_4.addLine(23, -0.2448405100241045, 23, -19.61338093143246)
202 SketchConstraintParallel_2 = Sketch_4.setParallel(SketchLine_25.result(), SketchLine_29.result())
203 SketchConstraintDistance_11 = Sketch_4.setDistance(SketchLine_23.startPoint(), SketchLine_29.result(), 3)
204 model.do()
205 RevolutionFuse_2 = model.addRevolutionFuse(Part_1_doc, [model.selection("FACE", "Sketch_4/Face-SketchLine_26f-SketchLine_22f-SketchLine_23f-SketchLine_27f-SketchArc_4_2f")], model.selection("EDGE", "Sketch_4/Edge-SketchLine_29"), 0, 71, [model.selection("SOLID", "RevolutionFuse_1_1")])
206 Sketch_5 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/XOZ"))
207 SketchLine_30 = Sketch_5.addLine(0, 0, 0, 82)
208 SketchLine_31 = Sketch_5.addLine(model.selection("EDGE", "PartSet/OZ"))
209 SketchConstraintCoincidence_45 = Sketch_5.setCoincident(SketchLine_30.endPoint(), SketchLine_31.result())
210 SketchLine_32 = Sketch_5.addLine(27.41618692363446, 77.00000000000001, 58.99998109391454, 77.00000000000001)
211 SketchLine_32.setName("SketchLine_39")
212 SketchLine_32.result().setName("SketchLine_39")
213 SketchLine_33 = Sketch_5.addLine(0, 82, 20, 82)
214 SketchLine_33.setName("SketchLine_32")
215 SketchLine_33.result().setName("SketchLine_32")
216 SketchConstraintCoincidence_46 = Sketch_5.setCoincident(SketchLine_30.endPoint(), SketchLine_33.startPoint())
217 SketchLine_34 = Sketch_5.addLine(65, 70.99999917134223, 65, 0)
218 SketchLine_34.setName("SketchLine_40")
219 SketchLine_34.result().setName("SketchLine_40")
220 SketchLine_35 = Sketch_5.addLine(27.41618692363446, 77.00000000000001, 65, 77.00000000000001)
221 SketchLine_35.setName("SketchLine_34")
222 SketchLine_35.result().setName("SketchLine_34")
223 SketchLine_35.setAuxiliary(True)
224 SketchLine_36 = Sketch_5.addLine(65, 77.00000000000001, 65, 0)
225 SketchLine_36.setName("SketchLine_35")
226 SketchLine_36.result().setName("SketchLine_35")
227 SketchLine_36.setAuxiliary(True)
228 SketchConstraintCoincidence_47 = Sketch_5.setCoincident(SketchLine_35.endPoint(), SketchLine_36.startPoint())
229 SketchConstraintCoincidence_47.setName("SketchConstraintCoincidence_49")
230 SketchLine_37 = Sketch_5.addLine(65, 0, 0, 0)
231 SketchLine_37.setName("SketchLine_38")
232 SketchLine_37.result().setName("SketchLine_38")
233 SketchConstraintCoincidence_48 = Sketch_5.setCoincident(SketchLine_30.startPoint(), SketchLine_37.endPoint())
234 SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_53")
235 SketchConstraintCoincidence_49 = Sketch_5.setCoincident(SketchLine_37.endPoint(), SketchLine_31.startPoint())
236 SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_54")
237 SketchConstraintHorizontal_9 = Sketch_5.setHorizontal(SketchLine_37.result())
238 SketchConstraintVertical_9 = Sketch_5.setVertical(SketchLine_36.result())
239 SketchConstraintHorizontal_10 = Sketch_5.setHorizontal(SketchLine_33.result())
240 SketchConstraintHorizontal_11 = Sketch_5.setHorizontal(SketchLine_35.result())
241 SketchConstraintDistance_12 = Sketch_5.setDistance(SketchLine_33.endPoint(), SketchLine_35.result(), 5)
242 SketchConstraintDistance_12.setName("SketchConstraintDistance_14")
243 SketchConstraintDistance_13 = Sketch_5.setDistance(SketchLine_30.endPoint(), SketchLine_37.result(), 82)
244 SketchConstraintDistance_13.setName("SketchConstraintDistance_15")
245 SketchArc_5 = Sketch_5.addArc(59, 70.99999999999999, 65, 70.99999917134223, 58.99998109391454, 77.00000000000001, False)
246 SketchArc_5.setName("SketchArc_6")
247 SketchArc_5.result().setName("SketchArc_6")
248 SketchArc_5.results()[1].setName("SketchArc_6_2")
249 SketchConstraintCoincidence_50 = Sketch_5.setCoincident(SketchArc_5.startPoint(), SketchLine_34.startPoint())
250 SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_57")
251 SketchConstraintCoincidence_51 = Sketch_5.setCoincident(SketchArc_5.endPoint(), SketchLine_32.endPoint())
252 SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_58")
253 SketchConstraintTangent_9 = Sketch_5.setTangent(SketchArc_5.results()[1], SketchLine_32.result())
254 SketchConstraintTangent_9.setName("SketchConstraintTangent_10")
255 SketchConstraintTangent_10 = Sketch_5.setTangent(SketchArc_5.results()[1], SketchLine_34.result())
256 SketchConstraintTangent_10.setName("SketchConstraintTangent_11")
257 SketchConstraintCoincidence_52 = Sketch_5.setCoincident(SketchLine_35.startPoint(), SketchLine_32.startPoint())
258 SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_59")
259 SketchConstraintCoincidence_53 = Sketch_5.setCoincident(SketchLine_36.endPoint(), SketchLine_34.endPoint())
260 SketchConstraintCoincidence_53.setName("SketchConstraintCoincidence_60")
261 SketchConstraintCoincidence_54 = Sketch_5.setCoincident(SketchLine_32.endPoint(), SketchLine_35.result())
262 SketchConstraintCoincidence_54.setName("SketchConstraintCoincidence_61")
263 SketchConstraintCoincidence_55 = Sketch_5.setCoincident(SketchLine_34.startPoint(), SketchLine_36.result())
264 SketchConstraintCoincidence_55.setName("SketchConstraintCoincidence_62")
265 SketchConstraintRadius_5 = Sketch_5.setRadius(SketchArc_5.results()[1], 6)
266 SketchConstraintRadius_5.setName("SketchConstraintRadius_6")
267 SketchArc_6 = Sketch_5.addArc(27.41619848709567, 84.99999999999999, 27.41618692363446, 77.00000000000001, 20, 82, True)
268 SketchArc_6.setName("SketchArc_7")
269 SketchArc_6.result().setName("SketchArc_7")
270 SketchArc_6.results()[1].setName("SketchArc_7_2")
271 SketchConstraintCoincidence_56 = Sketch_5.setCoincident(SketchArc_6.startPoint(), SketchLine_32.startPoint())
272 SketchConstraintCoincidence_56.setName("SketchConstraintCoincidence_63")
273 SketchConstraintTangent_11 = Sketch_5.setTangent(SketchArc_6.results()[1], SketchLine_32.result())
274 SketchConstraintTangent_11.setName("SketchConstraintTangent_12")
275 SketchConstraintCoincidence_57 = Sketch_5.setCoincident(SketchLine_33.endPoint(), SketchArc_6.endPoint())
276 SketchConstraintCoincidence_57.setName("SketchConstraintCoincidence_64")
277 SketchConstraintRadius_6 = Sketch_5.setRadius(SketchArc_6.results()[1], 8)
278 SketchConstraintRadius_6.setName("SketchConstraintRadius_7")
279 SketchConstraintDistance_14 = Sketch_5.setDistance(SketchLine_33.endPoint(), SketchLine_30.result(), 20)
280 SketchConstraintDistance_14.setName("SketchConstraintDistance_17")
281 SketchConstraintCoincidence_59 = Sketch_5.setCoincident(SketchLine_34.endPoint(), SketchLine_37.startPoint())
282 SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_66")
283 SketchConstraintDistance_15 = Sketch_5.setDistance(SketchLine_37.startPoint(), SketchLine_30.result(), "DBody")
284 SketchConstraintDistance_15.setName("SketchConstraintDistance_16")
285 model.do()
286 RevolutionFuse_3 = model.addRevolutionFuse(Part_1_doc, [model.selection("WIRE", "Sketch_5/Wire-SketchLine_30r-SketchLine_39r-SketchLine_32r-SketchLine_40r-SketchLine_38r-SketchArc_6_2f-SketchArc_7_2r")], model.selection("EDGE", "PartSet/OZ"), 45, 315, [model.selection("SOLID", "RevolutionFuse_2_1")])
287 Sketch_6 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/YOZ"))
288 SketchLine_38 = Sketch_6.addLine(19.99999999999999, 60, -20, 60)
289 SketchLine_38.setName("SketchLine_48")
290 SketchLine_38.result().setName("SketchLine_48")
291 SketchLine_39 = Sketch_6.addLine(-20, 30, 20, 30)
292 SketchLine_39.setName("SketchLine_52")
293 SketchLine_39.result().setName("SketchLine_52")
294 SketchLine_40 = Sketch_6.addLine(-20, 60, -20, 30)
295 SketchLine_40.setName("SketchLine_51")
296 SketchLine_40.result().setName("SketchLine_51")
297 SketchLine_41 = Sketch_6.addLine(20, 30, 19.99999999999999, 60)
298 SketchLine_41.setName("SketchLine_50")
299 SketchLine_41.result().setName("SketchLine_50")
300 SketchLine_43 = Sketch_6.addLine(-19.99999999999998, 30.00000000000001, 20, 30.00000000000001)
301 SketchLine_43.setName("SketchLine_41")
302 SketchLine_43.result().setName("SketchLine_41")
303 SketchLine_43.setAuxiliary(True)
304 SketchLine_42 = Sketch_6.addLine(-19.99999999999999, 60, -19.99999999999998, 30.00000000000001)
305 SketchLine_42.setName("SketchLine_44")
306 SketchLine_42.result().setName("SketchLine_44")
307 SketchLine_42.setAuxiliary(True)
308 SketchConstraintCoincidence_60 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_43.startPoint())
309 SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_67")
310 SketchLine_44 = Sketch_6.addLine(20, 30.00000000000001, 19.99999999999998, 60)
311 SketchLine_44.setName("SketchLine_42")
312 SketchLine_44.result().setName("SketchLine_42")
313 SketchLine_44.setAuxiliary(True)
314 SketchConstraintCoincidence_61 = Sketch_6.setCoincident(SketchLine_43.endPoint(), SketchLine_44.startPoint())
315 SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_68")
316 SketchLine_45 = Sketch_6.addLine(19.99999999999998, 60, -19.99999999999999, 60)
317 SketchLine_45.setName("SketchLine_43")
318 SketchLine_45.result().setName("SketchLine_43")
319 SketchLine_45.setAuxiliary(True)
320 SketchConstraintCoincidence_62 = Sketch_6.setCoincident(SketchLine_44.endPoint(), SketchLine_45.startPoint())
321 SketchConstraintCoincidence_62.setName("SketchConstraintCoincidence_69")
322 SketchConstraintCoincidence_63 = Sketch_6.setCoincident(SketchLine_45.endPoint(), SketchLine_42.startPoint())
323 SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_70")
324 SketchConstraintHorizontal_12 = Sketch_6.setHorizontal(SketchLine_43.result())
325 SketchConstraintVertical_10 = Sketch_6.setVertical(SketchLine_44.result())
326 SketchConstraintHorizontal_13 = Sketch_6.setHorizontal(SketchLine_45.result())
327 SketchConstraintVertical_11 = Sketch_6.setVertical(SketchLine_42.result())
328 SketchLine_46 = Sketch_6.addLine(19.99999999999998, 60, -20, 60)
329 SketchLine_46.setName("SketchLine_45")
330 SketchLine_46.result().setName("SketchLine_45")
331 SketchLine_46.setAuxiliary(True)
332 SketchConstraintCoincidence_64 = Sketch_6.setCoincident(SketchLine_45.startPoint(), SketchLine_46.startPoint())
333 SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_73")
334 SketchLine_47 = Sketch_6.addLine(-20, 60, -19.99999999999998, 30.00000000000001)
335 SketchLine_47.setName("SketchLine_46")
336 SketchLine_47.result().setName("SketchLine_46")
337 SketchLine_47.setAuxiliary(True)
338 SketchConstraintCoincidence_65 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_47.endPoint())
339 SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_74")
340 SketchConstraintCoincidence_66 = Sketch_6.setCoincident(SketchLine_46.endPoint(), SketchLine_45.result())
341 SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_75")
342 SketchConstraintCoincidence_67 = Sketch_6.setCoincident(SketchLine_47.startPoint(), SketchLine_42.result())
343 SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_76")
344 SketchLine_48 = Sketch_6.addLine(20, 30.00000000000001, 19.99999999999999, 60)
345 SketchLine_48.setName("SketchLine_47")
346 SketchLine_48.result().setName("SketchLine_47")
347 SketchLine_48.setAuxiliary(True)
348 SketchConstraintCoincidence_68 = Sketch_6.setCoincident(SketchLine_44.startPoint(), SketchLine_48.startPoint())
349 SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_79")
350 SketchConstraintCoincidence_69 = Sketch_6.setCoincident(SketchLine_46.endPoint(), SketchLine_38.endPoint())
351 SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_80")
352 SketchConstraintCoincidence_70 = Sketch_6.setCoincident(SketchLine_48.endPoint(), SketchLine_44.result())
353 SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_81")
354 SketchConstraintCoincidence_71 = Sketch_6.setCoincident(SketchLine_38.startPoint(), SketchLine_46.result())
355 SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_82")
356 SketchLine_49 = Sketch_6.addLine(-19.99999999999998, 30.00000000000001, 20, 30)
357 SketchLine_49.setAuxiliary(True)
358 SketchConstraintCoincidence_72 = Sketch_6.setCoincident(SketchLine_43.startPoint(), SketchLine_49.startPoint())
359 SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_85")
360 SketchConstraintCoincidence_73 = Sketch_6.setCoincident(SketchLine_48.endPoint(), SketchLine_41.endPoint())
361 SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_86")
362 SketchConstraintCoincidence_74 = Sketch_6.setCoincident(SketchLine_49.endPoint(), SketchLine_43.result())
363 SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_87")
364 SketchConstraintCoincidence_75 = Sketch_6.setCoincident(SketchLine_41.startPoint(), SketchLine_48.result())
365 SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_88")
366 SketchConstraintCoincidence_76 = Sketch_6.setCoincident(SketchLine_47.startPoint(), SketchLine_40.startPoint())
367 SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_91")
368 SketchConstraintCoincidence_77 = Sketch_6.setCoincident(SketchLine_49.endPoint(), SketchLine_39.endPoint())
369 SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_92")
370 SketchConstraintCoincidence_78 = Sketch_6.setCoincident(SketchLine_40.endPoint(), SketchLine_47.result())
371 SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_93")
372 SketchConstraintCoincidence_79 = Sketch_6.setCoincident(SketchLine_39.startPoint(), SketchLine_49.result())
373 SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_94")
374 SketchPoint_3 = Sketch_6.addPoint(model.selection("VERTEX", "Sketch_5/Vertex-SketchLine_30s-SketchLine_31s-SketchLine_38e"))
375 SketchConstraintDistance_16 = Sketch_6.setDistance(SketchLine_40.result(), SketchPoint_3.coordinates(), 20)
376 SketchConstraintDistance_16.setName("SketchConstraintDistance_18")
377 SketchConstraintDistance_17 = Sketch_6.setDistance(SketchPoint_3.coordinates(), SketchLine_41.result(), 20)
378 SketchConstraintDistance_17.setName("SketchConstraintDistance_19")
379 SketchConstraintDistance_18 = Sketch_6.setDistance(SketchLine_39.result(), SketchPoint_3.coordinates(), 30)
380 SketchConstraintDistance_18.setName("SketchConstraintDistance_20")
381 SketchConstraintDistance_19 = Sketch_6.setDistance(SketchLine_39.result(), SketchLine_38.endPoint(), 30)
382 SketchConstraintDistance_19.setName("SketchConstraintDistance_21")
383 SketchConstraintCoincidence_80 = Sketch_6.setCoincident(SketchLine_40.startPoint(), SketchLine_38.endPoint())
384 SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_152")
385 SketchConstraintCoincidence_81 = Sketch_6.setCoincident(SketchLine_38.startPoint(), SketchLine_41.endPoint())
386 SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_153")
387 SketchConstraintCoincidence_82 = Sketch_6.setCoincident(SketchLine_40.endPoint(), SketchLine_39.startPoint())
388 SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_154")
389 SketchConstraintCoincidence_84 = Sketch_6.setCoincident(SketchLine_41.startPoint(), SketchLine_39.endPoint())
390 SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_156")
391 model.do()
392 ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_6")], model.selection(), 100, 0, [model.selection("SOLID", "RevolutionFuse_3_1")])
393 Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/XOZ"))
394 SketchLine_50 = Sketch_7.addLine(65, 23.09999999999939, 65, 23.00000523211526)
395 SketchLine_50.setName("SketchLine_61")
396 SketchLine_50.result().setName("SketchLine_61")
397 SketchLine_51 = Sketch_7.addLine(model.selection("EDGE", "Sketch_5/Edge-SketchLine_35"))
398 SketchLine_51.setName("SketchLine_54")
399 SketchLine_51.result().setName("SketchLine_54")
400 SketchLine_52 = Sketch_7.addLine(65, 23.09999999999939, 65, 20)
401 SketchLine_52.setName("SketchLine_53")
402 SketchLine_52.result().setName("SketchLine_53")
403 SketchLine_52.setAuxiliary(True)
404 SketchConstraintCoincidence_85 = Sketch_7.setCoincident(SketchLine_52.startPoint(), SketchLine_51.result())
405 SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_95")
406 SketchLine_53 = Sketch_7.addLine(68.00001763534438, 19.99999999999997, 68.09999999999999, 20)
407 SketchLine_53.setName("SketchLine_62")
408 SketchLine_53.result().setName("SketchLine_62")
409 SketchLine_54 = Sketch_7.addLine(65, 20, 68.09999999999999, 20)
410 SketchLine_54.setName("SketchLine_55")
411 SketchLine_54.result().setName("SketchLine_55")
412 SketchLine_54.setAuxiliary(True)
413 SketchConstraintCoincidence_86 = Sketch_7.setCoincident(SketchLine_52.endPoint(), SketchLine_54.startPoint())
414 SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_96")
415 SketchLine_55 = Sketch_7.addLine(model.selection("EDGE", "RevolutionFuse_3_1/Modfied_13&RevolutionFuse_3_1/Modfied_10"))
416 SketchLine_55.setName("SketchLine_56")
417 SketchLine_55.result().setName("SketchLine_56")
418 SketchConstraintCoincidence_87 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_55.result())
419 SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_97")
420 SketchLine_56 = Sketch_7.addLine(68.09999999999999, 20, 68.09999999999999, 18.51336352164785)
421 SketchLine_56.setName("SketchLine_57")
422 SketchLine_56.result().setName("SketchLine_57")
423 SketchConstraintCoincidence_88 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_56.startPoint())
424 SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_98")
425 SketchLine_57 = Sketch_7.addLine(68.09999999999999, 18.51336352164785, 63.35445204813018, 18.51336352164785)
426 SketchLine_57.setName("SketchLine_58")
427 SketchLine_57.result().setName("SketchLine_58")
428 SketchConstraintCoincidence_89 = Sketch_7.setCoincident(SketchLine_56.endPoint(), SketchLine_57.startPoint())
429 SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_99")
430 SketchLine_58 = Sketch_7.addLine(63.35445204813018, 18.51336352164785, 63.35445204813018, 23.09999999999939)
431 SketchLine_58.setName("SketchLine_59")
432 SketchLine_58.result().setName("SketchLine_59")
433 SketchConstraintCoincidence_90 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_58.startPoint())
434 SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_100")
435 SketchLine_59 = Sketch_7.addLine(63.35445204813018, 23.09999999999939, 65, 23.09999999999939)
436 SketchLine_59.setName("SketchLine_60")
437 SketchLine_59.result().setName("SketchLine_60")
438 SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_58.endPoint(), SketchLine_59.startPoint())
439 SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_101")
440 SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_52.startPoint(), SketchLine_59.endPoint())
441 SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_102")
442 SketchConstraintVertical_12 = Sketch_7.setVertical(SketchLine_52.result())
443 SketchConstraintHorizontal_14 = Sketch_7.setHorizontal(SketchLine_54.result())
444 SketchConstraintHorizontal_15 = Sketch_7.setHorizontal(SketchLine_57.result())
445 SketchConstraintHorizontal_16 = Sketch_7.setHorizontal(SketchLine_59.result())
446 SketchConstraintVertical_13 = Sketch_7.setVertical(SketchLine_56.result())
447 SketchConstraintVertical_14 = Sketch_7.setVertical(SketchLine_58.result())
448 SketchArc_7 = Sketch_7.addArc(68, 22.99999999999999, 65, 23.00000523211526, 68.00001763534438, 19.99999999999997, False)
449 SketchArc_7.setName("SketchArc_12")
450 SketchArc_7.result().setName("SketchArc_12")
451 SketchArc_7.results()[1].setName("SketchArc_12_2")
452 SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchArc_7.startPoint(), SketchLine_50.endPoint())
453 SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_103")
454 SketchConstraintCoincidence_94 = Sketch_7.setCoincident(SketchArc_7.endPoint(), SketchLine_53.startPoint())
455 SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_104")
456 SketchConstraintTangent_12 = Sketch_7.setTangent(SketchArc_7.results()[1], SketchLine_50.result())
457 SketchConstraintTangent_12.setName("SketchConstraintTangent_21")
458 SketchConstraintTangent_13 = Sketch_7.setTangent(SketchArc_7.results()[1], SketchLine_53.result())
459 SketchConstraintTangent_13.setName("SketchConstraintTangent_22")
460 SketchConstraintCoincidence_95 = Sketch_7.setCoincident(SketchLine_52.startPoint(), SketchLine_50.startPoint())
461 SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_105")
462 SketchConstraintCoincidence_96 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_53.endPoint())
463 SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_106")
464 SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_50.endPoint(), SketchLine_52.result())
465 SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_107")
466 SketchConstraintCoincidence_98 = Sketch_7.setCoincident(SketchLine_53.startPoint(), SketchLine_54.result())
467 SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_108")
468 SketchConstraintRadius_7 = Sketch_7.setRadius(SketchArc_7.results()[1], 3)
469 SketchConstraintRadius_7.setName("SketchConstraintRadius_12")
470 SketchConstraintDistance_20 = Sketch_7.setDistance(SketchLine_53.endPoint(), SketchLine_50.result(), 3.1)
471 SketchConstraintDistance_20.setName("SketchConstraintDistance_22")
472 SketchConstraintDistance_21 = Sketch_7.setDistance(SketchLine_50.startPoint(), SketchLine_53.result(), 3.1)
473 SketchConstraintDistance_21.setName("SketchConstraintDistance_23")
474 model.do()
475 RevolutionFuse_4 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_7")], model.selection("EDGE", "PartSet/OZ"), 14.4, 14.4, [model.selection("SOLID", "ExtrusionCut_1_1")])
476 Sketch_8 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/XOZ"))
477 SketchCircle_1 = Sketch_8.addCircle(0, 45, 12.5)
478 SketchLine_60 = Sketch_8.addLine(model.selection("EDGE", "Sketch_5/Edge-SketchLine_30"))
479 SketchLine_60.setName("SketchLine_63")
480 SketchLine_60.result().setName("SketchLine_63")
481 SketchConstraintCoincidence_99 = Sketch_8.setCoincident(SketchCircle_1.center(), SketchLine_60.result())
482 SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_109")
483 SketchLine_61 = Sketch_8.addLine(model.selection("EDGE", "Sketch_5/Edge-SketchLine_38"))
484 SketchLine_61.setName("SketchLine_64")
485 SketchLine_61.result().setName("SketchLine_64")
486 SketchConstraintDistance_22 = Sketch_8.setDistance(SketchCircle_1.center(), SketchLine_61.result(), 45)
487 SketchConstraintDistance_22.setName("SketchConstraintDistance_24")
488 SketchConstraintRadius_8 = Sketch_8.setRadius(SketchCircle_1.results()[1], 12.5)
489 SketchConstraintRadius_8.setName("SketchConstraintRadius_13")
490 model.do()
491 ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_8/Face-SketchCircle_1_2f")], model.selection(), 100, 100, [model.selection("SOLID", "RevolutionFuse_4_1")])
492 Sketch_9 = model.addSketch(Part_1_doc, model.defaultPlane("XOZ"))
493 SketchLine_62 = Sketch_9.addLine(0, 84, 0, -2)
494 SketchLine_62.setName("SketchLine_65")
495 SketchLine_62.result().setName("SketchLine_65")
496 SketchLine_63 = Sketch_9.addLine(model.selection("EDGE", "PartSet/OZ"))
497 SketchLine_63.setName("SketchLine_66")
498 SketchLine_63.result().setName("SketchLine_66")
499 SketchConstraintCoincidence_100 = Sketch_9.setCoincident(SketchLine_62.startPoint(), SketchLine_63.result())
500 SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_110")
501 SketchConstraintCoincidence_101 = Sketch_9.setCoincident(SketchLine_62.endPoint(), SketchLine_63.result())
502 SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_111")
503 SketchLine_64 = Sketch_9.addLine(50, 8, 50, 63.99999981522573)
504 SketchLine_64.setName("SketchLine_91")
505 SketchLine_64.result().setName("SketchLine_91")
506 SketchLine_65 = Sketch_9.addLine(0, -2, 58, -2)
507 SketchLine_65.setName("SketchLine_67")
508 SketchLine_65.result().setName("SketchLine_67")
509 SketchConstraintCoincidence_102 = Sketch_9.setCoincident(SketchLine_62.endPoint(), SketchLine_65.startPoint())
510 SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_112")
511 SketchLine_66 = Sketch_9.addLine(44.0000002728486, 70, 15, 70)
512 SketchLine_66.setName("SketchLine_92")
513 SketchLine_66.result().setName("SketchLine_92")
514 SketchLine_67 = Sketch_9.addLine(58, -2, 58.00000000000001, 3.999997221073)
515 SketchLine_67.setName("SketchLine_93")
516 SketchLine_67.result().setName("SketchLine_93")
517 SketchLine_68 = Sketch_9.addLine(58, -2, 58, 8)
518 SketchLine_68.setAuxiliary(True)
519 SketchConstraintCoincidence_103 = Sketch_9.setCoincident(SketchLine_65.endPoint(), SketchLine_68.startPoint())
520 SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_113")
521 SketchLine_69 = Sketch_9.addLine(53.99999482393354, 8, 50, 8)
522 SketchLine_69.setName("SketchLine_94")
523 SketchLine_69.result().setName("SketchLine_94")
524 SketchLine_70 = Sketch_9.addLine(58, 8, 50, 8)
525 SketchLine_70.setName("SketchLine_69")
526 SketchLine_70.result().setName("SketchLine_69")
527 SketchLine_70.setAuxiliary(True)
528 SketchConstraintCoincidence_104 = Sketch_9.setCoincident(SketchLine_68.endPoint(), SketchLine_70.startPoint())
529 SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_114")
530 SketchLine_71 = Sketch_9.addLine(50, 8, 49.99999999999999, 70)
531 SketchLine_71.setName("SketchLine_70")
532 SketchLine_71.result().setName("SketchLine_70")
533 SketchLine_71.setAuxiliary(True)
534 SketchConstraintCoincidence_105 = Sketch_9.setCoincident(SketchLine_70.endPoint(), SketchLine_71.startPoint())
535 SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_115")
536 SketchLine_72 = Sketch_9.addLine(49.99999999999999, 70, 15, 70)
537 SketchLine_72.setName("SketchLine_71")
538 SketchLine_72.result().setName("SketchLine_71")
539 SketchLine_72.setAuxiliary(True)
540 SketchConstraintCoincidence_106 = Sketch_9.setCoincident(SketchLine_71.endPoint(), SketchLine_72.startPoint())
541 SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_116")
542 SketchLine_73 = Sketch_9.addLine(15, 70, 15, 84)
543 SketchLine_73.setName("SketchLine_72")
544 SketchLine_73.result().setName("SketchLine_72")
545 SketchConstraintCoincidence_107 = Sketch_9.setCoincident(SketchLine_72.endPoint(), SketchLine_73.startPoint())
546 SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_117")
547 SketchLine_74 = Sketch_9.addLine(15, 84, 0, 84)
548 SketchLine_74.setName("SketchLine_73")
549 SketchLine_74.result().setName("SketchLine_73")
550 SketchConstraintCoincidence_108 = Sketch_9.setCoincident(SketchLine_73.endPoint(), SketchLine_74.startPoint())
551 SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_118")
552 SketchConstraintCoincidence_109 = Sketch_9.setCoincident(SketchLine_62.startPoint(), SketchLine_74.endPoint())
553 SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_119")
554 SketchLine_75 = Sketch_9.addLine(model.selection("EDGE", "PartSet/OX"))
555 SketchLine_75.setName("SketchLine_74")
556 SketchLine_75.result().setName("SketchLine_74")
557 SketchConstraintDistance_23 = Sketch_9.setDistance(SketchLine_65.endPoint(), SketchLine_75.result(), 2)
558 SketchConstraintDistance_23.setName("SketchConstraintDistance_25")
559 SketchConstraintDistance_24 = Sketch_9.setDistance(SketchLine_65.endPoint(), SketchLine_63.result(), 58)
560 SketchConstraintDistance_24.setName("SketchConstraintDistance_26")
561 SketchConstraintHorizontal_17 = Sketch_9.setHorizontal(SketchLine_65.result())
562 SketchConstraintVertical_15 = Sketch_9.setVertical(SketchLine_71.result())
563 SketchConstraintVertical_16 = Sketch_9.setVertical(SketchLine_73.result())
564 SketchConstraintVertical_17 = Sketch_9.setVertical(SketchLine_68.result())
565 SketchConstraintHorizontal_18 = Sketch_9.setHorizontal(SketchLine_74.result())
566 SketchConstraintHorizontal_19 = Sketch_9.setHorizontal(SketchLine_72.result())
567 SketchConstraintHorizontal_20 = Sketch_9.setHorizontal(SketchLine_70.result())
568 SketchConstraintDistance_25 = Sketch_9.setDistance(SketchLine_70.endPoint(), SketchLine_62.result(), 50)
569 SketchConstraintDistance_25.setName("SketchConstraintDistance_27")
570 SketchConstraintDistance_26 = Sketch_9.setDistance(SketchLine_71.endPoint(), SketchLine_75.result(), 70)
571 SketchConstraintDistance_26.setName("SketchConstraintDistance_28")
572 SketchConstraintDistance_27 = Sketch_9.setDistance(SketchLine_72.endPoint(), SketchLine_63.result(), 15)
573 SketchConstraintDistance_27.setName("SketchConstraintDistance_29")
574 SketchLine_76 = Sketch_9.addLine(model.selection("EDGE", "Sketch_5/Edge-SketchLine_32"))
575 SketchLine_76.setName("SketchLine_75")
576 SketchLine_76.result().setName("SketchLine_75")
577 SketchConstraintDistance_28 = Sketch_9.setDistance(SketchLine_62.startPoint(), SketchLine_76.result(), 2)
578 SketchConstraintDistance_28.setName("SketchConstraintDistance_30")
579 SketchConstraintDistance_29 = Sketch_9.setDistance(SketchLine_71.startPoint(), SketchLine_75.result(), 8)
580 SketchConstraintDistance_29.setName("SketchConstraintDistance_31")
581 SketchArc_8 = Sketch_9.addArc(44.00000000000001, 64.00000000000001, 50, 63.99999981522573, 44.0000002728486, 70, False)
582 SketchArc_8.setName("SketchArc_22")
583 SketchArc_8.result().setName("SketchArc_22")
584 SketchArc_8.results()[1].setName("SketchArc_22_2")
585 SketchConstraintCoincidence_110 = Sketch_9.setCoincident(SketchArc_8.startPoint(), SketchLine_64.endPoint())
586 SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_140")
587 SketchConstraintCoincidence_111 = Sketch_9.setCoincident(SketchArc_8.endPoint(), SketchLine_66.startPoint())
588 SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_141")
589 SketchConstraintTangent_14 = Sketch_9.setTangent(SketchArc_8.results()[1], SketchLine_64.result())
590 SketchConstraintTangent_14.setName("SketchConstraintTangent_26")
591 SketchConstraintTangent_15 = Sketch_9.setTangent(SketchArc_8.results()[1], SketchLine_66.result())
592 SketchConstraintTangent_15.setName("SketchConstraintTangent_27")
593 SketchConstraintCoincidence_112 = Sketch_9.setCoincident(SketchLine_71.startPoint(), SketchLine_64.startPoint())
594 SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_142")
595 SketchConstraintCoincidence_113 = Sketch_9.setCoincident(SketchLine_72.endPoint(), SketchLine_66.endPoint())
596 SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_143")
597 SketchConstraintCoincidence_114 = Sketch_9.setCoincident(SketchLine_64.endPoint(), SketchLine_71.result())
598 SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_144")
599 SketchConstraintCoincidence_115 = Sketch_9.setCoincident(SketchLine_66.startPoint(), SketchLine_72.result())
600 SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_145")
601 SketchArc_9 = Sketch_9.addArc(54, 4, 58.00000000000001, 3.999997221073, 53.99999482393354, 8, False)
602 SketchArc_9.setName("SketchArc_23")
603 SketchArc_9.result().setName("SketchArc_23")
604 SketchArc_9.results()[1].setName("SketchArc_23_2")
605 SketchConstraintCoincidence_116 = Sketch_9.setCoincident(SketchArc_9.startPoint(), SketchLine_67.endPoint())
606 SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_146")
607 SketchConstraintCoincidence_117 = Sketch_9.setCoincident(SketchArc_9.endPoint(), SketchLine_69.startPoint())
608 SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_147")
609 SketchConstraintTangent_16 = Sketch_9.setTangent(SketchArc_9.results()[1], SketchLine_67.result())
610 SketchConstraintTangent_16.setName("SketchConstraintTangent_28")
611 SketchConstraintTangent_17 = Sketch_9.setTangent(SketchArc_9.results()[1], SketchLine_69.result())
612 SketchConstraintTangent_17.setName("SketchConstraintTangent_29")
613 SketchConstraintCoincidence_118 = Sketch_9.setCoincident(SketchLine_68.startPoint(), SketchLine_67.startPoint())
614 SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_148")
615 SketchConstraintCoincidence_119 = Sketch_9.setCoincident(SketchLine_70.endPoint(), SketchLine_69.endPoint())
616 SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_149")
617 SketchConstraintCoincidence_120 = Sketch_9.setCoincident(SketchLine_67.endPoint(), SketchLine_68.result())
618 SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_150")
619 SketchConstraintCoincidence_121 = Sketch_9.setCoincident(SketchLine_69.startPoint(), SketchLine_70.result())
620 SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_151")
621 SketchConstraintRadius_9 = Sketch_9.setRadius(SketchArc_8.results()[1], 6)
622 SketchConstraintRadius_9.setName("SketchConstraintRadius_16")
623 SketchConstraintRadius_10 = Sketch_9.setRadius(SketchArc_9.results()[1], 4)
624 SketchConstraintRadius_10.setName("SketchConstraintRadius_17")
625 model.do()
626 Sketch_10 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/XOY"))
627 SketchLine_77 = Sketch_10.addLine(64, 20, 89, 20)
628 SketchLine_77.setName("SketchLine_76")
629 SketchLine_77.result().setName("SketchLine_76")
630 SketchPoint_4 = Sketch_10.addPoint(model.selection("VERTEX", "RevolutionFuse_2_1/Modfied_11&RevolutionFuse_2_1/Modfied_13&RevolutionFuse_3_1/Modfied_15&RevolutionFuse_3_1/Modfied_4"))
631 SketchConstraintCoincidence_122 = Sketch_10.setCoincident(SketchLine_77.startPoint(), SketchPoint_4.result())
632 SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_120")
633 SketchPoint_5 = Sketch_10.addPoint(model.selection("VERTEX", "Sketch_1/Vertex-SketchLine_1s-SketchLine_8e-SketchLine_4e"))
634 SketchConstraintCoincidence_123 = Sketch_10.setCoincident(SketchLine_77.endPoint(), SketchPoint_5.result())
635 SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_121")
636 SketchLine_78 = Sketch_10.addLine(64, -20, 89, -20)
637 SketchLine_78.setName("SketchLine_77")
638 SketchLine_78.result().setName("SketchLine_77")
639 SketchPoint_6 = Sketch_10.addPoint(model.selection("VERTEX", "RevolutionFuse_1_1/Modfied_4&RevolutionFuse_1_1/Modfied_9&RevolutionFuse_3_1/Modfied_17&RevolutionFuse_3_1/Modfied_8"))
640 SketchConstraintCoincidence_124 = Sketch_10.setCoincident(SketchLine_78.startPoint(), SketchPoint_6.result())
641 SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_122")
642 SketchPoint_7 = Sketch_10.addPoint(model.selection("VERTEX", "ExtrusionFuse_2_1/Modfied_2&RevolutionFuse_1_1/Modfied_4&ExtrusionFuse_2_1/Modfied_1&RevolutionFuse_3_1/Modfied_17"))
643 SketchConstraintCoincidence_125 = Sketch_10.setCoincident(SketchLine_78.endPoint(), SketchPoint_7.result())
644 SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_123")
645 SketchArc_10 = Sketch_10.addArc(89.00000104846708, 1.669244441022778e-015, 89, -20, 89, 20, False)
646 SketchArc_10.setName("SketchArc_13")
647 SketchArc_10.result().setName("SketchArc_13")
648 SketchArc_10.results()[1].setName("SketchArc_13_2")
649 SketchConstraintCoincidence_126 = Sketch_10.setCoincident(SketchArc_10.startPoint(), SketchLine_78.endPoint())
650 SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_124")
651 SketchConstraintTangent_18 = Sketch_10.setTangent(SketchArc_10.results()[1], SketchLine_78.result())
652 SketchConstraintTangent_18.setName("SketchConstraintTangent_23")
653 SketchConstraintCoincidence_127 = Sketch_10.setCoincident(SketchLine_77.endPoint(), SketchArc_10.endPoint())
654 SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_125")
655 SketchConstraintCoincidence_128 = Sketch_10.setCoincident(SketchPoint_5.coordinates(), SketchArc_10.endPoint())
656 SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_126")
657 SketchArc_11 = Sketch_10.addArc(63.9999997725999, -23.01134810362887, 64, -20, 61.15622559702544, -22.02080994708719, False)
658 SketchArc_11.setName("SketchArc_14")
659 SketchArc_11.result().setName("SketchArc_14")
660 SketchArc_11.results()[1].setName("SketchArc_14_2")
661 SketchConstraintCoincidence_129 = Sketch_10.setCoincident(SketchArc_11.startPoint(), SketchLine_78.startPoint())
662 SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_127")
663 SketchConstraintTangent_19 = Sketch_10.setTangent(SketchArc_11.results()[1], SketchLine_78.result())
664 SketchConstraintTangent_19.setName("SketchConstraintTangent_24")
665 SketchPoint_8 = Sketch_10.addPoint(model.selection("VERTEX", "ExtrusionCut_2_1/Modfied_9&RevolutionFuse_3_1/Modfied_7&RevolutionFuse_3_1/Modfied_8&RevolutionFuse_3_1/Modfied_24&RevolutionFuse_3_1/Modfied_9"))
666 SketchConstraintCoincidence_130 = Sketch_10.setCoincident(SketchArc_11.endPoint(), SketchPoint_8.result())
667 SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_128")
668 SketchArc_12 = Sketch_10.addArc(64.00001789135865, 23.01137360115889, 64, 20, 61.15622559702543, 22.02080994708722, True)
669 SketchArc_12.setName("SketchArc_15")
670 SketchArc_12.result().setName("SketchArc_15")
671 SketchArc_12.results()[1].setName("SketchArc_15_2")
672 SketchConstraintCoincidence_131 = Sketch_10.setCoincident(SketchArc_12.startPoint(), SketchLine_77.startPoint())
673 SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_129")
674 SketchConstraintTangent_20 = Sketch_10.setTangent(SketchArc_12.results()[1], SketchLine_77.result())
675 SketchConstraintTangent_20.setName("SketchConstraintTangent_25")
676 SketchPoint_9 = Sketch_10.addPoint(model.selection("VERTEX", "ExtrusionCut_2_1/Modfied_9&RevolutionFuse_3_1/Modfied_3&RevolutionFuse_3_1/Modfied_4&RevolutionFuse_3_1/Modfied_24&RevolutionFuse_3_1/Modfied_5"))
677 SketchConstraintCoincidence_132 = Sketch_10.setCoincident(SketchArc_12.endPoint(), SketchPoint_9.result())
678 SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_130")
679 SketchLine_79 = Sketch_10.addLine(61.15622559702543, 22.02080994708722, 59.81204392543111, 22.0208099470871)
680 SketchLine_79.setName("SketchLine_78")
681 SketchLine_79.result().setName("SketchLine_78")
682 SketchConstraintCoincidence_133 = Sketch_10.setCoincident(SketchArc_12.endPoint(), SketchLine_79.startPoint())
683 SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_131")
684 SketchConstraintCoincidence_134 = Sketch_10.setCoincident(SketchPoint_9.coordinates(), SketchLine_79.startPoint())
685 SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_132")
686 SketchLine_80 = Sketch_10.addLine(59.81204392543111, 22.0208099470871, 59.81204392543111, -22.02080994708712)
687 SketchLine_80.setName("SketchLine_79")
688 SketchLine_80.result().setName("SketchLine_79")
689 SketchConstraintCoincidence_135 = Sketch_10.setCoincident(SketchLine_79.endPoint(), SketchLine_80.startPoint())
690 SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_133")
691 SketchLine_81 = Sketch_10.addLine(61.15622559702544, -22.02080994708719, 59.81204392543111, -22.02080994708712)
692 SketchLine_81.setName("SketchLine_80")
693 SketchLine_81.result().setName("SketchLine_80")
694 SketchConstraintCoincidence_136 = Sketch_10.setCoincident(SketchArc_11.endPoint(), SketchLine_81.startPoint())
695 SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_134")
696 SketchConstraintCoincidence_137 = Sketch_10.setCoincident(SketchPoint_8.coordinates(), SketchLine_81.startPoint())
697 SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_135")
698 SketchConstraintCoincidence_138 = Sketch_10.setCoincident(SketchLine_80.endPoint(), SketchLine_81.endPoint())
699 SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_136")
700 SketchConstraintParallel_3 = Sketch_10.setParallel(SketchLine_78.result(), SketchLine_81.result())
701 SketchConstraintParallel_4 = Sketch_10.setParallel(SketchLine_77.result(), SketchLine_79.result())
702 SketchConstraintPerpendicular_1 = Sketch_10.setPerpendicular(SketchLine_80.result(), SketchLine_77.result())
703 SketchPoint_10 = Sketch_10.addPoint(model.selection("VERTEX", "Sketch_6/Vertex-SketchPoint_3"))
704 SketchMultiRotation_1_objects = [SketchArc_10.results()[1], SketchLine_77.result(), SketchLine_78.result(), SketchArc_12.results()[1], SketchLine_79.result(), SketchLine_80.result(), SketchLine_81.result(), SketchArc_11.results()[1]]
705 SketchMultiRotation_1 = Sketch_10.addRotation(SketchMultiRotation_1_objects, SketchPoint_10.coordinates(), 120, 3)
706 [SketchArc_13, SketchArc_14, SketchLine_82, SketchLine_83, SketchLine_84, SketchLine_85, SketchArc_15, SketchArc_16, SketchLine_86, SketchLine_87, SketchLine_88, SketchLine_89, SketchLine_90, SketchLine_91, SketchArc_17, SketchArc_18] = SketchMultiRotation_1.rotated()
707 SketchArc_18.setName("SketchArc_21")
708 SketchArc_18.result().setName("SketchArc_21")
709 SketchArc_18.results()[1].setName("SketchArc_21_2")
710 SketchArc_17.setName("SketchArc_18")
711 SketchArc_17.result().setName("SketchArc_18")
712 SketchArc_17.results()[1].setName("SketchArc_18_2")
713 SketchLine_91.setName("SketchLine_90")
714 SketchLine_91.result().setName("SketchLine_90")
715 SketchLine_90.setName("SketchLine_85")
716 SketchLine_90.result().setName("SketchLine_85")
717 SketchLine_88.setName("SketchLine_84")
718 SketchLine_88.result().setName("SketchLine_84")
719 SketchLine_87.setName("SketchLine_88")
720 SketchLine_87.result().setName("SketchLine_88")
721 SketchLine_86.setName("SketchLine_83")
722 SketchLine_86.result().setName("SketchLine_83")
723 SketchArc_16.setName("SketchArc_20")
724 SketchArc_16.result().setName("SketchArc_20")
725 SketchArc_16.results()[1].setName("SketchArc_20_2")
726 SketchArc_15.setName("SketchArc_17")
727 SketchArc_15.result().setName("SketchArc_17")
728 SketchArc_15.results()[1].setName("SketchArc_17_2")
729 SketchLine_85.setName("SketchLine_87")
730 SketchLine_85.result().setName("SketchLine_87")
731 SketchLine_84.setName("SketchLine_82")
732 SketchLine_84.result().setName("SketchLine_82")
733 SketchLine_83.setName("SketchLine_86")
734 SketchLine_83.result().setName("SketchLine_86")
735 SketchLine_82.setName("SketchLine_81")
736 SketchLine_82.result().setName("SketchLine_81")
737 SketchArc_14.setName("SketchArc_19")
738 SketchArc_14.result().setName("SketchArc_19")
739 SketchArc_14.results()[1].setName("SketchArc_19_2")
740 SketchArc_13.setName("SketchArc_16")
741 SketchArc_13.result().setName("SketchArc_16")
742 SketchArc_13.results()[1].setName("SketchArc_16_2")
743 model.do()
744 ExtrusionFuse_3 = model.addExtrusionFuse(Part_1_doc, [model.selection("FACE", "Sketch_10/Face-SketchArc_16_2f-SketchLine_81r-SketchLine_82f-SketchArc_17_2r-SketchLine_83f-SketchLine_84f-SketchLine_85r-SketchArc_18_2r"), model.selection("FACE", "Sketch_10/Face-SketchArc_19_2f-SketchLine_86r-SketchLine_87f-SketchArc_20_2r-SketchLine_88f-SketchLine_89f-SketchLine_90r-SketchArc_21_2r")], model.selection(), 20, 0, [model.selection("SOLID", "ExtrusionCut_2_1")])
745 Sketch_11 = model.addSketch(Part_1_doc, model.selection("FACE", "PartSet/XOY"))
746 SketchCircle_2 = Sketch_11.addCircle(89, 0, 6)
747 SketchPoint_11 = Sketch_11.addPoint(model.selection("VERTEX", "Sketch_2/Vertex-SketchPoint_1-SketchLine_10s-SketchLine_9e"))
748 SketchConstraintCoincidence_139 = Sketch_11.setCoincident(SketchCircle_2.center(), SketchPoint_11.result())
749 SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_137")
750 SketchConstraintRadius_11 = Sketch_11.setRadius(SketchCircle_2.results()[1], 6)
751 SketchConstraintRadius_11.setName("SketchConstraintRadius_14")
752 SketchCircle_3 = Sketch_11.addCircle(89, 0, 12)
753 SketchConstraintCoincidence_140 = Sketch_11.setCoincident(SketchCircle_2.center(), SketchCircle_3.center())
754 SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_138")
755 SketchConstraintCoincidence_141 = Sketch_11.setCoincident(SketchPoint_11.coordinates(), SketchCircle_3.center())
756 SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_139")
757 SketchConstraintRadius_12 = Sketch_11.setRadius(SketchCircle_3.results()[1], 12)
758 SketchConstraintRadius_12.setName("SketchConstraintRadius_15")
759 SketchPoint_12 = Sketch_11.addPoint(model.selection("VERTEX", "PartSet/Origin"))
760 SketchMultiRotation_2 = Sketch_11.addRotation([SketchCircle_3.results()[1], SketchCircle_2.results()[1]], SketchPoint_12.coordinates(), 120, 3)
761 [SketchCircle_4, SketchCircle_5, SketchCircle_6, SketchCircle_7] = SketchMultiRotation_2.rotated()
762 model.do()
763 RevolutionCut_1 = model.addRevolutionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_9")], model.selection("EDGE", "PartSet/OZ"), 0, 360, [model.selection("SOLID", "ExtrusionFuse_3_1")])
764 ExtrusionCut_3 = model.addExtrusionCut(Part_1_doc, [model.selection("WIRE", "Sketch_11/Wire-SketchCircle_4_2f"), model.selection("WIRE", "Sketch_11/Wire-SketchCircle_3_2f"), model.selection("WIRE", "Sketch_11/Wire-SketchCircle_5_2f")], model.selection(), 30, -15, [model.selection("SOLID", "RevolutionCut_1_1")])
765 ExtrusionCut_4 = model.addExtrusionCut(Part_1_doc, [model.selection("WIRE", "Sketch_11/Wire-SketchCircle_2_2f"), model.selection("FACE", "Sketch_11/Face-SketchCircle_6_2f"), model.selection("WIRE", "Sketch_11/Wire-SketchCircle_7_2f")], model.selection(), 30, 2, [model.selection("SOLID", "ExtrusionCut_3_1")])
766 model.end()
767
768 from GeomAPI import GeomAPI_Shape
769
770 model.testNbResults(ExtrusionCut_4, 1)
771 model.testNbSubResults(ExtrusionCut_4, [0])
772 model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.SOLID, [1])
773 model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.FACE, [81])
774 model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.EDGE, [406])
775 model.testNbSubShapes(ExtrusionCut_4, GeomAPI_Shape.VERTEX, [812])
776 model.testResultsVolumes(ExtrusionCut_4, [502902.431481667619664222002029419])
777
778 assert(model.checkPythonDump())