Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations MintJulep on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

scripting-how understand which side of a face is side1face during making region?

Status
Not open for further replies.

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:
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor