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