Jump to content

contour line help


Recommended Posts

Posted

hi people thank u very much for this great forum

iam a new autocad beginner i barely draw in it

but i know most of the commands

i have a graduation project and it ihas a contour lines

i should draw an intermediate lines between those contours as an average level(between every two lines i have to draw and intermediate one)

could anyone help me in that

i tried to draw it with spline but when i did offset it explodes to aloooooot of points which make modification really tough

iam using autocad 2007

lay out.dwg

  • Replies 23
  • Created
  • Last Reply

Top Posters In This Topic

  • casualmasters

    10

  • Lee Mac

    8

  • eldon

    4

  • CarlB

    2

Popular Days

Top Posters In This Topic

Posted Images

Posted

Is there any chance you could upload a drawing in 2000 format please, so that those of us with earlier ACAD versions could have a stab at it please :P

Posted

iam sorry i forgot to save it in autocad 2000

as i said before iam a beginner :D

i compressed it as it exceeds the forum upload limits

lay out 2000.zip

Posted

yes why not

as iam waitnig for your help :D

Posted

With such wavy contours there is no way to know where the intermediate elevation levels would be. I would just eyeball it, draw a polyline midway between them. For more precision, you could draw several short lines from contour to contour, approx perpendicular. Then use these construction lines to draw the intermediate contour, snapping to "midpoint" of lines.

Posted

I have a graduation project

 

This is why it is tough. The spline node points do not follow the contour lines, so the whole drawing seems fabricated and not a real situation. So a bit of hard work seems to be needed - unless Lee Mac is inspired :unsure:

Posted
Excuse me?

sorry i mean iam waitng for your help

so i have to do anything you want to help me

iam sorry again

Posted
This is why it is tough. The spline node points do not follow the contour lines, so the whole drawing seems fabricated and not a real situation. So a bit of hard work seems to be needed - unless Lee Mac is inspired :unsure:

hey man iam a beginner can you explain a little more for me

Posted
sorry i mean iam waitng for your help

so i have to do anything you want to help me

iam sorry again

 

iam sorry again mr lee english isn`t my native language so

if my words have any thing bad

for sure i don`t mean it

Posted

I have made a LISP that will draw a pline equi-distant between two splines just doing finishing touches, should help somewhat...

Posted

hey guys it seems to be that the first problem is solved by the help of carlB and lee BUT now how can i edit the contour which i had drawn in between ...it explodes into alot of points after i make offset with an aproximated distance i have chosen between contour lines is thier any techniques to modify it easly

Posted

Have made this... but it draws the correct pline, then loops - can't work out why :cry:

 

(Have ctrl-c at the ready when testing...)

 

(defun c:off (/ vLst oVar aEnt bEnt acy i pnt nrpnt)
 (vl-load-com)
 (setq vLst (list "CMDECHO" "OSMODE" "CLAYER")
   oVar (mapcar 'getvar vLst))
 (setvar "CMDECHO" 0) (setvar "OSMODE" 0)
 (if (not (tblsearch "LAYER" "INTERMEDIATE"))
   (command "-layer" "M" "INTERMEDIATE" "_C" "15" "INTERMEDIATE" "")
   (setvar "CLAYER" "INTERMEDIATE"))
 (if (and (setq aEnt (car (entsel "\nSelect First Contour... "))
        bEnt (car (entsel "\nSelect Second Contour...")))
      (= "SPLINE" (cdadr (entget aEnt)) (cdadr (entget bEnt))))
   (progn
     (setq acy 10.0 i 1.0)
     (command "_pline")
     (while (setq pnt (vlax-curve-GetPointAtDist aEnt (* i acy)))
   (setq nrpnt (vlax-curve-GetClosestPointTo bEnt pnt))
   (command (polar pnt (angle pnt nrpnt) (/ (distance pnt nrpnt) 2)))
   (setq i (1+ i)))
     (command))
   (princ "\nNo Spline Selected or this isn't a Spline..."))
 (mapcar 'setvar vLst oVar)
 (princ))
   

 

Any suggestions? - I have mulled over it and cannot work out why it keeps looping, there must be something so simple.

Posted

-don't explode it

-modify it by highlighting grips, click & drag them

Posted
iam sorry again mr lee english isn`t my native language so

if my words have any thing bad

for sure i don`t mean it

 

No worries, casualmasters - it just seemed a bit "forceful".

 

But, don't worry, I just took it the wrong way o:)

Posted

my problem is i can`t modify the offseted contour as it has alooooot of point and for this i can`t grip all this points

 

all i need is after i make offset to the contour line by the aproximated distance i have chosen i want to modify it a little bit and for this i can`t

Posted

You are getting a lot of grip points by offsetting a spline. If you convert the splines to polylines by using FLATTEN from Express tools, you can then offset and you do not get so many grip points. Then use PEDIT and decurve the polyline. Drag the grip points to where you want them and then using PEDIT again, fit curve. :)

Posted
You are getting a lot of grip points by offsetting a spline. If you convert the splines to polylines by using FLATTEN from Express tools, you can then offset and you do not get so many grip points. Then use PEDIT and decurve the polyline. Drag the grip points to where you want them and then using PEDIT again, fit curve. :)

 

would you please tell me how to do this

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