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