News:

New TurboCAD Mac 2D/3D Training Essentials

Main Menu

importing points or splines or lines or other ascii data on TC7 pro

Started by ijeffsc, September 30, 2014, 05:12:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ijeffsc

Hi all,

What I'm trying to do is import a series of points from which I'd like to create a line (spline) and then extrude a shape.

The shape or the points on this shape are reasonably complex and too numerous to consider hand entry  (say 100)

I tried the spline import and a few others but they seem to fail silently.  I have tried text files in Mac, Unix and Dos formats so far with x,y,z coordinates one per line in a csv format without quotes.

Creating a spline then exporting also seemed to fail silently.

Is there a method to reliably import XYZ coordinates of any kind?
Tips on exactly what the file format would look like in textedit?

IJ
TC Mac Pro 7

JBorlaug

Hi IJeff! Welcome to the forum!
Sounds to me your importing airfoils.First of all, UICC has DWG for all the 'old school' foils-a few of Drellas are not listed. all the others, though
here's a handful of Epplers if ya need them.the only other route is take the time to learn the Xflyer, and have those exported in dwg/dxf.

ijeffsc

Close guess!  I was going to use airfoils as an example.

Unfortunately what I'm trying for is a bit more obscure it is the shape of a compound parabolic concentrator.  These need to be custom generated although perhaps they scale in some way.

I realized I was pretty close to being able to make these as I have access to a 3D printer and if TurboCad will behave I should be able to extrude such a shape and export to STL for printing.

I was musing about generating a DXF of the data but looking at the DXF format made my head hurt :-).

Are the import functions in TC7 working and temperamental or just non-functional?
The other import that looked promising was the macro import though my simple attempts didn't yield any fruit either.

Ian

Update:  I tried importing the DXF airfoils - seemed to work just fine although they come in as lines not smooth curves.
TC Mac Pro 7

JBorlaug

Yes. primary 'foils are lines,when going to laser files, they need to be converted to radii and ( spar notch lines.can you take a picture of the datas and trace? also i have a vid in the video sections of PDF to CAD program, but they need to be vectored lines as base data.
Johnny

ijeffsc

Excellent!  I shall give that a try also.

Also solved for spline import (TC7 Mac Pro)

In the mean time for others in this predicament I was finally able to import a spline file thanks to a note to/from support.  The spline file needs to be space delimited numbers.  Per support (David Gari and Rip Fowler) 3 numbers separated by spaces and without specific EOL (mac, unix, dos) works fine.

What surprised me most was the fact that as far as I can tell during a CSV import TC failed silently reporting "spline imported" or something though no such thing occurred.  I'm attaching the sample file I had been playing with for those of you interested in CPC data and spline imports.  File extensions do seem to matter in this case the spline is in a .txt file.

Many thanks for all your contributions.  Hope this info is helpful for someone.

Ian
TC Mac Pro 7

JBorlaug

Could you guys post a screenshot? I'm not trackin' with story @ all!= old dog sleepin too much! ;D

JBorlaug

Thanks for simplifying that! wow this old dog can learn that trick! ;D

ijeffsc

Another item of interest regarding splines.  As far as I can tell the import in TC7 at least is always in decimal inches.  I'd assumed that if my drawing units were in mm then the import would be in mm however that doesn't seem to be the case.  Not a big deal once I realized what was happening.

Any other experiences?  It would be nice to be able to specify units somehow but scaling in TC or regenerating numbers is not a big problem.
TC Mac Pro 7