MrzKamali
Geotechnical
- Sep 7, 2017
- 4
Hello every one
I have some face instance and gonna to loading them by pressure. before loading I revise the face's normal to one direction as below:
if mdb.models['Model-1'].parts[PART_NAME].faces[0].getNormal()[2]>0:
but seems it doesn't any effect on side1face and it doesn't flipped. so I cant recognize if side1face is in desire direction. so after loading all faces by uniform pressure, some of them pressured in reversed direction.
how I can control side1face during making region and after that pressuring that.
I have some face instance and gonna to loading them by pressure. before loading I revise the face's normal to one direction as below:
if mdb.models['Model-1'].parts[PART_NAME].faces[0].getNormal()[2]>0:
mdb.models['Model-1'].parts[PART_NAME].flipNormal(regions=Region(mdb.models['Model-1'].parts[PART_NAME].faces.findAt(mdb.models['Model-1'].parts[PART_NAME].faces[0].pointOn)))but seems it doesn't any effect on side1face and it doesn't flipped. so I cant recognize if side1face is in desire direction. so after loading all faces by uniform pressure, some of them pressured in reversed direction.
how I can control side1face during making region and after that pressuring that.