Jump to content

Recommended Posts

Posted

hi

 

i wanna convert a 2d servy plan into a 3d plan,

meaning that ill provide all Z data according to the textual information.

 

designing a house, i need the interior rectangle stay in a fixed level while the outer recatngle is a to multiple level points.

 

i cant find a way to tackle it

please help

 

THanks

SHay

Posted

It starts with a contour map.

Posted

Remark....I have the servy map. It without z data

 

Sent from my MOBIX M6 using Tapatalk

Posted

The most common is yes its 3d. All you have is this text as Z levels or contours again with a Z value of Zero. What do you do ?

 

1 Move the contour to true elevation. move 0,0,0 0,0,Z

 

2 Various routines but bottom line they create a point with a z value equal to text value.

 

3 Make a 3d surface. And away you go.

 

; converts text to a point with xyz 
; z value equal to text
; by Alan H Nov 99

(setq oldsnap (getvar "osmode"))
(setvar "osmode" 0)

(while (not (setq ss (ssget))))     

(command "layer" "new" "txthts" "")
(setvar "clayer" "txthts")
(setvar "pdsize" 3)
(setvar "pdmode" 35)

(while (setq en (ssname ss 0))
    ; Entity type
    (setq entyp (cdr (assoc 0 (entget en)))) 

   (if (= entyp "TEXT")
   (progn
   (setq xyz (cdr (assoc 10 (entget en))))
   (setq txtht (cdr (assoc 1 (entget en))))
(princ txtht)
   (setq txtz (atof txtht))

   (setq ptxyz (list (car xyz)(cadr xyz) txtz))
   (command "point" ptxyz)
   )                         
   )                              
   ; Delete each measured entity from set
   (ssdel en ss)
;end while
)

(setvar "osmode" oldsnap)

(princ)

Posted
Remark....I have the servy map. It without z data

 

Sent from my MOBIX M6 using Tapatalk

 

You said you had the "Z" data in text form. That implies you have spot elevations. My suggestion would be to create contours using the spot elevations through interpolation then move the contours to their true elevation.

Posted

Please post in the appropriate forums. I have moved nearly all of the threads you have started. This thread had nothing to do with Cad Mangement.

 

Discussion of CAD Management, network issues, drawing standards, layer naming, backup strategies, training concepts…

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