Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Create parts from polylines in abaqus from a txt file

Status
Not open for further replies.

CADlalala

Aerospace
Apr 3, 2014
43
Hello everyone,

I hope you can help me on this. Today is my first day using Abaqus so I am extremely lost. My task is to develop a script to automatically create polylines in Abaqus from a txt file containing the XYZ coordinates (in order). The txt file look like this:

Curve1
StartCurve
0, 0, 0
40, 0, 0
20, 60, 0
0, 80, 0
0, 0, 0
EndCurve
Curve2
startCurve
35, 120.5, 0
39.7, 129.1, 0
46.9, 129.1, 0
39.7, 134.1, 0
42.3, 143.1, 0
35, 139, 0
27.7, 143.1, 0
30.3, 134.5, 0
32.12, 129.1, 0
23.1, 129.1, 0
EndCurve

...

I presume this is something that people do often and I was wondering if someone in this forum have some example script I could use to start with.

Many thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor