Punch! CAD
»
ViaCAD & Shark
»
2D Drafting
»
Exporting the Data Points of a Spline
Rank: Member
Joined: 7/21/2008(UTC) Posts: 47
Was thanked: 4 time(s) in 4 post(s)
Is there a way to export the data points defining a spline to a separate datafile?
Albatrossflyer attached the following image(s):
Spline.jpg
(176kb) downloaded 4 time(s). You cannot view/download attachments. Try to login or register.
1 user thanked Albatrossflyer for this useful post.
Rank: Senior Member
Joined: 2/2/2007(UTC)
Posts: 5,447
Was thanked: 502 time(s) in 353 post(s)
AeroPack has an export spline in V12.
In V14, I just added exporting splines via File : Export : Macro for all products.
This is in build 1601.
Tim
Edited by user Sunday, October 16, 2022 3:18:35 PM(UTC)
| Reason: Not specified
File Attachment(s):
airfoil.png
(1,224kb) downloaded 22 time(s). airfoil.txt
(3kb) downloaded 16 time(s). You cannot view/download attachments. Try to login or register.
Tim Olson IMSI Design/Encore
3 users thanked Tim Olson for this useful post.
Rank: Member
Joined: 2/15/2022(UTC) Posts: 21
Was thanked: 28 time(s) in 18 post(s)
In the here and now, if you're on Windows without AeroPack, try Marcus Bole's PolyCAD, polycad.co.uk, imports .dxf or .iges. Free but registration needed. Select the spline, pline, surface, mesh, copy/paste the coordinate grid into anything suitable.
2murray attached the following image(s):
PolyCAD UI.png
(208kb) downloaded 3 time(s). You cannot view/download attachments. Try to login or register.
2 users thanked 2murray for this useful post.
Rank: Senior Member
Joined: 3/21/2017(UTC)
Posts: 952
Thanks: 46 times Was thanked: 315 time(s) in 210 post(s)
If you add points along the spline then export those as an igs you can read igs files in notepad and I'm pretty sure you'll get the coordinates of them. I used to do this years ago. If I remember rightly you can stick the file in excel, the first column is junk, then you scroll down (the number of points there are in the file) then you'll hit the X y coordinates
2 users thanked UGMENTALCASE for this useful post.
Rank: Member
Joined: 7/21/2008(UTC) Posts: 47
Was thanked: 4 time(s) in 4 post(s)
Thanks everyone for the feedback. I'm using SFX on a Mac not WIN. I tried the export to IGES trick, but it appears I'm just getting an unstructured file that when dumped into EXCEL isn't useful.
1 user thanked Albatrossflyer for this useful post.
Rank: Member
Joined: 2/15/2022(UTC) Posts: 21
Was thanked: 28 time(s) in 18 post(s)
Select the curve and export only the selected as .igs as Chris suggested. Use a text editor, more obious, less chaotic than a spreadsheet app might look. Wikipedia and other sites tell you what the obect type number is, b-spline curves are #126, in the text file there'll be a line that begins with 126,.....The lines below that line are the coordinates of the curve, the number to the right of the coordinates tells you how many coords there are in the curve and where each control point is in the order.
1 user thanked 2murray for this useful post.
Rank: Guest
Joined: 4/20/2021(UTC) Posts: 104
Thanks: 530 times Was thanked: 31 time(s) in 26 post(s)
I just tried that. I was quite surprised it worked. I drew up a few test splines. Saved it as IGES. Opened Notepad ++ . Imported the IGES file. Wow. I can see all the data. Looking at all the data is a bit confusing. But I looked close at line 126. I will study this more. Seems very interesting to me. I have looked close at airfoil data sheets so I have some understanding of the airfoil data plots. Super cool testing. I just opened one of Tim's files on this post and saw Sharkcad V14 for Mac. Wow its gonna happen. So excited to see version 14. Hope its not to expensive to upgrade.
Edited by user Tuesday, December 6, 2022 11:09:35 AM(UTC)
| Reason: Not specified
1 user thanked specktech for this useful post.
Punch! CAD
»
ViaCAD & Shark
»
2D Drafting
»
Exporting the Data Points of a Spline
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.