News:

Please note new Forum URL: forum.designcad.com

Main Menu
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 1 Guest are viewing this topic.

Dr PR

The program comes with a Reference Manual. It is

DcadNN.pdf

where NN is the DesignCAD version number.

It tells how to use the "Layers" dialog. It works like an ordinary book, with an index in the back.

Phil
DesignCAD user since 1987

paul craig

touche Phil. my download did not come with a real book :-[

not sure whether my version 17 will include the same details :-[

DrollTroll

Most software these days does NOT come with a printed manual -- it's almost always in PDF format. This saves trees and money.
25 years with DesignCAD

Lar

Paul,

Sorry. I didn't realize you were unfamiliar with using layers.

Here's a quick start tutorial:

Press L to open the Layer dialog. You should see a chart type layout. There are 2000 layers, plus layer 0. If only one layer is showing then go down to 'Filter' and click the field on the side of it. Choose 'All Layers' and you will see the other layers. The field below that should be on 'Index'.

The 'current layer' is the layer where things will go no as you draw them. If you look along the header up top you will see a 'pencil' icon. Look down that column and the row the pencil is in is the current layer. Since you never changed layers then Layer 1 should be your 'current layer'. You can change it any time by clicking in the pencil column for any layer.

To turn off layers click in the 'light bulb' column for the layer you want off. A yellow light bulb is ON, a gray light bulb is OFF. You cannot turn off a layer while it is the current one. You have to make another layer the current one first.

You can also 'lock' layers by clicking in the 'padlock' column (a 'closed' padlock means the layer is locked). When you lock layers they are still visible but you cannot select anything on them. You can also disable 'Enable multi-layer editing' so only things on the current layer can be selected.

When done you must press the Enter key or click 'OK' to close the Layer dialog and for the changes you made to stick. If you press the 'Esc 'key or click 'Cancel' all the changes will be ignored.

The only bug with the layer dialog is if there is a layer that is off and you click the 'pencil' column to make it the current layer (which will turn it on) but then press Esc to cancel everything,, the layer will be off but will still be the current layer so if you then draw something it will be invisible, since the current layer is off. You would have to reopen the Layer dialog and turn on that layer for the thing to be visible.

There is a lot more to learn about working with layers but this will get you going for now.

Lar

paul craig

Thanks Lar, most of that I have actually worked through, and do though understand what you have kindly offered as help.

What I am not clear about though is how I do what you suggested earlier. When I send my work to the etch film maker, I often send him 6 or 7 layers,
what with hatch, single lines, lettering and embossed lettering. But if we take forward the idea that I am going to put the layout lines on say level 10,
and then move things on layer 1 or 2, then if I understand you, I click the padlock on layer 10, and when I output to DWG, layer 10 will not be output?

Maybe it would be useful to be able to hide individual layers rather than just hide all except the current layer, or am I missing something there too?

Paul

Kevan I agree with saving trees too!

Lar

Quote from: paul craig on June 21, 2016, 12:34:26 PM
... then if I understand you, I click the padlock on layer 10, and when I output to DWG, layer 10 will not be output?
No, layer 10 will still be exported but the layer will be off when you first open the exported DWG file.

To make sure layer 10 does NOT get exported do the following: first turn off layer 10, then select everything you want etched, then start the export command and enable 'save selected entities only' (it's at the very bottom-left so it's easy to miss... should be at the top so it's the first thing you see). This way you are sure only what you want etched gets etched.

Quote from: paul craig on June 21, 2016, 12:34:26 PM
Maybe it would be useful to be able to hide individual layers rather than just hide all except the current layer, or am I missing something there too?
You can hide any random layer, except the current layer. You can hide them one at a time by clicking the light bulb for each layer individually. Or you can shift+highlight a sequential range of layers, or ctrl+highlight a non-sequential range of layers, then right click on one of them and select 'hide highlighted layers'. To hide all but the current layer click the 'hide all' button at the bottom left.

Lar

Bob P

My layer utilities:
http://www.wwslalom.net/dc/layers.zip

Bob Putnam ([email protected])
----------------------------------------------------------------

Program: mall.d3m
Changes to Edit all layers

Program: mclo.d3m
Edit current layer only

Program cl.d3m
Makes the layer of the selected entity the current one

Program: hsl.d3m
Hide Selected Layers"
The program will hide the entities in the layers of the entities selected.
If the current layer is to be hidden, the program will ask for a new current layer.

Program: l.d3m
Changes to or changes entities to a given layer
At the command line type l <n>, where n is a layer number.
If there are entities selected, they will be changed into that layer.
If there are no entities selected, n will become the current layer.
The color will be changed to that in the colors.txt file.

Program: shl.d3m 
Displays all layers

Program ssl.d3m 
Show Selected Layers"
If no entities are selected, all layers (up to 125) but the current one are hidden
If entities are already selected, the layer of the first is made current and the rest are left visible

-----------------------------------------------------------------

The following are a group of programs that allow you to remember up to 19 layer
configurations that only associate with the current drawing.  That is, each drawing can
have its own set of "views".  They can be recalled, added, subtracted, replaced
and new ones saved.  When you save a layer state (savl.d3m), you will be asked for a short
description, which will be shown when you run the other programs. The layer states
are saved in files that are named <filename>.dv(n) where n is a letter from a-q

Program: savl.d3m
Saves the current layer state to a file for retrieval by rv.d3m, av.d3m, subv.d3m

Program: rv.d3m
Retrieves a saved layer group to display from file

Program: av.d3m
Adds a layer group to the current view

Program: subv.d3m
Removes a layer group from the current view

paul craig

very helpful guys thanks.

Mind you we still do not really know why I get some odd hatching effects when using circles and ellipses, apart from my lack of skill, after all this time!

I have been hammering on about hatch fill problems for years, so it is always fun to find yet another way to stuff it up!

At least in recent times, I have discovered how to not make things deep in the z axis when I use only 2d, and now how to consider laying out things more effectively.

I think one of my problems is that I draw the parts on one file, then copy and paste them into my etch output file, then try to fit them in my template for the
etchers. This means that sometimes I have to completely re arrange things. Then I need to hatch them. Could any of my recent problems have been caused by
the fact that I use F2 to get the etch outline, and then I use things like cut between two lines, or ctrl e to cut things, where sometimes of course the end points do not join properly. So I then use join end points but have to be careful to not make the lines misshape my parts.

By cutting into circles and then joining them again, am I creating problems for myself into the future??

Paul

Lar

Paul, let's say you are offsetting (F2) a shape consisting of an arc connected to a straight line, so you offset the arc first, then you offset the line. If the end points of the two resulting offsets do not connect that means either (1) the two original entities did not really connect in the first place, or (2) the original straight line was not a true tangent of the arc.

Both of these situations are not so easy to check but after a few times of later discovering problems, then whenever you create such shapes you should zoom in close to examine the endpoints of the offsets to make sure all is well.

One quick way of checking this (without zooming in to every connection) is to select all the offset lines, duplicate them off to the side, select the duplicates and combine (B) them, then deselect everything, then click on the combined shape to select it. If the entire shape does not get selected then some endpoints did not connect. Even if the entire shape gets selected you should check the new endpoints of the shape to see if they connect (do this by turning on Point Select Mode and holding Shift while moving the mouse around the shape. When three dots appear near the cursor that will be one of the last segments of the shape. Move the mouse over the two adjoining segments to find the other ending segment).

Lar
(sorry, there is no easy way to explain these concepts in a few words)

paul craig

Lar, as usual, you explain things very well, but you are right it is a little convoluted.

However, there are two problems with your assertions based on my previous work. Let us say I make an oblong with rounded ends, I tend to draw them
by draw ortho line, then f2 for the distance, but I also put a centre line in. then I put verticals at the required distance to allow me to draw the circles using
centre radius. I then cut them one of two ways, either ctrl e, or by using the dialogue box, and cutting them back to 90-270 or similar. I also cut the horizontals to those verticals. Then, technically, the 4 items should join, but sometimes it does not, for when I use the B command, even though it shows the coloured outline
as if being joined, sometime later, when I put hatch fill in place, it leaks, and I find there is a hole. I am aware of pixelation etc, but always felt drawing with point xyz
should give me accuracy, but it seems not so to do.

The other interesting thing for me is when you use F2 by distance to get the etch outline,on a complex shape, that second shape does not give you are complete
shape as a replica of the first, there is often a great gap somewhere. In addition, you can often get some interesting after effects. Use the attached drawing, which you will see comes up as 3 closed entities and then use F2 set at 2 units and see what effects you get. It is fun, if nothing else trying to understand why it happens.

Overall, though, I am much happier with V25 in Win 10 apart from occasionally crashing when doing too much ctrl e work it seems much more stable.
Mind you I still also have hatch fill stalls, but we have to have something to moan at don't we??????????

Paul

Lar

Paul, one quick tip right now is to create an oblong box by first drawing a 2d box of the correct height but shorten the length by the height (if 15 long by 5 high then draw 10 long by 5 high). Now fillet (F) by setting the value to half the height (2.5) and click on one side of the top line then move the mouse down to the bottom line. This will create a semi-circular fillet. Repeat for the other side.

Rather than doing a bunch of axis lines, box out the shape in straight lines then use fillet for the curved corners. This normally creates perfect connections.

Lar

paul craig

interesting idea, will try it.

I have in the past used draw circle between 3 lines, and even then, there are problems some times even there.

DT do you understand why circles drawn on centre lines, and then having straight lines at a tangent to them by distance not joining properly?

Paul

Lar

#27
Paul, I just got a chance to download your saddle.

First, let me say that when offsetting in 2d, if the results look weird somehow that's usually a sign that the original shape has problems.

So, in the 2 outside shapes:
a] Segment A-B switches back over segment B-C (ie, taking the leftmost shape, point-1 is the middle point on the right edge. This goes vertically down to point-2 then vertically up, pass point-1, to point-3). This is what causes the offset to have the weird looking segment in the center of the offset shape.
b]  I don't know if this is intentional or not but the shape is not closed. Ie, the last point goes pass point-2-which-should-be-point-1. Once you get rid of point-1 and connect the last point to what is now point-2 the offset will close properly.

Taking the center shape:
This shape is not closed either, causing the offset shape to be not closed. If you zoom in on the upper left sharp corner you will see that the last point goes pass the first point. Connect the last to the first and the offset will be a closed shape.

Paul, knowing your problem is gaps, overlaps and switchbacks you just have to double check your work as you go. Weird looking offsets is a clue that something is wrong with the original. Sometimes when points are too close and you offset inward the lines end up crossing. In this case you just have to trim away where these lines intersect. When offsetting compound shapes consisting of arcs and vectors do the combining test I described in one of my posts above.

We all have working situations that are prone to mistakes. In my case, since I work in 3d a lot, and since dcad is painfully slow in shaded mode in an intense drawing so I must work in wireframe, and since dcad does not have a shaded-mode-with-outlines, and since I prefer to model in dcad rather than Cinema 4D, I make a tremendous amount of mistakes where things are slightly out of place. To check my work I have to  do a visual orbiting check (exterior and interior) in Cinema 4D. But, rather than waiting until I'm finished modeling to do this check, I have to do this every time I finish some significant work. It's tedious but if avoids me having to make enormous corrections when I should be finished modeling.

Lar

paul craig

thanks for that Lar,

I have taken on board all of your comments and I do actually understand everything you say.

However, we come back to the point I have made in the past. I use B command a lot, and since it says the object is a single line, dummies like me
assume that it means the WHOLE item is closed. Logic suggests that is should only say single line if the end points are ALL joined, but plainly this does not
happen. What is strange though is that in some cases you can hatch fill these items, and then at other times, you cannot. Very strange.

I realise that I am dealing with items that are reproduced in 1/76 scale, so the slight movement of end points will make little difference in their shape
and appearance, it is still a bit weird to think that the make single line command does not actually do that, and you do not really know until you have a later
problem. In something like Corel draw, which I know is of a different style,at least you get a clear idea earlier in the process that certain lines are not joined.

I do accept that DCAD is great value and a really good tool with a fantastic price point, and that many of you do not really use 2D anymore, but it does
seem that having a more visible confirmation of end points earlier in the process would be a good thing for us all.

Paul

Lar

Well, Paul, first let me say, and I hope this is not inappropriate, and I don't know which side you took but "Hope you have a good Independence Day" (aka, Brexit Day).

Quote from: paul craig on June 24, 2016, 01:16:36 AM
Logic suggests that is should only say single line if the end points are ALL joined, but plainly this does not happen.
I disagree. A "single line" is just a single entity, whether the line is closed or not. If I draw a 2 point line and the points are not in the same exact place, then the line is not closed but it's still a single entity. Also, in the CAD universe, you can't use one app to judge the methods and language of another app. CAD apps are so vastly different you have to divide your brain into different entities to know how to use more that one.

To automatically draw a closed line in dcad you have to use the Plane command and enable 'save as a line' in the little dialog box (which you can do in 2d).

Since many of your lines will be made by combining, to close such a line you can use the Make Plane command (if closed dcad won't add a new segment, if open dcad will add a new segment from first to last points. You won't see the new segment until the screen is refreshed). However, you may still get weird-looking-but-correct offsets. Eg, use Make Plane on your center shape in the saddle file, then vector convert it back to a line (you can't offset a Plane), then offset it. You will get a serious 'spike' at the closed end.

Maybe someone on the forum has a macro that can close selected lines by moving the last point to the first point (it's strange I don't have one myself) but even with this you could get those weird-looking-but-correct results. Eg, if you use such a macro on the 2 outside shapes in your saddle file the last point would move from the bottom of the shape up to the middle of the vertical edge.

The good thing, like I said earlier, is that these things will point out mistakes in the original shape and it's not difficult to undo the offset or combine, correct the original shape and do the offset/combine again.

Lar