×
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

Importing Points?

Importing Points?

Importing Points?

(OP)
There has to be a quick way of importing an ascii or a text file of x,y,z coordinates into UG and plotting them as points in space, right?

Does anyone have any leads before I start plotting points one by one?

Thanks,

Tim

RE: Importing Points?

Are you wanting to import JUST the points, or are you going to create a surface or spline from the points?

Regards,
Grant
Aerospace Engineer

RE: Importing Points?

(OP)
Well, either one.  If I can just get a set of points to plot in space, I can easily grab them all and run a spline through them.  In the end though, what I need is a set of points with a spline running thru them.

Thanks alot for any help.  I just found these forums and am liking what I see when I am browsing through the different threads.

Sincerely,

Tim

RE: Importing Points?

Welcome to the forum.  A quick piece of advice, make sure you search through the topics before posting a new topic.  Chances are, you'll find that your problem has already been addressed.  Don't feel bad though, I'm as guilty as anyone!  :)

Anyway, when you go to create a spline, there is an option "Points from File" you can use to import a spline from points.

You can do this in either sketch or modeling...

Check out the documentation inside of UG, its pretty useful (which isn't always the case)...

Regards,
Grant
Aerospace Engineer

RE: Importing Points?

(OP)
COOL!

Ok, I searched all over the place for "importing" points, but now I found that UG calls it "inputting" points.  Very cool.

This is exactly what I needed.  I made the apline, then I just plotted a point set on the spline's knot-points to show the points like I needed.

Thanks a million,

Tim

RE: Importing Points?

tjjohnson, if you have a text file of x,y,z cordinates ... say for example
1,2,3
2,1,3
2,4,4

then you quickly convert it into a grip file with some modifications in the file
p(1)=point/1,2,3
p(2)=point/2,1,3  etc

 and then run the grip program in Ug to import all the points. Now this is one of the many other options.

San-j
Automotive.

RE: Importing Points?

-Make an excel spreadsheet with your data points, file, saveas, formatted text (space delimited, *.prn), save, ok, yes
-close excel file
-in windows explorer, rename to *.dat
-(Import the points in the form of a spline.)
-Model, Insert,curve, spline, (multiple segments on), through points, points from file,ok, cancel
-now the spline will appear with the points on the spline.
-Now you will create the point set from the spline points.  Insert, curve, point set, spline knot points, select the spline, cancel
-the points are now detached from the spline, delete the spline to show them.

Good luck,
Vince

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! Already a Member? Login


Resources

White Paper - Strategies to Secure Connected Cars with Firewalls
White-hat hackers have demonstrated gaining remote access to dashboard functions and transmissions of connected vehicles. That makes a firewall a vital component of a multilayered approach to vehicle security as well as overall vehicle safety and reliability. Learn strategies to secure with firewalls. Download Now
White Paper - Model Based Engineering for Wire Harness Manufacturing
As complexity rises, current harness manufacturing methods are struggling to keep pace due to manual data exchanges and the inability to capture tribal knowledge. A model-based wire harness manufacturing engineering flow automates data exchange and captures tribal knowledge through design rules to help harness manufacturers improve harness quality and boost efficiency. Download Now
White Paper - What is Generative Design and Why Do You Need It?
Engineers are being asked to produce more sophisticated designs under a perfect storm of complexity, cost, and change management pressures. Generative design empowers automotive design teams to navigate this storm by employing automation, data re-use and synchronization, and framing design in the context of a full vehicle platform. Download Now
eBook - Simulation-Driven Design with SOLIDWORKS
Simulation-driven design can reduce the time and cost of product development. In this engineering.com eBook, we’ll explore how SOLIDWORKS users can access simulation-driven design through the SOLIDWORKS Simulation suite of analysis tools. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close