×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Problme in python script : cutRevolve

Problme in python script : cutRevolve

Problme in python script : cutRevolve

(OP)
Hi,

I am a Phd and work on a model of bone remodeling : I want to simulate the resorption of bone by a cell (the osteoclast). I have a problem with my python script on Abaqus : I want to do a part (semicircle extrusion), then I want to cut it with a defined shape, so I use cutRevolve tool.
I tought that everything was good : I defined the Datum Plane, the Datum Axis, the sketch,... but it doesn't work. The error message from Abaqus is : "Invalid Sketch Plane".
I didn't find information about this tool on internet. Could you help me? I am so lost!!!!
Thank you very much,

Clo


My script....


from abaqus import *
import testUtils
testUtils.setBackwardCompatibility()
from abaqusConstants import *
import assembly    
import part
import datum
import sketch

# Create a model
myModel = mdb.Model(name='Model travee')

# Create a sketch for the base feature.
mySketch = myModel.ConstrainedSketch(name='BoneProfile',sheetSize=250.)

# Create the main sketch = a semicircle radius=0,1mm
mySketch.ArcByCenterEnds(center=(0,0),point1=(0.05,0),point2=(-0.05,0))
mySketch.Line(point1=(-0.05,0),point2=(0.05,0))

# Create the part and extrusion
myPart = myModel.Part(name='Part Bone', dimensionality=THREE_D,type=DEFORMABLE_BODY)
myPart.BaseSolidExtrude(sketch=mySketch, depth=0.1)

# Create a sketch for the cutRevolve = circle radius=0.01mm
sketchName='Osteoclast'
myModel.ConstrainedSketch(name=sketchName,sheetSize=200.0)
cuttingSketch=myModel.sketches[sketchName]
cuttingSketch.CircleByCenterPerimeter(center=(0,0.05),point1=(0,0.04))

# Cut the existing part
myPart.CutExtrude(sketchPlane=myPart.DatumPlaneByPrincipalPlane(XZPLANE,0),
sketchPlaneSide=SIDE2,sketchUpEdge=myPart.DatumAxisByPrincipalAxis(ZAXIS),
sketchOrientation=BOTTOM,sketch=cuttingSketch,angle=100)

 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources