-
Notifications
You must be signed in to change notification settings - Fork 10
/
script.py
402 lines (397 loc) · 37.3 KB
/
script.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
# -*- coding: mbcs -*-
# Do not delete the following import lines
from abaqus import *
from abaqusConstants import *
import __main__
import section
import regionToolset
import displayGroupMdbToolset as dgm
import part
import material
import assembly
import step
import interaction
import load
import mesh
import optimization
import job
import sketch
import visualization
import xyPlot
import displayGroupOdbToolset as dgo
import connectorBehavior
s = mdb.models['Model-1'].ConstrainedSketch(name='__profile__',
sheetSize=200)
g, v, d, c = s.geometry, s.vertices, s.dimensions, s.constraints
s.setPrimaryObject(option=STANDALONE)
s.rectangle(point1=(0.0, 0.0), point2=(15, 10))
p = mdb.models['Model-1'].Part(name='Part-1', dimensionality=TWO_D_PLANAR,
type=DEFORMABLE_BODY)
p = mdb.models['Model-1'].parts['Part-1']
p.BaseShell(sketch=s)
s.unsetPrimaryObject()
p = mdb.models['Model-1'].parts['Part-1']
session.viewports['Viewport: 1'].setValues(displayedObject=p)
del mdb.models['Model-1'].sketches['__profile__']
p = mdb.models['Model-1'].parts['Part-1']
f, e, d1 = p.faces, p.edges, p.datums
t = p.MakeSketchTransform(sketchPlane=f[0], sketchPlaneSide=SIDE1, origin=(
0.0, 0.0, 0.0))
s1 = mdb.models['Model-1'].ConstrainedSketch(name='__profile__',
sheetSize=200, gridSpacing=2, transform=t)
g, v, d, c = s1.geometry, s1.vertices, s1.dimensions, s1.constraints
s1.setPrimaryObject(option=SUPERIMPOSE)
p = mdb.models['Model-1'].parts['Part-1']
p.projectReferencesOntoSketch(sketch=s1, filter=COPLANAR_EDGES)
s1.Line(point1=([12.212333977516526,-1.251068726099402]), point2=([12.7236275114563,1.6971741634612987]))
s1.Line(point1=([12.7236275114563,1.6971741634612987]), point2=([13.681220015433633,1.556462232208516]))
s1.Line(point1=([12.212333977516526,-1.251068726099402]), point2=([11.388034790203765,0.765826328491633]))
s1.Line(point1=([11.388034790203765,0.765826328491633]), point2=([12.405217367513293,2.015584307404305]))
s1.Line(point1=([12.7236275114563,1.6971741634612987]), point2=([12.405217367513293,2.015584307404305]))
s1.Line(point1=([-2.6969161363951386,6.622639357569]), point2=([0.6097158453393965,7.821526270477224]))
s1.Line(point1=([-2.6969161363951386,6.622639357569]), point2=([-31.072031290928678,5.621055784835638]))
s1.Line(point1=([0.6097158453393965,7.821526270477224]), point2=([1.337499033964835,9.094990343005751]))
s1.Line(point1=([14.147305514089226,7.182080459443943]), point2=([13.957564433166308,5.978794340613965]))
s1.Line(point1=([13.957564433166308,5.978794340613965]), point2=([76.58339060861658,4.081270191485988]))
s1.Line(point1=([13.681220015433633,1.556462232208516]), point2=([13.838755141733314,1.8272173533779392]))
s1.Line(point1=([13.838755141733314,1.8272173533779392]), point2=([24.87828511164444,3.5702987667825097]))
s1.Line(point1=([76.58339060861658,4.081270191485988]), point2=([24.87828511164444,3.5702987667825097]))
s1.Line(point1=([13.415608236174998,3.42326734995343]), point2=([16.47152588399784,3.9535221992910565]))
s1.Line(point1=([13.415608236174998,3.42326734995343]), point2=([13.528771565239106,2.797639859186308]))
s1.Line(point1=([13.528771565239106,2.797639859186308]), point2=([13.754225600018207,2.572185824407207]))
s1.Line(point1=([13.754225600018207,2.572185824407207]), point2=([17.50573231237608,3.801720543613542]))
s1.Line(point1=([17.50573231237608,3.801720543613542]), point2=([16.47152588399784,3.9535221992910565]))
s1.Line(point1=([12.405217367513293,2.015584307404305]), point2=([12.342443470450322,2.187386110783101]))
s1.Line(point1=([12.342443470450322,2.187386110783101]), point2=([13.528771565239106,2.797639859186308]))
s1.Line(point1=([13.838755141733314,1.8272173533779392]), point2=([13.754225600018207,2.572185824407207]))
s1.Line(point1=([24.87828511164444,3.5702987667825097]), point2=([17.50573231237608,3.801720543613542]))
s1.Line(point1=([14.147305514089226,7.182080459443943]), point2=([13.340817657801043,7.374101636862036]))
s1.Line(point1=([13.340817657801043,7.374101636862036]), point2=([13.195815418137377,7.9072961176865855]))
s1.Line(point1=([13.195815418137377,7.9072961176865855]), point2=([12.930497402728115,8.172614133095848]))
s1.Line(point1=([12.125201855573827,12.76041036337633]), point2=([12.38941469530819,8.431676888260155]))
s1.Line(point1=([12.38941469530819,8.431676888260155]), point2=([12.552218356597502,8.268873226970843]))
s1.Line(point1=([12.930497402728115,8.172614133095848]), point2=([12.552218356597502,8.268873226970843]))
s1.Line(point1=([1.4791787634034579,5.425878505205487]), point2=([1.4353646963422628,5.469692572266681]))
s1.Line(point1=([1.4791787634034579,5.425878505205487]), point2=([2.2223345914408057,5.7319074911098715]))
s1.Line(point1=([1.4353646963422628,5.469692572266681]), point2=([1.931773767931005,6.742646967078973]))
s1.Line(point1=([2.2223345914408057,5.7319074911098715]), point2=([2.5989712607565294,6.075449474253448]))
s1.Line(point1=([1.931773767931005,6.742646967078973]), point2=([2.5989712607565294,6.075449474253448]))
s1.Line(point1=([-0.986257243558057,6.340023868424425]), point2=([1.8300693739510778,6.89746843482807]))
s1.Line(point1=([-0.986257243558057,6.340023868424425]), point2=([1.4353646963422628,5.469692572266681]))
s1.Line(point1=([1.8300693739510778,6.89746843482807]), point2=([1.920708070417355,6.8068297383617935]))
s1.Line(point1=([1.920708070417355,6.8068297383617935]), point2=([1.931773767931005,6.742646967078973]))
s1.Line(point1=([0.6097158453393965,7.821526270477224]), point2=([1.3680601392477647,7.749995186818806]))
s1.Line(point1=([1.337499033964835,9.094990343005751]), point2=([1.8968415235079672,8.535647853462619]))
s1.Line(point1=([1.8968415235079672,8.535647853462619]), point2=([1.3680601392477647,7.749995186818806]))
s1.Line(point1=([-2.6969161363951386,6.622639357569]), point2=([-0.986257243558057,6.340023868424425]))
s1.Line(point1=([1.8300693739510778,6.89746843482807]), point2=([1.7730090787394888,7.345046247327082]))
s1.Line(point1=([1.3680601392477647,7.749995186818806]), point2=([1.7730090787394888,7.345046247327082]))
s1.Line(point1=([8.863116762623166,-2.2874608884204846]), point2=([8.305965977553273,1.1791827203078291]))
s1.Line(point1=([8.863116762623166,-2.2874608884204846]), point2=([9.701709947976253,0.6310729041571503]))
s1.Line(point1=([8.305965977553273,1.1791827203078291]), point2=([9.499352066799107,1.5359253935978625]))
s1.Line(point1=([9.701709947976253,0.6310729041571503]), point2=([9.499352066799107,1.5359253935978625]))
s1.Line(point1=([12.788589096737494,6.016838171919577]), point2=([12.086225669510583,6.719201599146487]))
s1.Line(point1=([12.788589096737494,6.016838171919577]), point2=([13.032858492672903,6.8688441339114785]))
s1.Line(point1=([12.086225669510583,6.719201599146487]), point2=([12.711987421950491,7.02397581802362]))
s1.Line(point1=([12.711987421950491,7.02397581802362]), point2=([13.019251296224109,7.010732653358759]))
s1.Line(point1=([13.032858492672903,6.8688441339114785]), point2=([13.019251296224109,7.010732653358759]))
s1.Line(point1=([13.340817657801043,7.374101636862036]), point2=([13.019251296224109,7.010732653358759]))
s1.Line(point1=([12.149374087601457,7.586589152372656]), point2=([12.552218356597502,8.268873226970843]))
s1.Line(point1=([12.149374087601457,7.586589152372656]), point2=([12.711987421950491,7.02397581802362]))
s1.Line(point1=([13.937334706733049,5.964367919851332]), point2=([13.957564433166308,5.978794340613965]))
s1.Line(point1=([13.937334706733049,5.964367919851332]), point2=([13.032858492672903,6.8688441339114785]))
s1.Line(point1=([6.777213511164,5.262271854345876]), point2=([6.178925965215469,5.860559400294407]))
s1.Line(point1=([6.777213511164,5.262271854345876]), point2=([6.0980924038863105,4.7396743605805325]))
s1.Line(point1=([6.0980924038863105,4.7396743605805325]), point2=([5.958442379541832,4.87932438492501]))
s1.Line(point1=([5.958442379541832,4.87932438492501]), point2=([5.932289547740946,4.998312785246877]))
s1.Line(point1=([6.178925965215469,5.860559400294407]), point2=([5.932289547740946,4.998312785246877]))
s1.Line(point1=([5.895373327539905,6.399661293623898]), point2=([5.9633886879800695,6.381554946466646]))
s1.Line(point1=([5.895373327539905,6.399661293623898]), point2=([5.21654772976662,5.714054603221202]))
s1.Line(point1=([5.9633886879800695,6.381554946466646]), point2=([6.231717798844339,6.1132258356023765]))
s1.Line(point1=([6.231717798844339,6.1132258356023765]), point2=([6.178925965215469,5.860559400294407]))
s1.Line(point1=([5.21654772976662,5.714054603221202]), point2=([5.932289547740946,4.998312785246877]))
s1.Line(point1=([3.968865499886316,3.9186393767832874]), point2=([3.8603879444704723,4.501703187802907]))
s1.Line(point1=([3.968865499886316,3.9186393767832874]), point2=([3.958338616388505,3.910184496165897]))
s1.Line(point1=([3.8603879444704723,4.501703187802907]), point2=([3.5994269875077,4.7626641447656795]))
s1.Line(point1=([3.958338616388505,3.910184496165897]), point2=([2.462507956883665,3.7123975397882285]))
s1.Line(point1=([2.196373318351098,4.327522347120675]), point2=([2.462507956883665,3.7123975397882285]))
s1.Line(point1=([2.196373318351098,4.327522347120675]), point2=([2.5430717686830233,4.602045959842179]))
s1.Line(point1=([3.5994269875077,4.7626641447656795]), point2=([2.5430717686830233,4.602045959842179]))
s1.Line(point1=([5.881025379573824,0.8587378715723716]), point2=([7.111489492639713,1.1408435881622623]))
s1.Line(point1=([5.881025379573824,0.8587378715723716]), point2=([5.03548953382147,-1.074805308671111]))
s1.Line(point1=([7.111489492639713,1.1408435881622623]), point2=([8.36887870856088,-7.609905562086789]))
s1.Line(point1=([5.03548953382147,-1.074805308671111]), point2=([4.490494317341528,-5.627839624271201]))
s1.Line(point1=([11.039214420868984,1.114646697826414]), point2=([11.388034790203765,0.765826328491633]))
s1.Line(point1=([11.039214420868984,1.114646697826414]), point2=([9.701709947976253,0.6310729041571503]))
s1.Line(point1=([8.863116762623166,-2.2874608884204846]), point2=([8.36887870856088,-7.609905562086789]))
s1.Line(point1=([4.562003612043774,1.0439204694293374]), point2=([5.245945624680946,1.7599988673614]))
s1.Line(point1=([4.562003612043774,1.0439204694293374]), point2=([5.03548953382147,-1.074805308671111]))
s1.Line(point1=([5.881025379573824,0.8587378715723716]), point2=([5.826460440526164,1.1794840515161829]))
s1.Line(point1=([5.826460440526164,1.1794840515161829]), point2=([5.245945624680946,1.7599988673614]))
s1.Line(point1=([4.928204110202328,2.2986179950484376]), point2=([3.9794295871868828,1.6264944942862287]))
s1.Line(point1=([4.928204110202328,2.2986179950484376]), point2=([5.221156754089384,2.0056653511613813]))
s1.Line(point1=([4.562003612043774,1.0439204694293374]), point2=([3.9794295871868828,1.6264944942862287]))
s1.Line(point1=([5.245945624680946,1.7599988673614]), point2=([5.221156754089384,2.0056653511613813]))
s1.Line(point1=([8.305965977553273,1.1791827203078291]), point2=([8.196466111933718,1.2886825859273832]))
s1.Line(point1=([7.111489492639713,1.1408435881622623]), point2=([7.239896437272289,1.410171009023002]))
s1.Line(point1=([7.239896437272289,1.410171009023002]), point2=([8.196466111933718,1.2886825859273832]))
s1.Line(point1=([0.928079233729431,-1.8170410099452698]), point2=([1.7923621249793866,1.8001357201091739]))
s1.Line(point1=([-2.4614383779706026,0.6869462273626719]), point2=([1.7923621249793866,1.8001357201091739]))
s1.Line(point1=([12.342443470450322,2.187386110783101]), point2=([12.322799913899592,2.2070296673338303]))
s1.Line(point1=([13.392592789456808,3.446282796671619]), point2=([12.50353792153281,3.1987359606227375]))
s1.Line(point1=([13.392592789456808,3.446282796671619]), point2=([13.415608236174998,3.42326734995343]))
s1.Line(point1=([12.322799913899592,2.2070296673338303]), point2=([12.50353792153281,3.1987359606227375]))
s1.Line(point1=([12.429126726549523,4.383457412327324]), point2=([13.219936251067667,4.212757495563628]))
s1.Line(point1=([12.429126726549523,4.383457412327324]), point2=([12.291714965261708,5.463124138622365]))
s1.Line(point1=([13.219936251067667,4.212757495563628]), point2=([13.817135727255467,4.828740432250019]))
s1.Line(point1=([12.785431600370078,5.6977276148460305]), point2=([12.291714965261708,5.463124138622365]))
s1.Line(point1=([12.785431600370078,5.6977276148460305]), point2=([13.594641530850739,5.489726946142239]))
s1.Line(point1=([13.594641530850739,5.489726946142239]), point2=([13.817135727255467,4.828740432250019]))
s1.Line(point1=([13.392592789456808,3.446282796671619]), point2=([13.219936251067667,4.212757495563628]))
s1.Line(point1=([16.47152588399784,3.9535221992910565]), point2=([13.817135727255467,4.828740432250019]))
s1.Line(point1=([13.937334706733049,5.964367919851332]), point2=([13.594641530850739,5.489726946142239]))
s1.Line(point1=([12.788589096737494,6.016838171919577]), point2=([12.785431600370078,5.6977276148460305]))
s1.Line(point1=([7.591511459115526,26.430333172843316]), point2=([7.625361562343336,12.935641530611086]))
s1.Line(point1=([7.591511459115526,26.430333172843316]), point2=([9.769292805862458,8.716339911492055]))
s1.Line(point1=([7.625361562343336,12.935641530611086]), point2=([8.520670858783566,8.888088529172283]))
s1.Line(point1=([9.769292805862458,8.716339911492055]), point2=([9.156869496215815,8.262230087953318]))
s1.Line(point1=([9.156869496215815,8.262230087953318]), point2=([9.140875865506478,8.26788352244937]))
s1.Line(point1=([8.520670858783566,8.888088529172283]), point2=([9.140875865506478,8.26788352244937]))
s1.Line(point1=([11.162054329575072,9.426298857581846]), point2=([11.255474649687159,8.732627557145827]))
s1.Line(point1=([11.162054329575072,9.426298857581846]), point2=([10.000653339346744,8.664521808770182]))
s1.Line(point1=([11.255474649687159,8.732627557145827]), point2=([10.570960934585216,8.09421421353171]))
s1.Line(point1=([10.000653339346744,8.664521808770182]), point2=([10.570960934585216,8.09421421353171]))
s1.Line(point1=([12.125201855573827,12.76041036337633]), point2=([11.162054329575072,9.426298857581846]))
s1.Line(point1=([12.38941469530819,8.431676888260155]), point2=([11.635497373108,8.352604833724985]))
s1.Line(point1=([11.635497373108,8.352604833724985]), point2=([11.255474649687159,8.732627557145827]))
s1.Line(point1=([6.586312265129299,54.65481923636682]), point2=([7.591511459115526,26.430333172843316]))
s1.Line(point1=([9.769292805862458,8.716339911492055]), point2=([10.000653339346744,8.664521808770182]))
s1.Line(point1=([12.149374087601457,7.586589152372656]), point2=([11.45156459612217,7.346240792980329]))
s1.Line(point1=([12.086225669510583,6.719201599146487]), point2=([11.614152591020487,6.6581565727128025]))
s1.Line(point1=([11.614152591020487,6.6581565727128025]), point2=([11.45156459612217,7.346240792980329]))
s1.Line(point1=([11.635497373108,8.352604833724985]), point2=([11.359330302855762,7.438475086246737]))
s1.Line(point1=([11.45156459612217,7.346240792980329]), point2=([11.359330302855762,7.438475086246737]))
s1.Line(point1=([1.920708070417355,6.8068297383617935]), point2=([2.9858234810264355,7.1203990701864015]))
s1.Line(point1=([2.5989712607565294,6.075449474253448]), point2=([3.2118054006322434,6.068265684370337]))
s1.Line(point1=([2.9858234810264355,7.1203990701864015]), point2=([3.1055399583487455,7.0006825928640914]))
s1.Line(point1=([3.1055399583487455,7.0006825928640914]), point2=([3.2118054006322434,6.068265684370337]))
s1.Line(point1=([3.5994269875077,4.7626641447656795]), point2=([3.647275383353038,5.841599519868108]))
s1.Line(point1=([2.5430717686830233,4.602045959842179]), point2=([2.743867060377796,5.210375022172881]))
s1.Line(point1=([2.743867060377796,5.210375022172881]), point2=([3.318619697687188,5.9614513873153925]))
s1.Line(point1=([3.647275383353038,5.841599519868108]), point2=([3.318619697687188,5.9614513873153925]))
s1.Line(point1=([2.2223345914408057,5.7319074911098715]), point2=([2.743867060377796,5.210375022172881]))
s1.Line(point1=([3.2118054006322434,6.068265684370337]), point2=([3.318619697687188,5.9614513873153925]))
s1.Line(point1=([4.84194216115411,12.808574842544338]), point2=([4.72618814064306,12.241090441928371]))
s1.Line(point1=([4.84194216115411,12.808574842544338]), point2=([5.618151753627893,8.484595001823521]))
s1.Line(point1=([5.618151753627893,8.484595001823521]), point2=([5.533790117453554,8.434190551357375]))
s1.Line(point1=([5.533790117453554,8.434190551357375]), point2=([4.405833655861744,8.411820675557513]))
s1.Line(point1=([4.405833655861744,8.411820675557513]), point2=([4.72618814064306,12.241090441928371]))
s1.Line(point1=([2.6093278613451436,8.013584226135633]), point2=([2.4991187057071222,8.431003281262]))
s1.Line(point1=([2.6093278613451436,8.013584226135633]), point2=([2.8978011932554972,7.7251108942252795]))
s1.Line(point1=([2.8978011932554972,7.7251108942252795]), point2=([4.1085875011672215,8.141440223209813]))
s1.Line(point1=([2.736083580623136,8.750592773070116]), point2=([2.4991187057071222,8.431003281262]))
s1.Line(point1=([2.736083580623136,8.750592773070116]), point2=([3.494121539890775,8.764114949873798]))
s1.Line(point1=([3.494121539890775,8.764114949873798]), point2=([4.109970343749993,8.148266146014583]))
s1.Line(point1=([4.1085875011672215,8.141440223209813]), point2=([4.109970343749993,8.148266146014583]))
s1.Line(point1=([1.8968415235079672,8.535647853462619]), point2=([2.4991187057071222,8.431003281262]))
s1.Line(point1=([1.7730090787394888,7.345046247327082]), point2=([2.6093278613451436,8.013584226135633]))
s1.Line(point1=([2.9858234810264355,7.1203990701864015]), point2=([2.8978011932554972,7.7251108942252795]))
s1.Line(point1=([6.586312265129299,54.65481923636682]), point2=([4.84194216115411,12.808574842544338]))
s1.Line(point1=([4.72618814064306,12.241090441928371]), point2=([3.494121539890775,8.764114949873798]))
s1.Line(point1=([4.405833655861744,8.411820675557513]), point2=([4.109970343749993,8.148266146014583]))
s1.Line(point1=([5.895373327539905,6.399661293623898]), point2=([5.321679534715831,6.973355086447971]))
s1.Line(point1=([5.321679534715831,6.973355086447971]), point2=([6.4713626631868015,7.805164616230777]))
s1.Line(point1=([5.9633886879800695,6.381554946466646]), point2=([6.83757696587515,7.438950313542429]))
s1.Line(point1=([6.4713626631868015,7.805164616230777]), point2=([6.83757696587515,7.438950313542429]))
s1.Line(point1=([7.790558399876192,7.627075642667201]), point2=([9.140875865506478,8.26788352244937]))
s1.Line(point1=([7.790558399876192,7.627075642667201]), point2=([7.774510787341561,7.632012888527889]))
s1.Line(point1=([8.520670858783566,8.888088529172283]), point2=([7.726999898899347,8.324018590812754]))
s1.Line(point1=([7.726999898899347,8.324018590812754]), point2=([7.774510787341561,7.632012888527889]))
s1.Line(point1=([7.342162897304107,6.028085091741364]), point2=([6.231717798844339,6.1132258356023765]))
s1.Line(point1=([7.342162897304107,6.028085091741364]), point2=([7.12615334537743,7.3343215491608795]))
s1.Line(point1=([7.12615334537743,7.3343215491608795]), point2=([6.83757696587515,7.438950313542429]))
s1.Line(point1=([9.499352066799107,1.5359253935978625]), point2=([9.605932443332621,1.8717649268269991]))
s1.Line(point1=([8.196466111933718,1.2886825859273832]), point2=([8.41749675203468,2.268094600489944]))
s1.Line(point1=([8.41749675203468,2.268094600489944]), point2=([9.473448411142723,2.2130813314447932]))
s1.Line(point1=([9.605932443332621,1.8717649268269991]), point2=([9.473448411142723,2.2130813314447932]))
s1.Line(point1=([0.928079233729431,-1.8170410099452698]), point2=([2.720331801478998,1.5312753619395933]))
s1.Line(point1=([4.490494317341528,-5.627839624271201]), point2=([3.1967443806973064,1.3668094481273818]))
s1.Line(point1=([2.720331801478998,1.5312753619395933]), point2=([3.1967443806973064,1.3668094481273818]))
s1.Line(point1=([3.9794295871868828,1.6264944942862287]), point2=([3.7784948938084417,1.6798624616051825]))
s1.Line(point1=([3.1967443806973064,1.3668094481273818]), point2=([3.7784948938084417,1.6798624616051825]))
s1.Line(point1=([-0.9588990083860514,3.850290107105098]), point2=([0.8109447638026218,3.3820728074695]))
s1.Line(point1=([-0.9588990083860514,3.850290107105098]), point2=([1.7501290939104746,4.681372518577101]))
s1.Line(point1=([0.8109447638026218,3.3820728074695]), point2=([2.0227864260143202,4.408715186473255]))
s1.Line(point1=([1.7501290939104746,4.681372518577101]), point2=([2.0227864260143202,4.408715186473255]))
s1.Line(point1=([-31.072031290928678,5.621055784835638]), point2=([-0.9588990083860514,3.850290107105098]))
s1.Line(point1=([1.206848359581916,2.9861692116902065]), point2=([0.8109447638026218,3.3820728074695]))
s1.Line(point1=([1.206848359581916,2.9861692116902065]), point2=([1.2377689074625846,2.547323467755326]))
s1.Line(point1=([-2.4614383779706026,0.6869462273626719]), point2=([1.2377689074625846,2.547323467755326]))
s1.Line(point1=([1.4791787634034579,5.425878505205487]), point2=([1.7501290939104746,4.681372518577101]))
s1.Line(point1=([1.206848359581916,2.9861692116902065]), point2=([2.4434123113480815,3.4148981632116575]))
s1.Line(point1=([2.196373318351098,4.327522347120675]), point2=([2.0227864260143202,4.408715186473255]))
s1.Line(point1=([2.4434123113480815,3.4148981632116575]), point2=([2.462507956883665,3.7123975397882285]))
s1.Line(point1=([6.540551257819651,2.269745529169684]), point2=([6.468662415947473,2.4615769227549906]))
s1.Line(point1=([6.540551257819651,2.269745529169684]), point2=([7.159815578056697,1.6504812089326375]))
s1.Line(point1=([7.356002253001441,2.855548910453649]), point2=([6.490296424033518,2.765280755437567]))
s1.Line(point1=([7.356002253001441,2.855548910453649]), point2=([7.853901473171528,2.357649690283562]))
s1.Line(point1=([6.468662415947473,2.4615769227549906]), point2=([6.490296424033518,2.765280755437567]))
s1.Line(point1=([7.853901473171528,2.357649690283562]), point2=([7.159815578056697,1.6504812089326375]))
s1.Line(point1=([5.826460440526164,1.1794840515161829]), point2=([6.540551257819651,2.269745529169684]))
s1.Line(point1=([5.221156754089384,2.0056653511613813]), point2=([6.468662415947473,2.4615769227549906]))
s1.Line(point1=([7.239896437272289,1.410171009023002]), point2=([7.159815578056697,1.6504812089326375]))
s1.Line(point1=([8.281232298778916,2.4043590537457087]), point2=([8.41749675203468,2.268094600489944]))
s1.Line(point1=([8.281232298778916,2.4043590537457087]), point2=([7.853901473171528,2.357649690283562]))
s1.Line(point1=([6.051624027104847,3.0864666232040725]), point2=([5.295968553744871,3.842122096564048]))
s1.Line(point1=([6.051624027104847,3.0864666232040725]), point2=([4.826860238181572,2.790881309213284]))
s1.Line(point1=([4.819906178821111,2.7978353685737445]), point2=([4.826860238181572,2.790881309213284]))
s1.Line(point1=([4.819906178821111,2.7978353685737445]), point2=([4.674649006882714,3.7404535693514434]))
s1.Line(point1=([5.295968553744871,3.842122096564048]), point2=([4.814784781075633,3.8428599580266107]))
s1.Line(point1=([4.674649006882714,3.7404535693514434]), point2=([4.814784781075633,3.8428599580266107]))
s1.Line(point1=([6.253884773390817,3.0445897262111705]), point2=([6.3024927768142325,4.424136872010366]))
s1.Line(point1=([6.253884773390817,3.0445897262111705]), point2=([6.051624027104847,3.0864666232040725]))
s1.Line(point1=([6.163330247946456,4.563299400878143]), point2=([5.295968553744871,3.842122096564048]))
s1.Line(point1=([6.163330247946456,4.563299400878143]), point2=([6.3024927768142325,4.424136872010366]))
s1.Line(point1=([4.928204110202328,2.2986179950484376]), point2=([4.826860238181572,2.790881309213284]))
s1.Line(point1=([6.457154788195501,2.841319711406487]), point2=([6.490296424033518,2.765280755437567]))
s1.Line(point1=([6.457154788195501,2.841319711406487]), point2=([6.253884773390817,3.0445897262111705]))
s1.Line(point1=([3.722292645456749,2.6519099693599606]), point2=([3.7784948938084417,1.6798624616051825]))
s1.Line(point1=([3.722292645456749,2.6519099693599606]), point2=([4.819906178821111,2.7978353685737445]))
s1.Line(point1=([3.968865499886316,3.9186393767832874]), point2=([4.674649006882714,3.7404535693514434]))
s1.Line(point1=([3.958338616388505,3.910184496165897]), point2=([3.620709952163683,2.7534926626530254]))
s1.Line(point1=([3.722292645456749,2.6519099693599606]), point2=([3.620709952163683,2.7534926626530254]))
s1.Line(point1=([4.976882887368797,4.733194807400025]), point2=([4.814784781075633,3.8428599580266107]))
s1.Line(point1=([4.976882887368797,4.733194807400025]), point2=([5.958442379541832,4.87932438492501]))
s1.Line(point1=([6.0980924038863105,4.7396743605805325]), point2=([6.163330247946456,4.563299400878143]))
s1.Line(point1=([3.8603879444704723,4.501703187802907]), point2=([4.665110113533896,5.044967581234926]))
s1.Line(point1=([4.665110113533896,5.044967581234926]), point2=([4.976882887368797,4.733194807400025]))
s1.Line(point1=([11.772634634253498,2.3614608839842735]), point2=([11.49113783875967,2.642957679478102]))
s1.Line(point1=([11.772634634253498,2.3614608839842735]), point2=([10.964385551351217,1.3740440619711274]))
s1.Line(point1=([11.49113783875967,2.642957679478102]), point2=([10.793418352744823,2.414789908507003]))
s1.Line(point1=([10.793418352744823,2.414789908507003]), point2=([10.566690494229452,1.771739119092893]))
s1.Line(point1=([10.964385551351217,1.3740440619711274]), point2=([10.566690494229452,1.771739119092893]))
s1.Line(point1=([11.039214420868984,1.114646697826414]), point2=([10.964385551351217,1.3740440619711274]))
s1.Line(point1=([12.322799913899592,2.2070296673338303]), point2=([11.772634634253498,2.3614608839842735]))
s1.Line(point1=([9.605932443332621,1.8717649268269991]), point2=([10.566690494229452,1.771739119092893]))
s1.Line(point1=([12.50353792153281,3.1987359606227375]), point2=([12.199682021002127,3.502591861153419]))
s1.Line(point1=([12.429126726549523,4.383457412327324]), point2=([12.407942519287738,4.367128886782623]))
s1.Line(point1=([12.407942519287738,4.367128886782623]), point2=([12.199682021002127,3.502591861153419]))
s1.Line(point1=([11.49113783875967,2.642957679478102]), point2=([11.383726395063716,3.326115603052868]))
s1.Line(point1=([12.199682021002127,3.502591861153419]), point2=([11.383726395063716,3.326115603052868]))
s1.Line(point1=([7.84743136377542,4.8309878041168535]), point2=([8.469381092451853,4.602291642205159]))
s1.Line(point1=([7.84743136377542,4.8309878041168535]), point2=([7.278941214808627,4.284368649535255]))
s1.Line(point1=([8.469381092451853,4.602291642205159]), point2=([8.247041464055677,3.323859886486189]))
s1.Line(point1=([7.278941214808627,4.284368649535255]), point2=([7.329780240705583,3.888712452487121]))
s1.Line(point1=([7.329780240705583,3.888712452487121]), point2=([7.8589102492017995,3.359582443990905]))
s1.Line(point1=([8.247041464055677,3.323859886486189]), point2=([7.8589102492017995,3.359582443990905]))
s1.Line(point1=([6.777213511164,5.262271854345876]), point2=([7.523897626215769,5.7302703885486705]))
s1.Line(point1=([6.3024927768142325,4.424136872010366]), point2=([7.278941214808627,4.284368649535255]))
s1.Line(point1=([7.523897626215769,5.7302703885486705]), point2=([7.84743136377542,4.8309878041168535]))
s1.Line(point1=([6.457154788195501,2.841319711406487]), point2=([7.329780240705583,3.888712452487121]))
s1.Line(point1=([7.356002253001441,2.855548910453649]), point2=([7.8589102492017995,3.359582443990905]))
s1.Line(point1=([8.308347556184335,3.2625537943575296]), point2=([8.281232298778916,2.4043590537457087]))
s1.Line(point1=([8.308347556184335,3.2625537943575296]), point2=([8.247041464055677,3.323859886486189]))
s1.Line(point1=([9.473448411142723,2.2130813314447932]), point2=([9.493208741247328,2.287292966955524]))
s1.Line(point1=([10.793418352744823,2.414789908507003]), point2=([10.402898714661356,2.8053095465904696]))
s1.Line(point1=([10.402898714661356,2.8053095465904696]), point2=([9.493208741247328,2.287292966955524]))
s1.Line(point1=([9.156869496215815,8.262230087953318]), point2=([9.465233464329353,7.179677450329751]))
s1.Line(point1=([7.790558399876192,7.627075642667201]), point2=([8.319525434600036,7.098108607943357]))
s1.Line(point1=([8.319525434600036,7.098108607943357]), point2=([9.460497518436917,7.13389353418138]))
s1.Line(point1=([9.465233464329353,7.179677450329751]), point2=([9.460497518436917,7.13389353418138]))
s1.Line(point1=([10.570960934585216,8.09421421353171]), point2=([10.588228453070926,7.973728627678161]))
s1.Line(point1=([9.465233464329353,7.179677450329751]), point2=([10.588228453070926,7.973728627678161]))
s1.Line(point1=([11.359330302855762,7.438475086246737]), point2=([11.056212758973151,7.505744321775936]))
s1.Line(point1=([10.588228453070926,7.973728627678161]), point2=([11.056212758973151,7.505744321775936]))
s1.Line(point1=([7.342162897304107,6.028085091741364]), point2=([7.453825352935994,5.916422636109476]))
s1.Line(point1=([8.319525434600036,7.098108607943357]), point2=([8.226957536648166,6.735520731955317]))
s1.Line(point1=([7.774510787341561,7.632012888527889]), point2=([7.12615334537743,7.3343215491608795]))
s1.Line(point1=([8.226957536648166,6.735520731955317]), point2=([7.453825352935994,5.916422636109476]))
s1.Line(point1=([7.523897626215769,5.7302703885486705]), point2=([7.524612973382845,5.75666186973341]))
s1.Line(point1=([7.453825352935994,5.916422636109476]), point2=([7.524612973382845,5.75666186973341]))
s1.Line(point1=([11.614152591020487,6.6581565727128025]), point2=([11.476904346574218,6.318927320024041]))
s1.Line(point1=([11.056212758973151,7.505744321775936]), point2=([9.99715655440027,6.574603621612538]))
s1.Line(point1=([9.99715655440027,6.574603621612538]), point2=([10.193428377045835,6.3783317989669746]))
s1.Line(point1=([10.193428377045835,6.3783317989669746]), point2=([11.476904346574218,6.318927320024041]))
s1.Line(point1=([12.291714965261708,5.463124138622365]), point2=([11.686639841806057,5.6652459639402375]))
s1.Line(point1=([11.686639841806057,5.6652459639402375]), point2=([11.476904346574218,6.318927320024041]))
s1.Line(point1=([4.665110113533896,5.044967581234926]), point2=([4.599537475830466,5.659661942508031]))
s1.Line(point1=([3.647275383353038,5.841599519868108]), point2=([3.722337518883419,5.859409786968285]))
s1.Line(point1=([3.722337518883419,5.859409786968285]), point2=([4.599537475830466,5.659661942508031]))
s1.Line(point1=([5.21654772976662,5.714054603221202]), point2=([4.678336006107027,5.714938598063522]))
s1.Line(point1=([4.599537475830466,5.659661942508031]), point2=([4.678336006107027,5.714938598063522]))
s1.Line(point1=([6.160982799236873,8.310846132239755]), point2=([6.366679035183596,8.105149896293032]))
s1.Line(point1=([6.160982799236873,8.310846132239755]), point2=([7.258024216885483,10.645723234525729]))
s1.Line(point1=([6.366679035183596,8.105149896293032]), point2=([7.338024334750904,8.712994154961196]))
s1.Line(point1=([7.258024216885483,10.645723234525729]), point2=([7.338024334750904,8.712994154961196]))
s1.Line(point1=([7.625361562343336,12.935641530611086]), point2=([7.258024216885483,10.645723234525729]))
s1.Line(point1=([5.618151753627893,8.484595001823521]), point2=([6.160982799236873,8.310846132239755]))
s1.Line(point1=([6.4713626631868015,7.805164616230777]), point2=([6.366679035183596,8.105149896293032]))
s1.Line(point1=([7.726999898899347,8.324018590812754]), point2=([7.338024334750904,8.712994154961196]))
s1.Line(point1=([2.5015360425137163,3.26331575648552]), point2=([2.9077933048340476,2.857058494165189]))
s1.Line(point1=([2.5015360425137163,3.26331575648552]), point2=([1.7426270292140527,2.042465346003858]))
s1.Line(point1=([2.9077933048340476,2.857058494165189]), point2=([2.658549930352213,1.5930572330663784]))
s1.Line(point1=([2.658549930352213,1.5930572330663784]), point2=([1.8034746368420151,1.8115765331371443]))
s1.Line(point1=([1.7426270292140527,2.042465346003858]), point2=([1.8034746368420151,1.8115765331371443]))
s1.Line(point1=([2.4434123113480815,3.4148981632116575]), point2=([2.5015360425137163,3.26331575648552]))
s1.Line(point1=([3.620709952163683,2.7534926626530254]), point2=([2.9077933048340476,2.857058494165189]))
s1.Line(point1=([1.2377689074625846,2.547323467755326]), point2=([1.7426270292140527,2.042465346003858]))
s1.Line(point1=([2.720331801478998,1.5312753619395933]), point2=([2.658549930352213,1.5930572330663784]))
s1.Line(point1=([1.7923621249793866,1.8001357201091739]), point2=([1.8034746368420151,1.8115765331371443]))
s1.Line(point1=([12.407942519287738,4.367128886782623]), point2=([11.563080586088747,4.308697039580471]))
s1.Line(point1=([11.268664676244063,5.270961386412839]), point2=([11.686639841806057,5.6652459639402375]))
s1.Line(point1=([11.268664676244063,5.270961386412839]), point2=([11.28639562050596,4.585382005163258]))
s1.Line(point1=([11.28639562050596,4.585382005163258]), point2=([11.563080586088747,4.308697039580471]))
s1.Line(point1=([11.383726395063716,3.326115603052868]), point2=([11.309912376466542,3.3999296216500428]))
s1.Line(point1=([11.563080586088747,4.308697039580471]), point2=([11.309912376466542,3.3999296216500428]))
s1.Line(point1=([10.402898714661356,2.8053095465904696]), point2=([10.527520797531112,3.544479356888881]))
s1.Line(point1=([11.309912376466542,3.3999296216500428]), point2=([10.527520797531112,3.544479356888881]))
s1.Line(point1=([8.308347556184335,3.2625537943575296]), point2=([9.011524601718083,3.274100438271213]))
s1.Line(point1=([8.469381092451853,4.602291642205159]), point2=([8.506877192928945,4.608151175941935]))
s1.Line(point1=([8.506877192928945,4.608151175941935]), point2=([9.379385499974397,4.350823520838409]))
s1.Line(point1=([9.379385499974397,4.350823520838409]), point2=([9.011524601718083,3.274100438271213]))
s1.Line(point1=([9.493208741247328,2.287292966955524]), point2=([9.383793597661962,2.901831442327334]))
s1.Line(point1=([9.011524601718083,3.274100438271213]), point2=([9.383793597661962,2.901831442327334]))
s1.Line(point1=([10.527520797531112,3.544479356888881]), point2=([10.299463623108508,3.7725365313114834]))
s1.Line(point1=([9.383793597661962,2.901831442327334]), point2=([10.299463623108508,3.7725365313114834]))
s1.Line(point1=([11.28639562050596,4.585382005163258]), point2=([10.18353722714736,4.091926680247758]))
s1.Line(point1=([10.18353722714736,4.091926680247758]), point2=([10.299463623108508,3.7725365313114834]))
s1.Line(point1=([9.662884123370457,5.216932008181256]), point2=([9.629195199278413,4.399660564169146]))
s1.Line(point1=([9.662884123370457,5.216932008181256]), point2=([10.26891125348631,5.695623390008197]))
s1.Line(point1=([10.26891125348631,5.695623390008197]), point2=([10.661531679324225,5.30300296417028]))
s1.Line(point1=([10.661531679324225,5.30300296417028]), point2=([10.031993871673912,4.243470035721206]))
s1.Line(point1=([10.031993871673912,4.243470035721206]), point2=([9.629195199278413,4.399660564169146]))
s1.Line(point1=([10.193428377045835,6.3783317989669746]), point2=([10.26891125348631,5.695623390008197]))
s1.Line(point1=([11.268664676244063,5.270961386412839]), point2=([10.661531679324225,5.30300296417028]))
s1.Line(point1=([10.18353722714736,4.091926680247758]), point2=([10.031993871673912,4.243470035721206]))
s1.Line(point1=([9.379385499974397,4.350823520838409]), point2=([9.629195199278413,4.399660564169146]))
s1.Line(point1=([9.744228020402819,6.679184750578339]), point2=([9.594219930576106,6.829192840405051]))
s1.Line(point1=([9.744228020402819,6.679184750578339]), point2=([9.251023886605847,5.628792244945866]))
s1.Line(point1=([9.594219930576106,6.829192840405051]), point2=([8.712755606763613,6.249722661839873]))
s1.Line(point1=([9.251023886605847,5.628792244945866]), point2=([8.941504542194844,5.56923079819151]))
s1.Line(point1=([8.941504542194844,5.56923079819151]), point2=([8.56767057689046,5.943064763495894]))
s1.Line(point1=([8.56767057689046,5.943064763495894]), point2=([8.712755606763613,6.249722661839873]))
s1.Line(point1=([9.460497518436917,7.13389353418138]), point2=([9.594219930576106,6.829192840405051]))
s1.Line(point1=([9.99715655440027,6.574603621612538]), point2=([9.744228020402819,6.679184750578339]))
s1.Line(point1=([9.662884123370457,5.216932008181256]), point2=([9.251023886605847,5.628792244945866]))
s1.Line(point1=([8.226957536648166,6.735520731955317]), point2=([8.712755606763613,6.249722661839873]))
s1.Line(point1=([8.506877192928945,4.608151175941935]), point2=([8.941504542194844,5.56923079819151]))
s1.Line(point1=([7.524612973382845,5.75666186973341]), point2=([8.56767057689046,5.943064763495894]))
s1.Line(point1=([4.78378263008942,6.216229652905803]), point2=([4.178459576139994,6.82155270685523]))
s1.Line(point1=([4.78378263008942,6.216229652905803]), point2=([5.287952954530671,6.983749267080544]))
s1.Line(point1=([5.0733898767569885,7.1983123448542266]), point2=([5.287952954530671,6.983749267080544]))
s1.Line(point1=([5.0733898767569885,7.1983123448542266]), point2=([4.3292476072209585,7.378899859029336]))
s1.Line(point1=([4.178459576139994,6.82155270685523]), point2=([4.226193263889442,7.256262635000329]))
s1.Line(point1=([4.3292476072209585,7.378899859029336]), point2=([4.226193263889442,7.256262635000329]))
s1.Line(point1=([3.722337518883419,5.859409786968285]), point2=([4.178459576139994,6.82155270685523]))
s1.Line(point1=([4.678336006107027,5.714938598063522]), point2=([4.78378263008942,6.216229652905803]))
s1.Line(point1=([5.321679534715831,6.973355086447971]), point2=([5.287952954530671,6.983749267080544]))
s1.Line(point1=([5.533790117453554,8.434190551357375]), point2=([5.0733898767569885,7.1983123448542266]))
s1.Line(point1=([4.1085875011672215,8.141440223209813]), point2=([4.3292476072209585,7.378899859029336]))
s1.Line(point1=([3.1055399583487455,7.0006825928640914]), point2=([4.226193263889442,7.256262635000329]))
p = mdb.models['Model-1'].parts['Part-1']
f = p.faces
pickedFaces = f.getSequenceFromMask(mask=('[#1 ]', ), )
e1, d2 = p.edges, p.datums
p.PartitionFaceBySketch(faces=pickedFaces, sketch=s1)
s1.unsetPrimaryObject()
del mdb.models['Model-1'].sketches['__profile__']