Lift up points without having to insert z coordinates ne-by-one
Lift up points without having to insert z coordinates ne-by-one
(OP)
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.
Thank you.





RE: Lift up points without having to insert z coordinates ne-by-one
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.
RE: Lift up points without having to insert z coordinates ne-by-one
Thank you
RE: Lift up points without having to insert z coordinates ne-by-one
what about a lisp/vba that raises all points/entities a given interval
??what do you think??
RE: Lift up points without having to insert z coordinates ne-by-one
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:
http://www.dotsoft.com/index.htm
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
RE: Lift up points without having to insert z coordinates ne-by-one
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:
http://www.dotsoft.com/index.htm
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
RE: Lift up points without having to insert z coordinates ne-by-one
RE: Lift up points without having to insert z coordinates ne-by-one
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