TheSwamp

CAD Forums => CAD General => CAD Standards => Topic started by: francinez on May 08, 2015, 09:42:01 AM

Title: Problem by boundary between blocks
Post by: francinez on May 08, 2015, 09:42:01 AM
Hi,
I have problem by doing a boundary in the center of those 4 blocks (attached dwg), I have to hatch this area.
Have somebody an idee how to resolve this problem?
The solution that I use actually is to explode everything, make a polyline and do the hatch.
Many thank for your help
Francine
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 10:15:51 AM
Use pick internal point option:

Command: HATCH
Select objects or [picK internal point/Undo/seTtings]:

If you have trouble with some boundaries not being defined, look at upping the HPGAPTOL (http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-E58FDE75-CDB6-4625-83A8-D0BA4CF6A96A) variable.

Welcome to TheSwamp :)
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 10:18:55 AM
I couldn't get a valid boundary with pick point even after changing the gap setting.
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 10:21:06 AM
I couldn't get a valid boundary with pick point even after changing the gap setting.
What version of CAD are you on? It worked for me with HPGAPTOL set to 0 and 1.
Title: Re: Problem by boundary between blocks
Post by: francinez on May 08, 2015, 10:27:47 AM
I tested the hatch command after setting HPGAPTOL to max: 5000 (Autocad 2013) and I get an error message: A closed boundary could not be determined.
Is something wrong with the blocks?
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 10:36:48 AM
Same here on MEP 2014.
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 10:47:53 AM
ron, when I open your file, I see your hatch fine in the preview, but after opening, it changes to this.
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 11:09:54 AM
Works without a hitch on 2016.
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 11:15:18 AM
Works without a hitch on 2016.

I don't doubt it but when I open it, the hatch changes. We still don't know what version the OP is using. I wonder if something was fixed with hatches. It will be a while before I can test it in 2016.
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 11:26:40 AM
OK the issue is that the geometry is somehow 3d and not parallel with the world UCS

To RESOLVE

Opened each BLOCK in block editor
Closed the open polyline(s)
used FLATTEN command without hidden line removal
Saved changes to block and hatch then worked as expected.
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 11:33:53 AM
Works without a hitch on 2016.

I don't doubt it but when I open it, the hatch changes. We still don't know what version the OP is using. I wonder if something was fixed with hatches. It will be a while before I can test it in 2016.

I tested the hatch command after setting HPGAPTOL to max: 5000 (Autocad 2013) and I get an error message: A closed boundary could not be determined.
Is something wrong with the blocks?
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 11:34:48 AM
Just like selecting objects, it doesn't work here.
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 11:36:32 AM
Just like selecting objects, it doesn't work here.
did you flatten all the geometry in all the blocks.???..there are at least three (3) different blocks in that assembly.
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 11:38:03 AM
...
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 11:38:51 AM
It doesn't work.
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 11:39:27 AM
It's not a version issue .. works fine for me in AutoCAD 2009. Must be a variable I set in the background to maintain consistency.
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 11:43:27 AM
works here after flattening the geometry inside those blocks...and hpgaptol is jack up to 5000 (?) v2014
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 11:48:45 AM
LOL .. it even works in AutoCAD 14 for me....

Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 11:52:36 AM
I wonder what setting it is.
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 11:54:38 AM
I wonder what setting it is.
Well it's not HPGAPTOL since that was introduced in 2005 :)
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 11:58:22 AM
I don't do much hatching and I've got a fairly fresh install so they should all be OOTB defaults. Maybe it's something to do with the MEP stuff. On the other hand, we still haven't heard back from the OP.
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 12:07:40 PM
Dumb question but .. is everything visible in the screen when picking the internal point? I can only replicate the issue when I zoom into a corner and pick.
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 12:14:49 PM
it occurred hear even with everything visible

hmm might this point to TREEDEPTH being set differently? DEFAULT 3020 set here
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 12:18:55 PM
Dumb question but .. is everything visible in the screen when picking the internal point? I can only replicate the issue when I zoom into a corner and pick.

Yes, everything is visible. Don't forget that when I opened your drawing with the hatch, it changed.
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 12:21:08 PM
Dumb question but .. is everything visible in the screen when picking the internal point? I can only replicate the issue when I zoom into a corner and pick.

Yes, everything is visible. Don't forget that when I opened your drawing with the hatch, it changed.
What happens when you open this one?
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 08, 2015, 12:23:51 PM
Same exact thing
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 12:26:46 PM
I'm out of ideas *shrug*
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 12:27:55 PM
first I deleted your Hatch area (it was fine)

then I attempt to hatch see attachments below

Error Message

Then Resultant


Edit blocks
Flatten the geometry
Hatch works fine
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 12:32:16 PM
Still makes no sense that it works for me on 3 different versions of AutoCAD.
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 12:33:25 PM
Still makes no sense that it works for me on 3 different versions of AutoCAD.
you're special that way 
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 12:37:00 PM
Still makes no sense that it works for me on 3 different versions of AutoCAD.
you're special that way
Not as special as you...
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 08, 2015, 12:38:59 PM
Still makes no sense that it works for me on 3 different versions of AutoCAD.
you're special that way
Not as special as you...
no you're speacial
Title: Re: Problem by boundary between blocks
Post by: ronjonp on May 08, 2015, 12:41:52 PM
Still makes no sense that it works for me on 3 different versions of AutoCAD.
you're special that way
Not as special as you...
no you're speacial
Your spelling is special  ;D
Title: Re: Problem by boundary between blocks
Post by: francinez on May 11, 2015, 07:45:43 AM
Hello everybody,

Many thank for all your answers, I have tested your proposition, some works but I have to find I way to do it more systematic.

Regards
Francine
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 11, 2015, 10:06:41 AM
How are you generating those cut sections of what appears to be a metal curtain wall assembly? (Extruded Aluminum Sections)
So I must ask where are those extrusions coming from?  Inventor or other?

The 'problem' is originating there...as it is creating sections that are not in the same plane, thus the need to flatten them to get hatch to work properly.
Title: Re: Problem by boundary between blocks
Post by: francinez on May 11, 2015, 10:35:05 AM
Yes these are aluminum profiles rolled with thermalbreak, we get about 200 drawing (dwg files) from the supplier.
So I will check all those drawings.
Many thank

Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 11, 2015, 10:38:53 AM
Yes these are aluminum profiles rolled with thermalbreak, we get about 200 drawing (dwg files) from the supplier.
So I will check all those drawings.
Many thank

I would ask them what software is being used to generate those sections?


Could be there is a better export method to give you the sections in a more 2d format for your needs.
Title: Re: Problem by boundary between blocks
Post by: francinez on May 21, 2015, 11:28:32 AM
Hello,

I put everything to Z=0 but I can't boundary this internal part...Have somebody a solution?

Best regards
Title: Re: Problem by boundary between blocks
Post by: Rob... on May 21, 2015, 11:41:48 AM
Okay, there was a lot of discussion here that suggested the issue may be related to using a vertical product. What flavor of AutoCAD are you using? Look into setting up as vanilla CAD and see if the hatch will work.
Title: Re: Problem by boundary between blocks
Post by: Jeff H on May 21, 2015, 11:56:38 AM
Use pick internal point option:

Command: HATCH
Select objects or [picK internal point/Undo/seTtings]:

If you have trouble with some boundaries not being defined, look at upping the HPGAPTOL (http://help.autodesk.com/view/ACD/2016/ENU/?guid=GUID-E58FDE75-CDB6-4625-83A8-D0BA4CF6A96A) variable.

Welcome to TheSwamp :)

Man I had someone bitching that I used hatches for ceiling grids, until I showed them with HPORIGINMODE, HPGAPTOL, HPBOUNDRETAIN, was 10 times faster and also saved bunch time in Agi32 using closed polylines to create areas.

Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 21, 2015, 12:28:22 PM
Hello,

I put everything to Z=0 but I can't boundary this internal part...Have somebody a solution?

Best regards

use flatten instead...and if these are blocks as last time...go into block editor and flatten the objects there as well
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 21, 2015, 12:31:48 PM
zoom in to limit number of objects on screen...

HPGAPTOL set to 500

Pick internal point = success

Also Island detection set to NORMAL
Title: Re: Problem by boundary between blocks
Post by: francinez on May 22, 2015, 04:33:31 AM
Hello,

Yesterday a put the HPGAPTOL to 5000, it doesn't work....today I change the HPGAPTOL to 500 and it works ....I understand nothing...
Is it coming from the Island detection?
I am working with Autocad 2013!

Best regards
Title: Re: Problem by boundary between blocks
Post by: francinez on May 22, 2015, 05:05:01 AM
I understand nothing: boundary doesn't work, than I zoom in out sometime and now bounday works. it is totally crazy
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 22, 2015, 09:02:17 AM
I think it really has to do with the complexity of the geometry....

crazy I know...

because of the fit tolerances of those parts they fit...to the point of almost NOT touching even where they technically do touch, but only at a very small point.
Title: Re: Problem by boundary between blocks
Post by: francinez on May 22, 2015, 09:22:50 AM
Do you know a way to override this problem? I need a approximativ contour that is possible to hatch
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 22, 2015, 10:15:49 AM
not sure if you will be 'allowed' to do this; as I do not know the intended purpose of your drawings

however this appeared to work, and the 'solution' may require this to be done to different components for differing assemblies

However what I did;

set hpgaptol back to 0

took the two outside components, and used the midpoint of that little line @ center of the feature as a base point I scaled the component 1.00000001
this was enough to allow the hatch operation to proceed normally

If yours are not drawings used to manufacture this item it should not cause any harm
Title: Re: Problem by boundary between blocks
Post by: mjfarrell on May 22, 2015, 10:18:51 AM
one could even resort to  NON ASSOCIATIVE Hatch boundary....

offset your features something like 0.0000001

HATCH

then delete the offset objects
Title: Re: Problem by boundary between blocks
Post by: francinez on May 22, 2015, 11:17:54 AM
Thank you for your help, I will test your proposition next week.