]> SALOME platform Git repositories - modules/shaper.git/blob - test.models/angle30.py
Salome HOME
Sort alphabetically unit tests for SketchPlugin module
[modules/shaper.git] / test.models / angle30.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 salome.shaper import model
22
23 model.begin()
24 partSet = model.moduleDocument()
25 Part_1 = model.addPart(partSet)
26 Part_1_doc = Part_1.document()
27 Parameter_H = model.addParameter(Part_1_doc, "H", "6")
28 Sketch_1 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
29 SketchLine_1 = Sketch_1.addLine(50, 70, 50, 9.237604307034024)
30 SketchLine_1.setName("SketchLine_10")
31 SketchLine_1.result().setName("SketchLine_10")
32 SketchLine_2 = Sketch_1.addLine(42, -4.618802153516998, -53.92304845413265, -59.99999999999996)
33 SketchLine_2.setName("SketchLine_11")
34 SketchLine_2.result().setName("SketchLine_11")
35 SketchLine_3 = Sketch_1.addLine(50, 70, 50, 0)
36 SketchLine_3.setName("SketchLine_1")
37 SketchLine_3.result().setName("SketchLine_1")
38 SketchLine_3.setAuxiliary(True)
39 SketchLine_4 = Sketch_1.addLine(50, 0, -53.92304845413265, -59.99999999999996)
40 SketchLine_4.setName("SketchLine_2")
41 SketchLine_4.result().setName("SketchLine_2")
42 SketchLine_4.setAuxiliary(True)
43 SketchConstraintCoincidence_1 = Sketch_1.setCoincident(SketchLine_3.endPoint(), SketchLine_4.startPoint())
44 SketchLine_5 = Sketch_1.addLine(44, 9.237604307034019, 44, 70)
45 SketchLine_5.setName("SketchLine_8")
46 SketchLine_5.result().setName("SketchLine_8")
47 SketchLine_6 = Sketch_1.addLine(-53.92304845413265, -59.99999999999996, -56.92304845413265, -54.80384757729332)
48 SketchLine_6.setName("SketchLine_3")
49 SketchLine_6.result().setName("SketchLine_3")
50 SketchConstraintCoincidence_2 = Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_6.startPoint())
51 SketchLine_7 = Sketch_1.addLine(-56.92304845413265, -54.80384757729332, 38.99999999999999, 0.5773502691896226)
52 SketchLine_7.setName("SketchLine_9")
53 SketchLine_7.result().setName("SketchLine_9")
54 SketchLine_8 = Sketch_1.addLine(-56.92304845413265, -54.80384757729332, 44, 3.464101615137744)
55 SketchLine_8.setName("SketchLine_4")
56 SketchLine_8.result().setName("SketchLine_4")
57 SketchLine_8.setAuxiliary(True)
58 SketchConstraintCoincidence_3 = Sketch_1.setCoincident(SketchLine_6.endPoint(), SketchLine_8.startPoint())
59 SketchLine_9 = Sketch_1.addLine(44, 3.464101615137744, 44, 70)
60 SketchLine_9.setName("SketchLine_5")
61 SketchLine_9.result().setName("SketchLine_5")
62 SketchLine_9.setAuxiliary(True)
63 SketchConstraintCoincidence_4 = Sketch_1.setCoincident(SketchLine_8.endPoint(), SketchLine_9.startPoint())
64 SketchLine_10 = Sketch_1.addLine(44, 70, 50, 70)
65 SketchLine_10.setName("SketchLine_6")
66 SketchLine_10.result().setName("SketchLine_6")
67 SketchConstraintCoincidence_5 = Sketch_1.setCoincident(SketchLine_9.endPoint(), SketchLine_10.startPoint())
68 SketchConstraintCoincidence_6 = Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchLine_10.endPoint())
69 SketchConstraintVertical_1 = Sketch_1.setVertical(SketchLine_3.result())
70 SketchConstraintVertical_2 = Sketch_1.setVertical(SketchLine_9.result())
71 SketchConstraintHorizontal_1 = Sketch_1.setHorizontal(SketchLine_10.result())
72 SketchConstraintDistance_1 = Sketch_1.setDistance(SketchLine_3.startPoint(), SketchLine_9.result(), "H", False)
73 SketchLine_11 = Sketch_1.addLine(model.selection("EDGE", "PartSet/OZ"))
74 SketchLine_11.setName("SketchLine_7")
75 SketchLine_11.result().setName("SketchLine_7")
76 SketchConstraintDistance_2 = Sketch_1.setDistance(SketchLine_3.startPoint(), SketchLine_11.result(), 50, False)
77 SketchArc_1 = Sketch_1.addArc(34, 9.237604307034017, 38.99999999999999, 0.5773502691896226, 44, 9.237604307034019, False)
78 SketchConstraintCoincidence_7 = Sketch_1.setCoincident(SketchArc_1.startPoint(), SketchLine_7.endPoint())
79 SketchConstraintCoincidence_8 = Sketch_1.setCoincident(SketchArc_1.endPoint(), SketchLine_5.startPoint())
80 SketchConstraintTangent_1 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_5.result())
81 SketchConstraintTangent_2 = Sketch_1.setTangent(SketchArc_1.results()[1], SketchLine_7.result())
82 SketchConstraintCoincidence_9 = Sketch_1.setCoincident(SketchLine_9.endPoint(), SketchLine_5.endPoint())
83 SketchConstraintCoincidence_10 = Sketch_1.setCoincident(SketchLine_8.startPoint(), SketchLine_7.startPoint())
84 SketchConstraintCoincidence_11 = Sketch_1.setCoincident(SketchLine_5.startPoint(), SketchLine_9.result())
85 SketchConstraintCoincidence_12 = Sketch_1.setCoincident(SketchLine_7.endPoint(), SketchLine_8.result())
86 SketchArc_2 = Sketch_1.addArc(34, 9.237604307034022, 42, -4.618802153516998, 50, 9.237604307034024, False)
87 SketchConstraintCoincidence_13 = Sketch_1.setCoincident(SketchArc_2.startPoint(), SketchLine_2.startPoint())
88 SketchConstraintCoincidence_14 = Sketch_1.setCoincident(SketchArc_2.endPoint(), SketchLine_1.endPoint())
89 SketchConstraintTangent_3 = Sketch_1.setTangent(SketchArc_2.results()[1], SketchLine_1.result())
90 SketchConstraintTangent_4 = Sketch_1.setTangent(SketchArc_2.results()[1], SketchLine_2.result())
91 SketchConstraintCoincidence_15 = Sketch_1.setCoincident(SketchLine_3.startPoint(), SketchLine_1.startPoint())
92 SketchConstraintCoincidence_16 = Sketch_1.setCoincident(SketchLine_4.endPoint(), SketchLine_2.endPoint())
93 SketchConstraintCoincidence_17 = Sketch_1.setCoincident(SketchLine_1.endPoint(), SketchLine_3.result())
94 SketchConstraintCoincidence_18 = Sketch_1.setCoincident(SketchLine_2.startPoint(), SketchLine_4.result())
95 SketchConstraintDistance_3 = Sketch_1.setDistance(SketchLine_1.startPoint(), SketchLine_4.startPoint(), 70, False)
96 SketchConstraintPerpendicular_1 = Sketch_1.setPerpendicular(SketchLine_2.result(), SketchLine_6.result())
97 SketchConstraintDistance_4 = Sketch_1.setDistance(SketchLine_6.endPoint(), SketchLine_2.result(), 6, False)
98 SketchConstraintParallel_1 = Sketch_1.setParallel(SketchLine_2.result(), SketchLine_7.result())
99 SketchConstraintAngle_1 = Sketch_1.setAngle(SketchLine_1.result(), SketchLine_2.result(), 119.9999999999999)
100 SketchConstraintDistance_5 = Sketch_1.setDistance(SketchLine_4.startPoint(), SketchLine_6.startPoint(), 120, False)
101 SketchLine_12 = Sketch_1.addLine(model.selection("EDGE", "PartSet/OY"))
102 SketchConstraintCoincidence_19 = Sketch_1.setCoincident(SketchLine_4.startPoint(), SketchLine_12.result())
103 SketchConstraintRadius_1 = Sketch_1.setRadius(SketchArc_2.results()[1], 16)
104 SketchConstraintRadius_1.setName("SketchConstraintRadius_3")
105 SketchConstraintRadius_2 = Sketch_1.setRadius(SketchArc_1.results()[1], 10)
106 SketchConstraintRadius_2.setName("SketchConstraintRadius_4")
107 model.do()
108 Sketch_2 = model.addSketch(Part_1_doc, model.defaultPlane("XOY"))
109 SketchCircle_1 = Sketch_2.addCircle(0, 0, 17.5)
110 SketchPoint_1 = Sketch_2.addPoint(model.selection("VERTEX", "PartSet/Origin"))
111 SketchConstraintCoincidence_20 = Sketch_2.setCoincident(SketchCircle_1.center(), SketchPoint_1.result())
112 SketchConstraintRadius_3 = Sketch_2.setRadius(SketchCircle_1.results()[1], 17.5)
113 SketchConstraintRadius_3.setName("SketchConstraintRadius_1")
114 SketchCircle_2 = Sketch_2.addCircle(0, 0, 14.5)
115 SketchConstraintCoincidence_21 = Sketch_2.setCoincident(SketchCircle_1.center(), SketchCircle_2.center())
116 SketchConstraintCoincidence_22 = Sketch_2.setCoincident(SketchPoint_1.coordinates(), SketchCircle_2.center())
117 SketchConstraintRadius_4 = Sketch_2.setRadius(SketchCircle_2.results()[1], 14.5)
118 SketchConstraintRadius_4.setName("SketchConstraintRadius_2")
119 model.do()
120 Sketch_3 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
121 SketchLine_13 = Sketch_3.addLine(-22, 70, -22, -35.79571668975675)
122 SketchLine_14 = Sketch_3.addLine(-22, -35.79571668975675, 55, 8.660254037844405)
123 SketchConstraintCoincidence_23 = Sketch_3.setCoincident(SketchLine_13.endPoint(), SketchLine_14.startPoint())
124 SketchLine_15 = Sketch_3.addLine(55, 8.660254037844405, 55, 70)
125 SketchConstraintCoincidence_24 = Sketch_3.setCoincident(SketchLine_14.endPoint(), SketchLine_15.startPoint())
126 SketchLine_16 = Sketch_3.addLine(55, 70, -22, 70)
127 SketchConstraintCoincidence_25 = Sketch_3.setCoincident(SketchLine_15.endPoint(), SketchLine_16.startPoint())
128 SketchConstraintCoincidence_26 = Sketch_3.setCoincident(SketchLine_13.startPoint(), SketchLine_16.endPoint())
129 SketchConstraintHorizontal_2 = Sketch_3.setHorizontal(SketchLine_16.result())
130 SketchConstraintVertical_3 = Sketch_3.setVertical(SketchLine_15.result())
131 SketchConstraintVertical_4 = Sketch_3.setVertical(SketchLine_13.result())
132 SketchLine_17 = Sketch_3.addLine(model.selection("EDGE", "Sketch_1/Edge-SketchLine_4"))
133 SketchConstraintParallel_2 = Sketch_3.setParallel(SketchLine_14.result(), SketchLine_17.result())
134 SketchConstraintDistance_6 = Sketch_3.setDistance(SketchLine_14.endPoint(), SketchLine_17.result(), 1, False)
135 SketchLine_18 = Sketch_3.addLine(model.selection("EDGE", "PartSet/OZ"))
136 SketchConstraintDistance_7 = Sketch_3.setDistance(SketchLine_16.startPoint(), SketchLine_18.result(), 55, False)
137 SketchConstraintDistance_8 = Sketch_3.setDistance(SketchLine_13.startPoint(), SketchLine_18.result(), 22, False)
138 SketchLine_19 = Sketch_3.addLine(model.selection("EDGE", "PartSet/OY"))
139 SketchConstraintDistance_9 = Sketch_3.setDistance(SketchLine_15.endPoint(), SketchLine_19.result(), 70, False)
140 model.do()
141 Extrusion_1 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_2/Wire-SketchCircle_1_2f")], model.selection(), 75, 45)
142 Extrusion_2 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "Sketch_3")], model.selection(), 22, 22)
143 Common_1 = model.addCommon(Part_1_doc, [model.selection("SOLID", "Extrusion_1_1")], [model.selection("SOLID", "Extrusion_2_1")])
144 Sketch_4 = model.addSketch(Part_1_doc, model.standardPlane("XOY"))
145 SketchLine_20 = Sketch_4.addLine(-4, 38.00000000000001, -4, 21.26617031813674)
146 SketchLine_20.setName("SketchLine_36")
147 SketchLine_20.result().setName("SketchLine_36")
148 SketchArc_3 = Sketch_4.addArc(0, 0, -8.5, 15.2970585407786, -7.446808510638298, 15.83650981137842, True)
149 SketchArc_3.setName("SketchArc_6")
150 SketchArc_3.result().setName("SketchArc_6")
151 SketchArc_3.results()[1].setName("SketchArc_6_2")
152 SketchArc_4 = Sketch_4.addArc(0, 0, 7.446808510638299, 15.83650981137842, 8.5, 15.29705854077835, True)
153 SketchArc_4.setName("SketchArc_8")
154 SketchArc_4.result().setName("SketchArc_8")
155 SketchArc_4.results()[1].setName("SketchArc_8_2")
156 SketchLine_21 = Sketch_4.addLine(4, 21.26617031813674, 4, 37.99999998819019)
157 SketchLine_21.setName("SketchLine_38")
158 SketchLine_21.result().setName("SketchLine_38")
159 SketchLine_22 = Sketch_4.addLine(-8.5, 15.2970585407786, -8.499999999999998, 12)
160 SketchLine_22.setName("SketchLine_22")
161 SketchLine_22.result().setName("SketchLine_22")
162 SketchLine_23 = Sketch_4.addLine(-10.1, 44.00000000000001, -9.999999999999854, 44.00000000000001)
163 SketchLine_23.setName("SketchLine_37")
164 SketchLine_23.result().setName("SketchLine_37")
165 SketchLine_24 = Sketch_4.addLine(9.99999999990029, 43.99999998819102, 10.1, 44)
166 SketchLine_24.setName("SketchLine_39")
167 SketchLine_24.result().setName("SketchLine_39")
168 SketchLine_25 = Sketch_4.addLine(8.5, 12, 8.5, 15.29705854077835)
169 SketchLine_25.setName("SketchLine_24")
170 SketchLine_25.result().setName("SketchLine_24")
171 SketchLine_26 = Sketch_4.addLine(4, 44.00000000000001, 10.1, 44)
172 SketchLine_26.setName("SketchLine_26")
173 SketchLine_26.result().setName("SketchLine_26")
174 SketchLine_26.setAuxiliary(True)
175 SketchLine_27 = Sketch_4.addLine(4, 17.03672503740084, 4, 44.00000000000001)
176 SketchLine_27.setName("SketchLine_27")
177 SketchLine_27.result().setName("SketchLine_27")
178 SketchLine_27.setAuxiliary(True)
179 SketchConstraintCoincidence_27 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_26.startPoint())
180 SketchConstraintCoincidence_27.setName("SketchConstraintCoincidence_33")
181 SketchLine_28 = Sketch_4.addLine(10.1, 44, 10.1, 45.00000000000001)
182 SketchLine_28.setName("SketchLine_28")
183 SketchLine_28.result().setName("SketchLine_28")
184 SketchConstraintCoincidence_28 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_28.startPoint())
185 SketchConstraintCoincidence_28.setName("SketchConstraintCoincidence_34")
186 SketchLine_29 = Sketch_4.addLine(10.1, 45.00000000000001, -10.1, 45)
187 SketchLine_29.setName("SketchLine_29")
188 SketchLine_29.result().setName("SketchLine_29")
189 SketchConstraintCoincidence_29 = Sketch_4.setCoincident(SketchLine_28.endPoint(), SketchLine_29.startPoint())
190 SketchConstraintCoincidence_29.setName("SketchConstraintCoincidence_35")
191 SketchLine_30 = Sketch_4.addLine(-10.1, 45, -10.1, 44.00000000000001)
192 SketchLine_30.setName("SketchLine_30")
193 SketchLine_30.result().setName("SketchLine_30")
194 SketchConstraintCoincidence_30 = Sketch_4.setCoincident(SketchLine_29.endPoint(), SketchLine_30.startPoint())
195 SketchConstraintCoincidence_30.setName("SketchConstraintCoincidence_36")
196 SketchLine_31 = Sketch_4.addLine(-10.1, 44.00000000000001, -4, 44.00000000000001)
197 SketchLine_31.setName("SketchLine_31")
198 SketchLine_31.result().setName("SketchLine_31")
199 SketchLine_31.setAuxiliary(True)
200 SketchConstraintCoincidence_31 = Sketch_4.setCoincident(SketchLine_30.endPoint(), SketchLine_31.startPoint())
201 SketchConstraintCoincidence_31.setName("SketchConstraintCoincidence_37")
202 SketchLine_32 = Sketch_4.addLine(-4, 44.00000000000001, -4.000000000000001, 17.03672503740078)
203 SketchLine_32.setName("SketchLine_20")
204 SketchLine_32.result().setName("SketchLine_20")
205 SketchLine_32.setAuxiliary(True)
206 SketchConstraintCoincidence_32 = Sketch_4.setCoincident(SketchLine_32.startPoint(), SketchLine_31.endPoint())
207 SketchConstraintCoincidence_32.setName("SketchConstraintCoincidence_38")
208 SketchConstraintVertical_5 = Sketch_4.setVertical(SketchLine_32.result())
209 SketchConstraintVertical_6 = Sketch_4.setVertical(SketchLine_27.result())
210 SketchConstraintHorizontal_3 = Sketch_4.setHorizontal(SketchLine_29.result())
211 SketchConstraintHorizontal_4 = Sketch_4.setHorizontal(SketchLine_31.result())
212 SketchConstraintHorizontal_5 = Sketch_4.setHorizontal(SketchLine_26.result())
213 SketchConstraintVertical_7 = Sketch_4.setVertical(SketchLine_30.result())
214 SketchConstraintVertical_8 = Sketch_4.setVertical(SketchLine_28.result())
215 SketchConstraintVertical_9 = Sketch_4.setVertical(SketchLine_25.result())
216 SketchConstraintVertical_10 = Sketch_4.setVertical(SketchLine_22.result())
217 SketchLine_33 = Sketch_4.addLine(model.selection("EDGE", "PartSet/OY"))
218 SketchLine_33.setName("SketchLine_32")
219 SketchLine_33.result().setName("SketchLine_32")
220 SketchConstraintDistance_10 = Sketch_4.setDistance(SketchLine_22.startPoint(), SketchLine_32.result(), 4.5, False)
221 SketchConstraintDistance_10.setName("SketchConstraintDistance_13")
222 SketchLine_34 = Sketch_4.addLine(-8.499999999999998, 12, 8.5, 12)
223 SketchLine_34.setName("SketchLine_33")
224 SketchLine_34.result().setName("SketchLine_33")
225 SketchConstraintCoincidence_33 = Sketch_4.setCoincident(SketchLine_22.endPoint(), SketchLine_34.startPoint())
226 SketchConstraintCoincidence_33.setName("SketchConstraintCoincidence_39")
227 SketchConstraintHorizontal_6 = Sketch_4.setHorizontal(SketchLine_34.result())
228 SketchPoint_2 = Sketch_4.addPoint(model.selection("VERTEX", "PartSet/Origin"))
229 SketchArc_5 = Sketch_4.addArc(-1.190531714553335e-011, 2.149585003540736e-011, -8.5, 15.2970585407786, -4.000000000000001, 17.03672503740078, True)
230 SketchArc_5.setName("SketchArc_4")
231 SketchArc_5.result().setName("SketchArc_4")
232 SketchArc_5.results()[1].setName("SketchArc_4_2")
233 SketchArc_5.setAuxiliary(True)
234 SketchConstraintCoincidence_34 = Sketch_4.setCoincident(SketchLine_22.startPoint(), SketchArc_5.startPoint())
235 SketchConstraintCoincidence_34.setName("SketchConstraintCoincidence_41")
236 SketchArc_6 = Sketch_4.addArc(-2.234785556504386e-013, -4.022299956989981e-013, 4, 17.03672503740084, 8.5, 15.29705854077835, True)
237 SketchArc_6.setName("SketchArc_5")
238 SketchArc_6.result().setName("SketchArc_5")
239 SketchArc_6.results()[1].setName("SketchArc_5_2")
240 SketchArc_6.setAuxiliary(True)
241 SketchConstraintCoincidence_35 = Sketch_4.setCoincident(SketchLine_25.endPoint(), SketchArc_6.endPoint())
242 SketchConstraintCoincidence_35.setName("SketchConstraintCoincidence_42")
243 SketchPoint_3 = Sketch_4.addPoint(-4.000000000000001, 17.03672503740078)
244 SketchPoint_4 = Sketch_4.addPoint(4, 17.03672503740084)
245 SketchConstraintCoincidence_36 = Sketch_4.setCoincident(SketchArc_5.endPoint(), SketchPoint_3.coordinates())
246 SketchConstraintCoincidence_36.setName("SketchConstraintCoincidence_46")
247 SketchConstraintCoincidence_37 = Sketch_4.setCoincident(SketchArc_6.startPoint(), SketchPoint_4.coordinates())
248 SketchConstraintCoincidence_37.setName("SketchConstraintCoincidence_48")
249 SketchConstraintCoincidence_38 = Sketch_4.setCoincident(SketchArc_5.endPoint(), SketchLine_32.endPoint())
250 SketchConstraintCoincidence_38.setName("SketchConstraintCoincidence_40")
251 SketchConstraintCoincidence_39 = Sketch_4.setCoincident(SketchPoint_4.coordinates(), SketchLine_27.startPoint())
252 SketchConstraintCoincidence_39.setName("SketchConstraintCoincidence_43")
253 SketchArc_7 = Sketch_4.addArc(-10, 21.26617031813674, -7.446808510638298, 15.83650981137842, -4, 21.26617031813674, False)
254 SketchArc_7.setName("SketchArc_7")
255 SketchArc_7.result().setName("SketchArc_7")
256 SketchArc_7.results()[1].setName("SketchArc_7_2")
257 SketchConstraintCoincidence_40 = Sketch_4.setCoincident(SketchArc_7.startPoint(), SketchArc_3.endPoint())
258 SketchConstraintCoincidence_40.setName("SketchConstraintCoincidence_44")
259 SketchLine_35 = Sketch_4.addLine(-4, 44.00000000000001, -4, 21.26617031813674)
260 SketchLine_35.setName("SketchLine_34")
261 SketchLine_35.result().setName("SketchLine_34")
262 SketchLine_35.setAuxiliary(True)
263 SketchConstraintCoincidence_41 = Sketch_4.setCoincident(SketchArc_7.endPoint(), SketchLine_35.endPoint())
264 SketchConstraintCoincidence_41.setName("SketchConstraintCoincidence_45")
265 SketchConstraintTangent_5 = Sketch_4.setTangent(SketchArc_7.results()[1], SketchLine_35.result())
266 SketchConstraintTangent_6 = Sketch_4.setTangent(SketchArc_7.results()[1], SketchArc_3.results()[1])
267 SketchConstraintCoincidence_42 = Sketch_4.setCoincident(SketchLine_32.startPoint(), SketchLine_35.startPoint())
268 SketchConstraintCoincidence_42.setName("SketchConstraintCoincidence_47")
269 SketchConstraintCoincidence_43 = Sketch_4.setCoincident(SketchArc_5.startPoint(), SketchArc_3.startPoint())
270 SketchConstraintCoincidence_43.setName("SketchConstraintCoincidence_49")
271 SketchConstraintTangent_7 = Sketch_4.setTangent(SketchArc_5.results()[1], SketchArc_3.results()[1])
272 SketchConstraintCoincidence_44 = Sketch_4.setCoincident(SketchLine_35.endPoint(), SketchLine_32.result())
273 SketchConstraintCoincidence_44.setName("SketchConstraintCoincidence_50")
274 SketchConstraintCoincidence_45 = Sketch_4.setCoincident(SketchArc_3.endPoint(), SketchArc_5.results()[1])
275 SketchConstraintCoincidence_45.setName("SketchConstraintCoincidence_51")
276 SketchArc_8 = Sketch_4.addArc(10, 21.26617031813674, 4, 21.26617031813674, 7.446808510638299, 15.83650981137842, False)
277 SketchArc_8.setName("SketchArc_9")
278 SketchArc_8.result().setName("SketchArc_9")
279 SketchArc_8.results()[1].setName("SketchArc_9_2")
280 SketchLine_36 = Sketch_4.addLine(4, 21.26617031813674, 4, 44.00000000000001)
281 SketchLine_36.setName("SketchLine_35")
282 SketchLine_36.result().setName("SketchLine_35")
283 SketchLine_36.setAuxiliary(True)
284 SketchConstraintCoincidence_46 = Sketch_4.setCoincident(SketchArc_8.startPoint(), SketchLine_36.startPoint())
285 SketchConstraintCoincidence_46.setName("SketchConstraintCoincidence_52")
286 SketchConstraintCoincidence_47 = Sketch_4.setCoincident(SketchArc_8.endPoint(), SketchArc_4.startPoint())
287 SketchConstraintCoincidence_47.setName("SketchConstraintCoincidence_53")
288 SketchConstraintTangent_8 = Sketch_4.setTangent(SketchArc_8.results()[1], SketchArc_4.results()[1])
289 SketchConstraintTangent_9 = Sketch_4.setTangent(SketchArc_8.results()[1], SketchLine_36.result())
290 SketchConstraintCoincidence_48 = Sketch_4.setCoincident(SketchArc_6.endPoint(), SketchArc_4.endPoint())
291 SketchConstraintCoincidence_48.setName("SketchConstraintCoincidence_54")
292 SketchConstraintCoincidence_49 = Sketch_4.setCoincident(SketchLine_27.endPoint(), SketchLine_36.endPoint())
293 SketchConstraintCoincidence_49.setName("SketchConstraintCoincidence_55")
294 SketchConstraintTangent_10 = Sketch_4.setTangent(SketchArc_6.results()[1], SketchArc_4.results()[1])
295 SketchConstraintCoincidence_50 = Sketch_4.setCoincident(SketchArc_4.startPoint(), SketchArc_6.results()[1])
296 SketchConstraintCoincidence_50.setName("SketchConstraintCoincidence_56")
297 SketchConstraintCoincidence_51 = Sketch_4.setCoincident(SketchLine_36.startPoint(), SketchLine_27.result())
298 SketchConstraintCoincidence_51.setName("SketchConstraintCoincidence_57")
299 SketchConstraintCoincidence_52 = Sketch_4.setCoincident(SketchLine_25.startPoint(), SketchLine_34.endPoint())
300 SketchConstraintCoincidence_52.setName("SketchConstraintCoincidence_58")
301 SketchCircle_3 = Sketch_4.addCircle(model.selection("EDGE", "Sketch_2/Edge-SketchCircle_1_2"))
302 SketchConstraintCoincidence_53 = Sketch_4.setCoincident(SketchLine_22.startPoint(), SketchCircle_3.results()[1])
303 SketchConstraintCoincidence_53.setName("SketchConstraintCoincidence_59")
304 SketchConstraintCoincidence_54 = Sketch_4.setCoincident(SketchArc_4.endPoint(), SketchCircle_3.results()[1])
305 SketchConstraintCoincidence_54.setName("SketchConstraintCoincidence_60")
306 SketchConstraintRadius_5 = Sketch_4.setRadius(SketchArc_7.results()[1], 6)
307 SketchConstraintRadius_6 = Sketch_4.setRadius(SketchArc_8.results()[1], 6)
308 SketchConstraintDistance_11 = Sketch_4.setDistance(SketchLine_25.endPoint(), SketchLine_36.result(), 4.5, False)
309 SketchConstraintDistance_11.setName("SketchConstraintDistance_11")
310 SketchConstraintDistance_12 = Sketch_4.setDistance(SketchArc_8.startPoint(), SketchLine_33.result(), 4, False)
311 SketchConstraintDistance_12.setName("SketchConstraintDistance_12")
312 SketchConstraintDistance_13 = Sketch_4.setDistance(SketchArc_7.endPoint(), SketchLine_33.result(), 4, False)
313 SketchConstraintDistance_13.setName("SketchConstraintDistance_14")
314 SketchArc_9 = Sketch_4.addArc(-10, 38.00000000000001, -4, 38.00000000000001, -9.999999999999854, 44.00000000000001, False)
315 SketchArc_9.setName("SketchArc_10")
316 SketchArc_9.result().setName("SketchArc_10")
317 SketchArc_9.results()[1].setName("SketchArc_10_2")
318 SketchConstraintCoincidence_55 = Sketch_4.setCoincident(SketchArc_9.startPoint(), SketchLine_20.startPoint())
319 SketchConstraintCoincidence_55.setName("SketchConstraintCoincidence_61")
320 SketchConstraintCoincidence_56 = Sketch_4.setCoincident(SketchArc_9.endPoint(), SketchLine_23.endPoint())
321 SketchConstraintCoincidence_56.setName("SketchConstraintCoincidence_62")
322 SketchConstraintTangent_11 = Sketch_4.setTangent(SketchArc_9.results()[1], SketchLine_20.result())
323 SketchConstraintTangent_12 = Sketch_4.setTangent(SketchArc_9.results()[1], SketchLine_23.result())
324 SketchConstraintCoincidence_57 = Sketch_4.setCoincident(SketchLine_35.endPoint(), SketchLine_20.endPoint())
325 SketchConstraintCoincidence_57.setName("SketchConstraintCoincidence_63")
326 SketchConstraintCoincidence_58 = Sketch_4.setCoincident(SketchLine_31.startPoint(), SketchLine_23.startPoint())
327 SketchConstraintCoincidence_58.setName("SketchConstraintCoincidence_64")
328 SketchConstraintCoincidence_59 = Sketch_4.setCoincident(SketchLine_20.startPoint(), SketchLine_35.result())
329 SketchConstraintCoincidence_59.setName("SketchConstraintCoincidence_65")
330 SketchConstraintCoincidence_60 = Sketch_4.setCoincident(SketchLine_23.endPoint(), SketchLine_31.result())
331 SketchConstraintCoincidence_60.setName("SketchConstraintCoincidence_66")
332 SketchArc_10 = Sketch_4.addArc(10, 37.99999999999996, 9.99999999990029, 43.99999998819102, 4, 37.99999998819019, False)
333 SketchArc_10.setName("SketchArc_11")
334 SketchArc_10.result().setName("SketchArc_11")
335 SketchArc_10.results()[1].setName("SketchArc_11_2")
336 SketchConstraintCoincidence_61 = Sketch_4.setCoincident(SketchArc_10.startPoint(), SketchLine_24.startPoint())
337 SketchConstraintCoincidence_61.setName("SketchConstraintCoincidence_67")
338 SketchConstraintCoincidence_62 = Sketch_4.setCoincident(SketchArc_10.endPoint(), SketchLine_21.endPoint())
339 SketchConstraintCoincidence_62.setName("SketchConstraintCoincidence_68")
340 SketchConstraintTangent_13 = Sketch_4.setTangent(SketchArc_10.results()[1], SketchLine_21.result())
341 SketchConstraintTangent_14 = Sketch_4.setTangent(SketchArc_10.results()[1], SketchLine_24.result())
342 SketchConstraintCoincidence_63 = Sketch_4.setCoincident(SketchLine_36.startPoint(), SketchLine_21.startPoint())
343 SketchConstraintCoincidence_63.setName("SketchConstraintCoincidence_69")
344 SketchConstraintCoincidence_64 = Sketch_4.setCoincident(SketchLine_26.endPoint(), SketchLine_24.endPoint())
345 SketchConstraintCoincidence_64.setName("SketchConstraintCoincidence_70")
346 SketchConstraintCoincidence_65 = Sketch_4.setCoincident(SketchLine_21.endPoint(), SketchLine_36.result())
347 SketchConstraintCoincidence_65.setName("SketchConstraintCoincidence_71")
348 SketchConstraintCoincidence_66 = Sketch_4.setCoincident(SketchLine_24.startPoint(), SketchLine_26.result())
349 SketchConstraintCoincidence_66.setName("SketchConstraintCoincidence_72")
350 SketchConstraintRadius_7 = Sketch_4.setRadius(SketchArc_9.results()[1], 6)
351 SketchConstraintRadius_8 = Sketch_4.setRadius(SketchArc_10.results()[1], 6)
352 SketchConstraintDistance_14 = Sketch_4.setDistance(SketchLine_23.startPoint(), SketchLine_29.result(), 1, False)
353 SketchConstraintDistance_14.setName("SketchConstraintDistance_15")
354 SketchConstraintDistance_15 = Sketch_4.setDistance(SketchLine_24.endPoint(), SketchLine_29.result(), 1, False)
355 SketchConstraintDistance_15.setName("SketchConstraintDistance_16")
356 SketchLine_37 = Sketch_4.addLine(model.selection("EDGE", "PartSet/OX"))
357 SketchLine_37.setName("SketchLine_40")
358 SketchLine_37.result().setName("SketchLine_40")
359 SketchConstraintDistance_16 = Sketch_4.setDistance(SketchArc_10.startPoint(), SketchLine_37.result(), 44, False)
360 SketchConstraintDistance_16.setName("SketchConstraintDistance_17")
361 SketchConstraintDistance_17 = Sketch_4.setDistance(SketchLine_21.result(), SketchLine_24.endPoint(), 6.1, False)
362 SketchConstraintDistance_17.setName("SketchConstraintDistance_18")
363 SketchConstraintDistance_18 = Sketch_4.setDistance(SketchLine_30.endPoint(), SketchLine_20.result(), 6.1, False)
364 SketchConstraintDistance_18.setName("SketchConstraintDistance_19")
365 SketchConstraintCoincidence_67 = Sketch_4.setCoincident(SketchArc_3.center(), SketchCircle_3.center())
366 SketchConstraintCoincidence_67.setName("SketchConstraintCoincidence_149")
367 SketchConstraintCoincidence_68 = Sketch_4.setCoincident(SketchArc_4.center(), SketchArc_3.center())
368 SketchConstraintCoincidence_68.setName("SketchConstraintCoincidence_150")
369 SketchConstraintDistance_19 = Sketch_4.setDistance(SketchArc_4.center(), SketchLine_34.result(), 12, False)
370 SketchConstraintDistance_19.setName("SketchConstraintDistance_43")
371 model.do()
372 Extrusion_3 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "Sketch_4")], model.selection(), 50, 30)
373 Extrusion_4 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "Sketch_3")], model.selection(), 22, 22)
374 Common_2 = model.addCommon(Part_1_doc, [model.selection("SOLID", "Extrusion_3_1")], [model.selection("SOLID", "Extrusion_4_1")])
375 Extrusion_5 = model.addExtrusion(Part_1_doc, [model.selection("COMPOUND", "Sketch_3")], model.selection(), 22, 22)
376 Extrusion_6 = model.addExtrusion(Part_1_doc, [model.selection("FACE", "Sketch_2/Face-SketchCircle_2_2f")], model.selection(), 75, 40)
377 Common_3 = model.addCommon(Part_1_doc, [model.selection("SOLID", "Extrusion_6_1")], [model.selection("SOLID", "Extrusion_5_1")])
378 Sketch_5 = model.addSketch(Part_1_doc, model.defaultPlane("YOZ"))
379 SketchLine_38 = Sketch_5.addLine(44, 3.464101615137744, 16.50000000000003, 51.09549882328188)
380 SketchLine_38.setName("SketchLine_41")
381 SketchLine_38.result().setName("SketchLine_41")
382 SketchPoint_5 = Sketch_5.addPoint(model.selection("VERTEX", "Sketch_1/Vertex-SketchLine_5s-SketchLine_4e"))
383 SketchConstraintCoincidence_69 = Sketch_5.setCoincident(SketchLine_38.startPoint(), SketchPoint_5.result())
384 SketchConstraintCoincidence_69.setName("SketchConstraintCoincidence_73")
385 SketchLine_39 = Sketch_5.addLine(model.selection("EDGE", "Sketch_1/Edge-SketchLine_4"))
386 SketchLine_39.setName("SketchLine_42")
387 SketchLine_39.result().setName("SketchLine_42")
388 SketchConstraintPerpendicular_2 = Sketch_5.setPerpendicular(SketchLine_38.result(), SketchLine_39.result())
389 SketchConstraintLength_1 = Sketch_5.setLength(SketchLine_38.result(), 55)
390 SketchConstraintLength_1.setName("SketchConstraintLength_6")
391 model.do()
392 Axis_4 = model.addAxis(Part_1_doc, model.selection("FACE", "Sketch_1/Face-SketchLine_10r-SketchLine_11r-SketchLine_8r-SketchLine_3r-SketchLine_9r-SketchLine_6r-SketchArc_1_2r-SketchArc_2_2f"), model.selection("VERTEX", "Sketch_1/Vertex-SketchLine_5s-SketchLine_4e"))
393 Plane_4 = model.addPlane(Part_1_doc, model.selection("EDGE", "Axis_1"), model.selection("VERTEX", "Sketch_5/Vertex-SketchLine_41e"), False)
394 Sketch_6 = model.addSketch(Part_1_doc, model.selection("FACE", "Plane_1"))
395 SketchLine_40 = Sketch_6.addLine(3.999999999999999, 13.00000000002605, 4, 12.89999999999998)
396 SketchLine_40.setName("SketchLine_55")
397 SketchLine_40.result().setName("SketchLine_55")
398 SketchLine_41 = Sketch_6.addLine(4, 12.89999999999998, -4, 12.89999999999998)
399 SketchLine_41.setName("SketchLine_44")
400 SketchLine_41.result().setName("SketchLine_44")
401 SketchLine_42 = Sketch_6.addLine(4, 19.00000000002614, 4, 12.89999999999998)
402 SketchLine_42.setName("SketchLine_43")
403 SketchLine_42.result().setName("SketchLine_43")
404 SketchLine_42.setAuxiliary(True)
405 SketchConstraintCoincidence_70 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_41.startPoint())
406 SketchConstraintCoincidence_70.setName("SketchConstraintCoincidence_74")
407 SketchLine_43 = Sketch_6.addLine(-4, 12.89999999999998, -4.000000000000001, 13.00000000002612)
408 SketchLine_43.setName("SketchLine_52")
409 SketchLine_43.result().setName("SketchLine_52")
410 SketchLine_44 = Sketch_6.addLine(-9.999999999999867, 19.00000000002614, -10.09999999999998, 19.00000000002614)
411 SketchLine_44.setName("SketchLine_53")
412 SketchLine_44.result().setName("SketchLine_53")
413 SketchLine_45 = Sketch_6.addLine(-4, 12.89999999999998, -4, 19.00000000002614)
414 SketchLine_45.setName("SketchLine_45")
415 SketchLine_45.result().setName("SketchLine_45")
416 SketchLine_45.setAuxiliary(True)
417 SketchConstraintCoincidence_71 = Sketch_6.setCoincident(SketchLine_41.endPoint(), SketchLine_45.startPoint())
418 SketchConstraintCoincidence_71.setName("SketchConstraintCoincidence_75")
419 SketchLine_46 = Sketch_6.addLine(10.09999999999999, 19.00000000002614, 9.999999999999858, 19.00000000002614)
420 SketchLine_46.setName("SketchLine_54")
421 SketchLine_46.result().setName("SketchLine_54")
422 SketchLine_47 = Sketch_6.addLine(-4, 19.00000000002614, -10.09999999999998, 19.00000000002614)
423 SketchLine_47.setName("SketchLine_46")
424 SketchLine_47.result().setName("SketchLine_46")
425 SketchLine_47.setAuxiliary(True)
426 SketchConstraintCoincidence_72 = Sketch_6.setCoincident(SketchLine_45.endPoint(), SketchLine_47.startPoint())
427 SketchConstraintCoincidence_72.setName("SketchConstraintCoincidence_76")
428 SketchLine_48 = Sketch_6.addLine(-10.09999999999998, 19.00000000002614, -10.09999999999998, 19.80000000002615)
429 SketchLine_48.setName("SketchLine_47")
430 SketchLine_48.result().setName("SketchLine_47")
431 SketchConstraintCoincidence_73 = Sketch_6.setCoincident(SketchLine_47.endPoint(), SketchLine_48.startPoint())
432 SketchConstraintCoincidence_73.setName("SketchConstraintCoincidence_77")
433 SketchLine_49 = Sketch_6.addLine(-10.09999999999998, 19.80000000002615, 10.09999999999999, 19.80000000002615)
434 SketchLine_49.setName("SketchLine_48")
435 SketchLine_49.result().setName("SketchLine_48")
436 SketchConstraintCoincidence_74 = Sketch_6.setCoincident(SketchLine_48.endPoint(), SketchLine_49.startPoint())
437 SketchConstraintCoincidence_74.setName("SketchConstraintCoincidence_78")
438 SketchLine_50 = Sketch_6.addLine(10.09999999999999, 19.80000000002615, 10.09999999999999, 19.00000000002614)
439 SketchLine_50.setName("SketchLine_49")
440 SketchLine_50.result().setName("SketchLine_49")
441 SketchConstraintCoincidence_75 = Sketch_6.setCoincident(SketchLine_49.endPoint(), SketchLine_50.startPoint())
442 SketchConstraintCoincidence_75.setName("SketchConstraintCoincidence_79")
443 SketchLine_51 = Sketch_6.addLine(10.09999999999999, 19.00000000002614, 4, 19.00000000002614)
444 SketchLine_51.setName("SketchLine_50")
445 SketchLine_51.result().setName("SketchLine_50")
446 SketchLine_51.setAuxiliary(True)
447 SketchConstraintCoincidence_76 = Sketch_6.setCoincident(SketchLine_50.endPoint(), SketchLine_51.startPoint())
448 SketchConstraintCoincidence_76.setName("SketchConstraintCoincidence_80")
449 SketchConstraintCoincidence_77 = Sketch_6.setCoincident(SketchLine_42.startPoint(), SketchLine_51.endPoint())
450 SketchConstraintCoincidence_77.setName("SketchConstraintCoincidence_81")
451 SketchConstraintVertical_11 = Sketch_6.setVertical(SketchLine_45.result())
452 SketchConstraintVertical_12 = Sketch_6.setVertical(SketchLine_42.result())
453 SketchConstraintHorizontal_7 = Sketch_6.setHorizontal(SketchLine_41.result())
454 SketchConstraintHorizontal_8 = Sketch_6.setHorizontal(SketchLine_47.result())
455 SketchConstraintHorizontal_9 = Sketch_6.setHorizontal(SketchLine_51.result())
456 SketchConstraintHorizontal_10 = Sketch_6.setHorizontal(SketchLine_49.result())
457 SketchConstraintVertical_13 = Sketch_6.setVertical(SketchLine_50.result())
458 SketchConstraintDistance_20 = Sketch_6.setDistance(SketchLine_48.startPoint(), SketchLine_49.result(), 0.8, False)
459 SketchConstraintDistance_20.setName("SketchConstraintDistance_20")
460 SketchConstraintDistance_21 = Sketch_6.setDistance(SketchLine_51.startPoint(), SketchLine_49.result(), 0.8, False)
461 SketchConstraintDistance_21.setName("SketchConstraintDistance_21")
462 SketchLine_52 = Sketch_6.addLine(model.selection("EDGE", "Sketch_5/Edge-SketchLine_41"))
463 SketchLine_52.setName("SketchLine_51")
464 SketchLine_52.result().setName("SketchLine_51")
465 SketchConstraintDistance_22 = Sketch_6.setDistance(SketchLine_45.startPoint(), SketchLine_52.result(), 4, False)
466 SketchConstraintDistance_22.setName("SketchConstraintDistance_22")
467 SketchConstraintDistance_23 = Sketch_6.setDistance(SketchLine_42.endPoint(), SketchLine_52.result(), 4, False)
468 SketchConstraintDistance_23.setName("SketchConstraintDistance_23")
469 SketchArc_11 = Sketch_6.addArc(-10, 13.00000000002614, -4.000000000000001, 13.00000000002612, -9.999999999999867, 19.00000000002614, False)
470 SketchArc_11.setName("SketchArc_12")
471 SketchArc_11.result().setName("SketchArc_12")
472 SketchArc_11.results()[1].setName("SketchArc_12_2")
473 SketchConstraintCoincidence_78 = Sketch_6.setCoincident(SketchArc_11.startPoint(), SketchLine_43.endPoint())
474 SketchConstraintCoincidence_78.setName("SketchConstraintCoincidence_82")
475 SketchConstraintCoincidence_79 = Sketch_6.setCoincident(SketchArc_11.endPoint(), SketchLine_44.startPoint())
476 SketchConstraintCoincidence_79.setName("SketchConstraintCoincidence_83")
477 SketchConstraintTangent_15 = Sketch_6.setTangent(SketchArc_11.results()[1], SketchLine_43.result())
478 SketchConstraintTangent_16 = Sketch_6.setTangent(SketchArc_11.results()[1], SketchLine_44.result())
479 SketchConstraintCoincidence_80 = Sketch_6.setCoincident(SketchLine_45.startPoint(), SketchLine_43.startPoint())
480 SketchConstraintCoincidence_80.setName("SketchConstraintCoincidence_84")
481 SketchConstraintCoincidence_81 = Sketch_6.setCoincident(SketchLine_47.endPoint(), SketchLine_44.endPoint())
482 SketchConstraintCoincidence_81.setName("SketchConstraintCoincidence_85")
483 SketchConstraintCoincidence_82 = Sketch_6.setCoincident(SketchLine_43.endPoint(), SketchLine_45.result())
484 SketchConstraintCoincidence_82.setName("SketchConstraintCoincidence_86")
485 SketchConstraintCoincidence_83 = Sketch_6.setCoincident(SketchLine_44.startPoint(), SketchLine_47.result())
486 SketchConstraintCoincidence_83.setName("SketchConstraintCoincidence_87")
487 SketchArc_12 = Sketch_6.addArc(9.999999999999998, 13.00000000002614, 9.999999999999858, 19.00000000002614, 3.999999999999999, 13.00000000002605, False)
488 SketchArc_12.setName("SketchArc_13")
489 SketchArc_12.result().setName("SketchArc_13")
490 SketchArc_12.results()[1].setName("SketchArc_13_2")
491 SketchConstraintCoincidence_84 = Sketch_6.setCoincident(SketchArc_12.startPoint(), SketchLine_46.endPoint())
492 SketchConstraintCoincidence_84.setName("SketchConstraintCoincidence_88")
493 SketchConstraintCoincidence_85 = Sketch_6.setCoincident(SketchArc_12.endPoint(), SketchLine_40.startPoint())
494 SketchConstraintCoincidence_85.setName("SketchConstraintCoincidence_89")
495 SketchConstraintTangent_17 = Sketch_6.setTangent(SketchArc_12.results()[1], SketchLine_46.result())
496 SketchConstraintTangent_18 = Sketch_6.setTangent(SketchArc_12.results()[1], SketchLine_40.result())
497 SketchConstraintCoincidence_86 = Sketch_6.setCoincident(SketchLine_51.startPoint(), SketchLine_46.startPoint())
498 SketchConstraintCoincidence_86.setName("SketchConstraintCoincidence_90")
499 SketchConstraintCoincidence_87 = Sketch_6.setCoincident(SketchLine_42.endPoint(), SketchLine_40.endPoint())
500 SketchConstraintCoincidence_87.setName("SketchConstraintCoincidence_91")
501 SketchConstraintCoincidence_88 = Sketch_6.setCoincident(SketchLine_46.endPoint(), SketchLine_51.result())
502 SketchConstraintCoincidence_88.setName("SketchConstraintCoincidence_92")
503 SketchConstraintCoincidence_89 = Sketch_6.setCoincident(SketchLine_40.startPoint(), SketchLine_42.result())
504 SketchConstraintCoincidence_89.setName("SketchConstraintCoincidence_93")
505 SketchConstraintRadius_9 = Sketch_6.setRadius(SketchArc_11.results()[1], 6)
506 SketchConstraintRadius_10 = Sketch_6.setRadius(SketchArc_12.results()[1], 6)
507 SketchConstraintDistance_24 = Sketch_6.setDistance(SketchLine_40.result(), SketchLine_46.startPoint(), 6.1, False)
508 SketchConstraintDistance_24.setName("SketchConstraintDistance_24")
509 SketchConstraintDistance_25 = Sketch_6.setDistance(SketchLine_48.startPoint(), SketchLine_43.result(), 6.1, False)
510 SketchConstraintDistance_25.setName("SketchConstraintDistance_25")
511 SketchConstraintVertical_14 = Sketch_6.setVertical(SketchLine_48.result())
512 SketchConstraintDistance_26 = Sketch_6.setDistance(SketchLine_41.result(), SketchArc_12.startPoint(), 6.1, False)
513 SketchConstraintDistance_26.setName("SketchConstraintDistance_26")
514 SketchLine_53 = Sketch_6.addLine(model.selection("EDGE", "Axis_1"))
515 SketchLine_53.setName("SketchLine_56")
516 SketchLine_53.result().setName("SketchLine_56")
517 SketchConstraintCoincidence_90 = Sketch_6.setCoincident(SketchArc_12.startPoint(), SketchLine_53.result())
518 SketchConstraintCoincidence_90.setName("SketchConstraintCoincidence_94")
519 model.do()
520 Extrusion_7 = model.addExtrusion(Part_1_doc, [model.selection("FACE", "Sketch_6/Face-SketchLine_55r-SketchLine_44r-SketchLine_52r-SketchLine_53r-SketchLine_54r-SketchLine_47r-SketchLine_48r-SketchLine_49r-SketchArc_12_2r-SketchArc_13_2r")], model.selection(), 0, 40)
521 Fuse_1 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Common_1_1")], [model.selection("SOLID", "Common_2_1")])
522 Fuse_2 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Fuse_1_1")], [model.selection("SOLID", "Extrusion_7_1")])
523 Cut_1 = model.addCut(Part_1_doc, [model.selection("SOLID", "Fuse_2_1")], [model.selection("SOLID", "Common_3_1")])
524 Extrusion_8 = model.addExtrusion(Part_1_doc, [model.selection("WIRE", "Sketch_1/Wire-SketchLine_10r-SketchLine_11r-SketchLine_8r-SketchLine_3r-SketchLine_9r-SketchLine_6r-SketchArc_1_2r-SketchArc_2_2f")], model.selection(), 55, 55)
525 Sketch_7 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_8_1/Generated_Face_1"))
526 SketchLine_54 = Sketch_7.addLine(55, -9.237604307034024, 55, -60)
527 SketchLine_54.setName("SketchLine_66")
528 SketchLine_54.result().setName("SketchLine_66")
529 SketchPoint_6 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_2&Extrusion_8_1/Generated_Face_1&Extrusion_8_1/To_Face_1"))
530 SketchLine_55 = Sketch_7.addLine(55, -9.237604307034024, 55, -70)
531 SketchLine_55.setName("SketchLine_57")
532 SketchLine_55.result().setName("SketchLine_57")
533 SketchLine_55.setAuxiliary(True)
534 SketchConstraintCoincidence_91 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchPoint_6.result())
535 SketchConstraintCoincidence_91.setName("SketchConstraintCoincidence_95")
536 SketchPoint_7 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_8&Extrusion_8_1/Generated_Face_1&Extrusion_8_1/To_Face_1"))
537 SketchConstraintCoincidence_92 = Sketch_7.setCoincident(SketchLine_55.endPoint(), SketchPoint_7.result())
538 SketchConstraintCoincidence_92.setName("SketchConstraintCoincidence_96")
539 SketchLine_56 = Sketch_7.addLine(45.00000000000001, -70, -45.00000000000001, -70)
540 SketchLine_56.setName("SketchLine_67")
541 SketchLine_56.result().setName("SketchLine_67")
542 SketchLine_57 = Sketch_7.addLine(55, -70, -55, -70)
543 SketchLine_57.setName("SketchLine_58")
544 SketchLine_57.result().setName("SketchLine_58")
545 SketchLine_57.setAuxiliary(True)
546 SketchConstraintCoincidence_93 = Sketch_7.setCoincident(SketchLine_55.endPoint(), SketchLine_57.startPoint())
547 SketchConstraintCoincidence_93.setName("SketchConstraintCoincidence_97")
548 SketchPoint_8 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_8&Extrusion_8_1/Generated_Face_1&Extrusion_8_1/From_Face_1"))
549 SketchConstraintCoincidence_94 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchPoint_8.result())
550 SketchConstraintCoincidence_94.setName("SketchConstraintCoincidence_98")
551 SketchLine_58 = Sketch_7.addLine(-55.00000000000001, -59.99999999999999, -55, -9.237604307034024)
552 SketchLine_58.setName("SketchLine_68")
553 SketchLine_58.result().setName("SketchLine_68")
554 SketchLine_59 = Sketch_7.addLine(-55, -70, -55, -9.237604307034024)
555 SketchLine_59.setName("SketchLine_59")
556 SketchLine_59.result().setName("SketchLine_59")
557 SketchLine_59.setAuxiliary(True)
558 SketchConstraintCoincidence_95 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_59.startPoint())
559 SketchConstraintCoincidence_95.setName("SketchConstraintCoincidence_99")
560 SketchPoint_9 = Sketch_7.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_2&Extrusion_8_1/Generated_Face_1&Extrusion_8_1/From_Face_1"))
561 SketchConstraintCoincidence_96 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchPoint_9.result())
562 SketchConstraintCoincidence_96.setName("SketchConstraintCoincidence_100")
563 SketchLine_60 = Sketch_7.addLine(-55, -9.237604307034024, -60.00000000000001, -9.237604307034024)
564 SketchLine_60.setName("SketchLine_60")
565 SketchLine_60.result().setName("SketchLine_60")
566 SketchConstraintCoincidence_97 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchLine_60.startPoint())
567 SketchConstraintCoincidence_97.setName("SketchConstraintCoincidence_101")
568 SketchLine_61 = Sketch_7.addLine(-60.00000000000001, -9.237604307034024, -60.00000000000001, -79.23760430703402)
569 SketchLine_61.setName("SketchLine_61")
570 SketchLine_61.result().setName("SketchLine_61")
571 SketchConstraintCoincidence_98 = Sketch_7.setCoincident(SketchLine_60.endPoint(), SketchLine_61.startPoint())
572 SketchConstraintCoincidence_98.setName("SketchConstraintCoincidence_102")
573 SketchLine_62 = Sketch_7.addLine(-60.00000000000001, -79.23760430703402, 60, -79.23760430703402)
574 SketchLine_62.setName("SketchLine_62")
575 SketchLine_62.result().setName("SketchLine_62")
576 SketchConstraintCoincidence_99 = Sketch_7.setCoincident(SketchLine_61.endPoint(), SketchLine_62.startPoint())
577 SketchConstraintCoincidence_99.setName("SketchConstraintCoincidence_103")
578 SketchLine_63 = Sketch_7.addLine(60, -79.23760430703402, 60, -9.237604307034024)
579 SketchLine_63.setName("SketchLine_63")
580 SketchLine_63.result().setName("SketchLine_63")
581 SketchConstraintCoincidence_100 = Sketch_7.setCoincident(SketchLine_62.endPoint(), SketchLine_63.startPoint())
582 SketchConstraintCoincidence_100.setName("SketchConstraintCoincidence_104")
583 SketchLine_64 = Sketch_7.addLine(60, -9.237604307034024, 55, -9.237604307034024)
584 SketchLine_64.setName("SketchLine_64")
585 SketchLine_64.result().setName("SketchLine_64")
586 SketchConstraintCoincidence_101 = Sketch_7.setCoincident(SketchLine_63.endPoint(), SketchLine_64.startPoint())
587 SketchConstraintCoincidence_101.setName("SketchConstraintCoincidence_105")
588 SketchConstraintCoincidence_102 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchLine_64.endPoint())
589 SketchConstraintCoincidence_102.setName("SketchConstraintCoincidence_106")
590 SketchConstraintCoincidence_103 = Sketch_7.setCoincident(SketchPoint_6.coordinates(), SketchLine_64.endPoint())
591 SketchConstraintCoincidence_103.setName("SketchConstraintCoincidence_107")
592 SketchConstraintHorizontal_11 = Sketch_7.setHorizontal(SketchLine_64.result())
593 SketchConstraintHorizontal_12 = Sketch_7.setHorizontal(SketchLine_60.result())
594 SketchConstraintHorizontal_13 = Sketch_7.setHorizontal(SketchLine_62.result())
595 SketchConstraintVertical_15 = Sketch_7.setVertical(SketchLine_61.result())
596 SketchConstraintVertical_16 = Sketch_7.setVertical(SketchLine_63.result())
597 SketchArc_13 = Sketch_7.addArc(45, -60, 45.00000000000001, -70, 55, -60, False)
598 SketchArc_13.setName("SketchArc_14")
599 SketchArc_13.result().setName("SketchArc_14")
600 SketchArc_13.results()[1].setName("SketchArc_14_2")
601 SketchLine_65 = Sketch_7.addLine(45.00000000000001, -70, -55, -70)
602 SketchLine_65.setName("SketchLine_65")
603 SketchLine_65.result().setName("SketchLine_65")
604 SketchLine_65.setAuxiliary(True)
605 SketchConstraintCoincidence_104 = Sketch_7.setCoincident(SketchArc_13.startPoint(), SketchLine_65.startPoint())
606 SketchConstraintCoincidence_104.setName("SketchConstraintCoincidence_108")
607 SketchConstraintCoincidence_105 = Sketch_7.setCoincident(SketchArc_13.endPoint(), SketchLine_54.endPoint())
608 SketchConstraintCoincidence_105.setName("SketchConstraintCoincidence_109")
609 SketchConstraintTangent_19 = Sketch_7.setTangent(SketchArc_13.results()[1], SketchLine_65.result())
610 SketchConstraintTangent_20 = Sketch_7.setTangent(SketchArc_13.results()[1], SketchLine_54.result())
611 SketchConstraintCoincidence_106 = Sketch_7.setCoincident(SketchLine_57.endPoint(), SketchLine_65.endPoint())
612 SketchConstraintCoincidence_106.setName("SketchConstraintCoincidence_110")
613 SketchConstraintCoincidence_107 = Sketch_7.setCoincident(SketchLine_55.startPoint(), SketchLine_54.startPoint())
614 SketchConstraintCoincidence_107.setName("SketchConstraintCoincidence_111")
615 SketchConstraintCoincidence_108 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_57.result())
616 SketchConstraintCoincidence_108.setName("SketchConstraintCoincidence_112")
617 SketchConstraintCoincidence_109 = Sketch_7.setCoincident(SketchLine_54.endPoint(), SketchLine_55.result())
618 SketchConstraintCoincidence_109.setName("SketchConstraintCoincidence_113")
619 SketchArc_14 = Sketch_7.addArc(-45.00000000000001, -60.00000000000004, -55.00000000000001, -59.99999999999999, -45.00000000000001, -70, False)
620 SketchArc_14.setName("SketchArc_15")
621 SketchArc_14.result().setName("SketchArc_15")
622 SketchArc_14.results()[1].setName("SketchArc_15_2")
623 SketchConstraintCoincidence_110 = Sketch_7.setCoincident(SketchArc_14.startPoint(), SketchLine_58.startPoint())
624 SketchConstraintCoincidence_110.setName("SketchConstraintCoincidence_114")
625 SketchConstraintCoincidence_111 = Sketch_7.setCoincident(SketchArc_14.endPoint(), SketchLine_56.endPoint())
626 SketchConstraintCoincidence_111.setName("SketchConstraintCoincidence_115")
627 SketchConstraintTangent_21 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_56.result())
628 SketchConstraintTangent_22 = Sketch_7.setTangent(SketchArc_14.results()[1], SketchLine_58.result())
629 SketchConstraintCoincidence_112 = Sketch_7.setCoincident(SketchLine_65.startPoint(), SketchLine_56.startPoint())
630 SketchConstraintCoincidence_112.setName("SketchConstraintCoincidence_116")
631 SketchConstraintCoincidence_113 = Sketch_7.setCoincident(SketchLine_59.endPoint(), SketchLine_58.endPoint())
632 SketchConstraintCoincidence_113.setName("SketchConstraintCoincidence_117")
633 SketchConstraintCoincidence_114 = Sketch_7.setCoincident(SketchLine_56.endPoint(), SketchLine_65.result())
634 SketchConstraintCoincidence_114.setName("SketchConstraintCoincidence_118")
635 SketchConstraintCoincidence_115 = Sketch_7.setCoincident(SketchLine_58.startPoint(), SketchLine_59.result())
636 SketchConstraintCoincidence_115.setName("SketchConstraintCoincidence_119")
637 SketchConstraintRadius_11 = Sketch_7.setRadius(SketchArc_13.results()[1], 10)
638 SketchConstraintRadius_12 = Sketch_7.setRadius(SketchArc_14.results()[1], 10)
639 SketchCircle_4 = Sketch_7.addCircle(44, -59, 5)
640 SketchCircle_5 = Sketch_7.addCircle(-43.99999999999999, -58.99999999999999, 5)
641 SketchConstraintRadius_13 = Sketch_7.setRadius(SketchCircle_4.results()[1], 5)
642 SketchConstraintRadius_14 = Sketch_7.setRadius(SketchCircle_5.results()[1], 5)
643 SketchConstraintDistance_27 = Sketch_7.setDistance(SketchCircle_4.center(), SketchLine_56.result(), 11, False)
644 SketchConstraintDistance_27.setName("SketchConstraintDistance_27")
645 SketchConstraintDistance_28 = Sketch_7.setDistance(SketchCircle_4.center(), SketchLine_54.result(), 11, False)
646 SketchConstraintDistance_28.setName("SketchConstraintDistance_28")
647 SketchConstraintDistance_29 = Sketch_7.setDistance(SketchCircle_5.center(), SketchLine_56.result(), 11, False)
648 SketchConstraintDistance_29.setName("SketchConstraintDistance_29")
649 SketchConstraintDistance_30 = Sketch_7.setDistance(SketchCircle_5.center(), SketchLine_58.result(), 11, False)
650 SketchConstraintDistance_30.setName("SketchConstraintDistance_30")
651 SketchCircle_6 = Sketch_7.addCircle(44, -20.23760430703402, 5)
652 SketchConstraintRadius_15 = Sketch_7.setRadius(SketchCircle_6.results()[1], 5)
653 SketchCircle_7 = Sketch_7.addCircle(-44, -20.23760430703402, 5)
654 SketchConstraintRadius_16 = Sketch_7.setRadius(SketchCircle_7.results()[1], 5)
655 SketchConstraintDistance_31 = Sketch_7.setDistance(SketchCircle_6.center(), SketchLine_54.result(), 11, False)
656 SketchConstraintDistance_31.setName("SketchConstraintDistance_31")
657 SketchLine_66 = Sketch_7.addLine(model.selection("EDGE", "Extrusion_8_1/Generated_Face_2&Extrusion_8_1/Generated_Face_1"))
658 SketchLine_66.setName("SketchLine_69")
659 SketchLine_66.result().setName("SketchLine_69")
660 SketchConstraintDistance_32 = Sketch_7.setDistance(SketchCircle_6.center(), SketchLine_66.result(), 11, False)
661 SketchConstraintDistance_32.setName("SketchConstraintDistance_32")
662 SketchConstraintDistance_33 = Sketch_7.setDistance(SketchCircle_7.center(), SketchLine_58.result(), 11, False)
663 SketchConstraintDistance_33.setName("SketchConstraintDistance_33")
664 SketchConstraintDistance_34 = Sketch_7.setDistance(SketchCircle_7.center(), SketchLine_66.result(), 11, False)
665 SketchConstraintDistance_34.setName("SketchConstraintDistance_34")
666 SketchConstraintLength_2 = Sketch_7.setLength(SketchLine_62.result(), 120)
667 SketchConstraintLength_2.setName("SketchConstraintLength_7")
668 SketchConstraintLength_3 = Sketch_7.setLength(SketchLine_61.result(), 70)
669 SketchConstraintLength_3.setName("SketchConstraintLength_8")
670 SketchConstraintDistanceHorizontal_1 = Sketch_7.setHorizontalDistance(SketchPoint_7.coordinates(), SketchLine_62.endPoint(), 5)
671 model.do()
672 ExtrusionCut_1_objects_1 = [model.selection("WIRE", "Sketch_7/Wire-SketchLine_66f-SketchLine_67f-SketchLine_68f-SketchLine_60f-SketchLine_61f-SketchLine_62f-SketchLine_63f-SketchLine_64f-SketchArc_14_2r-SketchArc_15_2r"), model.selection("FACE", "Sketch_7/Face-SketchCircle_4_2f"), model.selection("FACE", "Sketch_7/Face-SketchCircle_5_2f"), model.selection("FACE", "Sketch_7/Face-SketchCircle_7_2f"), model.selection("FACE", "Sketch_7/Face-SketchCircle_6_2f")]
673 ExtrusionCut_1 = model.addExtrusionCut(Part_1_doc, ExtrusionCut_1_objects_1, model.selection(), 0, 10, [model.selection("SOLID", "Extrusion_8_1")])
674 Sketch_8 = model.addSketch(Part_1_doc, model.selection("FACE", "Extrusion_8_1/Generated_Face_3"))
675 SketchLine_67 = Sketch_8.addLine(55, -34.06366588218793, 55, 66.69872981077805)
676 SketchLine_67.setName("SketchLine_79")
677 SketchLine_67.result().setName("SketchLine_79")
678 SketchPoint_10 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_3&Extrusion_8_1/Generated_Face_3&ExtrusionCut_1_1/Modfied_13"))
679 SketchLine_68 = Sketch_8.addLine(55, -34.06366588218793, 55, 76.69872981077803)
680 SketchLine_68.setName("SketchLine_70")
681 SketchLine_68.result().setName("SketchLine_70")
682 SketchLine_68.setAuxiliary(True)
683 SketchConstraintCoincidence_116 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchPoint_10.result())
684 SketchConstraintCoincidence_116.setName("SketchConstraintCoincidence_120")
685 SketchPoint_11 = Sketch_8.addPoint(model.selection("VERTEX", "Extrusion_8_1/Generated_Face_3&ExtrusionCut_1_1/Modfied_13&Extrusion_8_1/Generated_Face_4"))
686 SketchConstraintCoincidence_117 = Sketch_8.setCoincident(SketchLine_68.endPoint(), SketchPoint_11.result())
687 SketchConstraintCoincidence_117.setName("SketchConstraintCoincidence_121")
688 SketchLine_69 = Sketch_8.addLine(45, 76.69872981077805, -44.9999999570576, 76.69872981077805)
689 SketchLine_69.setName("SketchLine_80")
690 SketchLine_69.result().setName("SketchLine_80")
691 SketchLine_70 = Sketch_8.addLine(55, 76.69872981077803, -55, 76.69872981077803)
692 SketchLine_70.setName("SketchLine_71")
693 SketchLine_70.result().setName("SketchLine_71")
694 SketchLine_70.setAuxiliary(True)
695 SketchConstraintCoincidence_118 = Sketch_8.setCoincident(SketchLine_68.endPoint(), SketchLine_70.startPoint())
696 SketchConstraintCoincidence_118.setName("SketchConstraintCoincidence_122")
697 SketchPoint_12 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_1&Extrusion_8_1/Generated_Face_3&Extrusion_8_1/Generated_Face_4"))
698 SketchConstraintCoincidence_119 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchPoint_12.result())
699 SketchConstraintCoincidence_119.setName("SketchConstraintCoincidence_123")
700 SketchLine_71 = Sketch_8.addLine(-55, 66.69872976783566, -55, -34.06366588218793)
701 SketchLine_71.setName("SketchLine_81")
702 SketchLine_71.result().setName("SketchLine_81")
703 SketchLine_72 = Sketch_8.addLine(-55, 76.69872981077803, -55, -34.06366588218793)
704 SketchLine_72.setName("SketchLine_72")
705 SketchLine_72.result().setName("SketchLine_72")
706 SketchLine_72.setAuxiliary(True)
707 SketchConstraintCoincidence_120 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchLine_72.startPoint())
708 SketchConstraintCoincidence_120.setName("SketchConstraintCoincidence_124")
709 SketchPoint_13 = Sketch_8.addPoint(model.selection("VERTEX", "ExtrusionCut_1_1/Modfied_3&ExtrusionCut_1_1/Modfied_1&Extrusion_8_1/Generated_Face_3"))
710 SketchConstraintCoincidence_121 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchPoint_13.result())
711 SketchConstraintCoincidence_121.setName("SketchConstraintCoincidence_125")
712 SketchLine_73 = Sketch_8.addLine(-55, -34.06366588218793, -83.25521566485324, -34.06366588218793)
713 SketchLine_73.setName("SketchLine_73")
714 SketchLine_73.result().setName("SketchLine_73")
715 SketchConstraintCoincidence_122 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchLine_73.startPoint())
716 SketchConstraintCoincidence_122.setName("SketchConstraintCoincidence_126")
717 SketchLine_74 = Sketch_8.addLine(-83.25521566485324, -34.06366588218793, -83.25521566485298, 92.00148393088952)
718 SketchLine_74.setName("SketchLine_74")
719 SketchLine_74.result().setName("SketchLine_74")
720 SketchConstraintCoincidence_123 = Sketch_8.setCoincident(SketchLine_73.endPoint(), SketchLine_74.startPoint())
721 SketchConstraintCoincidence_123.setName("SketchConstraintCoincidence_127")
722 SketchLine_75 = Sketch_8.addLine(-83.25521566485298, 92.00148393088952, 87.50975635635101, 92.00148393088952)
723 SketchLine_75.setName("SketchLine_75")
724 SketchLine_75.result().setName("SketchLine_75")
725 SketchConstraintCoincidence_124 = Sketch_8.setCoincident(SketchLine_74.endPoint(), SketchLine_75.startPoint())
726 SketchConstraintCoincidence_124.setName("SketchConstraintCoincidence_128")
727 SketchLine_76 = Sketch_8.addLine(87.50975635635101, 92.00148393088952, 87.50975635635101, -34.06366588218793)
728 SketchLine_76.setName("SketchLine_76")
729 SketchLine_76.result().setName("SketchLine_76")
730 SketchConstraintCoincidence_125 = Sketch_8.setCoincident(SketchLine_75.endPoint(), SketchLine_76.startPoint())
731 SketchConstraintCoincidence_125.setName("SketchConstraintCoincidence_129")
732 SketchLine_77 = Sketch_8.addLine(87.50975635635101, -34.06366588218793, 55, -34.06366588218793)
733 SketchLine_77.setName("SketchLine_77")
734 SketchLine_77.result().setName("SketchLine_77")
735 SketchConstraintCoincidence_126 = Sketch_8.setCoincident(SketchLine_76.endPoint(), SketchLine_77.startPoint())
736 SketchConstraintCoincidence_126.setName("SketchConstraintCoincidence_130")
737 SketchConstraintCoincidence_127 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchLine_77.endPoint())
738 SketchConstraintCoincidence_127.setName("SketchConstraintCoincidence_131")
739 SketchConstraintCoincidence_128 = Sketch_8.setCoincident(SketchPoint_10.coordinates(), SketchLine_77.endPoint())
740 SketchConstraintCoincidence_128.setName("SketchConstraintCoincidence_132")
741 SketchConstraintHorizontal_14 = Sketch_8.setHorizontal(SketchLine_77.result())
742 SketchConstraintHorizontal_15 = Sketch_8.setHorizontal(SketchLine_73.result())
743 SketchConstraintHorizontal_16 = Sketch_8.setHorizontal(SketchLine_75.result())
744 SketchConstraintVertical_17 = Sketch_8.setVertical(SketchLine_74.result())
745 SketchConstraintVertical_18 = Sketch_8.setVertical(SketchLine_76.result())
746 SketchArc_15 = Sketch_8.addArc(45, 66.69872981077805, 55, 66.69872981077805, 45, 76.69872981077805, False)
747 SketchArc_15.setName("SketchArc_16")
748 SketchArc_15.result().setName("SketchArc_16")
749 SketchArc_15.results()[1].setName("SketchArc_16_2")
750 SketchConstraintCoincidence_129 = Sketch_8.setCoincident(SketchArc_15.startPoint(), SketchLine_67.endPoint())
751 SketchConstraintCoincidence_129.setName("SketchConstraintCoincidence_133")
752 SketchLine_78 = Sketch_8.addLine(45, 76.69872981077805, -55, 76.69872981077803)
753 SketchLine_78.setName("SketchLine_78")
754 SketchLine_78.result().setName("SketchLine_78")
755 SketchLine_78.setAuxiliary(True)
756 SketchConstraintCoincidence_130 = Sketch_8.setCoincident(SketchArc_15.endPoint(), SketchLine_78.startPoint())
757 SketchConstraintCoincidence_130.setName("SketchConstraintCoincidence_134")
758 SketchConstraintTangent_23 = Sketch_8.setTangent(SketchArc_15.results()[1], SketchLine_78.result())
759 SketchConstraintTangent_24 = Sketch_8.setTangent(SketchArc_15.results()[1], SketchLine_67.result())
760 SketchConstraintCoincidence_131 = Sketch_8.setCoincident(SketchLine_70.endPoint(), SketchLine_78.endPoint())
761 SketchConstraintCoincidence_131.setName("SketchConstraintCoincidence_135")
762 SketchConstraintCoincidence_132 = Sketch_8.setCoincident(SketchLine_68.startPoint(), SketchLine_67.startPoint())
763 SketchConstraintCoincidence_132.setName("SketchConstraintCoincidence_136")
764 SketchConstraintCoincidence_133 = Sketch_8.setCoincident(SketchLine_78.startPoint(), SketchLine_70.result())
765 SketchConstraintCoincidence_133.setName("SketchConstraintCoincidence_137")
766 SketchConstraintCoincidence_134 = Sketch_8.setCoincident(SketchLine_67.endPoint(), SketchLine_68.result())
767 SketchConstraintCoincidence_134.setName("SketchConstraintCoincidence_138")
768 SketchArc_16 = Sketch_8.addArc(-44.9999999570576, 66.69872976783566, -44.9999999570576, 76.69872981077805, -55, 66.69872976783566, False)
769 SketchArc_16.setName("SketchArc_17")
770 SketchArc_16.result().setName("SketchArc_17")
771 SketchArc_16.results()[1].setName("SketchArc_17_2")
772 SketchConstraintCoincidence_135 = Sketch_8.setCoincident(SketchArc_16.startPoint(), SketchLine_69.endPoint())
773 SketchConstraintCoincidence_135.setName("SketchConstraintCoincidence_139")
774 SketchConstraintCoincidence_136 = Sketch_8.setCoincident(SketchArc_16.endPoint(), SketchLine_71.startPoint())
775 SketchConstraintCoincidence_136.setName("SketchConstraintCoincidence_140")
776 SketchConstraintTangent_25 = Sketch_8.setTangent(SketchArc_16.results()[1], SketchLine_69.result())
777 SketchConstraintTangent_26 = Sketch_8.setTangent(SketchArc_16.results()[1], SketchLine_71.result())
778 SketchConstraintCoincidence_137 = Sketch_8.setCoincident(SketchLine_78.startPoint(), SketchLine_69.startPoint())
779 SketchConstraintCoincidence_137.setName("SketchConstraintCoincidence_141")
780 SketchConstraintCoincidence_138 = Sketch_8.setCoincident(SketchLine_72.endPoint(), SketchLine_71.endPoint())
781 SketchConstraintCoincidence_138.setName("SketchConstraintCoincidence_142")
782 SketchConstraintCoincidence_139 = Sketch_8.setCoincident(SketchLine_69.endPoint(), SketchLine_78.result())
783 SketchConstraintCoincidence_139.setName("SketchConstraintCoincidence_143")
784 SketchConstraintCoincidence_140 = Sketch_8.setCoincident(SketchLine_71.startPoint(), SketchLine_72.result())
785 SketchConstraintCoincidence_140.setName("SketchConstraintCoincidence_144")
786 SketchConstraintRadius_17 = Sketch_8.setRadius(SketchArc_15.results()[1], 10)
787 SketchConstraintRadius_18 = Sketch_8.setRadius(SketchArc_16.results()[1], 10)
788 SketchCircle_8 = Sketch_8.addCircle(-44, 51.69872981077802, 5)
789 SketchConstraintRadius_19 = Sketch_8.setRadius(SketchCircle_8.results()[1], 5)
790 SketchConstraintDistance_35 = Sketch_8.setDistance(SketchCircle_8.center(), SketchLine_69.result(), 25, False)
791 SketchConstraintDistance_35.setName("SketchConstraintDistance_35")
792 SketchConstraintDistance_36 = Sketch_8.setDistance(SketchCircle_8.center(), SketchLine_71.result(), 11, False)
793 SketchConstraintDistance_36.setName("SketchConstraintDistance_36")
794 SketchCircle_9 = Sketch_8.addCircle(-44, 16.69872981077805, 5)
795 SketchConstraintRadius_20 = Sketch_8.setRadius(SketchCircle_9.results()[1], 5)
796 SketchConstraintDistance_37 = Sketch_8.setDistance(SketchCircle_9.center(), SketchLine_71.result(), 11, False)
797 SketchConstraintDistance_37.setName("SketchConstraintDistance_37")
798 SketchConstraintDistance_38 = Sketch_8.setDistance(SketchCircle_9.center(), SketchLine_69.result(), 60, False)
799 SketchConstraintDistance_38.setName("SketchConstraintDistance_38")
800 SketchArc_17 = Sketch_8.addArc(44, 16.69872981077803, 49, 16.69872981077806, 39, 16.69872981077804, True)
801 SketchArc_17.setName("SketchArc_19")
802 SketchArc_17.result().setName("SketchArc_19")
803 SketchArc_17.results()[1].setName("SketchArc_19_2")
804 SketchConstraintRadius_21 = Sketch_8.setRadius(SketchArc_17.results()[1], 5)
805 SketchConstraintRadius_21.setName("SketchConstraintRadius_22")
806 SketchConstraintDistance_39 = Sketch_8.setDistance(SketchArc_17.center(), SketchLine_69.result(), 60, False)
807 SketchConstraintDistance_39.setName("SketchConstraintDistance_41")
808 SketchArc_18 = Sketch_8.addArc(44, 51.69872981077805, 49, 51.69872981077805, 39.00000000000002, 51.69873025170988, False)
809 SketchArc_18.setName("SketchArc_18")
810 SketchArc_18.result().setName("SketchArc_18")
811 SketchArc_18.results()[1].setName("SketchArc_18_2")
812 SketchLine_79 = Sketch_8.addLine(49, 16.69872981077806, 49, 51.69872981077805)
813 SketchLine_79.setName("SketchLine_82")
814 SketchLine_79.result().setName("SketchLine_82")
815 SketchConstraintCoincidence_141 = Sketch_8.setCoincident(SketchArc_18.startPoint(), SketchLine_79.endPoint())
816 SketchConstraintCoincidence_141.setName("SketchConstraintCoincidence_145")
817 SketchConstraintCoincidence_142 = Sketch_8.setCoincident(SketchLine_79.startPoint(), SketchArc_17.startPoint())
818 SketchConstraintCoincidence_142.setName("SketchConstraintCoincidence_146")
819 SketchLine_80 = Sketch_8.addLine(39, 16.69872981077804, 39.00000000000002, 51.69873025170988)
820 SketchLine_80.setName("SketchLine_83")
821 SketchLine_80.result().setName("SketchLine_83")
822 SketchConstraintCoincidence_143 = Sketch_8.setCoincident(SketchArc_17.endPoint(), SketchLine_80.startPoint())
823 SketchConstraintCoincidence_143.setName("SketchConstraintCoincidence_147")
824 SketchConstraintCoincidence_144 = Sketch_8.setCoincident(SketchArc_18.endPoint(), SketchLine_80.endPoint())
825 SketchConstraintCoincidence_144.setName("SketchConstraintCoincidence_148")
826 SketchConstraintDistance_40 = Sketch_8.setDistance(SketchArc_17.center(), SketchLine_67.result(), 11, False)
827 SketchConstraintDistance_40.setName("SketchConstraintDistance_40")
828 SketchConstraintDistance_41 = Sketch_8.setDistance(SketchLine_69.result(), SketchArc_18.center(), 25, False)
829 SketchConstraintDistance_41.setName("SketchConstraintDistance_42")
830 SketchConstraintDistance_42 = Sketch_8.setDistance(SketchArc_18.center(), SketchLine_67.result(), 11, False)
831 SketchConstraintDistance_42.setName("SketchConstraintDistance_44")
832 SketchConstraintRadius_22 = Sketch_8.setRadius(SketchArc_18.results()[1], 5)
833 SketchConstraintRadius_22.setName("SketchConstraintRadius_23")
834 SketchConstraintLength_4 = Sketch_8.setLength(SketchLine_80.result(), 35.000000440932)
835 SketchConstraintLength_4.setName("SketchConstraintLength_1")
836 SketchConstraintLength_5 = Sketch_8.setLength(SketchLine_79.result(), 35)
837 SketchConstraintLength_5.setName("SketchConstraintLength_2")
838 SketchConstraintLength_6 = Sketch_8.setLength(SketchLine_75.result(), 170.764972021204)
839 SketchConstraintLength_6.setName("SketchConstraintLength_3")
840 SketchConstraintLength_7 = Sketch_8.setLength(SketchLine_77.result(), 32.509756356351)
841 SketchConstraintLength_7.setName("SketchConstraintLength_4")
842 SketchConstraintLength_8 = Sketch_8.setLength(SketchLine_76.result(), 126.065149813077)
843 SketchConstraintLength_8.setName("SketchConstraintLength_5")
844 SketchConstraintDistance_43 = Sketch_8.setDistance(SketchArc_18.endPoint(), SketchLine_69.result(), 24.999999559068, False)
845 SketchConstraintDistance_43.setName("SketchConstraintDistance_45")
846 SketchConstraintDistance_44 = Sketch_8.setDistance(SketchArc_18.startPoint(), SketchLine_69.result(), 25, False)
847 SketchConstraintDistance_44.setName("SketchConstraintDistance_46")
848 model.do()
849 ExtrusionCut_2_objects_1 = [model.selection("FACE", "Sketch_8/Face-SketchLine_79r-SketchLine_80r-SketchLine_81r-SketchLine_73r-SketchLine_74r-SketchLine_75r-SketchLine_76r-SketchLine_77r-SketchArc_16_2r-SketchArc_17_2r"), model.selection("WIRE", "Sketch_8/Wire-SketchCircle_8_2f"), model.selection("WIRE", "Sketch_8/Wire-SketchCircle_9_2f"), model.selection("WIRE", "Sketch_8/Wire-SketchArc_19_2f-SketchArc_18_2f-SketchLine_82f-SketchLine_83r")]
850 ExtrusionCut_2 = model.addExtrusionCut(Part_1_doc, ExtrusionCut_2_objects_1, model.selection(), 0, 10, [model.selection("SOLID", "ExtrusionCut_1_1")])
851 Fuse_3 = model.addFuse(Part_1_doc, [model.selection("SOLID", "Cut_1_1")], [model.selection("SOLID", "ExtrusionCut_2_1")])
852 model.do()
853
854 # Test reexecution after parameter change
855 Parameter_H.setValue(8)
856 model.do()
857 model.testResultsVolumes(Fuse_3, [169754.898488585400627925992012024])
858 Parameter_H.setValue(6)
859 model.end()
860
861 from GeomAPI import GeomAPI_Shape
862
863 model.testNbResults(Fuse_3, 1)
864 model.testNbSubResults(Fuse_3, [0])
865 model.testNbSubShapes(Fuse_3, GeomAPI_Shape.SOLID, [1])
866 model.testNbSubShapes(Fuse_3, GeomAPI_Shape.FACE, [50])
867 model.testNbSubShapes(Fuse_3, GeomAPI_Shape.EDGE, [266])
868 model.testNbSubShapes(Fuse_3, GeomAPI_Shape.VERTEX, [532])
869 model.testResultsVolumes(Fuse_3, [156999.209584889642428606748580933])
870
871 assert(model.checkPythonDump())