Jump to content

Can't hatch....gaps in boundary


Recommended Posts

Posted

I've tried regening and that didn't take care of it. Just a simple rectangle box that is definitely closed in all 4 corners. What is the fix for this?

Posted

Are you sure that it is closed?

Try extending/trimming the lines to each other.

 

If it still says that there are gaps then I would suspect that one ore more lines is not in the same plane; list the lines and check the Z values of the endpoints.

Be careful with the precision, set LUPREC to 8 before listing; even if it says that Z=0.0 it could actually be 0.00000001.

 

If you have Express Tools loaded you can use the FLATTEN command to get them all on Z=0, if not you you can change them in the properties window.

Posted

:lol: Draw a new rectangle.

 

If the rectangle is all seperate lines then turn them into polylines and join them.

Posted

Doesn't sound like the boundary is closed. Are you sure?

 

Simple rectangle box? Think I would try redrawing the box.

Posted

pedit is working thanks

Posted
:lol: Draw a new rectangle.

 

If the rectangle is all seperate lines then turn them into polylines and join them.

 

 

how do you do that?

Posted

Alternatively, this:

 

(defun c:jp (/ *error* vars old ss)
 ;; Lee Mac  ~  11.04.10

 (defun *error* (msg)
   (mapcar (function setvar) vars old)
   (or (wcmatch (strcase msg) "*BREAK,*CANCEL*,*EXIT*")
       (princ (strcat "\n** Error: " msg " **")))
   (princ))

 (setq vars '("CMDECHO" "PEDITACCEPT") old (mapcar (function getvar) vars))
 (mapcar (function setvar) vars '(0 1))

 (if (setq ss (ssget "_:L" '((0 . "ARC,LINE,LWPOLYLINE"))))
   (command "_.pedit" "_M" ss "" "_J" "" ""))

 (mapcar (function setvar) vars old)
 (princ))

 

EDIT: Arghh... LT

Posted

Come on, some of us have to use LT because our bosses are cheapskates.

 

Makes thing interesting to work out how to do things with macros and scripts instead of lisps.

Posted
Come on, some of us have to use LT because our bosses are cheapskates.

 

Makes thing interesting to work out how to do things with macros and scripts instead of lisps.

 

True, I was trying to get this to work :geek:

 

[PEdit Join]^C^C_.PEDIT;_M;\;$(if,$(and,$(=,$(getvar,PEDITACCEPT),0),0),_Y;)_J;;

Posted
True, I was trying to get this to work :geek:

 

[PEdit Join]^C^C_.PEDIT;_M;\;$(if,$(and,$(=,$(getvar,PEDITACCEPT),0),0),_Y;)_J;;

Pause doesn't really work for ssget style selections. The best method is to envoke the Select command, select the lines, then you can use "P" (previous) in your pedit selection.

Posted
I've tried regening and that didn't take care of it. Just a simple rectangle box that is definitely closed in all 4 corners. What is the fix for this?

Is the entire 'rectangle' displayed when trying to hatch?

Are you picking a point within the 'rectangle'?

 

Using selection instead of picking an point within objects will remove a lot of issues.

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