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.

moving parts from V23-25

Started by paul craig, June 18, 2016, 03:59:42 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

paul craig

As with many, I use "standard parts" that I have drawn in earlier versions, but have noticed recently that I am having problems with hatching on some of the parts I move. attached is a file which was drawn a number of years ago. The top version is what I want in terms of where the hatching is, and I have cleared the lower one
of the etch. Now when I try to get it hatched, in a number of different ways, but using hatch fill, it splinters, and some times covers bits I do not want to hatch.

I know I am good at messing up, but this is worse than previously.

If I re draw the item, then the hatch fill is fine, but that means I have to do a lot more work to re create things.

I am also having a problem with ellipses( although I am using them as ovals!) They often have spiders webs when exported into dwg
so I remove the hatch, and then when trying to re hatch, get very complex shapes, and it often splits into other places.

Any ideas gratefully received.

Paul

SFA

Paul,

This is how they opened up for me in DC25.

The look Ok but I do not know what you are looking for.

Stan
SEMPER IN EXCRETIA

paul craig

simple. try to hatch the top copy in hatch fill,and see what kind of result you get please?
can you easily hatch fill the whole shape inside and out, or do you get problems?

Paul

SFA

Paul/everyone,


These files seem to have corrupted my version of DesignCAD 25. I suggest you do not open them.

They seem to have 'broken' the layer command and even a computer restart has not cure it.

HELP!

Stan
SEMPER IN EXCRETIA

paul craig

Not sure what has happened on your machine, but it opens fine after download onto mine, which also has Win 10.

No problems with L crashing or anything. I am surprised since there are no other layers being used on either file.

Paul

Lar

SFA, I opened Paul's two files directly in v23/win10 with no side effects. Maybe it's 25 that has issues with them. I clicked 'open' and not 'save' when downloading, if that makes a difference. I just deleted both temporary files as a precaution.

Paul, I had no problems hatch-filling your drawings in v23, except the 'figure-8' one would only hatched around one of the holes (the one closest to where I clicked) and ignored the other hole. My quick work around for this was to hatch-fill within the other hole (may have to move the first one out of the way first), select the hatch and click 'use paper color' in the info box. Not sure if this would work when exporting. You may have to draw a line to divide the 2 halves and hatch-fill them separately (something I can't test anymore since I deleted the files).

One interesting thing: I redrew one of the hole as an ellipse entity but then the hatch fill 'command failed' when I clicked within the figure-8. If I clicked within the ellipse it hatched ok.

I would guess you originally used ellipse entities since your hatch has many more points that the hole lines (unless they are curve entities, but I think I checked and they are vectors). It also seems you originally used divider lines to break up the area-to-be-hatched, since your hatches are made of of individual segments. I would stick with this method, just put them on a different layer. Hope you didn't delete the divider lines in all you old files.

Lar


Lar

#6
Paul, attached is a 'figure-8' file made up entirely of ellipses that hatched filled in segments in v23. Image is also attached.

On the left is the making of the figure, in the middle is the completed figure-8, on the right is the hatch segments within the figure-8.

All individual ellipse and hatch parts are in different colors for easy visualization.

I did not draw any divider lines to get the hatch segments. Dcad did this automatically.

**Later**... I realized I should've also tested in v25 and good news: dcad25 filled the figure-8 in one go.

Lar

DrollTroll

#7
Paul, how are you drawing these shapes? Are these imports from another program? I ask, because some of them appear to be doubled back on themselves.

Select one of the top vectors of the figure 8, for example, and examine in the Info Box with Point Select Mode active.
The Info Box shows 61 points; just looking at the visible points, I count 31. Conclusion: the points go 'round from start to end, then back to start.

Any time you have extraneous points in an object, it makes it difficult for DesignCAD to properly process the object.

Re-draw the shapes so they don't overlap themselves, and trim that left-hand corner where the top and bottom half meet, and it hatches fine.

I have posted a macro to test for this kind of overlap; try my FindSwitchbacks macro  here: http://forum.designcad.com/index.php?topic=3797.msg21094#msg21094
It won't automatically fix the problem, but it can help identify which objects are so "infected".

The inner elliptical vectors seem to also be "doubled", but here the points just run around the track twice in the same direction; while that doesn't seem to be causing a problem with hatch fill, I'd suggest redrawing them as single-circuit ellipses instead of double-circuits.

DT
25 years with DesignCAD

SFA

DT,

Great to see you are getting involved!

Can you help me with my invisible layer window when I press L as a shortcut? It started once I had open Paul's files in DC25 with Windows 10.

Stan

SEMPER IN EXCRETIA

paul craig

Hi Kevan,
Nice to see you back in town.Still only using DCAD, now V25. Also Lar, thanks too.

FYI for all. I start all of my drawings by setting the x &y axis on a sheet, in my case, a white background, and the 0.0 in the approx centre of the screen, then I draw the ellipses using draw, circle ellipse. I then set the dimensions for each axis, making sure that i have drawn the ellipse on a horizontal base.

Since I will be using these on an etch pattern, and there will be at least two, I then use F2 to get my distance from, in this case, 2 units. Next I set handles at the intersections of the ellipses and the axis to allow me to have them touching, with a gap of 2 units. I use the N command to get this copy. Then, of course I need to get a copy for those on the right or left side for instance, so I re set handles on the horizontal axis rather than vertical. I then go around cutting the outer ellipses
where they intersect, so that I have the figure of eight shape outside. I then remove the vertical and horizontal axes.

Looking at what Lar says, I wonder whether I might be exacerbating my problems by drawing the ellipses and axis on the same layer. because plainly even removing them, may well cause the programme to cut through the ellipses.
Since I have always been working with DCAD by the seat of my pants, since I have not learnt before about layers, every time I do something new, I learn more.
The biggest problem is remembering which layer one is working in, and I have not ever got my head around "layout lines". Would I be right in thinking that
lines on different layers would not cause these problems? that may well be the simple answer to it all!

Paul

DrollTroll

#10
*visible* lines on different layers may still cause some confusion with Hatch Fill. If you hide those layers, probably not going to interfere with the process.

If you're going to duplicate parts to different layers, you may want to disable multi-layer editing (checkbox in the Layer dialog), and only use the Combine command on parts that are on the same layer. This may help prevent the switchbacks and double-circuit issues that this drawing exhibited.
25 years with DesignCAD

paul craig

I only tend to dup things onto another until after I have drawn the whole item. The process mentioned above, takes place on only one layer, at least, that is what I thought I was doing. I do try to draw these things on only one layer at a time, and only get into multi layer editing later in the process when undertaking the layout for the etching masks.

Paul

Lar

Quote from: paul craig on June 20, 2016, 08:43:37 AM
Looking at what Lar says, I wonder whether I might be exacerbating my problems by drawing the ellipses and axis on the same layer.
Paul, I would assume you don't want the axis lines to print. It would probably also be good not to delete the axis lines so if modifying the drawing you don't have to re-draw the axis lines. Therefore, I would put the axis lines on their own layer so I can turn them off while printing and turn them on when modifying.

Also, if using divider lines to break up the hatch fills then the divider lines must be visible when hatching. However, I would guess that you don't want these divider lines to be visible when printing. Therefore, it is best to put the divider lines on another layer and turn this layer off when printing.

Lar

paul craig

Thanks for that Lar, no for the real amateur poseur question.

I output into dwg, so similar I think to printing, but am not sure how to turn off specific layers to allow me to do that.

I guess I could do my hatching on one layer, then move the whole file to another new drawing and then move things to another layer.

Until I know more about turning off a number of individual layers, but not all, I might well try that.

Paul

SFA

Paul,

You can use the L shortcut. This brings up a window which allows you to switch layers on and off etc.

Then select a bunch of items and hit <ctrl> I.  This will bring up a window with a drop-down at the top to allow you to 'move' all of the selection to another layer.

Good luck

Stan
SEMPER IN EXCRETIA