]> SALOME platform Git repositories - modules/shaper.git/blob - test.models/ecran.py
Salome HOME
Modification of Primitives plugin documentation
[modules/shaper.git] / test.models / ecran.py
1 ## Copyright (C) 2014-2017  CEA/DEN, EDF R&D
2 ##
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.
7 ##
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.
12 ##
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
16 ##
17 ## See http:##www.salome-platform.org/ or
18 ## email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
19 ##
20
21 from SketchAPI import *
22
23 from salome.shaper import model
24
25 model.begin()
26 partSet = model.moduleDocument()
27 Part_1 = model.addPart(partSet)
28 Part_1_doc = Part_1.document()
29 Parameter_H = model.addParameter(Part_1_doc, "H", "0.3")
30 Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
31 SketchLine_1 = Sketch_1.addLine(55.1, 10.3, 55.1, 0.3)
32 SketchLine_2 = Sketch_1.addLine(55.1, 0.3, 2.3, 0.3)
33 SketchLine_2.setName("SketchLine_10")
34 SketchLine_2.result().setName("SketchLine_10")
35 SketchLine_3 = Sketch_1.addLine(55.1, 0.3, 0.3, 0.3)
36 SketchLine_3.setName("SketchLine_2")
37 SketchLine_3.result().setName("SketchLine_2")
38 SketchLine_3.setAuxiliary(True)
39 SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_3.startPoint())
40 SketchLine_4 = Sketch_1.addLine(0.3, 2.3, 0.3, 10.3)
41 SketchLine_4.setName("SketchLine_11")
42 SketchLine_4.result().setName("SketchLine_11")
43 SketchLine_5 = Sketch_1.addLine(2.3, 0, 55.4, 0)
44 SketchLine_5.setName("SketchLine_12")
45 SketchLine_5.result().setName("SketchLine_12")
46 SketchLine_6 = Sketch_1.addLine(0.3, 0.3, 0.3, 10.3)
47 SketchLine_6.setName("SketchLine_3")
48 SketchLine_6.result().setName("SketchLine_3")
49 SketchLine_6.setAuxiliary(True)
50 SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_6.startPoint())
51 SketchLine_7 = Sketch_1.addLine(0, 10.3, 0, 2.3)
52 SketchLine_7.setName("SketchLine_13")
53 SketchLine_7.result().setName("SketchLine_13")
54 SketchLine_8 = Sketch_1.addLine(0.3, 10.3, 0, 10.3)
55 SketchLine_8.setName("SketchLine_4")
56 SketchLine_8.result().setName("SketchLine_4")
57 SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_8.startPoint())
58 SketchLine_9 = Sketch_1.addLine(model.selection("EDGE", "PartSet/OZ"))
59 SketchLine_9.setName("SketchLine_5")
60 SketchLine_9.result().setName("SketchLine_5")
61 SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_8.endPoint(), SketchLine_9.result())
62 SketchLine_10 = Sketch_1.addLine(0, 10.3, 0, 0)
63 SketchLine_10.setName("SketchLine_6")
64 SketchLine_10.result().setName("SketchLine_6")
65 SketchLine_10.setAuxiliary(True)
66 SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchLine_8.endPoint(), SketchLine_10.startPoint())
67 SketchLine_11 = Sketch_1.addLine(0, 0, 55.4, 0)
68 SketchLine_11.setName("SketchLine_7")
69 SketchLine_11.result().setName("SketchLine_7")
70 SketchLine_11.setAuxiliary(True)
71 SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchLine_10.endPoint(), SketchLine_11.startPoint())
72 SketchLine_12 = Sketch_1.addLine(55.4, 0, 55.4, 10.3)
73 SketchLine_12.setName("SketchLine_8")
74 SketchLine_12.result().setName("SketchLine_8")
75 SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchLine_11.endPoint(), SketchLine_12.startPoint())
76 SketchLine_13 = Sketch_1.addLine(55.4, 10.3, 55.1, 10.3)
77 SketchLine_13.setName("SketchLine_9")
78 SketchLine_13.result().setName("SketchLine_9")
79 SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchLine_12.endPoint(), SketchLine_13.startPoint())
80 SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_1.startPoint(), SketchLine_13.endPoint())
81 SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_13.result())
82 SketchConstraintHorizontal_2 = Sketch_1.setHorizontal(SketchLine_8.result())
83 SketchConstraintHorizontal_3 = Sketch_1.setHorizontal(SketchLine_3.result())
84 SketchConstraintHorizontal_4 = Sketch_1.setHorizontal(SketchLine_11.result())
85 SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_1.result())
86 SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_12.result())
87 SketchConstraintVertical_3 = Sketch_1.setVertical(SketchLine_6.result())
88 SketchConstraintLength_1 = Sketch_1.setLength(SketchLine_1.result(), 10)
89 SketchConstraintLength_2 = Sketch_1.setLength(SketchLine_13.result(), 0.3)
90 SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_3.result(), SketchLine_11.endPoint(), 0.3)
91 SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_8.result(), SketchLine_1.startPoint())
92 SketchConstraintLength_3 = Sketch_1.setLength(SketchLine_11.result(), 55.4)
93 SketchConstraintLength_3.setName("SketchConstraintLength_5")
94 SketchConstraintVertical_4 = Sketch_1.setVertical(SketchLine_10.result())
95 SketchConstraintLength_4 = Sketch_1.setLength(SketchLine_8.result(), "H")
96 SketchArc_1 = Sketch_1.addArc(2.3, 2.3, 0.3, 2.3, 2.3, 0.3, False)
97 SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchArc_1.startPoint(), SketchLine_4.startPoint())
98 SketchConstraintCoincidence_12 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_2.endPoint())
99 SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_2.result())
100 SketchConstraintTangent_2 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_4.result())
101 SketchConstraintCoincidence_13 = Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchLine_2.startPoint())
102 SketchConstraintCoincidence_14 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_4.endPoint())
103 SketchConstraintCoincidence_15 = Sketch_1.setCoincident(SketchLine_2.endPoint(), SketchLine_3.result())
104 SketchConstraintCoincidence_16 = Sketch_1.setCoincident(SketchLine_4.startPoint(), SketchLine_6.result())
105 SketchArc_2 = Sketch_1.addArc(2.3, 2.3, 0, 2.3, 2.3, 0, False)
106 SketchConstraintCoincidence_17 = Sketch_1.setCoincident(SketchArc_2.startPoint(), SketchLine_7.endPoint())
107 SketchConstraintCoincidence_18 = Sketch_1.setCoincident(SketchArc_2.endPoint(), SketchLine_5.startPoint())
108 SketchConstraintTangent_3 = Sketch_1.setTangent(SketchArc_2.results()[1], SketchLine_5.result())
109 SketchConstraintTangent_4 = Sketch_1.setTangent(SketchArc_2.results()[1], SketchLine_7.result())
110 SketchConstraintCoincidence_19 = Sketch_1.setCoincident(SketchLine_11.endPoint(), SketchLine_5.endPoint())
111 SketchConstraintCoincidence_20 = Sketch_1.setCoincident(SketchLine_10.startPoint(), SketchLine_7.startPoint())
112 SketchConstraintCoincidence_21 = Sketch_1.setCoincident(SketchLine_5.startPoint(), SketchLine_11.result())
113 SketchConstraintCoincidence_22 = Sketch_1.setCoincident(SketchLine_7.endPoint(), SketchLine_10.result())
114 SketchConstraintRadius_1 = Sketch_1.setRadius(SketchArc_1.results()[1], 2)
115 SketchConstraintRadius_2 = Sketch_1.setRadius(SketchArc_2.results()[1], 2.3)
116 SketchConstraintCoincidence_23 = Sketch_1.setCoincident(SketchLine_5.result(), SketchLine_9.startPoint())
117 model.do()
118 Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_1/Wire-SketchLine_1f-SketchLine_10f-SketchLine_11f-SketchLine_12f-SketchLine_13f-SketchLine_4f-SketchLine_8f-SketchLine_9f-SketchArc_1_2r-SketchArc_2_2f")], model.selection(), "307/2.", "307/2.")
119 Extrusion_1.setName("Profil")
120 Extrusion_1.result().setName("Extrusion_1_1")
121 Sketch_2 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_1_1/Generated_Face_3"))
122 SketchLine_14 = Sketch_2.addLine(149.5, -2.3, 153.5, -2.3)
123 SketchPoint_1 = Sketch_2.addPoint(model.selection("VERTEX", "Extrusion_1_1/Generated_Face_4&Extrusion_1_1/Generated_Face_3&Extrusion_1_1/To_Face_1"))
124 SketchConstraintCoincidence_24 = Sketch_2.setCoincident(SketchLine_14.endPoint(), SketchPoint_1.result())
125 SketchLine_15 = Sketch_2.addLine(153.5, -2.3, 153.5, 7.7)
126 SketchLine_16 = Sketch_2.addLine(153.5, 7.7, 149.5, 7.7)
127 SketchLine_17 = Sketch_2.addLine(149.5, 7.7, 149.5, -2.3)
128 SketchConstraintCoincidence_25 = Sketch_2.setCoincident(SketchLine_17.endPoint(), SketchLine_14.startPoint())
129 SketchConstraintCoincidence_26 = Sketch_2.setCoincident(SketchLine_14.endPoint(), SketchLine_15.startPoint())
130 SketchConstraintCoincidence_27 = Sketch_2.setCoincident(SketchLine_15.endPoint(), SketchLine_16.startPoint())
131 SketchConstraintCoincidence_28 = Sketch_2.setCoincident(SketchLine_16.endPoint(), SketchLine_17.startPoint())
132 SketchConstraintHorizontal_5 = Sketch_2.setHorizontal(SketchLine_14.result())
133 SketchConstraintVertical_5 = Sketch_2.setVertical(SketchLine_15.result())
134 SketchConstraintHorizontal_6 = Sketch_2.setHorizontal(SketchLine_16.result())
135 SketchConstraintVertical_6 = Sketch_2.setVertical(SketchLine_17.result())
136 SketchLine_18 = Sketch_2.addLine(-149.5, -2.3142, -153.5, -2.3142)
137 SketchLine_19 = Sketch_2.addLine(-153.5, -2.3142, -153.5, 7.7)
138 SketchLine_20 = Sketch_2.addLine(-153.5, 7.7, -149.5, 7.7)
139 SketchLine_21 = Sketch_2.addLine(-149.5, 7.7, -149.5, -2.3142)
140 SketchConstraintCoincidence_29 = Sketch_2.setCoincident(SketchLine_21.endPoint(), SketchLine_18.startPoint())
141 SketchConstraintCoincidence_30 = Sketch_2.setCoincident(SketchLine_18.endPoint(), SketchLine_19.startPoint())
142 SketchConstraintCoincidence_31 = Sketch_2.setCoincident(SketchLine_19.endPoint(), SketchLine_20.startPoint())
143 SketchConstraintCoincidence_32 = Sketch_2.setCoincident(SketchLine_20.endPoint(), SketchLine_21.startPoint())
144 SketchConstraintHorizontal_7 = Sketch_2.setHorizontal(SketchLine_18.result())
145 SketchConstraintVertical_7 = Sketch_2.setVertical(SketchLine_19.result())
146 SketchConstraintHorizontal_8 = Sketch_2.setHorizontal(SketchLine_20.result())
147 SketchConstraintVertical_8 = Sketch_2.setVertical(SketchLine_21.result())
148 SketchConstraintCoincidence_33 = Sketch_2.setCoincident(SketchLine_16.endPoint(), SketchLine_20.result())
149 SketchConstraintLength_5 = Sketch_2.setLength(SketchLine_21.result(), 10)
150 SketchConstraintLength_5.setName("SketchConstraintLength_6")
151 SketchConstraintDistance_2 = Sketch_2.setDistance(SketchLine_16.endPoint(), SketchLine_21.result(), 299)
152 SketchConstraintEqual_1 = Sketch_2.setEqual(SketchLine_16.result(), SketchLine_20.result())
153 SketchPoint_2 = Sketch_2.addPoint(model.selection("VERTEX", "Extrusion_1_1/Generated_Face_4&Extrusion_1_1/Generated_Face_3&Extrusion_1_1/From_Face_1"))
154 SketchPoint_2.setName("SketchPoint_4")
155 SketchPoint_2.result().setName("SketchPoint_4")
156 SketchConstraintCoincidence_34 = Sketch_2.setCoincident(SketchLine_19.startPoint(), SketchPoint_2.coordinates())
157 SketchConstraintCoincidence_34.setName("SketchConstraintCoincidence_39")
158 model.do()
159 ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_2")], model.selection(), model.selection("FACE", "Extrusion_1_1/Generated_Face_6"), 0, model.selection(), 0, [model.selection("SOLID", "Extrusion_1_1")])
160 ExtrusionCut_1.setName("Decoupe_Angle")
161 ExtrusionCut_1.result().setName("ExtrusionCut_1_1")
162 Sketch_3 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_1_1/Generated_Face_2"))
163 SketchLine_22 = Sketch_3.addLine(153.5, -10.3, 153.5, -8.3)
164 SketchLine_22.setName("SketchLine_29")
165 SketchLine_22.result().setName("SketchLine_29")
166 SketchPoint_3 = Sketch_3.addPoint(model.selection("VERTEX", "Extrusion_1_1/Generated_Face_1&ExtrusionCut_1_1/Modfied_1&Extrusion_1_1/Generated_Face_2"))
167 SketchPoint_3.setName("SketchPoint_5")
168 SketchPoint_3.result().setName("SketchPoint_5")
169 SketchConstraintCoincidence_35 = Sketch_3.setCoincident(SketchLine_22.startPoint(), SketchPoint_3.result())
170 SketchConstraintCoincidence_35.setName("SketchConstraintCoincidence_40")
171 SketchLine_23 = Sketch_3.addLine(model.selection("EDGE", "ExtrusionCut_1_1/Modfied_1&Extrusion_1_1/Generated_Face_2"))
172 SketchLine_23.setName("SketchLine_30")
173 SketchLine_23.result().setName("SketchLine_30")
174 SketchConstraintCoincidence_36 = Sketch_3.setCoincident(SketchLine_22.endPoint(), SketchLine_23.result())
175 SketchConstraintCoincidence_36.setName("SketchConstraintCoincidence_41")
176 SketchLine_24 = Sketch_3.addLine(153.5, -8.3, 151.5, -10.3)
177 SketchLine_24.setName("SketchLine_31")
178 SketchLine_24.result().setName("SketchLine_31")
179 SketchConstraintCoincidence_37 = Sketch_3.setCoincident(SketchLine_22.endPoint(), SketchLine_24.startPoint())
180 SketchConstraintCoincidence_37.setName("SketchConstraintCoincidence_42")
181 SketchLine_25 = Sketch_3.addLine(151.5, -10.3, 153.5, -10.3)
182 SketchLine_25.setName("SketchLine_33")
183 SketchLine_25.result().setName("SketchLine_33")
184 SketchConstraintCoincidence_38 = Sketch_3.setCoincident(SketchLine_24.endPoint(), SketchLine_25.startPoint())
185 SketchConstraintCoincidence_38.setName("SketchConstraintCoincidence_44")
186 SketchConstraintCoincidence_39 = Sketch_3.setCoincident(SketchLine_22.startPoint(), SketchLine_25.endPoint())
187 SketchConstraintCoincidence_39.setName("SketchConstraintCoincidence_45")
188 SketchConstraintCoincidence_40 = Sketch_3.setCoincident(SketchPoint_3.coordinates(), SketchLine_25.endPoint())
189 SketchConstraintCoincidence_40.setName("SketchConstraintCoincidence_46")
190 SketchConstraintCoincidence_41 = Sketch_3.setCoincident(SketchLine_23.endPoint(), SketchLine_25.endPoint())
191 SketchConstraintCoincidence_41.setName("SketchConstraintCoincidence_47")
192 SketchConstraintLength_6 = Sketch_3.setLength(SketchLine_25.result(), 2)
193 SketchConstraintLength_6.setName("SketchConstraintLength_8")
194 SketchConstraintAngle_1 = Sketch_3.setAngleBackward(SketchLine_24.result(), SketchLine_25.result(), 45)
195 SketchConstraintAngle_1.setName("SketchConstraintAngle_2")
196 SketchLine_26 = Sketch_3.addLine(model.selection("EDGE", "Sketch_1/Edge-SketchLine_8"))
197 SketchLine_26.setName("SketchLine_34")
198 SketchLine_26.result().setName("SketchLine_34")
199 SketchConstraintMirror_1_objects = [SketchLine_22.result(), SketchLine_25.result(), SketchLine_24.result()]
200 SketchConstraintMirror_1 = Sketch_3.addMirror(SketchLine_26.result(), SketchConstraintMirror_1_objects)
201 [SketchLine_27, SketchLine_28, SketchLine_29] = SketchConstraintMirror_1.mirrored()
202 SketchLine_29.setName("SketchLine_32")
203 SketchLine_29.result().setName("SketchLine_32")
204 model.do()
205 Sketch_3.setName("Sketch_4")
206 Sketch_3.result().setName("Sketch_4")
207 ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_4")], model.selection(), 0, 10, [model.selection("SOLID", "ExtrusionCut_1_1")])
208 ExtrusionCut_2.setName("Chamfrein_1")
209 ExtrusionCut_2.result().setName("ExtrusionCut_2_1")
210 Sketch_4 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_1_1/Modfied_5"))
211 SketchLine_30 = Sketch_4.addLine(-149.5, 10.3, -149.5, 8.3)
212 SketchLine_30.setName("SketchLine_35")
213 SketchLine_30.result().setName("SketchLine_35")
214 SketchPoint_4 = Sketch_4.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_11&ExtrusionCut_1_1/Modfied_5&ExtrusionCut_1_1/Modfied_6"))
215 SketchPoint_4.setName("SketchPoint_6")
216 SketchPoint_4.result().setName("SketchPoint_6")
217 SketchConstraintCoincidence_42 = Sketch_4.setCoincident(SketchLine_30.startPoint(), SketchPoint_4.result())
218 SketchConstraintCoincidence_42.setName("SketchConstraintCoincidence_43")
219 SketchLine_31 = Sketch_4.addLine(model.selection("EDGE", "ExtrusionCut_1_1/Modfied_11&ExtrusionCut_1_1/Modfied_5"))
220 SketchLine_31.setName("SketchLine_36")
221 SketchLine_31.result().setName("SketchLine_36")
222 SketchConstraintCoincidence_43 = Sketch_4.setCoincident(SketchLine_30.endPoint(), SketchLine_31.result())
223 SketchConstraintCoincidence_43.setName("SketchConstraintCoincidence_48")
224 SketchLine_32 = Sketch_4.addLine(-149.5, 8.3, -147.5, 10.3)
225 SketchLine_32.setName("SketchLine_37")
226 SketchLine_32.result().setName("SketchLine_37")
227 SketchConstraintCoincidence_44 = Sketch_4.setCoincident(SketchLine_30.endPoint(), SketchLine_32.startPoint())
228 SketchConstraintCoincidence_44.setName("SketchConstraintCoincidence_49")
229 SketchLine_33 = Sketch_4.addLine(-147.5, 10.3, -149.5, 10.3)
230 SketchLine_33.setName("SketchLine_38")
231 SketchLine_33.result().setName("SketchLine_38")
232 SketchConstraintCoincidence_45 = Sketch_4.setCoincident(SketchLine_32.endPoint(), SketchLine_33.startPoint())
233 SketchConstraintCoincidence_45.setName("SketchConstraintCoincidence_50")
234 SketchConstraintCoincidence_46 = Sketch_4.setCoincident(SketchLine_30.startPoint(), SketchLine_33.endPoint())
235 SketchConstraintCoincidence_46.setName("SketchConstraintCoincidence_51")
236 SketchConstraintCoincidence_47 = Sketch_4.setCoincident(SketchPoint_4.coordinates(), SketchLine_33.endPoint())
237 SketchConstraintCoincidence_47.setName("SketchConstraintCoincidence_52")
238 SketchConstraintCoincidence_48 = Sketch_4.setCoincident(SketchLine_31.startPoint(), SketchLine_33.endPoint())
239 SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_53")
240 SketchConstraintHorizontal_9 = Sketch_4.setHorizontal(SketchLine_33.result())
241 SketchConstraintAngle_2 = Sketch_4.setAngleBackward(SketchLine_30.result(), SketchLine_32.result(), 45)
242 SketchConstraintAngle_2.setName("SketchConstraintAngle_3")
243 SketchConstraintLength_7 = Sketch_4.setLength(SketchLine_33.result(), 2)
244 SketchLine_34 = Sketch_4.addLine(0, 0, 0, 100)
245 SketchLine_34.setName("SketchLine_39")
246 SketchLine_34.result().setName("SketchLine_39")
247 SketchConstraintMirror_2_objects = [SketchLine_32.result(), SketchLine_33.result(), SketchLine_30.result()]
248 SketchConstraintMirror_2 = Sketch_4.addMirror(SketchLine_34.result(), SketchConstraintMirror_2_objects)
249 [SketchLine_35, SketchLine_36, SketchLine_37] = SketchConstraintMirror_2.mirrored()
250 SketchLine_37.setName("SketchLine_42")
251 SketchLine_37.result().setName("SketchLine_42")
252 SketchLine_36.setName("SketchLine_41")
253 SketchLine_36.result().setName("SketchLine_41")
254 SketchLine_35.setName("SketchLine_40")
255 SketchLine_35.result().setName("SketchLine_40")
256 SketchConstraintRigid_1 = Sketch_4.setFixed(SketchLine_34.result())
257 SketchConstraintRigid_1.setName("SketchConstraintRigid_12")
258 SketchLine_38 = Sketch_4.addLine(153.5, 5.5, -100.5, 5.5)
259 SketchLine_38.setName("SketchLine_43")
260 SketchLine_38.result().setName("SketchLine_43")
261 SketchLine_38.setAuxiliary(True)
262 SketchConstraintHorizontal_10 = Sketch_4.setHorizontal(SketchLine_38.result())
263 SketchProjection_1 = Sketch_4.addProjection(model.selection("EDGE", "ExtrusionCut_2_1/Modfied_5&ExtrusionCut_2_1/Modfied_2"))
264 SketchLine_39 = SketchProjection_1.createdFeature()
265 SketchLine_39.setName("SketchLine_44")
266 SketchLine_39.result().setName("SketchLine_44")
267 SketchConstraintDistance_3 = Sketch_4.setDistance(SketchLine_38.result(), SketchAPI_Line(SketchLine_39).endPoint(), 5.5)
268 SketchConstraintCoincidence_49 = Sketch_4.setCoincident(SketchLine_38.startPoint(), SketchLine_39.result())
269 SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_54")
270 SketchCircle_1 = Sketch_4.addCircle(100.5, 5.5, 1.5)
271 SketchConstraintRadius_3 = Sketch_4.setRadius(SketchCircle_1.results()[1], 1.5)
272 SketchCircle_2 = Sketch_4.addCircle(33.5, 5.5, 1.5)
273 SketchConstraintCoincidence_50 = Sketch_4.setCoincident(SketchCircle_2.center(), SketchLine_38.result())
274 SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_55")
275 SketchCircle_3 = Sketch_4.addCircle(-33.5, 5.5, 1.506545921898)
276 SketchConstraintCoincidence_51 = Sketch_4.setCoincident(SketchCircle_3.center(), SketchLine_38.result())
277 SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_56")
278 SketchCircle_4 = Sketch_4.addCircle(-100.5, 5.5, 1.506545921898)
279 SketchConstraintCoincidence_52 = Sketch_4.setCoincident(SketchCircle_4.center(), SketchLine_38.result())
280 SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_57")
281 SketchConstraintEqual_2 = Sketch_4.setEqual(SketchCircle_1.results()[1], SketchCircle_2.results()[1])
282 SketchConstraintEqual_3 = Sketch_4.setEqual(SketchCircle_3.results()[1], SketchCircle_4.results()[1])
283 SketchConstraintCoincidence_53 = Sketch_4.setCoincident(SketchCircle_1.center(), SketchLine_38.result())
284 SketchConstraintCoincidence_53.setName("SketchConstraintCoincidence_58")
285 SketchConstraintDistance_4 = Sketch_4.setDistance(SketchCircle_4.center(), SketchCircle_3.center(), 67)
286 SketchConstraintDistance_5 = Sketch_4.setDistance(SketchCircle_3.center(), SketchCircle_2.center(), 67)
287 SketchConstraintDistance_6 = Sketch_4.setDistance(SketchCircle_2.center(), SketchCircle_1.center(), 67)
288 SketchConstraintDistance_7 = Sketch_4.setDistance(SketchLine_39.result(), SketchCircle_1.center(), 53)
289 SketchConstraintCoincidence_54 = Sketch_4.setCoincident(SketchLine_38.endPoint(), SketchCircle_4.center())
290 SketchConstraintCoincidence_54.setName("SketchConstraintCoincidence_59")
291 model.do()
292 Sketch_4.setName("Sketch_5")
293 Sketch_4.result().setName("Sketch_5")
294 ExtrusionCut_3 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_5")], model.selection(), model.selection("FACE", "ExtrusionCut_1_1/Modfied_7"), 0, model.selection(), 0, [model.selection("SOLID", "ExtrusionCut_2_1")])
295 Sketch_5 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_1_1/Modfied_3"))
296 SketchLine_40 = Sketch_5.addLine(152.2999838762584, -21.04999053274691, 153.5, -21.04999053274714)
297 SketchLine_40.setName("SketchLine_58")
298 SketchLine_40.result().setName("SketchLine_58")
299 SketchLine_41 = Sketch_5.addLine(152.2999838292651, -45.04999053274704, 153.5, -45.04999053274702)
300 SketchLine_41.setName("SketchLine_57")
301 SketchLine_41.result().setName("SketchLine_57")
302 SketchLine_42 = Sketch_5.addLine(model.selection("EDGE", "ExtrusionCut_2_1/Modfied_2&ExtrusionCut_1_1/Modfied_3"))
303 SketchLine_42.setName("SketchLine_46")
304 SketchLine_42.result().setName("SketchLine_46")
305 SketchLine_43 = Sketch_5.addLine(150.8, -45.04999053274702, 153.5, -45.04999053274702)
306 SketchLine_43.setName("SketchLine_45")
307 SketchLine_43.result().setName("SketchLine_45")
308 SketchLine_43.setAuxiliary(True)
309 SketchConstraintCoincidence_55 = Sketch_5.setCoincident(SketchLine_43.endPoint(), SketchLine_42.result())
310 SketchConstraintCoincidence_55.setName("SketchConstraintCoincidence_60")
311 SketchLine_44 = Sketch_5.addLine(153.5, -45.04999053274702, 153.5, -37.04999053274702)
312 SketchLine_44.setName("SketchLine_47")
313 SketchLine_44.result().setName("SketchLine_47")
314 SketchLine_45 = Sketch_5.addLine(150.8, -14.54997391609652, 150.8, -19.54999029833178)
315 SketchLine_45.setName("SketchLine_61")
316 SketchLine_45.result().setName("SketchLine_61")
317 SketchLine_46 = Sketch_5.addLine(153.5, -13.04999053274714, 152.2999838654776, -13.04999053274697)
318 SketchLine_46.setName("SketchLine_60")
319 SketchLine_46.result().setName("SketchLine_60")
320 SketchLine_47 = Sketch_5.addLine(150.8, -37.04999053274702, 150.8, -45.04999053274702)
321 SketchLine_47.setName("SketchLine_49")
322 SketchLine_47.result().setName("SketchLine_49")
323 SketchLine_47.setAuxiliary(True)
324 SketchConstraintCoincidence_56 = Sketch_5.setCoincident(SketchLine_47.endPoint(), SketchLine_43.startPoint())
325 SketchConstraintCoincidence_56.setName("SketchConstraintCoincidence_61")
326 SketchConstraintCoincidence_57 = Sketch_5.setCoincident(SketchLine_43.endPoint(), SketchLine_44.startPoint())
327 SketchConstraintCoincidence_57.setName("SketchConstraintCoincidence_62")
328 SketchLine_48 = Sketch_5.addLine(153.5, -37.04999053274702, 150.8, -37.04999053274702)
329 SketchLine_48.setAuxiliary(True)
330 SketchConstraintCoincidence_58 = Sketch_5.setCoincident(SketchLine_44.endPoint(), SketchLine_48.startPoint())
331 SketchConstraintCoincidence_58.setName("SketchConstraintCoincidence_63")
332 SketchConstraintCoincidence_59 = Sketch_5.setCoincident(SketchLine_48.endPoint(), SketchLine_47.startPoint())
333 SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_64")
334 SketchConstraintHorizontal_11 = Sketch_5.setHorizontal(SketchLine_43.result())
335 SketchConstraintVertical_9 = Sketch_5.setVertical(SketchLine_44.result())
336 SketchConstraintHorizontal_12 = Sketch_5.setHorizontal(SketchLine_48.result())
337 SketchConstraintVertical_10 = Sketch_5.setVertical(SketchLine_47.result())
338 SketchLine_49 = Sketch_5.addLine(153.5, -37.04999053274702, 152.2999989299055, -37.04999053274738)
339 SketchLine_49.setName("SketchLine_62")
340 SketchLine_49.result().setName("SketchLine_62")
341 SketchLine_50 = Sketch_5.addLine(150.8, -38.54997391988981, 150.8, -43.54998998548124)
342 SketchLine_50.setName("SketchLine_63")
343 SketchLine_50.result().setName("SketchLine_63")
344 SketchLine_51 = Sketch_5.addLine(150.8, -21.04999053274714, 153.5, -21.04999053274714)
345 SketchLine_51.setName("SketchLine_50")
346 SketchLine_51.result().setName("SketchLine_50")
347 SketchLine_51.setAuxiliary(True)
348 SketchConstraintCoincidence_60 = Sketch_5.setCoincident(SketchLine_51.endPoint(), SketchLine_42.result())
349 SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_65")
350 SketchLine_52 = Sketch_5.addLine(153.5, -21.04999053274714, 153.5, -13.04999053274714)
351 SketchLine_52.setName("SketchLine_51")
352 SketchLine_52.result().setName("SketchLine_51")
353 SketchLine_53 = Sketch_5.addLine(150.8, -13.04999053274714, 150.8, -21.04999053274714)
354 SketchLine_53.setAuxiliary(True)
355 SketchConstraintCoincidence_61 = Sketch_5.setCoincident(SketchLine_53.endPoint(), SketchLine_51.startPoint())
356 SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_66")
357 SketchConstraintCoincidence_62 = Sketch_5.setCoincident(SketchLine_51.endPoint(), SketchLine_52.startPoint())
358 SketchConstraintCoincidence_62.setName("SketchConstraintCoincidence_67")
359 SketchLine_54 = Sketch_5.addLine(153.5, -13.04999053274714, 150.8, -13.04999053274714)
360 SketchLine_54.setName("SketchLine_52")
361 SketchLine_54.result().setName("SketchLine_52")
362 SketchLine_54.setAuxiliary(True)
363 SketchConstraintCoincidence_63 = Sketch_5.setCoincident(SketchLine_52.endPoint(), SketchLine_54.startPoint())
364 SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_68")
365 SketchConstraintCoincidence_64 = Sketch_5.setCoincident(SketchLine_54.endPoint(), SketchLine_53.startPoint())
366 SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_69")
367 SketchConstraintHorizontal_13 = Sketch_5.setHorizontal(SketchLine_51.result())
368 SketchConstraintVertical_11 = Sketch_5.setVertical(SketchLine_52.result())
369 SketchConstraintHorizontal_14 = Sketch_5.setHorizontal(SketchLine_54.result())
370 SketchConstraintVertical_12 = Sketch_5.setVertical(SketchLine_53.result())
371 SketchConstraintCoincidence_65 = Sketch_5.setCoincident(SketchLine_47.result(), SketchLine_53.endPoint())
372 SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_70")
373 SketchConstraintLength_8 = Sketch_5.setLength(SketchLine_43.result(), 2.7)
374 SketchConstraintLength_8.setName("SketchConstraintLength_9")
375 SketchConstraintLength_9 = Sketch_5.setLength(SketchLine_44.result(), 8)
376 SketchConstraintLength_9.setName("SketchConstraintLength_10")
377 SketchConstraintEqual_4 = Sketch_5.setEqual(SketchLine_47.result(), SketchLine_53.result())
378 SketchPoint_5 = Sketch_5.addPoint(153.5, -28.85)
379 SketchPoint_5.setName("SketchPoint_7")
380 SketchPoint_5.result().setName("SketchPoint_7")
381 SketchConstraintMiddle_1 = Sketch_5.setMiddlePoint(SketchPoint_5.coordinates(), SketchLine_42.result())
382 SketchLine_55 = Sketch_5.addLine(153.5, -28.85, -153.5, -28.85)
383 SketchLine_55.setName("SketchLine_54")
384 SketchLine_55.result().setName("SketchLine_54")
385 SketchLine_55.setAuxiliary(True)
386 SketchConstraintCoincidence_66 = Sketch_5.setCoincident(SketchPoint_5.coordinates(), SketchLine_55.startPoint())
387 SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_71")
388 SketchLine_56 = Sketch_5.addLine(model.selection("EDGE", "ExtrusionCut_2_1/Modfied_3&ExtrusionCut_1_1/Modfied_9"))
389 SketchLine_56.setName("SketchLine_55")
390 SketchLine_56.result().setName("SketchLine_55")
391 SketchConstraintCoincidence_67 = Sketch_5.setCoincident(SketchLine_55.endPoint(), SketchLine_56.result())
392 SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_72")
393 SketchConstraintHorizontal_15 = Sketch_5.setHorizontal(SketchLine_55.result())
394 SketchConstraintDistance_8 = Sketch_5.setDistance(SketchLine_48.result(), SketchPoint_5.coordinates(), 8.2)
395 SketchConstraintDistance_9 = Sketch_5.setDistance(SketchLine_51.result(), SketchPoint_5.coordinates(), 7.8)
396 SketchArc_3 = Sketch_5.addArc(152.3, -43.54999053274682, 150.8, -43.54998998548124, 152.2999838292651, -45.04999053274704, False)
397 SketchLine_57 = Sketch_5.addLine(150.8, -37.04999053274702, 150.8, -43.54998998548124)
398 SketchLine_57.setName("SketchLine_56")
399 SketchLine_57.result().setName("SketchLine_56")
400 SketchLine_57.setAuxiliary(True)
401 SketchConstraintCoincidence_68 = Sketch_5.setCoincident(SketchArc_3.startPoint(), SketchLine_57.endPoint())
402 SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_73")
403 SketchConstraintCoincidence_69 = Sketch_5.setCoincident(SketchArc_3.endPoint(), SketchLine_41.startPoint())
404 SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_74")
405 SketchConstraintTangent_5 = Sketch_5.setTangent(SketchArc_3.results()[1], SketchLine_57.result())
406 SketchConstraintTangent_6 = Sketch_5.setTangent(SketchArc_3.results()[1], SketchLine_41.result())
407 SketchConstraintCoincidence_70 = Sketch_5.setCoincident(SketchLine_47.startPoint(), SketchLine_57.startPoint())
408 SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_75")
409 SketchConstraintCoincidence_71 = Sketch_5.setCoincident(SketchLine_43.endPoint(), SketchLine_41.endPoint())
410 SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_76")
411 SketchConstraintCoincidence_72 = Sketch_5.setCoincident(SketchLine_57.endPoint(), SketchLine_47.result())
412 SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_77")
413 SketchConstraintCoincidence_73 = Sketch_5.setCoincident(SketchLine_41.startPoint(), SketchLine_43.result())
414 SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_78")
415 SketchArc_4 = Sketch_5.addArc(152.3, -19.54999053274696, 150.8, -19.54999029833178, 152.2999838762584, -21.04999053274691, False)
416 SketchLine_58 = Sketch_5.addLine(150.8, -13.04999053274714, 150.8, -19.54999029833178)
417 SketchLine_58.setName("SketchLine_59")
418 SketchLine_58.result().setName("SketchLine_59")
419 SketchLine_58.setAuxiliary(True)
420 SketchConstraintCoincidence_74 = Sketch_5.setCoincident(SketchArc_4.startPoint(), SketchLine_58.endPoint())
421 SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_79")
422 SketchConstraintCoincidence_75 = Sketch_5.setCoincident(SketchArc_4.endPoint(), SketchLine_40.startPoint())
423 SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_80")
424 SketchConstraintTangent_7 = Sketch_5.setTangent(SketchArc_4.results()[1], SketchLine_40.result())
425 SketchConstraintTangent_8 = Sketch_5.setTangent(SketchArc_4.results()[1], SketchLine_58.result())
426 SketchConstraintCoincidence_76 = Sketch_5.setCoincident(SketchLine_51.endPoint(), SketchLine_40.endPoint())
427 SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_81")
428 SketchConstraintCoincidence_77 = Sketch_5.setCoincident(SketchLine_53.startPoint(), SketchLine_58.startPoint())
429 SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_82")
430 SketchConstraintCoincidence_78 = Sketch_5.setCoincident(SketchLine_40.startPoint(), SketchLine_51.result())
431 SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_83")
432 SketchConstraintCoincidence_79 = Sketch_5.setCoincident(SketchLine_58.endPoint(), SketchLine_53.result())
433 SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_84")
434 SketchArc_5 = Sketch_5.addArc(152.3, -14.54999053274707, 152.2999838654776, -13.04999053274697, 150.8, -14.54997391609652, False)
435 SketchConstraintCoincidence_80 = Sketch_5.setCoincident(SketchArc_5.startPoint(), SketchLine_46.endPoint())
436 SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_85")
437 SketchConstraintCoincidence_81 = Sketch_5.setCoincident(SketchArc_5.endPoint(), SketchLine_45.startPoint())
438 SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_86")
439 SketchConstraintTangent_9 = Sketch_5.setTangent(SketchArc_5.results()[1], SketchLine_46.result())
440 SketchConstraintTangent_10 = Sketch_5.setTangent(SketchArc_5.results()[1], SketchLine_45.result())
441 SketchConstraintCoincidence_82 = Sketch_5.setCoincident(SketchLine_54.startPoint(), SketchLine_46.startPoint())
442 SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_87")
443 SketchConstraintCoincidence_83 = Sketch_5.setCoincident(SketchLine_58.endPoint(), SketchLine_45.endPoint())
444 SketchConstraintCoincidence_83.setName("SketchConstraintCoincidence_88")
445 SketchConstraintCoincidence_84 = Sketch_5.setCoincident(SketchLine_46.endPoint(), SketchLine_54.result())
446 SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_89")
447 SketchConstraintCoincidence_85 = Sketch_5.setCoincident(SketchLine_45.startPoint(), SketchLine_58.result())
448 SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_90")
449 SketchArc_6 = Sketch_5.addArc(152.3, -38.54999053274739, 152.2999989299055, -37.04999053274738, 150.8, -38.54997391988981, False)
450 SketchConstraintCoincidence_86 = Sketch_5.setCoincident(SketchArc_6.startPoint(), SketchLine_49.endPoint())
451 SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_91")
452 SketchConstraintCoincidence_87 = Sketch_5.setCoincident(SketchArc_6.endPoint(), SketchLine_50.startPoint())
453 SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_92")
454 SketchConstraintTangent_11 = Sketch_5.setTangent(SketchArc_6.results()[1], SketchLine_49.result())
455 SketchConstraintTangent_12 = Sketch_5.setTangent(SketchArc_6.results()[1], SketchLine_50.result())
456 SketchConstraintCoincidence_88 = Sketch_5.setCoincident(SketchLine_48.startPoint(), SketchLine_49.startPoint())
457 SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_93")
458 SketchConstraintCoincidence_89 = Sketch_5.setCoincident(SketchLine_57.endPoint(), SketchLine_50.endPoint())
459 SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_94")
460 SketchConstraintCoincidence_90 = Sketch_5.setCoincident(SketchLine_49.endPoint(), SketchLine_48.result())
461 SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_95")
462 SketchConstraintCoincidence_91 = Sketch_5.setCoincident(SketchLine_50.startPoint(), SketchLine_57.result())
463 SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_96")
464 SketchConstraintRadius_4 = Sketch_5.setRadius(SketchArc_3.results()[1], 1.5)
465 SketchConstraintEqual_5 = Sketch_5.setEqual(SketchArc_6.results()[1], SketchArc_3.results()[1])
466 SketchConstraintEqual_6 = Sketch_5.setEqual(SketchArc_3.results()[1], SketchArc_4.results()[1])
467 SketchConstraintEqual_7 = Sketch_5.setEqual(SketchArc_4.results()[1], SketchArc_5.results()[1])
468 SketchLine_59 = Sketch_5.addLine(model.selection("EDGE", "PartSet/OY"))
469 SketchLine_59.setName("SketchLine_64")
470 SketchLine_59.result().setName("SketchLine_64")
471 SketchConstraintMirror_3_objects = [SketchArc_3.results()[1], SketchArc_6.results()[1], SketchLine_49.result(), SketchLine_50.result(), SketchLine_44.result(), SketchLine_41.result(), SketchLine_43.result(), SketchLine_57.result(), SketchLine_48.result(), SketchLine_47.result()]
472 SketchConstraintMirror_3 = Sketch_5.addMirror(SketchLine_59.result(), SketchConstraintMirror_3_objects)
473 [SketchArc_7, SketchArc_8, SketchLine_60, SketchLine_61, SketchLine_62, SketchLine_63, SketchLine_64, SketchLine_65, SketchLine_66, SketchLine_67] = SketchConstraintMirror_3.mirrored()
474 SketchLine_67.setName("SketchLine_72")
475 SketchLine_67.result().setName("SketchLine_72")
476 SketchLine_66.setName("SketchLine_71")
477 SketchLine_66.result().setName("SketchLine_71")
478 SketchLine_65.setName("SketchLine_70")
479 SketchLine_65.result().setName("SketchLine_70")
480 SketchLine_64.setName("SketchLine_69")
481 SketchLine_64.result().setName("SketchLine_69")
482 SketchLine_63.setName("SketchLine_68")
483 SketchLine_63.result().setName("SketchLine_68")
484 SketchLine_62.setName("SketchLine_67")
485 SketchLine_62.result().setName("SketchLine_67")
486 SketchLine_61.setName("SketchLine_66")
487 SketchLine_61.result().setName("SketchLine_66")
488 SketchLine_60.setName("SketchLine_65")
489 SketchLine_60.result().setName("SketchLine_65")
490 SketchConstraintMirror_4_objects = [SketchArc_4.results()[1], SketchArc_5.results()[1], SketchLine_52.result(), SketchLine_45.result(), SketchLine_46.result(), SketchLine_40.result(), SketchLine_54.result(), SketchLine_58.result(), SketchLine_51.result(), SketchLine_53.result()]
491 SketchConstraintMirror_4 = Sketch_5.addMirror(SketchLine_59.result(), SketchConstraintMirror_4_objects)
492 [SketchArc_9, SketchArc_10, SketchLine_68, SketchLine_69, SketchLine_70, SketchLine_71, SketchLine_72, SketchLine_73, SketchLine_74, SketchLine_75] = SketchConstraintMirror_4.mirrored()
493 SketchLine_75.setName("SketchLine_80")
494 SketchLine_75.result().setName("SketchLine_80")
495 SketchLine_74.setName("SketchLine_79")
496 SketchLine_74.result().setName("SketchLine_79")
497 SketchLine_73.setName("SketchLine_78")
498 SketchLine_73.result().setName("SketchLine_78")
499 SketchLine_72.setName("SketchLine_77")
500 SketchLine_72.result().setName("SketchLine_77")
501 SketchLine_71.setName("SketchLine_76")
502 SketchLine_71.result().setName("SketchLine_76")
503 SketchLine_70.setName("SketchLine_75")
504 SketchLine_70.result().setName("SketchLine_75")
505 SketchLine_69.setName("SketchLine_74")
506 SketchLine_69.result().setName("SketchLine_74")
507 SketchLine_68.setName("SketchLine_73")
508 SketchLine_68.result().setName("SketchLine_73")
509 model.do()
510 Sketch_5.setName("Sketch_6")
511 Sketch_5.result().setName("Sketch_6")
512 ExtrusionCut_4 = model.addExtrusionCut(Part_1_doc, [model.selection("WIRE", "Sketch_6/Wire-SketchArc_9_2f-SketchArc_10_2f-SketchLine_73r-SketchLine_74r-SketchLine_75r-SketchLine_76r"), model.selection("WIRE", "Sketch_6/Wire-SketchLine_58f-SketchLine_61f-SketchLine_60f-SketchLine_51f-SketchArc_4_2f-SketchArc_5_2f"), model.selection("WIRE", "Sketch_6/Wire-SketchLine_57f-SketchLine_47f-SketchLine_62f-SketchLine_63f-SketchArc_3_2f-SketchArc_6_2f")], model.selection(), 0, 10, [model.selection("SOLID", "ExtrusionCut_3_1")])
513 Sketch_6 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_4_1/Modfied_1"))
514 SketchArc_11 = Sketch_6.addArc(44.89, -23.55, 43.89, -23.55, 44.89, -22.55, False)
515 SketchArc_12 = Sketch_6.addArc(44.89, -13.55, 44.89, -14.55, 43.89, -13.55, False)
516 SketchArc_13 = Sketch_6.addArc(5.89, -13.55, 6.89, -13.55, 5.89, -14.55, False)
517 SketchArc_13.setName("SketchArc_14")
518 SketchArc_13.result().setName("SketchArc_14")
519 SketchArc_13.results()[1].setName("SketchArc_14_2")
520 SketchLine_76 = Sketch_6.addLine(6.89, -23.55, 43.89, -23.55)
521 SketchLine_76.setName("SketchLine_81")
522 SketchLine_76.result().setName("SketchLine_81")
523 SketchConstraintCoincidence_92 = Sketch_6.setCoincident(SketchArc_11.startPoint(), SketchLine_76.endPoint())
524 SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_98")
525 SketchLine_77 = Sketch_6.addLine(6.89, -13.55, 43.89, -13.55)
526 SketchLine_77.setName("SketchLine_82")
527 SketchLine_77.result().setName("SketchLine_82")
528 SketchConstraintCoincidence_93 = Sketch_6.setCoincident(SketchArc_13.startPoint(), SketchLine_77.startPoint())
529 SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_99")
530 SketchLine_78 = Sketch_6.addLine(44.89, -22.55, 44.89, -14.55)
531 SketchLine_78.setName("SketchLine_83")
532 SketchLine_78.result().setName("SketchLine_83")
533 SketchConstraintCoincidence_94 = Sketch_6.setCoincident(SketchArc_12.startPoint(), SketchLine_78.endPoint())
534 SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_100")
535 SketchLine_79 = Sketch_6.addLine(5.89, -22.55, 5.89, -14.55)
536 SketchLine_79.setName("SketchLine_84")
537 SketchLine_79.result().setName("SketchLine_84")
538 SketchConstraintCoincidence_95 = Sketch_6.setCoincident(SketchArc_13.endPoint(), SketchLine_79.endPoint())
539 SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_101")
540 SketchConstraintHorizontal_16 = Sketch_6.setHorizontal(SketchLine_76.result())
541 SketchConstraintHorizontal_17 = Sketch_6.setHorizontal(SketchLine_77.result())
542 SketchConstraintVertical_13 = Sketch_6.setVertical(SketchLine_79.result())
543 SketchConstraintVertical_14 = Sketch_6.setVertical(SketchLine_78.result())
544 SketchConstraintCoincidence_96 = Sketch_6.setCoincident(SketchArc_11.endPoint(), SketchLine_78.startPoint())
545 SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_102")
546 SketchConstraintCoincidence_97 = Sketch_6.setCoincident(SketchArc_12.endPoint(), SketchLine_77.endPoint())
547 SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_104")
548 SketchConstraintCoincidence_98 = Sketch_6.setCoincident(SketchArc_11.center(), SketchLine_78.result())
549 SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_105")
550 SketchConstraintCoincidence_99 = Sketch_6.setCoincident(SketchArc_11.center(), SketchLine_76.result())
551 SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_106")
552 SketchConstraintRadius_5 = Sketch_6.setRadius(SketchArc_11.results()[1], 1)
553 SketchConstraintCoincidence_100 = Sketch_6.setCoincident(SketchArc_12.center(), SketchLine_78.result())
554 SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_107")
555 SketchConstraintCoincidence_101 = Sketch_6.setCoincident(SketchArc_12.center(), SketchLine_77.result())
556 SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_108")
557 SketchConstraintCoincidence_102 = Sketch_6.setCoincident(SketchArc_13.center(), SketchLine_77.result())
558 SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_109")
559 SketchConstraintEqual_8 = Sketch_6.setEqual(SketchArc_11.results()[1], SketchArc_12.results()[1])
560 SketchConstraintEqual_9 = Sketch_6.setEqual(SketchArc_13.results()[1], SketchArc_11.results()[1])
561 SketchConstraintEqual_9.setName("SketchConstraintEqual_10")
562 SketchConstraintCoincidence_103 = Sketch_6.setCoincident(SketchArc_13.center(), SketchLine_79.result())
563 SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_112")
564 SketchConstraintDistance_10 = Sketch_6.setDistance(SketchLine_76.result(), SketchArc_13.startPoint(), 10)
565 SketchConstraintDistance_11 = Sketch_6.setDistance(SketchLine_79.startPoint(), SketchLine_78.result(), 39)
566 SketchLine_80 = Sketch_6.addLine(model.selection("EDGE", "PartSet/OY"))
567 SketchLine_80.setName("SketchLine_85")
568 SketchLine_80.result().setName("SketchLine_85")
569 SketchConstraintDistance_12 = Sketch_6.setDistance(SketchLine_79.startPoint(), SketchLine_80.result(), 5.89)
570 SketchLine_81 = Sketch_6.addLine(model.selection("EDGE", "Sketch_6/Edge-SketchLine_54"))
571 SketchLine_81.setName("SketchLine_86")
572 SketchLine_81.result().setName("SketchLine_86")
573 SketchConstraintDistance_13 = Sketch_6.setDistance(SketchLine_76.endPoint(), SketchLine_81.result(), 5.3)
574 SketchArc_14 = Sketch_6.addArc(5.89, -23.55, 5.89, -22.55, 6.89, -23.55, False)
575 SketchArc_14.setName("SketchArc_15")
576 SketchArc_14.result().setName("SketchArc_15")
577 SketchArc_14.results()[1].setName("SketchArc_15_2")
578 SketchConstraintCoincidence_104 = Sketch_6.setCoincident(SketchLine_79.startPoint(), SketchArc_14.startPoint())
579 SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_110")
580 SketchConstraintCoincidence_105 = Sketch_6.setCoincident(SketchArc_14.endPoint(), SketchLine_76.startPoint())
581 SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_111")
582 SketchConstraintCoincidence_106 = Sketch_6.setCoincident(SketchArc_14.center(), SketchLine_76.result())
583 SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_113")
584 SketchConstraintCoincidence_107 = Sketch_6.setCoincident(SketchArc_14.center(), SketchLine_79.result())
585 SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_114")
586 SketchConstraintEqual_10 = Sketch_6.setEqual(SketchArc_11.results()[1], SketchArc_14.results()[1])
587 SketchConstraintEqual_10.setName("SketchConstraintEqual_11")
588 SketchPoint_6 = Sketch_6.addPoint(0, -28.85)
589 SketchPoint_6.setName("SketchPoint_8")
590 SketchPoint_6.result().setName("SketchPoint_8")
591 SketchPoint_7 = Sketch_6.addPoint(50.77, -28.85)
592 SketchPoint_7.setName("SketchPoint_9")
593 SketchPoint_7.result().setName("SketchPoint_9")
594 SketchPoint_8 = Sketch_6.addPoint(101.54, -28.85)
595 SketchPoint_8.setName("SketchPoint_10")
596 SketchPoint_8.result().setName("SketchPoint_10")
597 SketchConstraintCoincidence_108 = Sketch_6.setCoincident(SketchLine_80.result(), SketchPoint_6.coordinates())
598 SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_115")
599 SketchConstraintCoincidence_109 = Sketch_6.setCoincident(SketchLine_81.result(), SketchPoint_6.coordinates())
600 SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_116")
601 SketchConstraintCoincidence_110 = Sketch_6.setCoincident(SketchPoint_7.coordinates(), SketchLine_81.result())
602 SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_117")
603 SketchConstraintCoincidence_111 = Sketch_6.setCoincident(SketchPoint_8.coordinates(), SketchLine_81.result())
604 SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_118")
605 SketchConstraintDistance_14 = Sketch_6.setDistance(SketchPoint_7.coordinates(), SketchLine_80.result(), "56.66-5.89")
606 SketchConstraintDistance_15 = Sketch_6.setDistance(SketchLine_80.result(), SketchPoint_8.coordinates(), "107.43-5.89")
607 SketchMultiTranslation_1_objects = [SketchArc_13.results()[1], SketchArc_14.results()[1], SketchArc_12.results()[1], SketchArc_11.results()[1], SketchLine_78.result(), SketchLine_76.result(), SketchLine_77.result(), SketchLine_79.result()]
608 SketchMultiTranslation_1 = Sketch_6.addTranslation(SketchMultiTranslation_1_objects, SketchPoint_6.coordinates(), SketchPoint_7.coordinates(), 2)
609 [SketchArc_15, SketchArc_16, SketchArc_17, SketchArc_18, SketchLine_82, SketchLine_83, SketchLine_84, SketchLine_85] = SketchMultiTranslation_1.translated()
610 SketchLine_85.setName("SketchLine_90")
611 SketchLine_85.result().setName("SketchLine_90")
612 SketchLine_84.setName("SketchLine_89")
613 SketchLine_84.result().setName("SketchLine_89")
614 SketchLine_83.setName("SketchLine_88")
615 SketchLine_83.result().setName("SketchLine_88")
616 SketchLine_82.setName("SketchLine_87")
617 SketchLine_82.result().setName("SketchLine_87")
618 SketchArc_18.setName("SketchArc_19")
619 SketchArc_18.result().setName("SketchArc_19")
620 SketchArc_18.results()[1].setName("SketchArc_19_2")
621 SketchArc_17.setName("SketchArc_18")
622 SketchArc_17.result().setName("SketchArc_18")
623 SketchArc_17.results()[1].setName("SketchArc_18_2")
624 SketchArc_16.setName("SketchArc_17")
625 SketchArc_16.result().setName("SketchArc_17")
626 SketchArc_16.results()[1].setName("SketchArc_17_2")
627 SketchArc_15.setName("SketchArc_16")
628 SketchArc_15.result().setName("SketchArc_16")
629 SketchArc_15.results()[1].setName("SketchArc_16_2")
630 SketchMultiTranslation_2_objects = [SketchArc_12.results()[1], SketchArc_13.results()[1], SketchArc_11.results()[1], SketchArc_14.results()[1], SketchLine_79.result(), SketchLine_78.result(), SketchLine_77.result(), SketchLine_76.result()]
631 SketchMultiTranslation_2 = Sketch_6.addTranslation(SketchMultiTranslation_2_objects, SketchPoint_6.coordinates(), SketchPoint_8.coordinates(), 2)
632 [SketchArc_19, SketchArc_20, SketchArc_21, SketchArc_22, SketchLine_86, SketchLine_87, SketchLine_88, SketchLine_89] = SketchMultiTranslation_2.translated()
633 SketchLine_89.setName("SketchLine_94")
634 SketchLine_89.result().setName("SketchLine_94")
635 SketchLine_88.setName("SketchLine_93")
636 SketchLine_88.result().setName("SketchLine_93")
637 SketchLine_87.setName("SketchLine_92")
638 SketchLine_87.result().setName("SketchLine_92")
639 SketchLine_86.setName("SketchLine_91")
640 SketchLine_86.result().setName("SketchLine_91")
641 SketchArc_22.setName("SketchArc_23")
642 SketchArc_22.result().setName("SketchArc_23")
643 SketchArc_22.results()[1].setName("SketchArc_23_2")
644 SketchArc_21.setName("SketchArc_22")
645 SketchArc_21.result().setName("SketchArc_22")
646 SketchArc_21.results()[1].setName("SketchArc_22_2")
647 SketchArc_20.setName("SketchArc_21")
648 SketchArc_20.result().setName("SketchArc_21")
649 SketchArc_20.results()[1].setName("SketchArc_21_2")
650 SketchArc_19.setName("SketchArc_20")
651 SketchArc_19.result().setName("SketchArc_20")
652 SketchArc_19.results()[1].setName("SketchArc_20_2")
653 SketchConstraintMirror_5_objects = [SketchArc_18.results()[1], SketchArc_17.results()[1], SketchArc_16.results()[1], SketchArc_15.results()[1], SketchArc_22.results()[1], SketchArc_20.results()[1], SketchArc_11.results()[1], SketchArc_12.results()[1], SketchArc_21.results()[1], SketchArc_19.results()[1], SketchArc_14.results()[1], SketchArc_13.results()[1], SketchLine_77.result(), SketchLine_78.result(), SketchLine_79.result(), SketchLine_85.result(), SketchLine_87.result(), SketchLine_82.result(), SketchLine_84.result(), SketchLine_86.result(), SketchLine_83.result(), SketchLine_88.result(), SketchLine_76.result(), SketchLine_89.result()]
654 SketchConstraintMirror_5 = Sketch_6.addMirror(SketchLine_80.result(), SketchConstraintMirror_5_objects)
655 [SketchArc_23, SketchArc_24, SketchArc_25, SketchArc_26, SketchArc_27, SketchArc_28, SketchArc_29, SketchArc_30, SketchArc_31, SketchArc_32, SketchArc_33, SketchArc_34, SketchLine_90, SketchLine_91, SketchLine_92, SketchLine_93, SketchLine_94, SketchLine_95, SketchLine_96, SketchLine_97, SketchLine_98, SketchLine_99, SketchLine_100, SketchLine_101] = SketchConstraintMirror_5.mirrored()
656 SketchLine_101.setName("SketchLine_106")
657 SketchLine_101.result().setName("SketchLine_106")
658 SketchLine_100.setName("SketchLine_105")
659 SketchLine_100.result().setName("SketchLine_105")
660 SketchLine_99.setName("SketchLine_104")
661 SketchLine_99.result().setName("SketchLine_104")
662 SketchLine_98.setName("SketchLine_103")
663 SketchLine_98.result().setName("SketchLine_103")
664 SketchLine_97.setName("SketchLine_102")
665 SketchLine_97.result().setName("SketchLine_102")
666 SketchLine_96.setName("SketchLine_101")
667 SketchLine_96.result().setName("SketchLine_101")
668 SketchLine_95.setName("SketchLine_100")
669 SketchLine_95.result().setName("SketchLine_100")
670 SketchLine_94.setName("SketchLine_99")
671 SketchLine_94.result().setName("SketchLine_99")
672 SketchLine_93.setName("SketchLine_98")
673 SketchLine_93.result().setName("SketchLine_98")
674 SketchLine_92.setName("SketchLine_97")
675 SketchLine_92.result().setName("SketchLine_97")
676 SketchLine_91.setName("SketchLine_96")
677 SketchLine_91.result().setName("SketchLine_96")
678 SketchLine_90.setName("SketchLine_95")
679 SketchLine_90.result().setName("SketchLine_95")
680 SketchArc_34.setName("SketchArc_35")
681 SketchArc_34.result().setName("SketchArc_35")
682 SketchArc_34.results()[1].setName("SketchArc_35_2")
683 SketchArc_33.setName("SketchArc_34")
684 SketchArc_33.result().setName("SketchArc_34")
685 SketchArc_33.results()[1].setName("SketchArc_34_2")
686 SketchArc_32.setName("SketchArc_33")
687 SketchArc_32.result().setName("SketchArc_33")
688 SketchArc_32.results()[1].setName("SketchArc_33_2")
689 SketchArc_31.setName("SketchArc_32")
690 SketchArc_31.result().setName("SketchArc_32")
691 SketchArc_31.results()[1].setName("SketchArc_32_2")
692 SketchArc_30.setName("SketchArc_31")
693 SketchArc_30.result().setName("SketchArc_31")
694 SketchArc_30.results()[1].setName("SketchArc_31_2")
695 SketchArc_29.setName("SketchArc_30")
696 SketchArc_29.result().setName("SketchArc_30")
697 SketchArc_29.results()[1].setName("SketchArc_30_2")
698 SketchArc_28.setName("SketchArc_29")
699 SketchArc_28.result().setName("SketchArc_29")
700 SketchArc_28.results()[1].setName("SketchArc_29_2")
701 SketchArc_27.setName("SketchArc_28")
702 SketchArc_27.result().setName("SketchArc_28")
703 SketchArc_27.results()[1].setName("SketchArc_28_2")
704 SketchArc_26.setName("SketchArc_27")
705 SketchArc_26.result().setName("SketchArc_27")
706 SketchArc_26.results()[1].setName("SketchArc_27_2")
707 SketchArc_25.setName("SketchArc_26")
708 SketchArc_25.result().setName("SketchArc_26")
709 SketchArc_25.results()[1].setName("SketchArc_26_2")
710 SketchArc_24.setName("SketchArc_25")
711 SketchArc_24.result().setName("SketchArc_25")
712 SketchArc_24.results()[1].setName("SketchArc_25_2")
713 SketchArc_23.setName("SketchArc_24")
714 SketchArc_23.result().setName("SketchArc_24")
715 SketchArc_23.results()[1].setName("SketchArc_24_2")
716 SketchPoint_9 = Sketch_6.addPoint(0, -49.85)
717 SketchPoint_9.setName("SketchPoint_11")
718 SketchPoint_9.result().setName("SketchPoint_11")
719 SketchConstraintCoincidence_112 = Sketch_6.setCoincident(SketchPoint_9.coordinates(), SketchLine_80.result())
720 SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_119")
721 SketchConstraintDistance_16 = Sketch_6.setDistance(SketchPoint_9.coordinates(), SketchLine_81.result(), "10+5.3+5.7")
722 SketchMultiTranslation_3_objects = [SketchArc_13.results()[1], SketchArc_34.results()[1], SketchArc_14.results()[1], SketchArc_33.results()[1], SketchArc_12.results()[1], SketchArc_11.results()[1], SketchArc_30.results()[1], SketchArc_29.results()[1], SketchArc_15.results()[1], SketchArc_16.results()[1], SketchArc_26.results()[1], SketchArc_25.results()[1], SketchArc_17.results()[1], SketchArc_18.results()[1], SketchArc_24.results()[1], SketchArc_23.results()[1], SketchArc_20.results()[1], SketchArc_22.results()[1], SketchArc_28.results()[1], SketchArc_27.results()[1], SketchArc_19.results()[1], SketchArc_21.results()[1], SketchArc_32.results()[1], SketchArc_31.results()[1], SketchLine_82.result(), SketchLine_77.result(), SketchLine_97.result(), SketchLine_94.result(), SketchLine_101.result(), SketchLine_99.result(), SketchLine_83.result(), SketchLine_88.result(), SketchLine_89.result(), SketchLine_86.result(), SketchLine_85.result(), SketchLine_100.result(), SketchLine_79.result(), SketchLine_92.result(), SketchLine_87.result(), SketchLine_91.result(), SketchLine_84.result(), SketchLine_96.result(), SketchLine_95.result(), SketchLine_93.result(), SketchLine_78.result(), SketchLine_98.result(), SketchLine_76.result(), SketchLine_90.result()]
723 SketchMultiTranslation_3 = Sketch_6.addTranslation(SketchMultiTranslation_3_objects, SketchPoint_6.coordinates(), SketchPoint_9.coordinates(), 2)
724 [SketchArc_35, SketchArc_34, SketchArc_36, SketchArc_37, SketchArc_33, SketchArc_38, SketchArc_39, SketchArc_40, SketchArc_30, SketchArc_41, SketchArc_29, SketchArc_42, SketchArc_15, SketchArc_43, SketchArc_16, SketchArc_44, SketchArc_26, SketchArc_45, SketchArc_25, SketchArc_46, SketchArc_17, SketchArc_47, SketchArc_18, SketchArc_48, SketchArc_24, SketchArc_49, SketchArc_23, SketchArc_50, SketchArc_20, SketchArc_51, SketchArc_22, SketchArc_52, SketchArc_28, SketchArc_53, SketchArc_27, SketchArc_54, SketchArc_19, SketchArc_55, SketchArc_21, SketchArc_56, SketchArc_32, SketchArc_57, SketchArc_31, SketchArc_58, SketchLine_82, SketchLine_102, SketchLine_103, SketchLine_97, SketchLine_104, SketchLine_94, SketchLine_105, SketchLine_101, SketchLine_106, SketchLine_99, SketchLine_107, SketchLine_83, SketchLine_108, SketchLine_88, SketchLine_109, SketchLine_89, SketchLine_110, SketchLine_86, SketchLine_111, SketchLine_85, SketchLine_112, SketchLine_100, SketchLine_113, SketchLine_114, SketchLine_92, SketchLine_115, SketchLine_87, SketchLine_116, SketchLine_91, SketchLine_117, SketchLine_84, SketchLine_118, SketchLine_96, SketchLine_119, SketchLine_95, SketchLine_120, SketchLine_93, SketchLine_121, SketchLine_122, SketchLine_98, SketchLine_123, SketchLine_124, SketchLine_90, SketchLine_125] = SketchMultiTranslation_3.translated()
725 SketchLine_125.setName("SketchLine_130")
726 SketchLine_125.result().setName("SketchLine_130")
727 SketchLine_124.setName("SketchLine_129")
728 SketchLine_124.result().setName("SketchLine_129")
729 SketchLine_123.setName("SketchLine_128")
730 SketchLine_123.result().setName("SketchLine_128")
731 SketchLine_122.setName("SketchLine_127")
732 SketchLine_122.result().setName("SketchLine_127")
733 SketchLine_121.setName("SketchLine_126")
734 SketchLine_121.result().setName("SketchLine_126")
735 SketchLine_120.setName("SketchLine_125")
736 SketchLine_120.result().setName("SketchLine_125")
737 SketchLine_119.setName("SketchLine_124")
738 SketchLine_119.result().setName("SketchLine_124")
739 SketchLine_118.setName("SketchLine_123")
740 SketchLine_118.result().setName("SketchLine_123")
741 SketchLine_117.setName("SketchLine_122")
742 SketchLine_117.result().setName("SketchLine_122")
743 SketchLine_116.setName("SketchLine_121")
744 SketchLine_116.result().setName("SketchLine_121")
745 SketchLine_115.setName("SketchLine_120")
746 SketchLine_115.result().setName("SketchLine_120")
747 SketchLine_114.setName("SketchLine_119")
748 SketchLine_114.result().setName("SketchLine_119")
749 SketchLine_113.setName("SketchLine_118")
750 SketchLine_113.result().setName("SketchLine_118")
751 SketchLine_112.setName("SketchLine_117")
752 SketchLine_112.result().setName("SketchLine_117")
753 SketchLine_111.setName("SketchLine_116")
754 SketchLine_111.result().setName("SketchLine_116")
755 SketchLine_110.setName("SketchLine_115")
756 SketchLine_110.result().setName("SketchLine_115")
757 SketchLine_109.setName("SketchLine_114")
758 SketchLine_109.result().setName("SketchLine_114")
759 SketchLine_108.setName("SketchLine_113")
760 SketchLine_108.result().setName("SketchLine_113")
761 SketchLine_107.setName("SketchLine_112")
762 SketchLine_107.result().setName("SketchLine_112")
763 SketchLine_106.setName("SketchLine_111")
764 SketchLine_106.result().setName("SketchLine_111")
765 SketchLine_105.setName("SketchLine_110")
766 SketchLine_105.result().setName("SketchLine_110")
767 SketchLine_104.setName("SketchLine_109")
768 SketchLine_104.result().setName("SketchLine_109")
769 SketchLine_103.setName("SketchLine_108")
770 SketchLine_103.result().setName("SketchLine_108")
771 SketchLine_102.setName("SketchLine_107")
772 SketchLine_102.result().setName("SketchLine_107")
773 SketchArc_58.setName("SketchArc_59")
774 SketchArc_58.result().setName("SketchArc_59")
775 SketchArc_58.results()[1].setName("SketchArc_59_2")
776 SketchArc_57.setName("SketchArc_58")
777 SketchArc_57.result().setName("SketchArc_58")
778 SketchArc_57.results()[1].setName("SketchArc_58_2")
779 SketchArc_56.setName("SketchArc_57")
780 SketchArc_56.result().setName("SketchArc_57")
781 SketchArc_56.results()[1].setName("SketchArc_57_2")
782 SketchArc_55.setName("SketchArc_56")
783 SketchArc_55.result().setName("SketchArc_56")
784 SketchArc_55.results()[1].setName("SketchArc_56_2")
785 SketchArc_54.setName("SketchArc_55")
786 SketchArc_54.result().setName("SketchArc_55")
787 SketchArc_54.results()[1].setName("SketchArc_55_2")
788 SketchArc_53.setName("SketchArc_54")
789 SketchArc_53.result().setName("SketchArc_54")
790 SketchArc_53.results()[1].setName("SketchArc_54_2")
791 SketchArc_52.setName("SketchArc_53")
792 SketchArc_52.result().setName("SketchArc_53")
793 SketchArc_52.results()[1].setName("SketchArc_53_2")
794 SketchArc_51.setName("SketchArc_52")
795 SketchArc_51.result().setName("SketchArc_52")
796 SketchArc_51.results()[1].setName("SketchArc_52_2")
797 SketchArc_50.setName("SketchArc_51")
798 SketchArc_50.result().setName("SketchArc_51")
799 SketchArc_50.results()[1].setName("SketchArc_51_2")
800 SketchArc_49.setName("SketchArc_50")
801 SketchArc_49.result().setName("SketchArc_50")
802 SketchArc_49.results()[1].setName("SketchArc_50_2")
803 SketchArc_48.setName("SketchArc_49")
804 SketchArc_48.result().setName("SketchArc_49")
805 SketchArc_48.results()[1].setName("SketchArc_49_2")
806 SketchArc_47.setName("SketchArc_48")
807 SketchArc_47.result().setName("SketchArc_48")
808 SketchArc_47.results()[1].setName("SketchArc_48_2")
809 SketchArc_46.setName("SketchArc_47")
810 SketchArc_46.result().setName("SketchArc_47")
811 SketchArc_46.results()[1].setName("SketchArc_47_2")
812 SketchArc_45.setName("SketchArc_46")
813 SketchArc_45.result().setName("SketchArc_46")
814 SketchArc_45.results()[1].setName("SketchArc_46_2")
815 SketchArc_44.setName("SketchArc_45")
816 SketchArc_44.result().setName("SketchArc_45")
817 SketchArc_44.results()[1].setName("SketchArc_45_2")
818 SketchArc_43.setName("SketchArc_44")
819 SketchArc_43.result().setName("SketchArc_44")
820 SketchArc_43.results()[1].setName("SketchArc_44_2")
821 SketchArc_42.setName("SketchArc_43")
822 SketchArc_42.result().setName("SketchArc_43")
823 SketchArc_42.results()[1].setName("SketchArc_43_2")
824 SketchArc_41.setName("SketchArc_42")
825 SketchArc_41.result().setName("SketchArc_42")
826 SketchArc_41.results()[1].setName("SketchArc_42_2")
827 SketchArc_40.setName("SketchArc_41")
828 SketchArc_40.result().setName("SketchArc_41")
829 SketchArc_40.results()[1].setName("SketchArc_41_2")
830 SketchArc_39.setName("SketchArc_40")
831 SketchArc_39.result().setName("SketchArc_40")
832 SketchArc_39.results()[1].setName("SketchArc_40_2")
833 SketchArc_38.setName("SketchArc_39")
834 SketchArc_38.result().setName("SketchArc_39")
835 SketchArc_38.results()[1].setName("SketchArc_39_2")
836 SketchArc_37.setName("SketchArc_38")
837 SketchArc_37.result().setName("SketchArc_38")
838 SketchArc_37.results()[1].setName("SketchArc_38_2")
839 SketchArc_36.setName("SketchArc_37")
840 SketchArc_36.result().setName("SketchArc_37")
841 SketchArc_36.results()[1].setName("SketchArc_37_2")
842 SketchArc_35.setName("SketchArc_36")
843 SketchArc_35.result().setName("SketchArc_36")
844 SketchArc_35.results()[1].setName("SketchArc_36_2")
845 model.do()
846 Sketch_6.setName("Sketch_7")
847 Sketch_6.result().setName("Sketch_7")
848 ExtrusionCut_5 = model.addExtrusionCut(Part_1_doc, [model.selection("WIRE", "Sketch_7/Wire-SketchArc_20_2f-SketchArc_21_2f-SketchArc_22_2f-SketchArc_23_2f-SketchLine_91r-SketchLine_92f-SketchLine_93r-SketchLine_94f"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_52_2f-SketchArc_53_2f-SketchArc_56_2f-SketchArc_57_2f-SketchLine_114r-SketchLine_115f-SketchLine_116r-SketchLine_121f"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_44_2f-SketchArc_45_2f-SketchArc_48_2f-SketchArc_49_2f-SketchLine_107f-SketchLine_113f-SketchLine_117r-SketchLine_123r"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_16_2f-SketchArc_17_2f-SketchArc_18_2f-SketchArc_19_2f-SketchLine_87f-SketchLine_88f-SketchLine_89r-SketchLine_90r"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_11_2f-SketchArc_12_2f-SketchArc_14_2f-SketchLine_81f-SketchLine_82r-SketchLine_83f-SketchLine_84r-SketchArc_15_2f"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_36_2f-SketchArc_38_2f-SketchArc_40_2f-SketchArc_41_2f-SketchLine_108r-SketchLine_119r-SketchLine_127f-SketchLine_129f"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_37_2f-SketchArc_39_2f-SketchArc_42_2f-SketchArc_43_2f-SketchLine_118r-SketchLine_120f-SketchLine_122r-SketchLine_130f"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_24_2f-SketchArc_25_2f-SketchArc_26_2f-SketchArc_27_2f-SketchLine_98f-SketchLine_100r-SketchLine_101f-SketchLine_103r"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_30_2f-SketchArc_31_2f-SketchArc_34_2f-SketchArc_35_2f-SketchLine_95f-SketchLine_96r-SketchLine_97f-SketchLine_105r"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_46_2f-SketchArc_47_2f-SketchArc_50_2f-SketchArc_51_2f-SketchLine_124f-SketchLine_125r-SketchLine_126f-SketchLine_128r"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_54_2f-SketchArc_55_2f-SketchArc_58_2f-SketchArc_59_2f-SketchLine_109f-SketchLine_110r-SketchLine_111r-SketchLine_112f"), model.selection("WIRE", "Sketch_7/Wire-SketchArc_28_2f-SketchArc_29_2f-SketchArc_32_2f-SketchArc_33_2f-SketchLine_99r-SketchLine_102f-SketchLine_104f-SketchLine_106r")], model.selection(), 0, 10, [model.selection("SOLID", "ExtrusionCut_4_1")])
849 Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_5_1/Modfied_1"))
850 SketchLine_126 = Sketch_7.addLine(-153.5, -37.05, -152.3, -37.05)
851 SketchLine_126.setName("SketchLine_135")
852 SketchLine_126.result().setName("SketchLine_135")
853 SketchLine_127 = Sketch_7.addLine(-150.8, -38.55, -150.8, -43.55)
854 SketchLine_127.setName("SketchLine_138")
855 SketchLine_127.result().setName("SketchLine_138")
856 SketchPoint_10 = Sketch_7.addPoint(model.selection("VERTEX", "Sketch_6/Vertex-SketchLine_67s-SketchLine_68e-SketchLine_69e"))
857 SketchPoint_10.setName("SketchPoint_12")
858 SketchPoint_10.result().setName("SketchPoint_12")
859 SketchLine_128 = Sketch_7.addLine(-150.8, -45.05, -153.5, -45.05)
860 SketchLine_128.setName("SketchLine_131")
861 SketchLine_128.result().setName("SketchLine_131")
862 SketchLine_128.setAuxiliary(True)
863 SketchConstraintCoincidence_113 = Sketch_7.setCoincident(SketchLine_128.endPoint(), SketchPoint_10.result())
864 SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_120")
865 SketchLine_129 = Sketch_7.addLine(-153.5, -45.05, -153.5, -37.05)
866 SketchLine_129.setName("SketchLine_132")
867 SketchLine_129.result().setName("SketchLine_132")
868 SketchLine_130 = Sketch_7.addLine(-152.3, -45.05, -153.5, -45.05)
869 SketchLine_130.setName("SketchLine_137")
870 SketchLine_130.result().setName("SketchLine_137")
871 SketchLine_131 = Sketch_7.addLine(-150.8, -37.05, -150.8, -45.05)
872 SketchLine_131.setName("SketchLine_134")
873 SketchLine_131.result().setName("SketchLine_134")
874 SketchLine_131.setAuxiliary(True)
875 SketchConstraintCoincidence_114 = Sketch_7.setCoincident(SketchLine_131.endPoint(), SketchLine_128.startPoint())
876 SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_121")
877 SketchConstraintCoincidence_115 = Sketch_7.setCoincident(SketchLine_128.endPoint(), SketchLine_129.startPoint())
878 SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_122")
879 SketchLine_132 = Sketch_7.addLine(-153.5, -37.05, -150.8, -37.05)
880 SketchLine_132.setName("SketchLine_133")
881 SketchLine_132.result().setName("SketchLine_133")
882 SketchLine_132.setAuxiliary(True)
883 SketchConstraintCoincidence_116 = Sketch_7.setCoincident(SketchLine_129.endPoint(), SketchLine_132.startPoint())
884 SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_123")
885 SketchConstraintCoincidence_117 = Sketch_7.setCoincident(SketchLine_132.endPoint(), SketchLine_131.startPoint())
886 SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_124")
887 SketchConstraintHorizontal_18 = Sketch_7.setHorizontal(SketchLine_128.result())
888 SketchConstraintVertical_15 = Sketch_7.setVertical(SketchLine_129.result())
889 SketchConstraintHorizontal_19 = Sketch_7.setHorizontal(SketchLine_132.result())
890 SketchConstraintVertical_16 = Sketch_7.setVertical(SketchLine_131.result())
891 SketchPoint_11 = Sketch_7.addPoint(model.selection("VERTEX", "Sketch_6/Vertex-SketchLine_70s-SketchLine_72s-SketchLine_71e"))
892 SketchPoint_11.setName("SketchPoint_13")
893 SketchPoint_11.result().setName("SketchPoint_13")
894 SketchConstraintCoincidence_118 = Sketch_7.setCoincident(SketchLine_132.endPoint(), SketchPoint_11.result())
895 SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_125")
896 SketchArc_59 = Sketch_7.addArc(-152.3, -38.55, -150.8, -38.55, -152.3000099350335, -37.05, False)
897 SketchArc_59.setName("SketchArc_60")
898 SketchArc_59.result().setName("SketchArc_60")
899 SketchArc_59.results()[1].setName("SketchArc_60_2")
900 SketchLine_133 = Sketch_7.addLine(-150.8, -38.55, -150.8, -45.05)
901 SketchLine_133.setName("SketchLine_136")
902 SketchLine_133.result().setName("SketchLine_136")
903 SketchLine_133.setAuxiliary(True)
904 SketchConstraintCoincidence_119 = Sketch_7.setCoincident(SketchArc_59.startPoint(), SketchLine_133.startPoint())
905 SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_126")
906 SketchConstraintCoincidence_120 = Sketch_7.setCoincident(SketchArc_59.endPoint(), SketchLine_126.endPoint())
907 SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_127")
908 SketchConstraintTangent_13 = Sketch_7.setTangent(SketchArc_59.results()[1], SketchLine_126.result())
909 SketchConstraintTangent_14 = Sketch_7.setTangent(SketchArc_59.results()[1], SketchLine_133.result())
910 SketchConstraintCoincidence_121 = Sketch_7.setCoincident(SketchLine_132.startPoint(), SketchLine_126.startPoint())
911 SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_128")
912 SketchConstraintCoincidence_122 = Sketch_7.setCoincident(SketchLine_131.endPoint(), SketchLine_133.endPoint())
913 SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_129")
914 SketchConstraintCoincidence_123 = Sketch_7.setCoincident(SketchLine_126.endPoint(), SketchLine_132.result())
915 SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_130")
916 SketchConstraintCoincidence_124 = Sketch_7.setCoincident(SketchLine_133.startPoint(), SketchLine_131.result())
917 SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_131")
918 SketchArc_60 = Sketch_7.addArc(-152.3, -43.55, -152.3, -45.05, -150.8, -43.55, False)
919 SketchArc_60.setName("SketchArc_61")
920 SketchArc_60.result().setName("SketchArc_61")
921 SketchArc_60.results()[1].setName("SketchArc_61_2")
922 SketchConstraintCoincidence_125 = Sketch_7.setCoincident(SketchArc_60.startPoint(), SketchLine_130.startPoint())
923 SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_132")
924 SketchConstraintCoincidence_126 = Sketch_7.setCoincident(SketchArc_60.endPoint(), SketchLine_127.endPoint())
925 SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_133")
926 SketchConstraintTangent_15 = Sketch_7.setTangent(SketchArc_60.results()[1], SketchLine_130.result())
927 SketchConstraintTangent_16 = Sketch_7.setTangent(SketchArc_60.results()[1], SketchLine_127.result())
928 SketchConstraintCoincidence_127 = Sketch_7.setCoincident(SketchLine_128.endPoint(), SketchLine_130.endPoint())
929 SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_134")
930 SketchConstraintCoincidence_128 = Sketch_7.setCoincident(SketchLine_133.startPoint(), SketchLine_127.startPoint())
931 SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_135")
932 SketchConstraintCoincidence_129 = Sketch_7.setCoincident(SketchLine_130.startPoint(), SketchLine_128.result())
933 SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_136")
934 SketchConstraintCoincidence_130 = Sketch_7.setCoincident(SketchLine_127.endPoint(), SketchLine_133.result())
935 SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_137")
936 SketchConstraintRadius_6 = Sketch_7.setRadius(SketchArc_60.results()[1], 1.5)
937 SketchConstraintRadius_7 = Sketch_7.setRadius(SketchArc_59.results()[1], 1.5)
938 model.do()
939 Sketch_7.setName("Sketch_8")
940 Sketch_7.result().setName("Sketch_8")
941 ExtrusionCut_6 = model.addExtrusionCut(Part_1_doc, [model.selection("COMPOUND", "Sketch_8")], model.selection(), 0, 10, [model.selection("SOLID", "ExtrusionCut_5_1")])
942 Sketch_8 = model.addSketch(Part_1_doc, model.selection("FACE", "ExtrusionCut_6_1/Modfied_2"))
943 SketchLine_134 = Sketch_8.addLine(0.85, 50.75, -0.85, 50.75)
944 SketchLine_134.setName("SketchLine_139")
945 SketchLine_134.result().setName("SketchLine_139")
946 SketchLine_135 = Sketch_8.addLine(-0.85, 47.45, 0.85, 47.45)
947 SketchLine_135.setName("SketchLine_141")
948 SketchLine_135.result().setName("SketchLine_141")
949 SketchConstraintHorizontal_20 = Sketch_8.setHorizontal(SketchLine_134.result())
950 SketchConstraintHorizontal_21 = Sketch_8.setHorizontal(SketchLine_135.result())
951 SketchArc_61 = Sketch_8.addArc(0.85, 49.1, 0.85, 47.45, 0.85, 50.75, False)
952 SketchArc_61.setName("SketchArc_63")
953 SketchArc_61.result().setName("SketchArc_63")
954 SketchArc_61.results()[1].setName("SketchArc_63_2")
955 SketchConstraintCoincidence_131 = Sketch_8.setCoincident(SketchLine_134.startPoint(), SketchArc_61.endPoint())
956 SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_146")
957 SketchConstraintCoincidence_132 = Sketch_8.setCoincident(SketchArc_61.startPoint(), SketchLine_135.endPoint())
958 SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_148")
959 SketchConstraintDistance_17 = Sketch_8.setDistance(SketchLine_134.result(), SketchLine_135.endPoint(), 3.3)
960 SketchLine_136 = Sketch_8.addLine(0.85, 50.75, 0.85, 47.45)
961 SketchLine_136.setName("SketchLine_140")
962 SketchLine_136.result().setName("SketchLine_140")
963 SketchLine_136.setAuxiliary(True)
964 SketchConstraintCoincidence_133 = Sketch_8.setCoincident(SketchLine_134.startPoint(), SketchLine_136.startPoint())
965 SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_138")
966 SketchConstraintCoincidence_134 = Sketch_8.setCoincident(SketchArc_61.endPoint(), SketchLine_136.startPoint())
967 SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_139")
968 SketchConstraintCoincidence_135 = Sketch_8.setCoincident(SketchLine_135.endPoint(), SketchLine_136.endPoint())
969 SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_140")
970 SketchConstraintCoincidence_136 = Sketch_8.setCoincident(SketchArc_61.startPoint(), SketchLine_136.endPoint())
971 SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_141")
972 SketchLine_137 = Sketch_8.addLine(-0.85, 50.75, -0.85, 47.45)
973 SketchLine_137.setName("SketchLine_142")
974 SketchLine_137.result().setName("SketchLine_142")
975 SketchLine_137.setAuxiliary(True)
976 SketchConstraintCoincidence_137 = Sketch_8.setCoincident(SketchLine_134.endPoint(), SketchLine_137.startPoint())
977 SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_143")
978 SketchConstraintCoincidence_138 = Sketch_8.setCoincident(SketchLine_135.startPoint(), SketchLine_137.endPoint())
979 SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_147")
980 SketchConstraintCoincidence_152 = Sketch_8.setCoincident(SketchArc_61.center(), SketchLine_136.result())
981 SketchConstraintLength_10 = Sketch_8.setLength(SketchLine_134.result(), 1.7)
982 SketchConstraintLength_10.setName("SketchConstraintLength_11")
983 SketchConstraintVertical_17 = Sketch_8.setVertical(SketchLine_137.result())
984 SketchConstraintVertical_18 = Sketch_8.setVertical(SketchLine_136.result())
985 SketchLine_138 = Sketch_8.addLine(0.85, 50.75, -0.85, 47.45)
986 SketchLine_138.setName("SketchLine_143")
987 SketchLine_138.result().setName("SketchLine_143")
988 SketchLine_138.setAuxiliary(True)
989 SketchConstraintCoincidence_139 = Sketch_8.setCoincident(SketchLine_134.startPoint(), SketchLine_138.startPoint())
990 SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_150")
991 SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchArc_61.endPoint(), SketchLine_138.startPoint())
992 SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_151")
993 SketchConstraintCoincidence_141 = Sketch_8.setCoincident(SketchLine_136.startPoint(), SketchLine_138.startPoint())
994 SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_152")
995 SketchConstraintCoincidence_142 = Sketch_8.setCoincident(SketchLine_135.startPoint(), SketchLine_138.endPoint())
996 SketchConstraintCoincidence_142.setName("SketchConstraintCoincidence_153")
997 SketchConstraintCoincidence_143 = Sketch_8.setCoincident(SketchLine_137.endPoint(), SketchLine_138.endPoint())
998 SketchConstraintCoincidence_143.setName("SketchConstraintCoincidence_155")
999 SketchPoint_12 = Sketch_8.addPoint(0, 49.1)
1000 SketchPoint_12.setName("SketchPoint_14")
1001 SketchPoint_12.result().setName("SketchPoint_14")
1002 SketchConstraintCoincidence_144 = Sketch_8.setCoincident(SketchPoint_12.coordinates(), SketchLine_138.result())
1003 SketchConstraintCoincidence_144.setName("SketchConstraintCoincidence_156")
1004 SketchConstraintMiddle_3 = Sketch_8.setMiddlePoint(SketchLine_138.result(), SketchPoint_12.coordinates())
1005 SketchConstraintMiddle_3.setName("SketchConstraintMiddle_4")
1006 SketchProjection_2 = Sketch_8.addProjection(model.selection("EDGE", "PartSet/OY"))
1007 SketchLine_139 = SketchProjection_2.createdFeature()
1008 SketchLine_139.setName("SketchLine_144")
1009 SketchLine_139.result().setName("SketchLine_144")
1010 SketchConstraintCoincidence_145 = Sketch_8.setCoincident(SketchPoint_12.coordinates(), SketchLine_139.result())
1011 SketchConstraintCoincidence_145.setName("SketchConstraintCoincidence_157")
1012 SketchArc_62 = Sketch_8.addArc(-0.85, 49.1, -0.85, 50.75, -0.85, 47.45, False)
1013 SketchConstraintCoincidence_146 = Sketch_8.setCoincident(SketchLine_135.startPoint(), SketchArc_62.endPoint())
1014 SketchConstraintCoincidence_146.setName("SketchConstraintCoincidence_149")
1015 SketchConstraintCoincidence_147 = Sketch_8.setCoincident(SketchLine_137.endPoint(), SketchArc_62.endPoint())
1016 SketchConstraintCoincidence_147.setName("SketchConstraintCoincidence_154")
1017 SketchConstraintCoincidence_148 = Sketch_8.setCoincident(SketchLine_138.endPoint(), SketchArc_62.endPoint())
1018 SketchConstraintCoincidence_148.setName("SketchConstraintCoincidence_158")
1019 SketchConstraintCoincidence_149 = Sketch_8.setCoincident(SketchArc_62.startPoint(), SketchLine_134.endPoint())
1020 SketchConstraintCoincidence_149.setName("SketchConstraintCoincidence_159")
1021 SketchConstraintCoincidence_150 = Sketch_8.setCoincident(SketchArc_62.center(), SketchLine_137.result())
1022 SketchLine_140 = Sketch_8.addLine(model.selection("EDGE", "ExtrusionCut_2_1/Modfied_5&ExtrusionCut_6_1/Modfied_2"))
1023 SketchLine_140.setName("SketchLine_145")
1024 SketchLine_140.result().setName("SketchLine_145")
1025 SketchConstraintDistance_18 = Sketch_8.setDistance(SketchLine_140.result(), SketchPoint_12.coordinates(), 6)
1026 SketchLine_141 = Sketch_8.addLine(0, 49.1, 107.43, 49.1)
1027 SketchLine_141.setName("SketchLine_146")
1028 SketchLine_141.result().setName("SketchLine_146")
1029 SketchLine_141.setAuxiliary(True)
1030 SketchConstraintCoincidence_151 = Sketch_8.setCoincident(SketchPoint_12.coordinates(), SketchLine_141.startPoint())
1031
1032 SketchConstraintHorizontal_22 = Sketch_8.setHorizontal(SketchLine_141.result())
1033 SketchConstraintLength_11 = Sketch_8.setLength(SketchLine_141.result(), 107.43)
1034 SketchConstraintLength_11.setName("SketchConstraintLength_12")
1035 SketchMultiTranslation_4_objects = [SketchLine_134.result(), SketchLine_135.result(), SketchArc_61.results()[1], SketchArc_62.results()[1]]
1036 SketchMultiTranslation_4 = Sketch_8.addTranslation(SketchMultiTranslation_4_objects, SketchPoint_12.coordinates(), SketchLine_141.endPoint(), 2)
1037 [SketchLine_142, SketchLine_143, SketchArc_63, SketchArc_64] = SketchMultiTranslation_4.translated()
1038 SketchArc_64.setName("SketchArc_65")
1039 SketchArc_64.result().setName("SketchArc_65")
1040 SketchArc_64.results()[1].setName("SketchArc_65_2")
1041 SketchArc_63.setName("SketchArc_64")
1042 SketchArc_63.result().setName("SketchArc_64")
1043 SketchArc_63.results()[1].setName("SketchArc_64_2")
1044 SketchLine_143.setName("SketchLine_148")
1045 SketchLine_143.result().setName("SketchLine_148")
1046 SketchLine_142.setName("SketchLine_147")
1047 SketchLine_142.result().setName("SketchLine_147")
1048 SketchConstraintMirror_6_objects = [SketchArc_63.results()[1], SketchArc_64.results()[1], SketchLine_142.result(), SketchLine_143.result()]
1049 SketchConstraintMirror_6 = Sketch_8.addMirror(SketchLine_139.result(), SketchConstraintMirror_6_objects)
1050 [SketchArc_65, SketchArc_66, SketchLine_144, SketchLine_145] = SketchConstraintMirror_6.mirrored()
1051 SketchLine_145.setName("SketchLine_150")
1052 SketchLine_145.result().setName("SketchLine_150")
1053 SketchLine_144.setName("SketchLine_149")
1054 SketchLine_144.result().setName("SketchLine_149")
1055 SketchArc_66.setName("SketchArc_67")
1056 SketchArc_66.result().setName("SketchArc_67")
1057 SketchArc_66.results()[1].setName("SketchArc_67_2")
1058 SketchArc_65.setName("SketchArc_66")
1059 SketchArc_65.result().setName("SketchArc_66")
1060 SketchArc_65.results()[1].setName("SketchArc_66_2")
1061 model.do()
1062 Sketch_8.setName("Sketch_9")
1063 Sketch_8.result().setName("Sketch_9")
1064 ExtrusionCut_7 = model.addExtrusionCut(Part_1_doc, [model.selection("FACE", "Sketch_9/Face-SketchLine_147f-SketchLine_148f-SketchArc_64_2f-SketchArc_65_2f"), model.selection("FACE", "Sketch_9/Face-SketchLine_139f-SketchLine_141f-SketchArc_63_2f-SketchArc_62_2f"), model.selection("FACE", "Sketch_9/Face-SketchArc_66_2f-SketchArc_67_2f-SketchLine_149r-SketchLine_150r")], model.selection(), 0, 10, [model.selection("SOLID", "ExtrusionCut_6_1")])
1065 model.do()
1066
1067 # Test reexecution after parameter change
1068 Parameter_H.setValue(0.4)
1069 model.do()
1070 model.testResultsVolumes(ExtrusionCut_7, [5641.450357292746048187837004662])
1071 Parameter_H.setValue(0.3)
1072 model.end()
1073
1074 from GeomAPI import GeomAPI_Shape
1075
1076 model.testNbResults(ExtrusionCut_7, 1)
1077 model.testNbSubResults(ExtrusionCut_7, [0])
1078 model.testNbSubShapes(ExtrusionCut_7, GeomAPI_Shape.SOLID, [1])
1079 model.testNbSubShapes(ExtrusionCut_7, GeomAPI_Shape.FACE, [156])
1080 model.testNbSubShapes(ExtrusionCut_7, GeomAPI_Shape.EDGE, [916])
1081 model.testNbSubShapes(ExtrusionCut_7, GeomAPI_Shape.VERTEX, [1832])
1082 model.testResultsVolumes(ExtrusionCut_7, [5345.689484659372283203992992640])
1083
1084 assert(model.checkPythonDump())