Jump to content

Recommended Posts

Posted

Guys I need help!

I got this drawing that I need to hatch.

If you select the shape you can see its joined but obviousy not closed :x

Because it probably has small gaps its cousing me a problem to hatch it. How to most eficiently solve this problem? I tried gapping tolerance wich sometime work but sometimes dont. When they dont work then Autocad usualy freezes :-(

Help!

  • Replies 21
  • Created
  • Last Reply

Top Posters In This Topic

  • Butch

    8

  • chulse

    5

  • jfg

    3

  • Car5858

    2

Top Posters In This Topic

Posted

can you close the objects? it may take you making closed plines...

Posted

What I did was use the "Close" command from the PEDIT function and I was able to hatch both shapes.

Posted

I had no problem hatching both objects.

Use select objects, rather than pick point and it should work

Posted

because the ends aren't touching if you zoom WAAAAY in you'll see neither ends are touching the longer polyline

Posted

So how to quickly solve this?

If I use close option here it creates a mess :-(

Posted

Tried and gave tollerance a biger distance then the actual gap...in this case gap size is aprox. 0.2 units , tolarance was set to 0.5 and still nothing :-(

Dont get this?!

Posted

PEDIT > Multiple > Join didn't work?

(not HPGAPTOL)...?

 

then hatch by selecting the objects (not internal point)

Posted

i dont know how precise this needs to be but what I did was to click the grip at one end of the small polyline and move it away from the large one and then move it back so it snaps with the end of the long polyline. This might work better if you only have the endpoint osnap on. Repeat for the other end of the polyline and then you should be able to join everything.

 

I hope you understand what I mean.

Posted

This hatching when selecting objects work fine here, interesting.

But why picking eternal then doesnt work?! Should this be the same and work in the same fashion (closed area)?

Posted
i dont know how precise this needs to be but what I did was to click the grip at one end of the small polyline and move it away from the large one and then move it back so it snaps with the end of the long polyline. This might work better if you only have the endpoint osnap on. Repeat for the other end of the polyline and then you should be able to join everything.

 

I hope you understand what I mean.

 

If you want to avoid these problems in the future set the unit percision to the max when formating the units.

 

This is a fix that a friend of mine told me about when I was having problems with the hatching.

 

I see that you have the percision set 0.0000 in your drawing.

I will give it a try and see how it works.

Posted

OK just tried changing the unit percision to max and was able to hatch with no problems.

Posted
If you want to avoid these problems in the future set the unit percision to the max when formating the units.

 

This is a fix that a friend of mine told me about when I was having problems with the hatching.

 

I see that you have the percision set 0.0000 in your drawing.

I will give it a try and see how it works.

 

Nice tip - I'll try that next time I have trouble :)

Posted

Does this help at all?

 

(defun c:cls  (/ ss)
 (vl-load-com)
 (if (setq ss (ssget (list (cons 0 "*POLYLINE"))))
   (mapcar '(lambda (x) (vla-put-Closed x :vlax-true))
           (mapcar 'vlax-ename->vla-object
                   (vl-remove-if 'listp (mapcar 'cadr (ssnamex ss)))))
   (princ "\n<!> Nothing Selected <!>"))
 (princ))

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