]> SALOME platform Git repositories - modules/shaper.git/blob - test.models/bracket32.py
Salome HOME
Correct DoF calculation
[modules/shaper.git] / test.models / bracket32.py
1 from salome.shaper import model
2
3 model.begin()
4 partSet = model.moduleDocument()
5 Part_1 = model.addPart(partSet)
6 Part_1_doc = Part_1.document()
7 model.addParameter(Part_1_doc, "BHD", "8", "Base Hole Diameter")
8 model.addParameter(Part_1_doc, "BHPD", "14", "Base Hole Plate Diameter")
9 model.addParameter(Part_1_doc, "BHPS", "2", "Base Hole Plate Thickness")
10 model.addParameter(Part_1_doc, "BHPFR", "BHPS/4*3", "Base Hole Plate Fillet Radius")
11 model.addParameter(Part_1_doc, "BPS", "6", "Base Plate Thickness")
12 model.addParameter(Part_1_doc, "Draft", "100", "Bracket Draft")
13 model.addParameter(Part_1_doc, "TDI", "14", "Tube Internal Diameter")
14 model.addParameter(Part_1_doc, "TDE", "TDI+8", "Tube External Diameter")
15 model.addParameter(Part_1_doc, "TL", "86", "Tube Length")
16 model.addParameter(Part_1_doc, "Width", "112", "Full Width of Base")
17 model.addParameter(Part_1_doc, "LegThick", "5")
18 model.addParameter(Part_1_doc, "BaseLegFillet", "3")
19 model.addParameter(Part_1_doc, "LegTopFillet", "2")
20 model.addParameter(Part_1_doc, "BottomCutFillet", "2")
21 Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
22 SketchLine_1 = Sketch_1.addLine(56, -3.652030108005817e-032, 20.9106603007908, -1.450725046594067e-032)
23 SketchLine_2 = Sketch_1.addLine(model.selection("EDGE", "PartSet/OY"))
24 SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchLine_2.result())
25 SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_2.result())
26 SketchLine_3 = Sketch_1.addLine(20.9106603007908, -1.450725046594067e-032, 17.67553830650723, 18.34728855042577)
27 SketchLine_3.setName("SketchLine_33")
28 SketchLine_3.result().setName("SketchLine_33")
29 SketchLine_4 = Sketch_1.addLine(20.9106603007908, -1.450725046594067e-032, 17.3841206866215, 20)
30 SketchLine_4.setName("SketchLine_3")
31 SketchLine_4.result().setName("SketchLine_3")
32 SketchLine_4.setAuxiliary(True)
33 SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_4.startPoint())
34 SketchLine_5 = Sketch_1.addLine(15.70591356041877, 20, 0, 20)
35 SketchLine_5.setName("SketchLine_32")
36 SketchLine_5.result().setName("SketchLine_32")
37 SketchLine_6 = Sketch_1.addLine(17.3841206866215, 20, 0, 20)
38 SketchLine_6.setName("SketchLine_4")
39 SketchLine_6.result().setName("SketchLine_4")
40 SketchLine_6.setAuxiliary(True)
41 SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_6.startPoint())
42 SketchLine_7 = Sketch_1.addLine(model.selection("EDGE", "PartSet/OZ"))
43 SketchLine_7.setName("SketchLine_5")
44 SketchLine_7.result().setName("SketchLine_5")
45 SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_7.result())
46 SketchLine_8 = Sketch_1.addLine(11, 85, 24.49270766728805, 8.479052309092824)
47 SketchLine_8.setName("SketchLine_77")
48 SketchLine_8.result().setName("SketchLine_77")
49 SketchLine_9 = Sketch_1.addLine(27.44713044942998, 5.999999999999999, 56, 6)
50 SketchLine_9.setName("SketchLine_78")
51 SketchLine_9.result().setName("SketchLine_78")
52 SketchLine_10 = Sketch_1.addLine(-11, 85, -24.49270712488033, 8.479055385239919)
53 SketchLine_10.setName("SketchLine_79")
54 SketchLine_10.result().setName("SketchLine_79")
55 SketchLine_11 = Sketch_1.addLine(-27.44713039880284, 6, -56, 6)
56 SketchLine_11.setName("SketchLine_80")
57 SketchLine_11.result().setName("SketchLine_80")
58 SketchLine_12 = Sketch_1.addLine(0, 85, 11, 85)
59 SketchLine_12.setName("SketchLine_7")
60 SketchLine_12.result().setName("SketchLine_7")
61 SketchLine_13 = Sketch_1.addLine(11, 85, 24.92983147596873, 6)
62 SketchLine_13.setName("SketchLine_8")
63 SketchLine_13.result().setName("SketchLine_8")
64 SketchLine_13.setAuxiliary(True)
65 SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchLine_12.endPoint(), SketchLine_13.startPoint())
66 SketchConstraintCoincidence_6.setName("SketchConstraintCoincidence_9")
67 SketchLine_14 = Sketch_1.addLine(24.92983147596873, 6, 56, 6)
68 SketchLine_14.setName("SketchLine_9")
69 SketchLine_14.result().setName("SketchLine_9")
70 SketchLine_14.setAuxiliary(True)
71 SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchLine_13.endPoint(), SketchLine_14.startPoint())
72 SketchConstraintCoincidence_7.setName("SketchConstraintCoincidence_10")
73 SketchLine_15 = Sketch_1.addLine(56, 6, 56, -3.652030108005817e-032)
74 SketchLine_15.setName("SketchLine_10")
75 SketchLine_15.result().setName("SketchLine_10")
76 SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchLine_14.endPoint(), SketchLine_15.startPoint())
77 SketchConstraintCoincidence_8.setName("SketchConstraintCoincidence_11")
78 SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchLine_15.endPoint())
79 SketchConstraintCoincidence_9.setName("SketchConstraintCoincidence_12")
80 SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_6.result())
81 SketchConstraintHorizontal_2 = Sketch_1.setHorizontal(SketchLine_12.result())
82 SketchConstraintHorizontal_3 = Sketch_1.setHorizontal(SketchLine_14.result())
83 SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_15.result())
84 SketchConstraintAngle_1 = Sketch_1.setAngle(SketchLine_14.result(), SketchLine_13.result(), "Draft")
85 SketchConstraintParallel_1 = Sketch_1.setParallel(SketchLine_13.result(), SketchLine_4.result())
86 SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_4.endPoint(), SketchLine_13.result(), "LegThick")
87 SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_14.endPoint(), SketchLine_1.result(), 6)
88 SketchConstraintDistance_3 = Sketch_1.setDistance(SketchLine_6.endPoint(), SketchLine_1.result(), 20)
89 SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_12.startPoint(), SketchLine_7.result())
90 SketchConstraintCoincidence_10.setName("SketchConstraintCoincidence_13")
91 SketchConstraintDistance_4 = Sketch_1.setDistance(SketchLine_13.startPoint(), SketchLine_7.result(), "TDE/2")
92 SketchConstraintDistance_5 = Sketch_1.setDistance(SketchLine_13.startPoint(), SketchLine_1.result(), 85)
93 SketchConstraintDistance_5.setName("SketchConstraintDistance_11")
94 SketchConstraintDistance_6 = Sketch_1.setDistance(SketchLine_1.startPoint(), SketchLine_7.result(), "Width/2")
95 SketchConstraintDistance_6.setName("SketchConstraintDistance_12")
96 SketchLine_16 = Sketch_1.addLine(11, 85, 24.92983147596873, 6)
97 SketchLine_16.setName("SketchLine_30")
98 SketchLine_16.result().setName("SketchLine_30")
99 SketchLine_16.setAuxiliary(True)
100 SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchLine_13.startPoint(), SketchLine_16.startPoint())
101 SketchConstraintCoincidence_11.setName("SketchConstraintCoincidence_24")
102 SketchLine_17 = Sketch_1.addLine(24.92983147596873, 6, 56, 6)
103 SketchLine_17.setName("SketchLine_31")
104 SketchLine_17.result().setName("SketchLine_31")
105 SketchLine_17.setAuxiliary(True)
106 SketchConstraintCoincidence_12 = Sketch_1.setCoincident(SketchLine_14.endPoint(), SketchLine_17.endPoint())
107 SketchConstraintCoincidence_12.setName("SketchConstraintCoincidence_25")
108 SketchConstraintCoincidence_13 = Sketch_1.setCoincident(SketchLine_16.endPoint(), SketchLine_13.result())
109 SketchConstraintCoincidence_13.setName("SketchConstraintCoincidence_26")
110 SketchConstraintCoincidence_14 = Sketch_1.setCoincident(SketchLine_17.startPoint(), SketchLine_14.result())
111 SketchConstraintCoincidence_14.setName("SketchConstraintCoincidence_27")
112 SketchArc_1 = Sketch_1.addArc(15.70592142426694, 18, 17.67553830650723, 18.34728855042577, 15.70591356041877, 20, False)
113 SketchArc_1.setName("SketchArc_2")
114 SketchArc_1.result().setName("SketchArc_2")
115 SketchArc_1.results()[1].setName("SketchArc_2_2")
116 SketchConstraintCoincidence_15 = Sketch_1.setCoincident(SketchArc_1.startPoint(), SketchLine_3.endPoint())
117 SketchConstraintCoincidence_15.setName("SketchConstraintCoincidence_28")
118 SketchConstraintCoincidence_16 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_5.startPoint())
119 SketchConstraintCoincidence_16.setName("SketchConstraintCoincidence_29")
120 SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_5.result())
121 SketchConstraintTangent_1.setName("SketchConstraintTangent_3")
122 SketchConstraintTangent_2 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_3.result())
123 SketchConstraintTangent_2.setName("SketchConstraintTangent_4")
124 SketchConstraintCoincidence_17 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_5.endPoint())
125 SketchConstraintCoincidence_17.setName("SketchConstraintCoincidence_30")
126 SketchConstraintCoincidence_18 = Sketch_1.setCoincident(SketchLine_4.startPoint(), SketchLine_3.startPoint())
127 SketchConstraintCoincidence_18.setName("SketchConstraintCoincidence_31")
128 SketchConstraintCoincidence_19 = Sketch_1.setCoincident(SketchLine_5.startPoint(), SketchLine_6.result())
129 SketchConstraintCoincidence_19.setName("SketchConstraintCoincidence_32")
130 SketchConstraintCoincidence_20 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_4.result())
131 SketchConstraintCoincidence_20.setName("SketchConstraintCoincidence_33")
132 SketchConstraintRadius_1 = Sketch_1.setRadius(SketchArc_1.results()[1], "LegTopFillet")
133 SketchConstraintRadius_1.setName("SketchConstraintRadius_7")
134 SketchArc_2 = Sketch_1.addArc(-15.70592142426695, 18, -15.70592154309944, 20, -17.67553694121995, 18.34729629335474, False)
135 SketchArc_2.setName("SketchArc_3")
136 SketchArc_2.result().setName("SketchArc_3")
137 SketchArc_2.results()[1].setName("SketchArc_3_2")
138 SketchLine_18 = Sketch_1.addLine(-20.91066030079081, 0, -17.67553694121995, 18.34729629335474)
139 SketchLine_18.setName("SketchLine_34")
140 SketchLine_18.result().setName("SketchLine_34")
141 SketchLine_19 = Sketch_1.addLine(-56, 0, -20.91066030079081, 0)
142 SketchLine_19.setName("SketchLine_35")
143 SketchLine_19.result().setName("SketchLine_35")
144 SketchLine_20 = Sketch_1.addLine(-56, 6, -56, 0)
145 SketchLine_20.setName("SketchLine_36")
146 SketchLine_20.result().setName("SketchLine_36")
147 SketchLine_21 = Sketch_1.addLine(0, 85, -11, 85)
148 SketchLine_21.setName("SketchLine_38")
149 SketchLine_21.result().setName("SketchLine_38")
150 SketchLine_22 = Sketch_1.addLine(-15.70592154309944, 20, 0, 20)
151 SketchLine_22.setName("SketchLine_40")
152 SketchLine_22.result().setName("SketchLine_40")
153 SketchConstraintHorizontal_4 = Sketch_1.setHorizontal(SketchLine_21.result())
154 SketchConstraintHorizontal_4.setName("SketchConstraintHorizontal_18")
155 SketchLine_23 = Sketch_1.addLine(-11, 85, -24.92983147596874, 6)
156 SketchLine_23.setName("SketchLine_37")
157 SketchLine_23.result().setName("SketchLine_37")
158 SketchLine_23.setAuxiliary(True)
159 SketchConstraintDistance_7 = Sketch_1.setDistance(SketchLine_23.startPoint(), SketchLine_7.result(), "TDE/2")
160 SketchConstraintDistance_7.setName("SketchConstraintDistance_31")
161 SketchLine_24 = Sketch_1.addLine(-24.92983147596874, 6, -56, 6)
162 SketchLine_24.setName("SketchLine_39")
163 SketchLine_24.result().setName("SketchLine_39")
164 SketchLine_24.setAuxiliary(True)
165 SketchConstraintHorizontal_5 = Sketch_1.setHorizontal(SketchLine_24.result())
166 SketchConstraintHorizontal_5.setName("SketchConstraintHorizontal_19")
167 SketchConstraintHorizontal_6 = Sketch_1.setHorizontal(SketchLine_19.result())
168 SketchConstraintHorizontal_6.setName("SketchConstraintHorizontal_20")
169 SketchConstraintDistance_8 = Sketch_1.setDistance(SketchLine_24.endPoint(), SketchLine_19.result(), "BPS")
170 SketchConstraintDistance_8.setName("SketchConstraintDistance_32")
171 SketchConstraintCoincidence_21 = Sketch_1.setCoincident(SketchLine_23.startPoint(), SketchLine_21.endPoint())
172 SketchConstraintCoincidence_21.setName("SketchConstraintCoincidence_113")
173 SketchConstraintDistance_9 = Sketch_1.setDistance(SketchLine_20.endPoint(), SketchLine_7.result(), "Width/2")
174 SketchConstraintDistance_9.setName("SketchConstraintDistance_33")
175 SketchConstraintCoincidence_22 = Sketch_1.setCoincident(SketchLine_24.endPoint(), SketchLine_20.startPoint())
176 SketchConstraintCoincidence_22.setName("SketchConstraintCoincidence_114")
177 SketchConstraintCoincidence_23 = Sketch_1.setCoincident(SketchLine_20.endPoint(), SketchLine_19.startPoint())
178 SketchConstraintCoincidence_23.setName("SketchConstraintCoincidence_115")
179 SketchConstraintCoincidence_24 = Sketch_1.setCoincident(SketchLine_19.endPoint(), SketchLine_18.startPoint())
180 SketchConstraintCoincidence_24.setName("SketchConstraintCoincidence_116")
181 SketchConstraintCoincidence_25 = Sketch_1.setCoincident(SketchArc_2.endPoint(), SketchLine_18.endPoint())
182 SketchConstraintCoincidence_25.setName("SketchConstraintCoincidence_117")
183 SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_20.result())
184 SketchConstraintVertical_2.setName("SketchConstraintVertical_16")
185 SketchConstraintParallel_2 = Sketch_1.setParallel(SketchLine_23.result(), SketchLine_18.result())
186 SketchConstraintCoincidence_26 = Sketch_1.setCoincident(SketchLine_2.result(), SketchLine_19.endPoint())
187 SketchConstraintCoincidence_26.setName("SketchConstraintCoincidence_118")
188 SketchConstraintCoincidence_27 = Sketch_1.setCoincident(SketchLine_22.startPoint(), SketchArc_2.startPoint())
189 SketchConstraintCoincidence_27.setName("SketchConstraintCoincidence_119")
190 SketchConstraintRadius_2 = Sketch_1.setRadius(SketchArc_2.results()[1], "LegTopFillet")
191 SketchConstraintRadius_2.setName("SketchConstraintRadius_16")
192 SketchConstraintHorizontal_7 = Sketch_1.setHorizontal(SketchLine_22.result())
193 SketchConstraintHorizontal_7.setName("SketchConstraintHorizontal_21")
194 SketchConstraintCoincidence_28 = Sketch_1.setCoincident(SketchLine_22.endPoint(), SketchLine_5.endPoint())
195 SketchConstraintCoincidence_28.setName("SketchConstraintCoincidence_120")
196 SketchConstraintTangent_3 = Sketch_1.setTangent(SketchArc_2.results()[1], SketchLine_22.result())
197 SketchConstraintTangent_3.setName("SketchConstraintTangent_19")
198 SketchConstraintTangent_4 = Sketch_1.setTangent(SketchLine_18.result(), SketchArc_2.results()[1])
199 SketchConstraintTangent_4.setName("SketchConstraintTangent_20")
200 SketchConstraintAngle_2 = Sketch_1.setAngleBackward(SketchLine_19.result(), SketchLine_23.result(), "Draft")
201 SketchConstraintCoincidence_29 = Sketch_1.setCoincident(SketchLine_17.startPoint(), SketchLine_16.endPoint())
202 SketchConstraintCoincidence_29.setName("SketchConstraintCoincidence_121")
203 SketchArc_3 = Sketch_1.addArc(27.44713036950057, 9.000000000000002, 24.49270766728805, 8.479052309092824, 27.44713044942998, 5.999999999999999, False)
204 SketchArc_3.setName("SketchArc_12")
205 SketchArc_3.result().setName("SketchArc_12")
206 SketchArc_3.results()[1].setName("SketchArc_12_2")
207 SketchConstraintCoincidence_30 = Sketch_1.setCoincident(SketchArc_3.startPoint(), SketchLine_8.endPoint())
208 SketchConstraintCoincidence_30.setName("SketchConstraintCoincidence_122")
209 SketchConstraintCoincidence_31 = Sketch_1.setCoincident(SketchArc_3.endPoint(), SketchLine_9.startPoint())
210 SketchConstraintCoincidence_31.setName("SketchConstraintCoincidence_123")
211 SketchConstraintTangent_5 = Sketch_1.setTangent(SketchArc_3.results()[1], SketchLine_8.result())
212 SketchConstraintTangent_5.setName("SketchConstraintTangent_21")
213 SketchConstraintTangent_6 = Sketch_1.setTangent(SketchArc_3.results()[1], SketchLine_9.result())
214 SketchConstraintTangent_6.setName("SketchConstraintTangent_22")
215 SketchConstraintCoincidence_32 = Sketch_1.setCoincident(SketchLine_16.startPoint(), SketchLine_8.startPoint())
216 SketchConstraintCoincidence_32.setName("SketchConstraintCoincidence_124")
217 SketchConstraintCoincidence_33 = Sketch_1.setCoincident(SketchLine_17.endPoint(), SketchLine_9.endPoint())
218 SketchConstraintCoincidence_33.setName("SketchConstraintCoincidence_125")
219 SketchConstraintCoincidence_34 = Sketch_1.setCoincident(SketchLine_8.endPoint(), SketchLine_16.result())
220 SketchConstraintCoincidence_34.setName("SketchConstraintCoincidence_126")
221 SketchConstraintCoincidence_35 = Sketch_1.setCoincident(SketchLine_9.startPoint(), SketchLine_17.result())
222 SketchConstraintCoincidence_35.setName("SketchConstraintCoincidence_127")
223 SketchConstraintRadius_3 = Sketch_1.setRadius(SketchArc_3.results()[1], "BaseLegFillet")
224 SketchConstraintRadius_3.setName("SketchConstraintRadius_17")
225 SketchConstraintCoincidence_36 = Sketch_1.setCoincident(SketchLine_24.startPoint(), SketchLine_23.endPoint())
226 SketchConstraintCoincidence_36.setName("SketchConstraintCoincidence_128")
227 SketchArc_4 = Sketch_1.addArc(-27.44713036950059, 9, -27.44713039880284, 6, -24.49270712488033, 8.479055385239919, False)
228 SketchArc_4.setName("SketchArc_13")
229 SketchArc_4.result().setName("SketchArc_13")
230 SketchArc_4.results()[1].setName("SketchArc_13_2")
231 SketchConstraintCoincidence_37 = Sketch_1.setCoincident(SketchArc_4.startPoint(), SketchLine_11.startPoint())
232 SketchConstraintCoincidence_37.setName("SketchConstraintCoincidence_129")
233 SketchConstraintCoincidence_38 = Sketch_1.setCoincident(SketchArc_4.endPoint(), SketchLine_10.endPoint())
234 SketchConstraintCoincidence_38.setName("SketchConstraintCoincidence_130")
235 SketchConstraintTangent_7 = Sketch_1.setTangent(SketchArc_4.results()[1], SketchLine_10.result())
236 SketchConstraintTangent_7.setName("SketchConstraintTangent_23")
237 SketchConstraintTangent_8 = Sketch_1.setTangent(SketchArc_4.results()[1], SketchLine_11.result())
238 SketchConstraintTangent_8.setName("SketchConstraintTangent_24")
239 SketchConstraintCoincidence_39 = Sketch_1.setCoincident(SketchLine_23.startPoint(), SketchLine_10.startPoint())
240 SketchConstraintCoincidence_39.setName("SketchConstraintCoincidence_131")
241 SketchConstraintCoincidence_40 = Sketch_1.setCoincident(SketchLine_24.endPoint(), SketchLine_11.endPoint())
242 SketchConstraintCoincidence_40.setName("SketchConstraintCoincidence_132")
243 SketchConstraintCoincidence_41 = Sketch_1.setCoincident(SketchLine_10.endPoint(), SketchLine_23.result())
244 SketchConstraintCoincidence_41.setName("SketchConstraintCoincidence_133")
245 SketchConstraintCoincidence_42 = Sketch_1.setCoincident(SketchLine_11.startPoint(), SketchLine_24.result())
246 SketchConstraintCoincidence_42.setName("SketchConstraintCoincidence_134")
247 SketchConstraintRadius_4 = Sketch_1.setRadius(SketchArc_4.results()[1], "BaseLegFillet")
248 SketchConstraintRadius_4.setName("SketchConstraintRadius_18")
249 SketchConstraintCoincidence_43 = Sketch_1.setCoincident(SketchLine_21.startPoint(), SketchLine_12.startPoint())
250 SketchConstraintCoincidence_43.setName("SketchConstraintCoincidence_135")
251 SketchConstraintDistance_10 = Sketch_1.setDistance(SketchArc_4.endPoint(), SketchLine_18.result(), "LegThick")
252 SketchConstraintDistance_10.setName("SketchConstraintDistance_34")
253 model.do()
254 Sketch_2 = model.addSketch(Part_1_doc, model.defaultPlane("XOZ"))
255 SketchLine_25 = Sketch_2.addLine(-20, -5, -20, 37.99999996287101)
256 SketchLine_25.setName("SketchLine_73")
257 SketchLine_25.result().setName("SketchLine_73")
258 SketchLine_26 = Sketch_2.addLine(20, -5, -20, -5)
259 SketchLine_26.setName("SketchLine_18")
260 SketchLine_26.result().setName("SketchLine_18")
261 SketchLine_27 = Sketch_2.addLine(-18.00000018312083, 40, 18.00001539129446, 40)
262 SketchLine_27.setName("SketchLine_76")
263 SketchLine_27.result().setName("SketchLine_76")
264 SketchLine_28 = Sketch_2.addLine(20, 38.00000240162298, 20, -5)
265 SketchLine_28.setName("SketchLine_75")
266 SketchLine_28.result().setName("SketchLine_75")
267 SketchLine_29 = Sketch_2.addLine(20, 40, 20, -5)
268 SketchLine_29.setName("SketchLine_21")
269 SketchLine_29.result().setName("SketchLine_21")
270 SketchLine_29.setAuxiliary(True)
271 SketchConstraintCoincidence_44 = Sketch_2.setCoincident(SketchLine_29.endPoint(), SketchLine_26.startPoint())
272 SketchConstraintCoincidence_44.setName("SketchConstraintCoincidence_14")
273 SketchLine_30 = Sketch_2.addLine(-20, -5, -20, 40)
274 SketchLine_30.setName("SketchLine_19")
275 SketchLine_30.result().setName("SketchLine_19")
276 SketchLine_30.setAuxiliary(True)
277 SketchConstraintCoincidence_45 = Sketch_2.setCoincident(SketchLine_26.endPoint(), SketchLine_30.startPoint())
278 SketchConstraintCoincidence_45.setName("SketchConstraintCoincidence_15")
279 SketchLine_31 = Sketch_2.addLine(-20, 40, 20, 40)
280 SketchLine_31.setName("SketchLine_20")
281 SketchLine_31.result().setName("SketchLine_20")
282 SketchLine_31.setAuxiliary(True)
283 SketchConstraintCoincidence_46 = Sketch_2.setCoincident(SketchLine_30.endPoint(), SketchLine_31.startPoint())
284 SketchConstraintCoincidence_46.setName("SketchConstraintCoincidence_16")
285 SketchConstraintCoincidence_47 = Sketch_2.setCoincident(SketchLine_31.endPoint(), SketchLine_29.startPoint())
286 SketchConstraintCoincidence_47.setName("SketchConstraintCoincidence_17")
287 SketchConstraintHorizontal_8 = Sketch_2.setHorizontal(SketchLine_26.result())
288 SketchConstraintHorizontal_8.setName("SketchConstraintHorizontal_4")
289 SketchConstraintVertical_3 = Sketch_2.setVertical(SketchLine_30.result())
290 SketchConstraintVertical_3.setName("SketchConstraintVertical_2")
291 SketchConstraintHorizontal_9 = Sketch_2.setHorizontal(SketchLine_31.result())
292 SketchConstraintHorizontal_9.setName("SketchConstraintHorizontal_5")
293 SketchConstraintVertical_4 = Sketch_2.setVertical(SketchLine_29.result())
294 SketchConstraintVertical_4.setName("SketchConstraintVertical_3")
295 SketchLine_32 = Sketch_2.addLine(model.selection("EDGE", "PartSet/OZ"))
296 SketchLine_32.setName("SketchLine_22")
297 SketchLine_32.result().setName("SketchLine_22")
298 SketchConstraintDistance_11 = Sketch_2.setDistance(SketchLine_26.startPoint(), SketchLine_32.result(), "(TL/2-3)-20")
299 SketchConstraintDistance_11.setName("SketchConstraintDistance_5")
300 SketchConstraintDistance_12 = Sketch_2.setDistance(SketchLine_26.endPoint(), SketchLine_32.result(), "(TL/2-3)-20")
301 SketchConstraintDistance_12.setName("SketchConstraintDistance_6")
302 SketchLine_33 = Sketch_2.addLine(model.selection("EDGE", "PartSet/OX"))
303 SketchLine_33.setName("SketchLine_23")
304 SketchLine_33.result().setName("SketchLine_23")
305 SketchConstraintDistance_13 = Sketch_2.setDistance(SketchLine_29.startPoint(), SketchLine_33.result(), 40)
306 SketchConstraintDistance_13.setName("SketchConstraintDistance_7")
307 SketchConstraintDistance_14 = Sketch_2.setDistance(SketchLine_26.startPoint(), SketchLine_33.result(), 5)
308 SketchConstraintDistance_14.setName("SketchConstraintDistance_8")
309 SketchArc_5 = Sketch_2.addArc(-18, 37.99999999999999, -18.00000018312083, 40, -20, 37.99999996287101, False)
310 SketchArc_5.setName("SketchArc_10")
311 SketchArc_5.result().setName("SketchArc_10")
312 SketchArc_5.results()[1].setName("SketchArc_10_2")
313 SketchLine_34 = Sketch_2.addLine(-18.00000018312083, 40, 20, 40)
314 SketchLine_34.setName("SketchLine_74")
315 SketchLine_34.result().setName("SketchLine_74")
316 SketchLine_34.setAuxiliary(True)
317 SketchConstraintCoincidence_48 = Sketch_2.setCoincident(SketchArc_5.startPoint(), SketchLine_34.startPoint())
318 SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_101")
319 SketchConstraintCoincidence_49 = Sketch_2.setCoincident(SketchArc_5.endPoint(), SketchLine_25.endPoint())
320 SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_102")
321 SketchConstraintTangent_9 = Sketch_2.setTangent(SketchArc_5.results()[1], SketchLine_25.result())
322 SketchConstraintTangent_9.setName("SketchConstraintTangent_15")
323 SketchConstraintTangent_10 = Sketch_2.setTangent(SketchArc_5.results()[1], SketchLine_34.result())
324 SketchConstraintTangent_10.setName("SketchConstraintTangent_16")
325 SketchConstraintCoincidence_50 = Sketch_2.setCoincident(SketchLine_30.startPoint(), SketchLine_25.startPoint())
326 SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_103")
327 SketchConstraintCoincidence_51 = Sketch_2.setCoincident(SketchLine_31.endPoint(), SketchLine_34.endPoint())
328 SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_104")
329 SketchConstraintCoincidence_52 = Sketch_2.setCoincident(SketchLine_25.endPoint(), SketchLine_30.result())
330 SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_105")
331 SketchConstraintCoincidence_53 = Sketch_2.setCoincident(SketchLine_34.startPoint(), SketchLine_31.result())
332 SketchConstraintCoincidence_53.setName("SketchConstraintCoincidence_106")
333 SketchConstraintRadius_5 = Sketch_2.setRadius(SketchArc_5.results()[1], "BottomCutFillet")
334 SketchConstraintRadius_5.setName("SketchConstraintRadius_12")
335 SketchArc_6 = Sketch_2.addArc(18, 38.00000000000001, 20, 38.00000240162298, 18.00001539129446, 40, False)
336 SketchArc_6.setName("SketchArc_11")
337 SketchArc_6.result().setName("SketchArc_11")
338 SketchArc_6.results()[1].setName("SketchArc_11_2")
339 SketchConstraintCoincidence_54 = Sketch_2.setCoincident(SketchArc_6.startPoint(), SketchLine_28.startPoint())
340 SketchConstraintCoincidence_54.setName("SketchConstraintCoincidence_107")
341 SketchConstraintCoincidence_55 = Sketch_2.setCoincident(SketchArc_6.endPoint(), SketchLine_27.endPoint())
342 SketchConstraintCoincidence_55.setName("SketchConstraintCoincidence_108")
343 SketchConstraintTangent_11 = Sketch_2.setTangent(SketchArc_6.results()[1], SketchLine_28.result())
344 SketchConstraintTangent_11.setName("SketchConstraintTangent_17")
345 SketchConstraintTangent_12 = Sketch_2.setTangent(SketchArc_6.results()[1], SketchLine_27.result())
346 SketchConstraintTangent_12.setName("SketchConstraintTangent_18")
347 SketchConstraintCoincidence_56 = Sketch_2.setCoincident(SketchLine_29.endPoint(), SketchLine_28.endPoint())
348 SketchConstraintCoincidence_56.setName("SketchConstraintCoincidence_109")
349 SketchConstraintCoincidence_57 = Sketch_2.setCoincident(SketchLine_34.startPoint(), SketchLine_27.startPoint())
350 SketchConstraintCoincidence_57.setName("SketchConstraintCoincidence_110")
351 SketchConstraintCoincidence_58 = Sketch_2.setCoincident(SketchLine_28.startPoint(), SketchLine_29.result())
352 SketchConstraintCoincidence_58.setName("SketchConstraintCoincidence_111")
353 SketchConstraintCoincidence_59 = Sketch_2.setCoincident(SketchLine_27.endPoint(), SketchLine_34.result())
354 SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_112")
355 SketchConstraintRadius_6 = Sketch_2.setRadius(SketchArc_6.results()[1], "BottomCutFillet")
356 SketchConstraintRadius_6.setName("SketchConstraintRadius_13")
357 model.do()
358 Sketch_3 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
359 SketchCircle_1 = Sketch_3.addCircle(0, 85, 11)
360 SketchConstraintRadius_7 = Sketch_3.setRadius(SketchCircle_1.results()[1], "TDE/2")
361 SketchConstraintRadius_7.setName("SketchConstraintRadius_1")
362 SketchCircle_2 = Sketch_3.addCircle(0, 55, 11)
363 SketchLine_35 = Sketch_3.addLine(model.selection("EDGE", "PartSet/OZ"))
364 SketchLine_35.setName("SketchLine_24")
365 SketchLine_35.result().setName("SketchLine_24")
366 SketchConstraintCoincidence_60 = Sketch_3.setCoincident(SketchCircle_2.center(), SketchLine_35.result())
367 SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_18")
368 SketchConstraintRadius_8 = Sketch_3.setRadius(SketchCircle_2.results()[1], "TDE/2")
369 SketchConstraintRadius_8.setName("SketchConstraintRadius_2")
370 SketchConstraintDistance_15 = Sketch_3.setDistance(SketchCircle_2.center(), SketchCircle_1.center(), 30)
371 SketchConstraintDistance_15.setName("SketchConstraintDistance_9")
372 SketchLine_36 = Sketch_3.addLine(model.selection("EDGE", "Sketch_1/Edge-SketchLine_1"))
373 SketchLine_36.setName("SketchLine_25")
374 SketchLine_36.result().setName("SketchLine_25")
375 SketchConstraintDistance_16 = Sketch_3.setDistance(SketchCircle_1.center(), SketchLine_36.result(), 85)
376 SketchConstraintDistance_16.setName("SketchConstraintDistance_10")
377 model.do()
378 Sketch_4 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
379 SketchCircle_3 = Sketch_4.addCircle(0, 85, 7)
380 SketchCircle_4 = Sketch_4.addCircle(0, 55, 7)
381 SketchPoint_1 = Sketch_4.addPoint(model.selection("VERTEX", "Sketch_3/Vertex-SketchCircle_1"))
382 SketchConstraintCoincidence_61 = Sketch_4.setCoincident(SketchPoint_1.coordinates(), SketchCircle_3.center())
383 SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_19")
384 SketchPoint_2 = Sketch_4.addPoint(model.selection("VERTEX", "Sketch_3/Vertex-SketchCircle_2"))
385 SketchConstraintCoincidence_62 = Sketch_4.setCoincident(SketchPoint_2.coordinates(), SketchCircle_4.center())
386 SketchConstraintCoincidence_62.setName("SketchConstraintCoincidence_20")
387 SketchConstraintRadius_9 = Sketch_4.setRadius(SketchCircle_3.results()[1], "TDI/2")
388 SketchConstraintRadius_9.setName("SketchConstraintRadius_3")
389 SketchConstraintRadius_10 = Sketch_4.setRadius(SketchCircle_4.results()[1], "TDI/2")
390 SketchConstraintRadius_10.setName("SketchConstraintRadius_4")
391 model.do()
392 Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "Sketch_1")], model.selection(), "TL/2-3", "TL/2-3")
393 ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_2")], model.selection(), 100, 100, [model.selection("SOLID", "Extrusion_1_1")])
394 ExtrusionFuse_1 = model.addExtrusionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_3")], model.selection(), "TL/2", "TL/2", [model.selection("SOLID", "ExtrusionCut_1_1")])
395 ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_4")], model.selection(), 60, 60, [model.selection("SOLID", "ExtrusionFuse_1_1")])
396 Sketch_5 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
397 SketchCircle_5 = Sketch_5.addCircle(30, -41, 7.5)
398 SketchLine_37 = Sketch_5.addLine(model.selection("EDGE", "PartSet/OX"))
399 SketchLine_37.setName("SketchLine_26")
400 SketchLine_37.result().setName("SketchLine_26")
401 SketchConstraintDistance_17 = Sketch_5.setDistance(SketchCircle_5.center(), SketchLine_37.result(), 41)
402 SketchConstraintDistance_17.setName("SketchConstraintDistance_13")
403 SketchLine_38 = Sketch_5.addLine(model.selection("EDGE", "PartSet/OY"))
404 SketchLine_38.setName("SketchLine_27")
405 SketchLine_38.result().setName("SketchLine_27")
406 SketchConstraintDistance_18 = Sketch_5.setDistance(SketchCircle_5.center(), SketchLine_38.result(), 30)
407 SketchConstraintDistance_18.setName("SketchConstraintDistance_14")
408 SketchConstraintRadius_11 = Sketch_5.setRadius(SketchCircle_5.results()[1], 7.5)
409 SketchConstraintRadius_11.setName("SketchConstraintRadius_5")
410 SketchConstraintMirror_1 = Sketch_5.addMirror(SketchLine_37.result(), [SketchCircle_5.results()[1]])
411 SketchConstraintMirror_1.setName("SketchConstraintMirror_2")
412 [SketchCircle_6] = SketchConstraintMirror_1.mirrored()
413 SketchConstraintMirror_2 = Sketch_5.addMirror(SketchLine_38.result(), [SketchCircle_5.results()[1], SketchCircle_6.results()[1]])
414 SketchConstraintMirror_2.setName("SketchConstraintMirror_3")
415 [SketchCircle_7, SketchCircle_8] = SketchConstraintMirror_2.mirrored()
416 model.do()
417 Sketch_6 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
418 SketchCircle_9 = Sketch_6.addCircle(30, -41, 4)
419 SketchPoint_3 = Sketch_6.addPoint(model.selection("VERTEX", "Sketch_5/Vertex-SketchCircle_5"))
420 SketchConstraintCoincidence_63 = Sketch_6.setCoincident(SketchPoint_3.coordinates(), SketchCircle_9.center())
421 SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_21")
422 SketchConstraintRadius_12 = Sketch_6.setRadius(SketchCircle_9.results()[1], "BHD/2")
423 SketchConstraintRadius_12.setName("SketchConstraintRadius_6")
424 SketchLine_39 = Sketch_6.addLine(model.selection("EDGE", "PartSet/OX"))
425 SketchLine_39.setName("SketchLine_28")
426 SketchLine_39.result().setName("SketchLine_28")
427 SketchConstraintMirror_3 = Sketch_6.addMirror(SketchLine_39.result(), [SketchCircle_9.results()[1]])
428 SketchConstraintMirror_3.setName("SketchConstraintMirror_4")
429 [SketchCircle_10] = SketchConstraintMirror_3.mirrored()
430 SketchLine_40 = Sketch_6.addLine(model.selection("EDGE", "PartSet/OY"))
431 SketchLine_40.setName("SketchLine_29")
432 SketchLine_40.result().setName("SketchLine_29")
433 SketchConstraintMirror_4 = Sketch_6.addMirror(SketchLine_40.result(), [SketchCircle_9.results()[1], SketchCircle_10.results()[1]])
434 SketchConstraintMirror_4.setName("SketchConstraintMirror_5")
435 [SketchCircle_11, SketchCircle_12] = SketchConstraintMirror_4.mirrored()
436 model.do()
437 Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/YOZ"), 30, False)
438 Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
439 SketchLine_41 = Sketch_7.addLine(-41, 0, -41, 8)
440 SketchPoint_4 = Sketch_7.addPoint(model.selection("VERTEX", "Sketch_5/Vertex-SketchCircle_5"))
441 SketchConstraintCoincidence_64 = Sketch_7.setCoincident(SketchLine_41.startPoint(), SketchPoint_4.result())
442 SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_34")
443 SketchLine_42 = Sketch_7.addLine(-41, 8, -34, 8)
444 SketchConstraintCoincidence_65 = Sketch_7.setCoincident(SketchLine_41.endPoint(), SketchLine_42.startPoint())
445 SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_35")
446 SketchLine_43 = Sketch_7.addLine(-34, 8, -34, 7.499984403541713)
447 SketchLine_43.setName("SketchLine_47")
448 SketchLine_43.result().setName("SketchLine_47")
449 SketchLine_44 = Sketch_7.addLine(-32.50001348840178, 5.999999999999995, -32, 6)
450 SketchLine_44.setName("SketchLine_48")
451 SketchLine_44.result().setName("SketchLine_48")
452 SketchLine_45 = Sketch_7.addLine(-34, 8, -34, 6)
453 SketchLine_45.setName("SketchLine_43")
454 SketchLine_45.result().setName("SketchLine_43")
455 SketchLine_45.setAuxiliary(True)
456 SketchConstraintCoincidence_66 = Sketch_7.setCoincident(SketchLine_42.endPoint(), SketchLine_45.startPoint())
457 SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_36")
458 SketchLine_46 = Sketch_7.addLine(-34, 6, -32, 6)
459 SketchLine_46.setName("SketchLine_44")
460 SketchLine_46.result().setName("SketchLine_44")
461 SketchLine_46.setAuxiliary(True)
462 SketchConstraintCoincidence_67 = Sketch_7.setCoincident(SketchLine_45.endPoint(), SketchLine_46.startPoint())
463 SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_37")
464 SketchLine_47 = Sketch_7.addLine(-32, 6, -32, 0)
465 SketchLine_47.setName("SketchLine_45")
466 SketchLine_47.result().setName("SketchLine_45")
467 SketchConstraintCoincidence_68 = Sketch_7.setCoincident(SketchLine_46.endPoint(), SketchLine_47.startPoint())
468 SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_38")
469 SketchLine_48 = Sketch_7.addLine(-32, 0, -41, 0)
470 SketchLine_48.setName("SketchLine_46")
471 SketchLine_48.result().setName("SketchLine_46")
472 SketchConstraintCoincidence_69 = Sketch_7.setCoincident(SketchLine_47.endPoint(), SketchLine_48.startPoint())
473 SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_39")
474 SketchConstraintCoincidence_70 = Sketch_7.setCoincident(SketchLine_41.startPoint(), SketchLine_48.endPoint())
475 SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_40")
476 SketchConstraintCoincidence_71 = Sketch_7.setCoincident(SketchPoint_4.coordinates(), SketchLine_48.endPoint())
477 SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_41")
478 SketchConstraintHorizontal_10 = Sketch_7.setHorizontal(SketchLine_48.result())
479 SketchConstraintHorizontal_10.setName("SketchConstraintHorizontal_6")
480 SketchConstraintVertical_5 = Sketch_7.setVertical(SketchLine_41.result())
481 SketchConstraintVertical_5.setName("SketchConstraintVertical_4")
482 SketchConstraintVertical_6 = Sketch_7.setVertical(SketchLine_47.result())
483 SketchConstraintVertical_6.setName("SketchConstraintVertical_5")
484 SketchConstraintHorizontal_11 = Sketch_7.setHorizontal(SketchLine_46.result())
485 SketchConstraintHorizontal_11.setName("SketchConstraintHorizontal_7")
486 SketchConstraintVertical_7 = Sketch_7.setVertical(SketchLine_45.result())
487 SketchConstraintVertical_7.setName("SketchConstraintVertical_6")
488 SketchConstraintHorizontal_12 = Sketch_7.setHorizontal(SketchLine_42.result())
489 SketchConstraintHorizontal_12.setName("SketchConstraintHorizontal_8")
490 SketchConstraintDistance_19 = Sketch_7.setDistance(SketchLine_41.endPoint(), SketchLine_48.result(), "BPS+BHPS")
491 SketchConstraintDistance_19.setName("SketchConstraintDistance_15")
492 SketchConstraintDistance_20 = Sketch_7.setDistance(SketchLine_47.startPoint(), SketchLine_48.result(), "BPS")
493 SketchConstraintDistance_20.setName("SketchConstraintDistance_16")
494 SketchConstraintDistance_21 = Sketch_7.setDistance(SketchLine_48.startPoint(), SketchLine_41.result(), "BHPD/2+BHPFR+0.5")
495 SketchConstraintDistance_21.setName("SketchConstraintDistance_17")
496 SketchConstraintDistance_22 = Sketch_7.setDistance(SketchLine_42.endPoint(), SketchLine_41.result(), "BHPD/2")
497 SketchConstraintDistance_22.setName("SketchConstraintDistance_18")
498 SketchArc_7 = Sketch_7.addArc(-32.50000000000004, 7.499999999999999, -34, 7.499984403541713, -32.50001348840178, 5.999999999999995, False)
499 SketchArc_7.setName("SketchArc_5")
500 SketchArc_7.result().setName("SketchArc_5")
501 SketchArc_7.results()[1].setName("SketchArc_5_2")
502 SketchConstraintCoincidence_72 = Sketch_7.setCoincident(SketchArc_7.startPoint(), SketchLine_43.endPoint())
503 SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_42")
504 SketchConstraintCoincidence_73 = Sketch_7.setCoincident(SketchArc_7.endPoint(), SketchLine_44.startPoint())
505 SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_43")
506 SketchConstraintTangent_13 = Sketch_7.setTangent(SketchArc_7.results()[1], SketchLine_43.result())
507 SketchConstraintTangent_13.setName("SketchConstraintTangent_5")
508 SketchConstraintTangent_14 = Sketch_7.setTangent(SketchArc_7.results()[1], SketchLine_44.result())
509 SketchConstraintTangent_14.setName("SketchConstraintTangent_6")
510 SketchConstraintCoincidence_74 = Sketch_7.setCoincident(SketchLine_45.startPoint(), SketchLine_43.startPoint())
511 SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_44")
512 SketchConstraintCoincidence_75 = Sketch_7.setCoincident(SketchLine_46.endPoint(), SketchLine_44.endPoint())
513 SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_45")
514 SketchConstraintCoincidence_76 = Sketch_7.setCoincident(SketchLine_43.endPoint(), SketchLine_45.result())
515 SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_46")
516 SketchConstraintCoincidence_77 = Sketch_7.setCoincident(SketchLine_44.startPoint(), SketchLine_46.result())
517 SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_47")
518 SketchConstraintRadius_13 = Sketch_7.setRadius(SketchArc_7.results()[1], "BHPFR")
519 SketchConstraintRadius_13.setName("SketchConstraintRadius_8")
520 model.do()
521 RevolutionFuse_1 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_7")], model.selection("EDGE", "Sketch_7/Edge-SketchLine_41"), 360, 0, [model.selection("SOLID", "ExtrusionCut_2_1")])
522 Sketch_8 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
523 SketchLine_49 = Sketch_8.addLine(32, 6, 32.50001476412091, 6.000000000000001)
524 SketchLine_49.setName("SketchLine_55")
525 SketchLine_49.result().setName("SketchLine_55")
526 SketchLine_50 = Sketch_8.addLine(32, 0, 41, 0)
527 SketchLine_50.setName("SketchLine_49")
528 SketchLine_50.result().setName("SketchLine_49")
529 SketchPoint_5 = Sketch_8.addPoint(model.selection("VERTEX", "Sketch_6/Vertex-SketchCircle_10"))
530 SketchConstraintCoincidence_78 = Sketch_8.setCoincident(SketchLine_50.endPoint(), SketchPoint_5.result())
531 SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_50")
532 SketchLine_51 = Sketch_8.addLine(41, 0, 41, 8)
533 SketchLine_51.setName("SketchLine_50")
534 SketchLine_51.result().setName("SketchLine_50")
535 SketchLine_52 = Sketch_8.addLine(34, 7.499985233923545, 34, 8)
536 SketchLine_52.setName("SketchLine_56")
537 SketchLine_52.result().setName("SketchLine_56")
538 SketchLine_53 = Sketch_8.addLine(32, 6, 32, 0)
539 SketchLine_53.setName("SketchLine_52")
540 SketchLine_53.result().setName("SketchLine_52")
541 SketchConstraintCoincidence_79 = Sketch_8.setCoincident(SketchLine_53.endPoint(), SketchLine_50.startPoint())
542 SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_51")
543 SketchConstraintCoincidence_80 = Sketch_8.setCoincident(SketchLine_50.endPoint(), SketchLine_51.startPoint())
544 SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_52")
545 SketchLine_54 = Sketch_8.addLine(41, 8, 34, 8)
546 SketchLine_54.setName("SketchLine_53")
547 SketchLine_54.result().setName("SketchLine_53")
548 SketchConstraintCoincidence_81 = Sketch_8.setCoincident(SketchLine_51.endPoint(), SketchLine_54.startPoint())
549 SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_53")
550 SketchConstraintHorizontal_13 = Sketch_8.setHorizontal(SketchLine_50.result())
551 SketchConstraintHorizontal_13.setName("SketchConstraintHorizontal_9")
552 SketchConstraintVertical_8 = Sketch_8.setVertical(SketchLine_51.result())
553 SketchConstraintVertical_8.setName("SketchConstraintVertical_7")
554 SketchConstraintVertical_9 = Sketch_8.setVertical(SketchLine_53.result())
555 SketchConstraintVertical_9.setName("SketchConstraintVertical_8")
556 SketchPoint_6 = Sketch_8.addPoint(32, 6)
557 SketchConstraintCoincidence_82 = Sketch_8.setCoincident(SketchPoint_6.coordinates(), SketchLine_53.startPoint())
558 SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_55")
559 SketchPoint_7 = Sketch_8.addPoint(34, 8)
560 SketchConstraintCoincidence_83 = Sketch_8.setCoincident(SketchLine_54.endPoint(), SketchPoint_7.coordinates())
561 SketchConstraintCoincidence_83.setName("SketchConstraintCoincidence_58")
562 SketchLine_55 = Sketch_8.addLine(32, 6, 34, 6)
563 SketchLine_55.setName("SketchLine_51")
564 SketchLine_55.result().setName("SketchLine_51")
565 SketchLine_55.setAuxiliary(True)
566 SketchConstraintCoincidence_84 = Sketch_8.setCoincident(SketchLine_53.startPoint(), SketchLine_55.startPoint())
567 SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_54")
568 SketchConstraintCoincidence_85 = Sketch_8.setCoincident(SketchPoint_6.coordinates(), SketchLine_55.startPoint())
569 SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_56")
570 SketchLine_56 = Sketch_8.addLine(34, 6, 34, 8)
571 SketchLine_56.setName("SketchLine_54")
572 SketchLine_56.result().setName("SketchLine_54")
573 SketchLine_56.setAuxiliary(True)
574 SketchConstraintCoincidence_86 = Sketch_8.setCoincident(SketchLine_55.endPoint(), SketchLine_56.startPoint())
575 SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_57")
576 SketchConstraintCoincidence_87 = Sketch_8.setCoincident(SketchPoint_7.coordinates(), SketchLine_56.endPoint())
577 SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_59")
578 SketchConstraintCoincidence_88 = Sketch_8.setCoincident(SketchLine_54.endPoint(), SketchLine_56.endPoint())
579 SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_60")
580 SketchConstraintHorizontal_14 = Sketch_8.setHorizontal(SketchLine_55.result())
581 SketchConstraintHorizontal_14.setName("SketchConstraintHorizontal_10")
582 SketchConstraintVertical_10 = Sketch_8.setVertical(SketchLine_56.result())
583 SketchConstraintVertical_10.setName("SketchConstraintVertical_9")
584 SketchConstraintDistance_23 = Sketch_8.setDistance(SketchPoint_7.coordinates(), SketchLine_50.result(), 8)
585 SketchConstraintDistance_23.setName("SketchConstraintDistance_19")
586 SketchConstraintHorizontal_15 = Sketch_8.setHorizontal(SketchLine_54.result())
587 SketchConstraintHorizontal_15.setName("SketchConstraintHorizontal_11")
588 SketchConstraintDistance_24 = Sketch_8.setDistance(SketchLine_53.startPoint(), SketchLine_51.result(), 9)
589 SketchConstraintDistance_24.setName("SketchConstraintDistance_20")
590 SketchConstraintDistance_25 = Sketch_8.setDistance(SketchPoint_7.coordinates(), SketchLine_51.result(), 7)
591 SketchConstraintDistance_25.setName("SketchConstraintDistance_21")
592 SketchConstraintDistance_26 = Sketch_8.setDistance(SketchLine_53.startPoint(), SketchLine_50.result(), 6)
593 SketchConstraintDistance_26.setName("SketchConstraintDistance_22")
594 SketchArc_8 = Sketch_8.addArc(32.50000000000001, 7.500000000000025, 32.50001476412091, 6.000000000000001, 34, 7.499985233923545, False)
595 SketchArc_8.setName("SketchArc_7")
596 SketchArc_8.result().setName("SketchArc_7")
597 SketchArc_8.results()[1].setName("SketchArc_7_2")
598 SketchConstraintCoincidence_89 = Sketch_8.setCoincident(SketchArc_8.startPoint(), SketchLine_49.endPoint())
599 SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_61")
600 SketchConstraintCoincidence_90 = Sketch_8.setCoincident(SketchArc_8.endPoint(), SketchLine_52.startPoint())
601 SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_62")
602 SketchConstraintTangent_15 = Sketch_8.setTangent(SketchArc_8.results()[1], SketchLine_49.result())
603 SketchConstraintTangent_15.setName("SketchConstraintTangent_9")
604 SketchConstraintTangent_16 = Sketch_8.setTangent(SketchArc_8.results()[1], SketchLine_52.result())
605 SketchConstraintTangent_16.setName("SketchConstraintTangent_10")
606 SketchConstraintCoincidence_91 = Sketch_8.setCoincident(SketchLine_55.startPoint(), SketchLine_49.startPoint())
607 SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_63")
608 SketchConstraintCoincidence_92 = Sketch_8.setCoincident(SketchLine_56.endPoint(), SketchLine_52.endPoint())
609 SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_64")
610 SketchConstraintCoincidence_93 = Sketch_8.setCoincident(SketchLine_49.endPoint(), SketchLine_55.result())
611 SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_65")
612 SketchConstraintCoincidence_94 = Sketch_8.setCoincident(SketchLine_52.startPoint(), SketchLine_56.result())
613 SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_66")
614 SketchConstraintRadius_14 = Sketch_8.setRadius(SketchArc_8.results()[1], 1.5)
615 SketchConstraintRadius_14.setName("SketchConstraintRadius_9")
616 model.do()
617 RevolutionFuse_2 = model.addRevolutionFuse(Part_1_doc, [model.selection("FACE", "Sketch_8/Face-SketchLine_55r-SketchLine_49f-SketchLine_50f-SketchLine_56r-SketchLine_52f-SketchLine_53f-SketchArc_7_2r")], model.selection("EDGE", "Sketch_8/Edge-SketchLine_50"), 360, 0, [model.selection("SOLID", "RevolutionFuse_1_1")])
618 Plane_5 = model.addPlane(Part_1_doc, model.selection("FACE", "PartSet/YOZ"), 30, True)
619 Sketch_9 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_2"))
620 SketchLine_57 = Sketch_9.addLine(-32.50001494742042, 5.999999999999998, -32, 6)
621 SketchLine_57.setName("SketchLine_63")
622 SketchLine_57.result().setName("SketchLine_63")
623 SketchLine_58 = Sketch_9.addLine(-32, 0, -41, 0)
624 SketchLine_58.setName("SketchLine_57")
625 SketchLine_58.result().setName("SketchLine_57")
626 SketchPoint_8 = Sketch_9.addPoint(model.selection("VERTEX", "Sketch_6/Vertex-SketchCircle_11"))
627 SketchConstraintCoincidence_95 = Sketch_9.setCoincident(SketchLine_58.endPoint(), SketchPoint_8.result())
628 SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_67")
629 SketchLine_59 = Sketch_9.addLine(-41, 0, -41, 7.999999999999999)
630 SketchLine_59.setName("SketchLine_58")
631 SketchLine_59.result().setName("SketchLine_58")
632 SketchLine_60 = Sketch_9.addLine(-41, 7.999999999999999, -34, 8)
633 SketchLine_60.setName("SketchLine_59")
634 SketchLine_60.result().setName("SketchLine_59")
635 SketchLine_61 = Sketch_9.addLine(-32, 6, -32, 0)
636 SketchLine_61.setName("SketchLine_60")
637 SketchLine_61.result().setName("SketchLine_60")
638 SketchConstraintCoincidence_96 = Sketch_9.setCoincident(SketchLine_61.endPoint(), SketchLine_58.startPoint())
639 SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_68")
640 SketchConstraintCoincidence_97 = Sketch_9.setCoincident(SketchLine_58.endPoint(), SketchLine_59.startPoint())
641 SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_69")
642 SketchConstraintCoincidence_98 = Sketch_9.setCoincident(SketchLine_59.endPoint(), SketchLine_60.startPoint())
643 SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_70")
644 SketchLine_62 = Sketch_9.addLine(-34, 8, -33.99999999999999, 7.499985052178464)
645 SketchLine_62.setName("SketchLine_64")
646 SketchLine_62.result().setName("SketchLine_64")
647 SketchConstraintHorizontal_16 = Sketch_9.setHorizontal(SketchLine_58.result())
648 SketchConstraintHorizontal_16.setName("SketchConstraintHorizontal_12")
649 SketchConstraintVertical_11 = Sketch_9.setVertical(SketchLine_59.result())
650 SketchConstraintVertical_11.setName("SketchConstraintVertical_10")
651 SketchConstraintHorizontal_17 = Sketch_9.setHorizontal(SketchLine_60.result())
652 SketchConstraintHorizontal_17.setName("SketchConstraintHorizontal_13")
653 SketchConstraintVertical_12 = Sketch_9.setVertical(SketchLine_61.result())
654 SketchConstraintVertical_12.setName("SketchConstraintVertical_11")
655 SketchPoint_9 = Sketch_9.addPoint(-34, 8)
656 SketchConstraintCoincidence_99 = Sketch_9.setCoincident(SketchPoint_9.coordinates(), SketchLine_60.endPoint())
657 SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_72")
658 SketchPoint_10 = Sketch_9.addPoint(-32, 6)
659 SketchConstraintCoincidence_100 = Sketch_9.setCoincident(SketchPoint_10.coordinates(), SketchLine_61.startPoint())
660 SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_73")
661 SketchLine_63 = Sketch_9.addLine(-34, 8, -34, 6)
662 SketchLine_63.setName("SketchLine_61")
663 SketchLine_63.result().setName("SketchLine_61")
664 SketchLine_63.setAuxiliary(True)
665 SketchConstraintCoincidence_101 = Sketch_9.setCoincident(SketchLine_60.endPoint(), SketchLine_63.startPoint())
666 SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_71")
667 SketchConstraintCoincidence_102 = Sketch_9.setCoincident(SketchPoint_9.coordinates(), SketchLine_63.startPoint())
668 SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_74")
669 SketchLine_64 = Sketch_9.addLine(-34, 6, -32, 6)
670 SketchLine_64.setName("SketchLine_62")
671 SketchLine_64.result().setName("SketchLine_62")
672 SketchLine_64.setAuxiliary(True)
673 SketchConstraintCoincidence_103 = Sketch_9.setCoincident(SketchLine_63.endPoint(), SketchLine_64.startPoint())
674 SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_75")
675 SketchConstraintCoincidence_104 = Sketch_9.setCoincident(SketchLine_61.startPoint(), SketchLine_64.endPoint())
676 SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_76")
677 SketchConstraintCoincidence_105 = Sketch_9.setCoincident(SketchPoint_10.coordinates(), SketchLine_64.endPoint())
678 SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_77")
679 SketchConstraintHorizontal_18 = Sketch_9.setHorizontal(SketchLine_64.result())
680 SketchConstraintHorizontal_18.setName("SketchConstraintHorizontal_14")
681 SketchConstraintVertical_13 = Sketch_9.setVertical(SketchLine_63.result())
682 SketchConstraintVertical_13.setName("SketchConstraintVertical_12")
683 SketchConstraintDistance_27 = Sketch_9.setDistance(SketchLine_61.startPoint(), SketchLine_58.result(), 6)
684 SketchConstraintDistance_27.setName("SketchConstraintDistance_23")
685 SketchConstraintDistance_28 = Sketch_9.setDistance(SketchLine_60.endPoint(), SketchLine_58.result(), 8)
686 SketchConstraintDistance_28.setName("SketchConstraintDistance_24")
687 SketchConstraintDistance_29 = Sketch_9.setDistance(SketchLine_60.endPoint(), SketchLine_59.result(), 7)
688 SketchConstraintDistance_29.setName("SketchConstraintDistance_25")
689 SketchConstraintDistance_30 = Sketch_9.setDistance(SketchLine_61.startPoint(), SketchLine_63.result(), 2)
690 SketchConstraintDistance_30.setName("SketchConstraintDistance_26")
691 SketchArc_9 = Sketch_9.addArc(-32.49999999999999, 7.499999999999997, -33.99999999999999, 7.499985052178464, -32.50001494742042, 5.999999999999998, False)
692 SketchArc_9.setName("SketchArc_8")
693 SketchArc_9.result().setName("SketchArc_8")
694 SketchArc_9.results()[1].setName("SketchArc_8_2")
695 SketchConstraintCoincidence_106 = Sketch_9.setCoincident(SketchArc_9.startPoint(), SketchLine_62.endPoint())
696 SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_78")
697 SketchConstraintCoincidence_107 = Sketch_9.setCoincident(SketchArc_9.endPoint(), SketchLine_57.startPoint())
698 SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_79")
699 SketchConstraintTangent_17 = Sketch_9.setTangent(SketchArc_9.results()[1], SketchLine_57.result())
700 SketchConstraintTangent_17.setName("SketchConstraintTangent_11")
701 SketchConstraintTangent_18 = Sketch_9.setTangent(SketchArc_9.results()[1], SketchLine_62.result())
702 SketchConstraintTangent_18.setName("SketchConstraintTangent_12")
703 SketchConstraintCoincidence_108 = Sketch_9.setCoincident(SketchLine_64.endPoint(), SketchLine_57.endPoint())
704 SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_80")
705 SketchConstraintCoincidence_109 = Sketch_9.setCoincident(SketchLine_63.startPoint(), SketchLine_62.startPoint())
706 SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_81")
707 SketchConstraintCoincidence_110 = Sketch_9.setCoincident(SketchLine_57.startPoint(), SketchLine_64.result())
708 SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_82")
709 SketchConstraintCoincidence_111 = Sketch_9.setCoincident(SketchLine_62.endPoint(), SketchLine_63.result())
710 SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_83")
711 SketchConstraintRadius_15 = Sketch_9.setRadius(SketchArc_9.results()[1], 1.5)
712 SketchConstraintRadius_15.setName("SketchConstraintRadius_10")
713 model.do()
714 Sketch_10 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_2"))
715 SketchLine_65 = Sketch_10.addLine(33.99999999999999, 7.999999999999999, 33.99999999999999, 7.499985050625134)
716 SketchLine_65.setName("SketchLine_71")
717 SketchLine_65.result().setName("SketchLine_71")
718 SketchLine_66 = Sketch_10.addLine(32, 0, 41, 0)
719 SketchLine_66.setName("SketchLine_65")
720 SketchLine_66.result().setName("SketchLine_65")
721 SketchPoint_11 = Sketch_10.addPoint(model.selection("VERTEX", "Sketch_6/Vertex-SketchCircle_12"))
722 SketchConstraintCoincidence_112 = Sketch_10.setCoincident(SketchLine_66.endPoint(), SketchPoint_11.result())
723 SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_84")
724 SketchLine_67 = Sketch_10.addLine(41, 0, 41, 7.999999999999999)
725 SketchLine_67.setName("SketchLine_66")
726 SketchLine_67.result().setName("SketchLine_66")
727 SketchLine_68 = Sketch_10.addLine(41, 7.999999999999999, 33.99999999999999, 7.999999999999999)
728 SketchLine_68.setName("SketchLine_67")
729 SketchLine_68.result().setName("SketchLine_67")
730 SketchLine_69 = Sketch_10.addLine(32, 6, 32, 0)
731 SketchLine_69.setName("SketchLine_68")
732 SketchLine_69.result().setName("SketchLine_68")
733 SketchConstraintCoincidence_113 = Sketch_10.setCoincident(SketchLine_69.endPoint(), SketchLine_66.startPoint())
734 SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_85")
735 SketchConstraintCoincidence_114 = Sketch_10.setCoincident(SketchLine_66.endPoint(), SketchLine_67.startPoint())
736 SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_86")
737 SketchConstraintCoincidence_115 = Sketch_10.setCoincident(SketchLine_67.endPoint(), SketchLine_68.startPoint())
738 SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_87")
739 SketchLine_70 = Sketch_10.addLine(32.50001494562209, 6.000000000000006, 32, 6)
740 SketchLine_70.setName("SketchLine_72")
741 SketchLine_70.result().setName("SketchLine_72")
742 SketchConstraintHorizontal_19 = Sketch_10.setHorizontal(SketchLine_66.result())
743 SketchConstraintHorizontal_19.setName("SketchConstraintHorizontal_15")
744 SketchConstraintVertical_14 = Sketch_10.setVertical(SketchLine_67.result())
745 SketchConstraintVertical_14.setName("SketchConstraintVertical_13")
746 SketchConstraintHorizontal_20 = Sketch_10.setHorizontal(SketchLine_68.result())
747 SketchConstraintHorizontal_20.setName("SketchConstraintHorizontal_16")
748 SketchConstraintVertical_15 = Sketch_10.setVertical(SketchLine_69.result())
749 SketchConstraintVertical_15.setName("SketchConstraintVertical_14")
750 SketchPoint_12 = Sketch_10.addPoint(33.99999999999999, 7.999999999999999)
751 SketchConstraintCoincidence_116 = Sketch_10.setCoincident(SketchPoint_12.coordinates(), SketchLine_68.endPoint())
752 SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_89")
753 SketchPoint_13 = Sketch_10.addPoint(32, 6)
754 SketchConstraintCoincidence_117 = Sketch_10.setCoincident(SketchPoint_13.coordinates(), SketchLine_69.startPoint())
755 SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_90")
756 SketchLine_71 = Sketch_10.addLine(33.99999999999999, 7.999999999999999, 34, 6)
757 SketchLine_71.setName("SketchLine_69")
758 SketchLine_71.result().setName("SketchLine_69")
759 SketchLine_71.setAuxiliary(True)
760 SketchConstraintCoincidence_118 = Sketch_10.setCoincident(SketchLine_68.endPoint(), SketchLine_71.startPoint())
761 SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_88")
762 SketchConstraintCoincidence_119 = Sketch_10.setCoincident(SketchPoint_12.coordinates(), SketchLine_71.startPoint())
763 SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_91")
764 SketchLine_72 = Sketch_10.addLine(34, 6, 32, 6)
765 SketchLine_72.setName("SketchLine_70")
766 SketchLine_72.result().setName("SketchLine_70")
767 SketchLine_72.setAuxiliary(True)
768 SketchConstraintCoincidence_120 = Sketch_10.setCoincident(SketchLine_71.endPoint(), SketchLine_72.startPoint())
769 SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_92")
770 SketchConstraintCoincidence_121 = Sketch_10.setCoincident(SketchLine_69.startPoint(), SketchLine_72.endPoint())
771 SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_93")
772 SketchConstraintCoincidence_122 = Sketch_10.setCoincident(SketchPoint_13.coordinates(), SketchLine_72.endPoint())
773 SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_94")
774 SketchConstraintHorizontal_21 = Sketch_10.setHorizontal(SketchLine_72.result())
775 SketchConstraintHorizontal_21.setName("SketchConstraintHorizontal_17")
776 SketchConstraintVertical_16 = Sketch_10.setVertical(SketchLine_71.result())
777 SketchConstraintVertical_16.setName("SketchConstraintVertical_15")
778 SketchConstraintDistance_31 = Sketch_10.setDistance(SketchLine_71.startPoint(), SketchLine_67.result(), 7)
779 SketchConstraintDistance_31.setName("SketchConstraintDistance_27")
780 SketchConstraintDistance_32 = Sketch_10.setDistance(SketchLine_69.startPoint(), SketchLine_71.result(), 2)
781 SketchConstraintDistance_32.setName("SketchConstraintDistance_28")
782 SketchConstraintDistance_33 = Sketch_10.setDistance(SketchLine_69.startPoint(), SketchLine_66.result(), 6)
783 SketchConstraintDistance_33.setName("SketchConstraintDistance_29")
784 SketchConstraintDistance_34 = Sketch_10.setDistance(SketchLine_71.startPoint(), SketchLine_66.result(), 8)
785 SketchConstraintDistance_34.setName("SketchConstraintDistance_30")
786 SketchArc_10 = Sketch_10.addArc(32.50000000000002, 7.500000000000033, 32.50001494562209, 6.000000000000006, 33.99999999999999, 7.499985050625134, False)
787 SketchArc_10.setName("SketchArc_9")
788 SketchArc_10.result().setName("SketchArc_9")
789 SketchArc_10.results()[1].setName("SketchArc_9_2")
790 SketchConstraintCoincidence_123 = Sketch_10.setCoincident(SketchArc_10.startPoint(), SketchLine_70.startPoint())
791 SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_95")
792 SketchConstraintCoincidence_124 = Sketch_10.setCoincident(SketchArc_10.endPoint(), SketchLine_65.endPoint())
793 SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_96")
794 SketchConstraintTangent_19 = Sketch_10.setTangent(SketchArc_10.results()[1], SketchLine_65.result())
795 SketchConstraintTangent_19.setName("SketchConstraintTangent_13")
796 SketchConstraintTangent_20 = Sketch_10.setTangent(SketchArc_10.results()[1], SketchLine_70.result())
797 SketchConstraintTangent_20.setName("SketchConstraintTangent_14")
798 SketchConstraintCoincidence_125 = Sketch_10.setCoincident(SketchLine_71.startPoint(), SketchLine_65.startPoint())
799 SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_97")
800 SketchConstraintCoincidence_126 = Sketch_10.setCoincident(SketchLine_72.endPoint(), SketchLine_70.endPoint())
801 SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_98")
802 SketchConstraintCoincidence_127 = Sketch_10.setCoincident(SketchLine_65.endPoint(), SketchLine_71.result())
803 SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_99")
804 SketchConstraintCoincidence_128 = Sketch_10.setCoincident(SketchLine_70.startPoint(), SketchLine_72.result())
805 SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_100")
806 SketchConstraintRadius_16 = Sketch_10.setRadius(SketchArc_10.results()[1], 1.5)
807 SketchConstraintRadius_16.setName("SketchConstraintRadius_11")
808 model.do()
809 RevolutionFuse_3 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_9")], model.selection("EDGE", "Sketch_9/Edge-SketchLine_58"), 360, 0, [model.selection("SOLID", "RevolutionFuse_2_1")])
810 RevolutionFuse_4 = model.addRevolutionFuse(Part_1_doc, [model.selection("COMPOUND", "Sketch_10")], model.selection("EDGE", "Sketch_10/Edge-SketchLine_66"), 360, 0, [model.selection("SOLID", "RevolutionFuse_3_1")])
811 ExtrusionCut_3 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_6/Face-SketchCircle_11_2f"), model.selection("FACE", "Sketch_6/Face-SketchCircle_9_2f"), model.selection("WIRE", "Sketch_6/Wire-SketchCircle_10_2f"), model.selection("FACE", "Sketch_6/Face-SketchCircle_12_2f")], model.selection("EDGE", "PartSet/OZ"), "BPS+5", 5, [model.selection("SOLID", "RevolutionFuse_4_1")])
812 model.end()
813
814 from GeomAPI import GeomAPI_Shape
815
816 model.testNbResults(ExtrusionCut_3, 1)
817 model.testNbSubResults(ExtrusionCut_3, [0])
818 model.testNbSubShapes(ExtrusionCut_3, GeomAPI_Shape.SOLID, [1])
819 model.testNbSubShapes(ExtrusionCut_3, GeomAPI_Shape.FACE, [70])
820 model.testNbSubShapes(ExtrusionCut_3, GeomAPI_Shape.EDGE, [326])
821 model.testNbSubShapes(ExtrusionCut_3, GeomAPI_Shape.VERTEX, [652])
822 model.testResultsVolumes(ExtrusionCut_3, [156878.517351274640532210469245911])
823
824 assert(model.checkPythonDump())