Butch Posted June 19, 2009 Share Posted June 19, 2009 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 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! Quote Link to comment Share on other sites More sharing options...
chulse Posted June 19, 2009 Share Posted June 19, 2009 Do any of the objects have Z values? Quote Link to comment Share on other sites More sharing options...
Butch Posted June 19, 2009 Author Share Posted June 19, 2009 No z values. Quote Link to comment Share on other sites More sharing options...
chulse Posted June 19, 2009 Share Posted June 19, 2009 can you close the objects? it may take you making closed plines... Quote Link to comment Share on other sites More sharing options...
Butch Posted June 19, 2009 Author Share Posted June 19, 2009 The object looks closed...but must have a small gap somewhere...heres the file...look at it...any fast way to solve this? http://rapidshare.com/files/246314568/hatch.dwg.html Quote Link to comment Share on other sites More sharing options...
jfg Posted June 19, 2009 Share Posted June 19, 2009 What I did was use the "Close" command from the PEDIT function and I was able to hatch both shapes. Quote Link to comment Share on other sites More sharing options...
SPARKY77 Posted June 19, 2009 Share Posted June 19, 2009 I had no problem hatching both objects. Use select objects, rather than pick point and it should work Quote Link to comment Share on other sites More sharing options...
Butch Posted June 19, 2009 Author Share Posted June 19, 2009 ok I see it! Thanx! Whats up with this guy? http://rapidshare.com/files/246321604/h2.dwg.html Why this object sometimes wont join when you use pedit, join Quote Link to comment Share on other sites More sharing options...
jfg Posted June 19, 2009 Share Posted June 19, 2009 because the ends aren't touching if you zoom WAAAAY in you'll see neither ends are touching the longer polyline Quote Link to comment Share on other sites More sharing options...
Butch Posted June 19, 2009 Author Share Posted June 19, 2009 So how to quickly solve this? If I use close option here it creates a mess :-( Quote Link to comment Share on other sites More sharing options...
chulse Posted June 19, 2009 Share Posted June 19, 2009 Can you use PEDIT> Multiple, then Join with a tollerance? Quote Link to comment Share on other sites More sharing options...
Butch Posted June 19, 2009 Author Share Posted June 19, 2009 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?! Quote Link to comment Share on other sites More sharing options...
chulse Posted June 19, 2009 Share Posted June 19, 2009 PEDIT > Multiple > Join didn't work? (not HPGAPTOL)...? then hatch by selecting the objects (not internal point) Quote Link to comment Share on other sites More sharing options...
jfg Posted June 19, 2009 Share Posted June 19, 2009 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. Quote Link to comment Share on other sites More sharing options...
Butch Posted June 19, 2009 Author Share Posted June 19, 2009 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)? Quote Link to comment Share on other sites More sharing options...
Car5858 Posted June 19, 2009 Share Posted June 19, 2009 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. Quote Link to comment Share on other sites More sharing options...
Car5858 Posted June 19, 2009 Share Posted June 19, 2009 OK just tried changing the unit percision to max and was able to hatch with no problems. Quote Link to comment Share on other sites More sharing options...
chulse Posted June 22, 2009 Share Posted June 22, 2009 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 Quote Link to comment Share on other sites More sharing options...
Lee Mac Posted June 22, 2009 Share Posted June 22, 2009 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)) Quote Link to comment Share on other sites More sharing options...
Butch Posted June 23, 2009 Author Share Posted June 23, 2009 Lee Mac whats that? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.