logo
NOTICE:  This is the new PunchCAD forum. You should have received an email with your new password around August 27, 2014. If you did not, or would like it reset, simply use the Lost Password feature, and enter Answer as the security answer.
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Tim Olson  
#1 Posted : Monday, April 2, 2007 9:33:52 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
PDF overview of using the File:Import Spline command (ViaCAD, C3D, CU) to import curves and surfaces from simple text files. Demonstrates how to create through point and control point splines, polylines, and splines/surfaces from parametric equations (laws).


http://www.csi-concepts.com/Dem...rtingSplinesTutorial.pdf
Tim Olson
IMSI Design/Encore
Alan Bransom  
#2 Posted : Friday, August 3, 2007 8:13:15 AM(UTC)
Alan Bransom

Rank: Junior Member

Joined: 4/14/2007(UTC)
Posts: 17

Hi Tim,

A colleague and I have just discovered that the Spline Text Files used in TurboCAD your CSI license, will only work if the text is written in text files with a MS-DOS end of line. Is this still the same with ViaCAD, or has the Mac end of line been taken into account?

Regards...... Alan.

P.s. Just found that it will take an Appleworks Spreadsheet that is saved as an ASCII text file.
Tim Olson  
#3 Posted : Wednesday, August 8, 2007 2:01:19 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
Alan Bransom wrote:
Hi Tim,

A colleague and I have just discovered that the Spline Text Files used in TurboCAD your CSI license, will only work if the text is written in text files with a MS-DOS end of line. Is this still the same with ViaCAD, or has the Mac end of line been taken into account?

Regards...... Alan.

P.s. Just found that it will take an Appleworks Spreadsheet that is saved as an ASCII text file.



Hi Alan,

Can you zip and send the file? All our ASCII based import files should be independent of EOL.
Tim Olson
IMSI Design/Encore
Alan Bransom  
#4 Posted : Tuesday, August 14, 2007 6:03:47 AM(UTC)
Alan Bransom

Rank: Junior Member

Joined: 4/14/2007(UTC)
Posts: 17

Hi Tim,

The files are Mac rich text, Appleworks with Mac EOL and Word for Mac MS-DOS EOL.

Regards...... Alan
File Attachment(s):
Archive.zip (5kb) downloaded 9 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson  
#5 Posted : Wednesday, August 15, 2007 8:26:52 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
Hi Alan,

I looked at the files you sent. We only support reading in ASCII text files. .cwk, .doc, .rtf, are not formats that we recognize. From Word, you can generate a ASCII file by saving "Text Only". On Mac, Text Edit should also save a .txt file which is ASCII.

Tim
Tim Olson
IMSI Design/Encore
Tim Olson  
#6 Posted : Wednesday, August 15, 2007 8:29:35 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
Hi Alan,

I looked at the files you sent. Of the files you provided, only the "Word Test MS-Dos.txt" file reads into our software. We only support reading ASCII text files. .cwk, .doc, .rtf, are not formats that we recognize. From Word, you can generate a ASCII file by saving "Text Only". On Mac, Text Edit should also save a .txt file which is ASCII. For ASCII EOL, we support Unix, Mac, and DOS representations so you should not need to worry about that.
Tim Olson
IMSI Design/Encore
Alan Bransom  
#7 Posted : Thursday, August 16, 2007 6:36:23 AM(UTC)
Alan Bransom

Rank: Junior Member

Joined: 4/14/2007(UTC)
Posts: 17

Hi Tim,

Thanks for your help. I just needed to go into Text Edit Preferences to sort out the plain text option - I was set for rich text. Appleworks will also save out an ASCII file, so we are well covered.

Thanks again.

Regards...... Alan.
markb57  
#8 Posted : Wednesday, November 5, 2008 6:49:45 PM(UTC)
markb57

Rank: Junior Member

Joined: 11/3/2007(UTC)
Posts: 24

Originally Posted by: Tim Olson Go to Quoted Post
PDF overview of using the File:Import Spline command (ViaCAD, C3D, CU) to import curves and surfaces from simple text files. Demonstrates how to create through point and control point splines, polylines, and splines/surfaces from parametric equations (laws).


http://www.csi-concepts.com/Dem...rtingSplinesTutorial.pdf


This is great. I was having the dickens of a time creating an automotive cam shape. I don't know if the problem was me, a more or less rookie ViaCAD user, of ViaCAD, so I went poking around the forum for some spline curves advice. Found this. I tried a simple circle by hand, and that worked, now I am testing sample shapes in (of all things) Excel, cut/paste into Text edit, and import for subsequent extrusion. Really working great - I now have a convincing cam shape. And now, if I want to create a true analytical cam profile I can use the formula. Groovy! (I betchya that's the first time "Groovy" has been used on this forum!)

markb
Tim Olson  
#9 Posted : Thursday, November 6, 2008 9:57:30 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,446
United States

Was thanked: 498 time(s) in 352 post(s)
Awesome, thanks for the feedback!


Here is a fun/interesting shape I recently found. It's a Klein bottle created from equations using File:Import Spline.

Tim
File Attachment(s):
kleinBottle.txt (1kb) downloaded 7 time(s).

You cannot view/download attachments. Try to login or register.
Tim Olson
IMSI Design/Encore
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.