Jump to content

Recommended Posts

Posted

Hi,

 

Please can someone tell me if it's possibe to do a solid hatch to an object which was drawn with a "zig zag" line type and get it to fill to the edges of the wavey line, rather than just to the centre line?

 

Thanks,

 

Alex

Posted

Select all the object of where you want the hatch to set a boundry then hatch it :)

Posted

Thanks Zorg,

 

This is the problem I'm getting:

 

zigzag.gif

 

Is there a way to get it to hatch 'to the teeth' of the line, not the centre line?

 

Alex

Posted

If you really really want to hatch into the teeth, here is a way, but not very simple. First explode the line with the Lisp LNEXP, then join up all the individual zigs, and then you can hatch into the teeth. I would not like to do this more than once :shock:

ZigFill.jpg

lnexp.lsp

Posted

Thank you for the reply Eldon, that's very helpful.

 

I hadn't realised it was not straight forward.

 

I'll give it a go!

Posted

having exploded the line, can you convert one secment to polyline (PEDIT) and use the join option?

Posted
having exploded the line, can you convert one secment to polyline (PEDIT) and use the join option?

 

The line segments of the zig-zag line are not continuous when the line is curved. So when exploded there are lots of zig segments and lots of zag segments with gaps between. I tried the multiple option of Pedit with the fuzz set to 0.1, and it did not do a complete join and I reverted to dragging ends around and then joining. That is why I said I would not want to do it many times :cry:

Posted

tried using a polyjoin lisp? here's one LeeMac made for me..

 

(defun c:pj(/ l1 l2 fz)
 (setvar "PEDITACCEPT" 1)
  (if
   (and
     (setq l1(entsel "\nSelect first line > "))
     (setq l2(entsel "\nSelect second line > "))
     (setq fz(distance(cadr l1)(cadr l2)))
     (vl-cmdf "_.pedit" "_m" (car l1)(car l2) "" "_j" "_j" "_a" fz "")
   ); end and
   (c:jln)
   ); end if
 (princ)
 ); end c:jln

 

Z

Posted
The line segments of the zig-zag line are not continuous when the line is curved. So when exploded there are lots of zig segments and lots of zag segments with gaps between. I tried the multiple option of Pedit with the fuzz set to 0.1, and it did not do a complete join and I reverted to dragging ends around and then joining. That is why I said I would not want to do it many times :cry:

I'm glad I don't use zig zag lines then :)

Posted

^^ me too. That is a lot of work for the end result.

Posted

thank you it works fine:)

Posted

What I decided to go for in the end was the revision cloud tool, which gave the kind of effect I wanted, and it filled to the 'arcs'.

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