goldy2000 Posted April 29, 2010 Posted April 29, 2010 Hi CAD fans!!! I have a problem which goes like this... - I have raster map which I geo-referenced, and have on it contours with proper Z height (I vectorized that contours with 3D polylines and put exact height) - I noticed that 3Dpline have in the first and last vertex good height (other vertex points were on the Z=0) why?? - So now need a lisp or some other way in CAD to fix this problem with vertex... - second thing is when I have those 3d plines on exact heights to make surface of it (because I need to extract some points from newly made surface- random ones, not from the grid...) So if anybody knows something to explain me with ''common and ordinary'' language I would be happy!!! I tried to find on many forums but cannot find step by step action...Thanks in advance... Quote
lpseifert Posted April 29, 2010 Posted April 29, 2010 I defer to alanjt's post below. If you're asking how to create a surface from the contours here is a quick lesson Toolspace > Prospector > Surfaces (rt-clk) > Create Surface Expand new surface > Definition > Contours (rt-clk) > Add... follow the prompts and select the contours Quote
eldon Posted April 29, 2010 Posted April 29, 2010 - I have raster map which I geo-referenced, and have on it contours with proper Z height (I vectorized that contours with 3D polylines and put exact height) - I noticed that 3Dpline have in the first and last vertex good height (other vertex points were on the Z=0) why?? So if anybody knows something to explain me with ''common and ordinary'' language I would be happy!!! I tried to find on many forums but cannot find step by step action...Thanks in advance... Ordinary polylines can only have one elevation. 3D polylines can have a different elevation at each node. If you start an ordinary polyline with a Z value, it will keep this Z value throughout. If you start an 3D polyline with a Z value, you will have to enter a Z value at each node. It appears that you have given the first and last points a Z value, but not any of the intermediate ones, hence they are all at zero. Quote
goldy2000 Posted April 30, 2010 Author Posted April 30, 2010 C3D has 3D->2D and 2D->3D tools built in...[ATTACH]19377[/ATTACH] Thx, this helped me, but what about if you have more plines that aren't joined, and you have to pick one to one?? Hmmm...complicated, isn't it? Quote
goldy2000 Posted April 30, 2010 Author Posted April 30, 2010 I defer to alanjt's post below. If you're asking how to create a surface from the contours here is a quick lesson Toolspace > Prospector > Surfaces (rt-clk) > Create Surface Expand new surface > Definition > Contours (rt-clk) > Add... follow the prompts and select the contours Thx, sorry for this stupid question, but can you be more precise, after I go to Surface > Create surface >?? Quote
lpseifert Posted April 30, 2010 Posted April 30, 2010 Thx, sorry for this stupid question, but can you be more precise, after I go to Surface > Create surface >?? Surface > Create Surface > OK You may want to run through a tutorial or two... Help > Tutorials > Autocad Civil 3D Tutorials > Surfaces Tutorials Quote
alanjt Posted April 30, 2010 Posted April 30, 2010 Thx, this helped me, but what about if you have more plines that aren't joined, and you have to pick one to one?? Hmmm...complicated, isn't it? Not complicated at all. Wow, it only allows single selection. Ugh lazy programmers. If the PLines need to be joined, just select them with PEdit>Multiple>Join. Then you just make AutoCAD work for you.:wink: (defun c:2D>3D (/ ss) (if (setq ss (ssget "_:L" '((0 . "LWPOLYLINE")))) ((lambda (i) (while (setq e (ssname ss (setq i (1+ i)))) (command "_.[color=Red]COMMANDNAMEHERE[/color]" e) ) ) -1 ) ) (princ) ) Now, I don't have access to C3D at the moment, so I don't know the name of the command. However, if you will type the full command name in, replacing what I have colored in red, this should work. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.