Punch! CAD
»
ViaCAD & Shark
»
Tips and Tutorials
»
Importing Curves/Surfaces from Simple Text Files (#84)
Rank: Senior Member
Joined: 2/2/2007(UTC)
Posts: 5,447
Was thanked: 502 time(s) in 353 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
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.
Rank: Senior Member
Joined: 2/2/2007(UTC)
Posts: 5,447
Was thanked: 502 time(s) in 353 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
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.
Rank: Senior Member
Joined: 2/2/2007(UTC)
Posts: 5,447
Was thanked: 502 time(s) in 353 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
Rank: Senior Member
Joined: 2/2/2007(UTC)
Posts: 5,447
Was thanked: 502 time(s) in 353 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
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.
Rank: Junior Member
Joined: 11/3/2007(UTC) Posts: 24
Originally Posted by: Tim Olson 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
Rank: Senior Member
Joined: 2/2/2007(UTC)
Posts: 5,447
Was thanked: 502 time(s) in 353 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
Punch! CAD
»
ViaCAD & Shark
»
Tips and Tutorials
»
Importing Curves/Surfaces from Simple Text Files (#84)
Forum Jump
Punch! CAD
ViaCAD & Shark
- News and Announcements
- General
- 2D Drafting
- Surface Modeling
- Solid Modeling
- Subdivision Modeling
- Rendering & Display
- Import/Export
- Tips and Tutorials
- Suggestions
- Gallery
- PowerPack
- Punch Lounge
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.