Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations IDS 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
Sep 11, 2018
1
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!!

 
Replies continue below

Recommended for 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