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 TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

create a part with python script

Status
Not open for further replies.

lumonda14

Civil/Environmental
Joined
Jul 6, 2011
Messages
2
Location
FR
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.
 
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
 
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top