DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

hatching in solid box

Started by paul craig, September 29, 2012, 05:55:33 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

paul craig

In my etch work, I need to clearly define fold lines etc. Recent experiences have led me to start using the solid box command for these. I layout the fold line top, one side and bottom. I then replace this with a solid box, and delete the original line.
next, I use the hatch command. Sometimes this works, and others not.

Various effects, complete failure if I zoom out to see the whole solid. Close in, and still sometimes fails. then zoom closer, and it fills in sections. see the attached. however, occasionally, I get jagged fills too.
What is strange is that the box on the left it worked fine, but not on the right. Why is this so illogical?

Paul

prl

#1
Paul, looked at  your drawing.  Some of it is DesignCAD.  Hatch fill relies on a closed perimeter with no leaks or else a virus spreads out across your drawing.  On the screen,  the entire perimeter must be visible or the hatch fill stops at the screen line.  Why it does this, don't know, a DesignCAD original.

However, in your drawing you don't have closed regions.   The red on the left is at least two hatches on top of each other with double red lines on top of each other.  There are no closed 2d boxes here.  On the right, you have a closed perimeter with several hatch fills.

For what you do, use the regular hatch command and set points for the perimeter.  It's safer and will fill the area within the points regardless of your screen zoom display.


Edit:  To get to all your points, first start the regular hatch command, and use the various zoom, zoom window, pan, etc.  Those commands are transparent, they work while in other commands.

magic

Hi Paul and prl,

QuoteHatch fill relies on a closed perimeter with no leaks or else a virus spreads out across your drawing.

Hatch Fill will actually accept non-closed entities, if the max size of the holes are smaller than the Hatch Aperture size.
It's a kind of magic!




Lar

Quote from: prl on September 29, 2012, 06:34:56 AM
On the screen,  the entire perimeter must be visible or the hatch fill stops at the screen line.  Why it does this, don't know, a DesignCAD original.
There is a 'use screen area' option in Hatch Fill dialog (near the end). If this is active then the fill won't go beyond the screen borders (never tried it myself). I guess it's useful for hatching around entities rather than inside them and saves you from having to draw a border to enclose the entities.

Lar

prl

The aperture setting  and screen check thing always seemed odd to me.   Define how big of a hole you want before DesignCAD blows up.  Default is "no holes" and "screen only",  both which give strange and often bad results as the hatching spreads across your drawing and locks up DesignCAD.  The "screen only" button I never understood (its value that is). 


Dr PR

I think the "screen only" thing is a throwback to the early DesignCAD. Hatch is a 2D function, and the original 2D Prodesign/DesignCAD literally drew a picture on the screen. It did not create an internal image of the entire drawing and then display only the parts that were zoomed in to. It recreated the drawing on the screen every time you made a change. Consequently, when you created hatches they were drawn only in the screen area, and this fill information was then saved with the drawing.

Not only that, "solid" fills weren't solid, they were made up of many parallel lines, just as a plotter would draw them, and the line scale depended upon how much you were zoomed in. Zoom in close and hatch and you got zillions of densely packed lines. Do the fill while zoomed way out and the fill would just be a small number of widely spaced lines. It looked like a solid fill when zoomed out, but if you then zoomed in your "solid" fill became a striped fill. It was pretty bizarre!

Later versions create a true solid fill, bit if you want it to be limited to the screen area like the original versions you have that option.

Phil
DesignCAD user since 1987

prl

Quote from: Dr PR on September 29, 2012, 05:06:54 PM
. . . is a throwback to the early DesignCAD.

Thanks.  I use to love watching my HP 7585 pen plotter in action.  I think it used a 1/1000 inch resolution.  Circles/arcs/text everything is segmented lines.  Amazing technology.  My cats liked watching it too.  Trying to remember, I think I allotted 20 minutes per plot (hoping my pens didn't run out or skip).

DrollTroll

Also, remember the Hatch Line command -- for a single closed entity like a box or polygon, it's often the surest route to satisfaction. Just be sure the point where you click on the line can't be confused with some other entity that shares that point or edge.
25 years with DesignCAD

paul craig

thanks guys. so we have this strange facility which everybody understands is quirky, and yet it still exists as a problem.

However, it seems that drawing a box, and then moving it off the drawing, leaving resident points, makes it easier to get a complete hatch. which is even weirder.

or me the biggest problem always with setting out the final etch work is that the b command which you assume and hope will make a solid line, actually does not always. It is particularly problematic when I have to cut back to intersections. it really is a PITA to have to zoom in everywhere to check whether I have "joined end points"
Paul

prl

Quote from: paul craig on October 01, 2012, 01:55:31 PM
thanks guys. so we have this strange facility which everybody understands is quirky, and yet it still exists as a problem.

Agreed.

Quote from: paul craig on October 01, 2012, 01:55:31 PM
However, it seems that drawing a box, and then moving it off the drawing, leaving resident points, makes it easier to get a complete hatch. which is even weirder

I don't know what you are saying here.

Quote from: paul craig on October 01, 2012, 01:55:31 PM
or me the biggest problem always with setting out the final etch work is that the b command which you assume and hope will make a solid line, actually does not always.

The combine command is 100% solid for me.  Never have any issues with it.  If you are having problems with non-connected corners or overlapping corners, perhaps you are using a drawing technique that isn't joining corners.  Keep an eye on how you draw and make sure you use the appropriate snap commands.


Lar

#10
Paul,

Hatch Fill is very quirky. I don't use it because chances are dcad will crash.

I would suggest you use Hatch Line. Below is a method to get an outline from  multiple entities but it would still require that you make sure all your endpoints meet properly.

(...see attached image...)
1] Duplicate the entities off to the side somewhere...
2] (Edit menu> Selection Edit> Convert...>) 'Vector Convert' any circles, arcs, ellipses, curves, etc...
3] (Edit menu> Selection Edit>) 'Smooth Line by Point Reduction (or Slope Detection)', if necessary...
4] (Edit menu> Selection Edit> Convert...>) 'Weld' entities into one... (or Edit menu> Polygon Edit> Polygon Add)
5] Now you can use Hatch Line rather than Hatch Fill.

Oh... I forgot about filling inside of areas where entities cross...

Select the 2 entities that cross and using (Edit menu> Polygon Edit>) 'Polygon Subtract' click on the part you want to keep. Use the resulting line for the 'Hatch Line'.

Lar


prl

Lar, you're becoming the Francis D. K. Ching of DesignCAD.  Now you have me waiting for the Illustrated Series, A Guide to Understanding DesignCAD all the time.

paul craig

prl.
the second para that you highlighted refers to what droll troll has said.
If you make sure you have proper location points for the original, you can copy a box, then move it off to the side of the drawing in the clear. in which case it seems to more often fill.
I use hatch fill, because it is what you assume is the best ::) the other hatch facilities i have had little success with, they seem even more sensitive to proper placement.

as for the b command, i guess it depends on whether you hatch as much as i do, and also i would remind you that should my comment not be true, there would be no need for a changing aperture size in the hatch fill command, since i guess by definition that suggests there are going to be problems.
fyi i generally use the shift e command to cut lines back to the join. however, i find the specific problem seems to occur when one is cutting the outline to a circle and an intersecting line. maybe you can suggest a simpler way?
the other time this might show is when you create an odd rectangle, and then parallel by distance (f2) to the outside, you find that the lines do not join all around this creation, which is you would think odd.

paul

prl

Paul, the combine command (b) only does combining.  It does not clean up non-intersecting corners, overlapping lines, etc.

A general note about referring to commands by their hotkeys instead of the names,  I and perhaps others don't use the standard hotkey layout so at least for me it is better to refer to the command name.

Rob S

As for offsetting " parallel by distance" rectangles to the outside, if the original rectangle is one continuous polyline, then it will always offset as a full complete joined rectangle.

If the existing rectangle consists of more than one separate line, each line will offset in a direction perpendicular to itself, so by definition, the new endpoints will not join.

To avoid this problem try drawing rectangles with the "box" tool, which gives you joined corners to starts with.

If you have created your source rectangle form individual lines, try selecting it before doing the " offset" (F2) to make sure it does select as one single joined box.
User since forever