-
Notifications
You must be signed in to change notification settings - Fork 0
/
BCCUC.py
699 lines (692 loc) · 41.9 KB
/
BCCUC.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
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
# BCC unit cell with structured mesh in ABAQUS
author = "Sina Taghizadeh"
license = "GNU GPL Version 3.0"
from part import *
from material import *
from section import *
from assembly import *
from step import *
from interaction import *
from load import *
from mesh import *
from optimization import *
from job import *
from sketch import *
from visualization import *
from connectorBehavior import *
mdb.models.changeKey(fromName='Model-1', toName='MyModel-1')
mdb.models['MyModel-1'].ConstrainedSketch(name='__sweep__', sheetSize=20.0)
mdb.models['MyModel-1'].sketches['__sweep__'].Line(point1=(0.0, 0.0), point2=(
7.07106781186548, 5.0))
mdb.models['MyModel-1'].ConstrainedSketch(name='__profile__', sheetSize=20.0,
transform=(0.577350269189626, -0.816496580927726, 0.0, -0.0, 0.0, 1.0,
-0.816496580927726, -0.577350269189626, -0.0, 0.0, 0.0, 0.0))
mdb.models['MyModel-1'].sketches['__profile__'].ConstructionLine(point1=(-10.0,
0.0), point2=(10.0, 0.0))
mdb.models['MyModel-1'].sketches['__profile__'].ConstructionLine(point1=(0.0,
-10.0), point2=(0.0, 10.0))
mdb.models['MyModel-1'].sketches['__profile__'].CircleByCenterPerimeter(center=
(0.0, 0.0), point1=(0.0, 0.5))
mdb.models['MyModel-1'].Part(dimensionality=THREE_D, name='Strut+', type=
DEFORMABLE_BODY)
mdb.models['MyModel-1'].parts['Strut+'].BaseSolidSweep(path=
mdb.models['MyModel-1'].sketches['__sweep__'], sketch=
mdb.models['MyModel-1'].sketches['__profile__'])
del mdb.models['MyModel-1'].sketches['__profile__']
del mdb.models['MyModel-1'].sketches['__sweep__']
mdb.models['MyModel-1'].ConstrainedSketch(name='__sweep__', sheetSize=20.0)
mdb.models['MyModel-1'].sketches['__sweep__'].Line(point1=(7.07106781186548,
0.0), point2=(0.0, 5.0))
mdb.models['MyModel-1'].ConstrainedSketch(name='__profile__', sheetSize=20.0,
transform=(0.577350269189626, 0.816496580927726, -0.0, 0.0, 0.0, 1.0,
0.816496580927726, -0.577350269189626, 0.0, 7.07106781186548, 0.0, 0.0))
mdb.models['MyModel-1'].sketches['__profile__'].ConstructionLine(point1=(-10.0,
0.0), point2=(10.0, 0.0))
mdb.models['MyModel-1'].sketches['__profile__'].ConstructionLine(point1=(0.0,
-10.0), point2=(0.0, 10.0))
mdb.models['MyModel-1'].sketches['__profile__'].CircleByCenterPerimeter(center=
(0.0, 0.0), point1=(0.0, 0.5))
mdb.models['MyModel-1'].Part(dimensionality=THREE_D, name='Strut-', type=
DEFORMABLE_BODY)
mdb.models['MyModel-1'].parts['Strut-'].BaseSolidSweep(path=
mdb.models['MyModel-1'].sketches['__sweep__'], sketch=
mdb.models['MyModel-1'].sketches['__profile__'])
del mdb.models['MyModel-1'].sketches['__profile__']
del mdb.models['MyModel-1'].sketches['__sweep__']
mdb.models['MyModel-1'].rootAssembly.DatumCsysByDefault(CARTESIAN)
mdb.models['MyModel-1'].rootAssembly.Instance(dependent=ON, name='Strut+-1',
part=mdb.models['MyModel-1'].parts['Strut+'])
mdb.models['MyModel-1'].rootAssembly.Instance(dependent=ON, name='Strut--1',
part=mdb.models['MyModel-1'].parts['Strut-'])
mdb.models['MyModel-1'].rootAssembly.InstanceFromBooleanMerge(domain=GEOMETRY,
instances=(mdb.models['MyModel-1'].rootAssembly.instances['Strut+-1'],
mdb.models['MyModel-1'].rootAssembly.instances['Strut--1']), name='HalfUC',
originalInstances=SUPPRESS)
mdb.models['MyModel-1'].rootAssembly.Instance(dependent=ON, name='HalfUC-2',
part=mdb.models['MyModel-1'].parts['HalfUC'])
mdb.models['MyModel-1'].rootAssembly.DatumAxisByTwoPoint(point1=
mdb.models['MyModel-1'].rootAssembly.instances['HalfUC-2'].InterestingPoint(
mdb.models['MyModel-1'].rootAssembly.instances['HalfUC-2'].edges[4],
MIDDLE), point2=
mdb.models['MyModel-1'].rootAssembly.instances['HalfUC-2'].InterestingPoint(
mdb.models['MyModel-1'].rootAssembly.instances['HalfUC-2'].edges[0],
MIDDLE))
mdb.models['MyModel-1'].rootAssembly.rotate(angle=90.0, axisDirection=(0.0,
-10.0, 0.0), axisPoint=(3.535534, 2.5, 0.0), instanceList=('HalfUC-2', ))
mdb.models['MyModel-1'].rootAssembly.InstanceFromBooleanMerge(domain=GEOMETRY,
instances=(mdb.models['MyModel-1'].rootAssembly.instances['HalfUC-1'],
mdb.models['MyModel-1'].rootAssembly.instances['HalfUC-2']), name='BCCUC',
originalInstances=SUPPRESS)
mdb.models['MyModel-1'].rootAssembly.features['Datum axis-1'].resume()
mdb.models['MyModel-1'].rootAssembly.features['Datum axis-1'].suppress()
mdb.models['MyModel-1'].rootAssembly.features['HalfUC-2'].suppress()
mdb.models['MyModel-1'].parts['BCCUC'].DatumAxisByTwoPoint(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[7], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[2])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByTwoPoint(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[3], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[5])
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=0.68, name='__profile__',
sheetSize=27.58, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[3],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].datums[2],
sketchOrientation=RIGHT, origin=(3.535534, 2.5, 0.0)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-2.5, -2.5),
point2=(2.5, 2.5))
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-5.0, -5.0),
point2=(5.0, 5.0))
mdb.models['MyModel-1'].parts['BCCUC'].CutExtrude(flipExtrudeDirection=OFF,
sketch=mdb.models['MyModel-1'].sketches['__profile__'], sketchOrientation=
RIGHT, sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[3],
sketchPlaneSide=SIDE1, sketchUpEdge=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=0.68, name='__profile__',
sheetSize=27.58, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[3],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].datums[2],
sketchOrientation=RIGHT, origin=(3.535534, 2.5, 0.0)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-2.5, -2.5),
point2=(2.5, 2.5))
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-5.0, -5.0),
point2=(5.0, 5.0))
mdb.models['MyModel-1'].parts['BCCUC'].CutExtrude(flipExtrudeDirection=ON,
sketch=mdb.models['MyModel-1'].sketches['__profile__'], sketchOrientation=
RIGHT, sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[3],
sketchPlaneSide=SIDE1, sketchUpEdge=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByRotation(angle=90.0, axis=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2], isDependent=False, plane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[3])
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=0.68, name='__profile__',
sheetSize=27.48, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[6],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].datums[2],
sketchOrientation=RIGHT, origin=(3.535534, 2.5, 0.0)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-2.5, -2.5),
point2=(2.5, 2.5))
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-5.0, -5.0),
point2=(5.0, 5.0))
mdb.models['MyModel-1'].parts['BCCUC'].CutExtrude(flipExtrudeDirection=OFF,
sketch=mdb.models['MyModel-1'].sketches['__profile__'], sketchOrientation=
RIGHT, sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[6],
sketchPlaneSide=SIDE1, sketchUpEdge=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=0.66, name='__profile__',
sheetSize=26.43, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[6],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].datums[2],
sketchOrientation=RIGHT, origin=(3.535534, 2.5, 0.0)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-2.5, -2.5),
point2=(2.5, 2.5))
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(5.0, 5.0),
point2=(-5.0, -5.0))
mdb.models['MyModel-1'].parts['BCCUC'].CutExtrude(flipExtrudeDirection=ON,
sketch=mdb.models['MyModel-1'].sketches['__profile__'], sketchOrientation=
RIGHT, sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[6],
sketchPlaneSide=SIDE1, sketchUpEdge=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[29], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[11])
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-3']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[28], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[29], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[27], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[29], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[37], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[29], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[49], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#1 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[10])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[12])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[11])
mdb.models['MyModel-1'].rootAssembly.regenerate()
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[16], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[5], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[65], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[18], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[5], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[109], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[17])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#fff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[16])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[67], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[10], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[0], MIDDLE))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#3ffff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[20])
del mdb.models['MyModel-1'].parts['BCCUC'].features['Partition cell-6']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-8']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Partition cell-5']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Partition cell-4']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-7']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-6']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Partition cell-3']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Partition cell-2']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Partition cell-1']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-5']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-4']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-3']
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=0.65, name='__profile__',
sheetSize=26.05, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].faces[30],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].edges[35],
sketchOrientation=RIGHT, origin=(3.535534, 5.0, 3.058069)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].rootAssembly.regenerate()
mdb.models['MyModel-1'].rootAssembly.DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].rootAssembly.instances['BCCUC-1'].vertices[29],
point2=
mdb.models['MyModel-1'].rootAssembly.instances['BCCUC-1'].vertices[8],
point3=
mdb.models['MyModel-1'].rootAssembly.instances['BCCUC-1'].vertices[1])
del mdb.models['MyModel-1'].rootAssembly.features['Datum plane-1']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Cut extrude-4']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Cut extrude-3']
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-2']
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-1',
'Cut extrude-2', 'Cut extrude-1'))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByTwoPoint(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[3], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[5])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByOffset(flip=SIDE1,
isDependent=False, offset=3.0, plane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[22])
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-2']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByOffset(flip=SIDE1,
isDependent=False, offset=5.0, plane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[22])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByRotation(angle=90.0, axis=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2], isDependent=False, plane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[22])
mdb.models['MyModel-1'].parts['BCCUC'].DatumAxisByTwoPoint(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[5], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[3])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByRotation(angle=90.0, axis=
mdb.models['MyModel-1'].parts['BCCUC'].datums[26], isDependent=False,
plane=mdb.models['MyModel-1'].parts['BCCUC'].datums[25])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByOffset(flip=SIDE1,
isDependent=False, offset=5.0, plane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[25])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByOffset(flip=SIDE1,
isDependent=False, offset=5.0, plane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[27])
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=1.07, name='__profile__',
sheetSize=43.07, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[24],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].datums[2],
sketchOrientation=RIGHT, origin=(0.0, 2.5, -3.535534)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-2.5, -2.5),
point2=(2.5, 2.5))
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-5.0, -5.0),
point2=(5.0, 5.0))
mdb.models['MyModel-1'].parts['BCCUC'].CutExtrude(flipExtrudeDirection=OFF,
sketch=mdb.models['MyModel-1'].sketches['__profile__'], sketchOrientation=
RIGHT, sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[24],
sketchPlaneSide=SIDE1, sketchUpEdge=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=1.07, name='__profile__',
sheetSize=43.07, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[28],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].datums[2],
sketchOrientation=RIGHT, origin=(7.071068, 2.5, -3.535534)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-2.5, -2.5),
point2=(2.5, 2.5))
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-5.0, -5.0),
point2=(5.0, 5.0))
mdb.models['MyModel-1'].parts['BCCUC'].CutExtrude(flipExtrudeDirection=OFF,
sketch=mdb.models['MyModel-1'].sketches['__profile__'], sketchOrientation=
RIGHT, sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[28],
sketchPlaneSide=SIDE1, sketchUpEdge=
mdb.models['MyModel-1'].parts['BCCUC'].datums[2])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].ConstrainedSketch(gridSpacing=1.06, name='__profile__',
sheetSize=42.47, transform=
mdb.models['MyModel-1'].parts['BCCUC'].MakeSketchTransform(
sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[29],
sketchPlaneSide=SIDE1,
sketchUpEdge=mdb.models['MyModel-1'].parts['BCCUC'].datums[26],
sketchOrientation=RIGHT, origin=(3.535534, 7.5, 0.0)))
mdb.models['MyModel-1'].parts['BCCUC'].projectReferencesOntoSketch(filter=
COPLANAR_EDGES, sketch=mdb.models['MyModel-1'].sketches['__profile__'])
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-2.5, -2.5),
point2=(2.5, 2.5))
mdb.models['MyModel-1'].sketches['__profile__'].rectangle(point1=(-5.0, -5.0),
point2=(5.0, 5.0))
mdb.models['MyModel-1'].parts['BCCUC'].CutExtrude(flipExtrudeDirection=OFF,
sketch=mdb.models['MyModel-1'].sketches['__profile__'], sketchOrientation=
RIGHT, sketchPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[29],
sketchPlaneSide=SIDE1, sketchUpEdge=
mdb.models['MyModel-1'].parts['BCCUC'].datums[26])
del mdb.models['MyModel-1'].sketches['__profile__']
mdb.models['MyModel-1'].rootAssembly.regenerate()
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[6], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[7], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[7], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[32], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[49], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[8], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[7], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#1 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[35])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[34])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[33])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[43], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[53], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[96], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[50], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[43], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[96], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[40])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#fff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[39])
mdb.models['MyModel-1'].rootAssembly.regenerate()
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-7',
'Partition cell-3'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-8',
'Partition cell-2'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-9',
'Partition cell-1'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-10',
'Partition cell-5'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-11',
'Partition cell-4'))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[9], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[49], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[15])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[27], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[37])
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-8']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[13], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[21])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[35], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[36])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#1 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[46])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[45])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[43])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[59], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[1], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[56])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[58], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[1], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[60])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#ff ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[50])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#3fff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[51])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[59], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[1], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[24])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#fffff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[54])
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-7',
'Partition cell-3', 'Datum plane-12', 'Partition cell-6', 'Datum plane-11',
'Partition cell-5', 'Datum plane-10', 'Partition cell-4'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-8',
'Partition cell-2'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-9',
'Partition cell-1'))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByLinePoint(line=
mdb.models['MyModel-1'].parts['BCCUC'].edges[6], point=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByLinePoint(line=
mdb.models['MyModel-1'].parts['BCCUC'].edges[58], point=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByLinePoint(line=
mdb.models['MyModel-1'].parts['BCCUC'].edges[7], point=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#1 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[56])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[57])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[58])
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-7',
'Partition cell-1'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-8',
'Partition cell-2'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-9',
'Partition cell-3'))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[7], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[36])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[7], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[19])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[7], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[18])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#1 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[63])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[62])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[64])
mdb.models['MyModel-1'].rootAssembly.regenerate()
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[5], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[112], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[26])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[9], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[112], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[18])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[69])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#fff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[68])
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-7',
'Partition cell-2'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-8',
'Partition cell-1'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-9',
'Partition cell-3'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-10',
'Partition cell-5'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-11',
'Partition cell-4'))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[23], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[23], MIDDLE), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[21])
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-7']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[21], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[4])
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-7']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[14], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[41], MIDDLE), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[23])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[14], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[24], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[11])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[14], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[34], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[20])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#1 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[74])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3 ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[76])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#f ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[75])
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-7',
'Partition cell-1'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-8',
'Partition cell-3'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-9',
'Partition cell-2'))
mdb.models['MyModel-1'].rootAssembly.regenerate()
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByPlaneThreePoints(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#1 ]',
), ), point1=mdb.models['MyModel-1'].parts['BCCUC'].vertices[26], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[31], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByPlaneThreePoints(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#3 ]',
), ), point1=mdb.models['MyModel-1'].parts['BCCUC'].vertices[2], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[28], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[50], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByPlaneThreePoints(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#f ]',
), ), point1=mdb.models['MyModel-1'].parts['BCCUC'].vertices[3], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[5], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[51], CENTER))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[13], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[1], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[12])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[34], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[11], MIDDLE), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[8])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[15], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[1], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[23])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#ff ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[83])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#fff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[85])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#3ffff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[84])
mdb.models['MyModel-1'].parts['BCCUC'].seedPart(deviationFactor=0.1,
minSizeFactor=0.1, size=0.43)
mdb.models['MyModel-1'].parts['BCCUC'].generateMesh()
mdb.models['MyModel-1'].parts['BCCUC'].deleteMesh()
mdb.models['MyModel-1'].parts['BCCUC'].deleteSeeds()
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[55], point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[1], point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[14])
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-7',
'Partition cell-4'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-8',
'Partition cell-6'))
mdb.models['MyModel-1'].parts['BCCUC'].deleteFeatures(('Datum plane-9',
'Partition cell-5'))
del mdb.models['MyModel-1'].parts['BCCUC'].features['Datum plane-10']
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[35], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[4], MIDDLE), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[31])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[29], point2=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[9], MIDDLE), point3=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[25])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[51], MIDDLE), point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[3], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[47], MIDDLE))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask(('[#ff ]',
), ), datumPlane=mdb.models['MyModel-1'].parts['BCCUC'].datums[93])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#fff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[92])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#3ffff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[94])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[121], MIDDLE), point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[6], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[106], MIDDLE))
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[69], MIDDLE), point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[27], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[43], MIDDLE))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#ffffff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[98])
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#ffffffff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[99])
mdb.models['MyModel-1'].parts['BCCUC'].DatumPlaneByThreePoints(point1=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[81], MIDDLE), point2=
mdb.models['MyModel-1'].parts['BCCUC'].vertices[34], point3=
mdb.models['MyModel-1'].parts['BCCUC'].InterestingPoint(
mdb.models['MyModel-1'].parts['BCCUC'].edges[170], MIDDLE))
mdb.models['MyModel-1'].parts['BCCUC'].PartitionCellByDatumPlane(cells=
mdb.models['MyModel-1'].parts['BCCUC'].cells.getSequenceFromMask((
'[#ffffffff #ff ]', ), ), datumPlane=
mdb.models['MyModel-1'].parts['BCCUC'].datums[102])
mdb.models['MyModel-1'].parts['BCCUC'].seedPart(deviationFactor=0.1,
minSizeFactor=0.1, size=0.2)
mdb.models['MyModel-1'].parts['BCCUC'].generateMesh()