×
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

Jobs

Convert 2d polyline into 3d polyline

Convert 2d polyline into 3d polyline

Convert 2d polyline into 3d polyline

(OP)
What are the tricks to converting a 2d polyline into a 3d polyline?

RE: Convert 2d polyline into 3d polyline

This almost sounds too simplistic, so I may be off base with what you're attempting but a 2D polyline is no different than a 3D polyline until you determine a "Z" elevation at some point along your polyline.

Draw your polyline and do a "LIST" on it. It should return a "Z" at 0,0. This should be the same whether your command was PLINE or 3DPOLY.

RE: Convert 2d polyline into 3d polyline

(OP)
With a 3dpoly one can have different elevations at each point.

I have quite a few drawings in 2d that I need to convert over to 3d for a cnc system.

I wrote a lisp routine to read the 3dpoly points and store the x,y,z, coordinates at each point into a file.

I want to get a ways from running this on a 2d polyline and hand editing the text file, putting the z values in.  If I can automate the process I could elimates some errors.

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!


Resources