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.

alignment in 2d

Started by paul craig, June 04, 2016, 12:58:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

paul craig

I have recently come back to renew some old drawings, for my etching work, and decided to re draw the attached.

The whole drawing was done in 2d in the X Y plane, and yet when you go to 3d, the centre holes are behind the drawing,
this makes no sense to me, or you perhaps?

I have tried using selection edit, bring to the front, or alignment, and none of them bring the small circles into the xy line?

What am I doing wrong this time?

Paul

paul craig

Another interesting effect from this process.

Since I am producing this work for etching, I need to adjoin pieces, then tab them to stop them falling out.
My normal practice is to draw the items as per the drawing, set them on centre lines, at the required distance, then use the F2 command for distance to get the detail around the
etch, set to two, and somehow, I expect the intersections to be in line, but as you can see, they are not. Now since all 4 brake blocks are a copy. and are precisely set apart,
what am I doing wrong, or is this something the DCAD does not do properly?

what is more interesting is that the bottom one seems not to be the same as the top one, within the red circles?

what do you think?

Dr PR

paul,

Sometimes things in a 2D drawing get non-zero Z values, even though Z values don't show in 2D. No one knows how this happens, but some people never see the problem and others see it often. When you switch to 3D everything isn't in the same plane.

There is a simple fix. Execute the "FlattenZ.d3m" macro (attached). This will set all Z values to zero so everything is in the XY plane.

****

It isn't a good idea to try to use the F2 "Parallel by Distance" function in 3D. The results are unpredictable. Sometimes it works and sometimes it doesn't. To improve the odds rotate the view so you are looking perpendicular to the plane of the line to which you are trying to create a parallel. Good luck.

It would be better to generate the parallel lines while you are in 2D mode.

Phil
DesignCAD user since 1987

paul craig

Thanks Phil
Just a note, I do not use parallel by distance in 3d, rather since we saw this problem late last year, I have checked my work in 3d after drawing, to see whether there were any
items that were not in plane.

To me, the most important thing is why parallel by distance gives a different result from the two items side by side when they are actually an original and copy.

Paul

Rob S


QuoteTo me, the most important thing is why parallel by distance gives a different result from the two items side by side when they are actually an original and copy.

Side by side in 3D space depends on where you are looking from.

So unless you are looking directly front view at your working plane, side by side might look right, but in fact be side by side in a different plane.

Also of course, if you offset a 2D multi-segment line in a direction other than its own plane, then you can get very different results.  Perpendicular to its own plane give you a copy, but any other angle changes the length of the segments.
User since forever

paul craig

Come on guys, I am not saying I use parallel by distance in 3d. The comments about 3d are to do with the fact that something produced in 2D does still not create a drawing which is flat
in both.

The parallel by distance problem is trying to understand why putting two copies of the same item next to each other, and then using F2, does not produce both copies the same when
enlarged. But that is all done in 2D, not using 3D at all.

Paul

Rob S

Still not totally sure I understand your question.  There is nothing wrong with using F2 in 3D either.

Anything created in 2D SHOULD have a  Z co-ordinate of zero, however apparently there are some unusual circumstances where this does not happen, I can't actually think of any right now.

If you use F2 on a single straight line, you will get an exact copy x distance away.

If you use F2 on a multi-segment line, the result will not be a copy, because each segment is offset parallel to itself, and segment lengths will adjust to meet in the corners

If you start with two identical objects and use f2 by the same distance and direction, the two results will be identical.   If this is not happening, then can you please post a sample we can look at??
User since forever

paul craig

Sorry Rob,
I should have given the second file in my second post a different name.
So far no one has downloaded that but me.
If you look at the areas within the red circles, you will see what I am talking about.

Paul

Rob S

OK, I opened your renamed file, and it looked like the lower left identical copy was sitting lower on the page than the lower right.

Using a handle set on the intersection of the centrelines, I re-copied that one, and changed its color to red.

When you open the enclosed file, I think you will see what was causing the problem, somehow that lower left copy did not get "precisely set".
User since forever

paul craig

I see what you have done Rob, but what about the top pair which are I think in perfect alignment.?

samdavo

paul
I have only read some of these posts - but as soon as I saw that Phil had posted FlattenZ.d3m, I figured there was nothing I could add - As I see it, you have the answer to your problem (2 cents)   Been there done that!.  As for how your / our drawing(s) ended up with some variability in z coordinates, I note Phil says it happens.  I suspect in my case I experimented with 3D once or twice before I knew what I was doing , but hey - the reason pales into insignificancem being so easily fixed,  cheers


paul craig

thanks samdavo for reading any of it.

Wonder if the troll has any idea why this z usage on a 2d started drawing should occur?

Paul

Rob S

I think only the bottom left was misaligned, the other three appear to be placed correctly, so only the bottom shows the irregularity at the intersections
User since forever

DrollTroll

All I know is that, sometimes, for unknown reasons, drawings that *should* be 2D only somehow acquire some non-zero z values. For such drawings, flattenz is the best solution.
25 years with DesignCAD

Dr PR

It is interesting that it happens in 2D mode, and when it happens only the Z values are corrupted. Otherwise the drawing is OK.

The Z values do not seem to be any particular increment, and they may not all be the same in a drawing. Not all Z values are non-zero. I have seen this with imported DXF files.

It doesn't happen in all 2D files - in fact, this seems to be pretty rare for most people so I suspect it has something to do with drawing technique - some command that not everyone uses, or a command that is used infrequently.

Phil
DesignCAD user since 1987