Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lift up points without having to insert z coordinates ne-by-one

Status
Not open for further replies.

Rui

Chemical
Aug 28, 2001
3
Does anyone know of a lisp that will do the opposite os flatten, i mean, that will read the numbers that define the z coordinate an then pick the points and "lift" them to that coordinate? I would much apreciate if someone could give me that information: the lisp, or somewhere where i can probably find it.
Thank you.
 
Replies continue below

Recommended for you

If you give me a hint,
like from where to read the z coordinate,
- from the command line, individually?
if so, do you mean to pick each point aand type z coord?
- from a txt file where x,y are also to find?

- or another way?

I will post the lisp routine here.

 
I 've heard that there's a lisp routine that will read the numbers that designate the z coordinate (the point has effective x and y coordinates, but the z coord is only written on the screen, not effectively inserted), and then give that coordinate to the point. I think it's a bit to much to ask from a lisp routine, i don't know if it really exists. Anyway, i would be very thankful if you could give me anything you have, because NOTHING can be worst than having to edit all points, one-by-one....
Thank you
 
hey Tigrek

what about a lisp/vba that raises all points/entities a given interval

??what do you think??
 
Folks lets work on the definition of this problem a bit more:

1. Autocad has the command ELEVATION. Since the 1982 version. So this cannot be what we are looking for - namely to modify the z-coordinate of all points of a polyline at the same time.

2. Acad2000 has this fancy Properties tab where X, Y, Z of a circle center, a 3Dpoly start, and start or end of a line may be modified at will. SO, this too is not what we are looking for.

There remain the so called lightweight lwPolyLine and the 2DPolyLine which dont show z-coordinate in the properties box. So, the problem here is not how to give in a z-coordinate but it is -
HOW TO CHANGE A 2DPOLY OR LWPOLYLINE INTO 3DPOLYLINE.
If arcs and line width be ignored, I could improvise a macro to do this conversion in about two hours. But then, it is doubtful if this will be of any use.

SO, we turn around and search on the Web and here is one:


offering Poly Tools including among many manipulators of Plines,

Dialog Editor:
Edit 2D/3D polyline coordinates in a dialog.
The bitmap there shows a practical table where all XYZ of all vertices are listed and ready to be edited.

But it is not free, and I could not see a converter from 2DPoly to 3DPoly there.

So, if you agree with me that the Z-coordinate problem is rather one of converting 2DPoly and LWPoly to 3DPoly, and looking around a bit, you confirm that there is no practical tool for this, then I will improvise one either in Lisp or in VBA.

So, there
 
Folks lets work on the definition of this problem a bit more:

1. Autocad has the command ELEVATION. Since the 1982 version. So this cannot be what we are looking for - namely to modify the z-coordinate of all points of a polyline at the same time. If anything, we may want to allocate different z-coordiantes to different vertices of a polyline.

2. Acad2000 has this fancy Properties tab where X, Y, Z of a circle center, a 3Dpoly start, and start or end of a line may be modified at will. SO, this too is not what we are looking for.


3. Acad2000 has command CONVERTPOLY which is changing from/to lwpoly and 2DPoly. A similar command to change these to 3DPoly would have solved our problem because then z-coord can be modified in properties box (except for vertices )and intuitively I would expect this command to exist but I could not find it. If someone spots it, the problem is solved.


There remain the so called lightweight lwPolyLine and the 2DPolyLine which dont show z-coordinate in the properties box. So, the problem here is not how to give in a z-coordinate but it is -
HOW TO CHANGE A 2DPOLY OR LWPOLYLINE INTO 3DPOLYLINE.
If arcs and line width be ignored, I could improvise a macro to do this conversion in about two hours. But then, it is doubtful if this will be of any use.

SO, we turn around and search on the Web and here is one:


offering Poly Tools including among many manipulators of Plines,

Dialog Editor:
Edit 2D/3D polyline coordinates in a dialog.
The bitmap there shows a practical table where all XYZ of all vertices are listed and ready to be edited.

But it is not free, and I could not see a converter from 2DPoly to 3DPoly there.

So, if you agree with me that the Z-coordinate problem is rather one of converting 2DPoly and LWPoly to 3DPoly, and looking around a bit, you confirm that there is no practical tool for this, then I will improvise one either in Lisp or in VBA.

So, there
 
Good evening, GentlePeople.
Anyone come across or cleverly written a program that can turn any group of arcs, lines and polylines created in various UCS's into a 3DPolyline? Do I have to get Mechanical deskTop or can I do it in A2002....
Methinks not. Too hard, probably, given the haphazard development path of the AutoCad primatives.
I would welcome any comments!
DDB5
mailto://jeremy@creative-afternoon.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor