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