Results 1 to 3 of 3

Thread: Gradient hatching a lake

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2003-12
    Posts
    1
    Login to Give a bone
    0

    Default Gradient hatching a lake

    I would like to gradian hatch a lake in a drawing. To do this the lake would be solid all the way round the outside to nothing in the middle. I cannot get the regular gradiant hatching to do this. Any ideas appreciated..

    Fred

  2. #2
    AUGI Addict Glenn Pope's Avatar
    Join Date
    2001-05
    Location
    Austin, TX USA
    Posts
    2,201
    Login to Give a bone
    0

    Default Re: Gradient hatching a lake

    Gradient hatching, although very useful, are very limited. If you dealing with something other then a square or circle, it can get very tricky getting it to look good.

    This will require more then one hatch to do this. The quickest way I can think of is to draw a inner circle or ellipse inside the like area. The outside area would be hatched with a solid color. Then in the circle or ellipse use the gradient hatch. The darkest color of the gradient will match the solid hatch and go to white.

    If you need more of an example, post the outline of the like.

  3. #3
    Active Member richardtt33978's Avatar
    Join Date
    2002-06
    Location
    Somerset, NJ
    Posts
    86
    Login to Give a bone
    0

    Talking Re: Gradient hatching a lake

    On another forum (eng-tips) back in FEB 2003, CarlB wrote LISP for another guy.
    It was called "spray" ......

    Pretty much you load this LISP and move your cursor around as it drops points on the DWG.
    I believe if you use this LISP it will produce the effect you want. (Only downfall is the file size... and maybe the spread control ... similar to a spray paint can ....)

    Hope this helps.
    Check it out.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


    Code:
    (princ "Type SPRAY to start")
    (defun c:spray ()
       (setvar "cmdecho" 0)
       (setq CurRead T TimeTol 0.0000002)
       (setq OldTime (getvar "CDATE"))
       (while CurRead
           (setq ReadStuff (grread T 5 0)
                 NewTime (getvar "CDATE")
                 DeltaTime (- NewTime OldTime)
                 SprayFlag (if (> DeltaTime TimeTol) T nil)
           );
           (if (/= (car ReadStuff) 5) (setq CurRead nil))
           (if SprayFlag
             (progn
               (setq Pt (cadr ReadStuff))
               (entmake (list '(0 . "POINT") (cons 10 Pt)))
               ;;(command "point" Pt)
               (setq OldTime NewTime)
             );progn
           );if
        );while
        (princ)
    );defun
    Last edited by Glenn Pope; 2004-12-09 at 02:57 AM. Reason: Placed routine in code tags
    ... SMILE ... the work will always be there, but you don't have to be there .... try again tomorrow.

Similar Threads

  1. How do I model a lake
    By ededios in forum Revit Architecture - General
    Replies: 5
    Last Post: 2018-03-20, 02:44 AM
  2. Lake Town Nest:
    By Arch.Joy in forum AutoCAD Gallery
    Replies: 0
    Last Post: 2011-03-11, 02:23 PM
  3. Gradient Hatching in AutoCAD LT 2007
    By SCROSLEY in forum AutoCAD LT - General
    Replies: 10
    Last Post: 2006-09-13, 08:11 PM
  4. Gradient Hatching @ angles
    By Glenn Pope in forum AutoCAD General
    Replies: 17
    Last Post: 2005-04-02, 12:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •