×
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

Spline/Curve export to coordinates

Spline/Curve export to coordinates

Spline/Curve export to coordinates

(OP)
Hello,

I found thread 561-272761 and was able to use the first Grip file in it to export information on a single spline (up to 100 points). I would like to export x/y coordinates for a spline/curve that I create through text curves and imported splines with more points though. I ran into a few issues when using the last Grip file on thread 561-272761 and it would not actually execute the file for me. I really only need to export one spline at a time, I do not need it to run several splines/curves.

Thanks,
J

RE: Spline/Curve export to coordinates

what do you mean by "text curves" ? Are those curves that are made into letters ?

RE: Spline/Curve export to coordinates

(OP)
Cowski - I did not see that forum. I opened up the file and tried it out on a spline I had already created and received a few errors. When I open the grip file I get "Error 1545031 at like 56 in Pts_Akibg_Curve_to_txt-file. The character position in the string is invalid." I have two options - 'CONTINUE' or 'TERMINIATE' If I continue - I can select the spline but then I receive an error after selecting the spline "Data file Saving Error! Program Terminating!". Any ideas? I am not familiar with Grip files or much coding outside of VBA, so I am not sure where to begin for trouble shooting this. This error is the same error I received on the original file that John had posted for 1000 points. The 50 to 100 data points file still works.

Jerry1423 - Yes - text curves meaning curves made into letters (or insert->curve->text)

This is all sparking since I need to engrave various letters, symbols, etc. on a Swiss Lathe. If I get the points, I can create a Macro to create the program from the points.

RE: Spline/Curve export to coordinates

Grip is a VERY old programming language. It does probably not accept modern "ideas" such as spaces or other characters in the filename than pure ASCII.
I.e English characters only and no spaces in the filename, NOR the directory.

The grip program will read the name of the part, and the directory then name the textfile "similarly" ( i.e 12345_box_00.prt -> 12345_box_00.txt ) in the same directory as the part itself.

Do for example not place the part file on the desktop because this directory path might contain spaces.


Regards,
Tomas

RE: Spline/Curve export to coordinates

(OP)
Toost - thanks for your reply. I was working with files in TC and that appeared to make the difference. I exported my file and tried them both the same folder and it worked perfectly. Thanks again.

J

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