Jump to content

3D polyline+vertex+surface help needed!!!!!


Recommended Posts

Posted

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!!!:shock: I tried to find on many forums but cannot find step by step action...Thanks in advance...8)

Posted

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

Posted

C3D has 3D->2D and 2D->3D tools built in...

grade.PNG

Posted

- 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!!!:shock: I tried to find on many forums but cannot find step by step action...Thanks in advance...8)

 

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. :cry:

Posted
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?

Posted
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 >?? :cry:

Posted
Thx, sorry for this stupid question, but can you be more precise, after I go to Surface > Create surface >?? :cry:

Surface > Create Surface > OK

 

You may want to run through a tutorial or two...

Help > Tutorials > Autocad Civil 3D Tutorials > Surfaces Tutorials

Posted
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.:roll:

 

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.

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...