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

JohnRBaker Pts_Along_Any_Curve_to_txt-file.grx 2

Status
Not open for further replies.

Duniry

Aerospace
Joined
Dec 1, 2016
Messages
11
Location
IE
thread561-379920


Hi John,
I used your grip file to output the points on a spline.
It works great, thanks!! Would it be possible to increase the number of points??
Once i go above 1000,I get an error. Any help would be much appreciated!
 
After posting I realized that I can get
one file name input from the user and
make the two by adding forward for the first
and reverse for the second.

As you mentioned in your last post.
 
Good idea with CREATE/TXT,2 and WRITE/2.
I had it create and write another TXT,1 and WRITE/1 by copying and pasting!
I have data format set as:
Code:
DATA_FORMAT='#@@@  X#@@@.@@@  Y#@@@.@@@  Z#@@@.@@@'
and a typical output is :
Code:
[indent][/indent]   1  X  -9.700  Y  50.046  Z   3.482
   2  X  -2.733  Y  40.683  Z   2.331
   3  X  -2.737  Y  28.916  Z   1.226
Is it possible to either the point number (1,2,3.....) or remove the unnecessary sapces? (or maybe have 0001, 0002, 0003...)
I had DATA_FORMAT='N#@@@ X#@@@.@@@ Y#@@@.@@@ Z#@@@.@@@' so i could get N1, N2, N3 etc,
but instead I got N 1, N 2, N 3 etc. 'N#@' didn't fix it.
If I could remove the extra spaces, I'd be sorted.
 
You can also remove file name input
and use
partname + 'forwards'
partname + 'backwards'
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top