Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

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

HOW TO IDENTIFY A CONICAL/CYLINDRICAL FACE

Status
Not open for further replies.

Alex_59

Mechanical
Joined
Sep 11, 2018
Messages
1
Location
FR
Hello everyone,


I'm a beginner in abaqus Scripting and I'm trying to automate a modelisation but I don't know how to identify if a face is conical or cylindrical, is there an instruction for that?

When I use this instruction in my code, my program stops working when it finds a not conical/cylindrical face:

for x in range(len(f)):
myAxis = p.DatumAxisByCylFace(face=f[x])


If you have some answers, thank you!!

 
Not sure, but perhaps if you have calculated the curvature of a face (I assume it will give a zero 0, or close to a zero if flat), and then have an if statement that the curvature needs to be greater than zero (or greater than some small numerical tolerance) in order to do the DatumAxis. (There should be a command for calculating the curvature)

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top