×
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

create a part with python script

create a part with python script

create a part with python script

(OP)
Hi,
I'm trying to build a part representing a stone vault's ashlars from a list of the vertices'coordinates using a python script. I managed to import the coordinates of the points but I can not build a solid, since I can not build a two-dimensional sketch. Can I use the attributes of the part, that is to say vertices, edges,..? Can vertices be a list of coordinates?
Thanks in advance for answers.

RE: create a part with python script

(OP)
Thanks a lot for your reply!
Sorry but I don't really understand how to realize the FEA deck.
Do you mean that I need to write a .inp file starting from my coordinates?
Because I  have only the coordinates of the vertex and not the mesh node's ones.
Thanks,
Lucia

RE: create a part with python script

Yes, you can create vertices using a set of co-ordinates. For your application however I suggest drawing each face of your part as an individual shell part. Use you co-ordinate data you have to create datum points, project them onto the shell sketch and connect them to get your face geometry. Assemble the resulting shell parts and merge them. Convert the resulting shell to a solid.

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