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.

What are the secrets of double-lines?

Started by MarkX, October 09, 2011, 12:27:11 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

Mark,

In most cases the order of points in a line is unimportant. In fact, the idea that the point order should matter for anything is silly.

Unfortunately, for some functions point order is critically important.

1. 3D extrude along a line. Even though the function requires you to set a point on the extrusion line to select the line, the function uses the point order in the line to generate the extrusion. This is a bug! The order of the points in the line shouldn't matter. However, the orientation of the extrusion around the line and the order of scaling (with variable scales along the extrusion) is determined by the point order.

Even if you set a point on one end of the extrusion line to select the line, the function may start from the other end!

To make matters worse, if you are extruding a compound line or curve, the extrusion is also influenced by the point order in that line! This is a bug!

So what should be a simple extrusion can have four possible solutions, and three are always wrong.

You may need to reverse point order in one or both curves to get the correct surface (see 6 below).

2. The "Surface Connect" function pays attention to point order in the template lines used for creating the surface grid. There is an option to force the function to use the point order, but even if this is not selected, in some cases point order matters anyway.

You should be very careful to orient all template lines with the "point 1" end on the same side of the surface.

You should be very careful when selecting the template lines to always select the same ends of all template lines.

If the resulting surface is twisted like a bow tie or severly contorted like a wrinkled sheet of paper you may have to reverse point order in some of the template curves (see 6).

3. I have occasionally see very strange hatch fills because the point order in a line is not sequential. This can happen when additional points are added to an existing line in Point Select mode, or as a result of "Edit/Polygon Edit/" functions. I am not sure exactly how the point order gets messed up in the lines, but it is quite obvious when the "Hatch Fill" function produces wild patterns that splatter all over the screen.

Reversing point order apparently just reverses the non-sequential point order, and you get an inverted hatch fill mess. The only reliable solution I have found is to redraw the line, being careful to keep point order sequential around the figure.

4. When you draw a closed polygon, placing the last point on the first, you have no way to determine point order. If you use several of  these closed polygons for "Surface Connect" template lines, all bets are off what the surface will look like. Likewise, trying to extruse a closed polygon along a curve may produce totally unpredictable results since the function pays attention to point order in the closed line. You need to ensure that each polygon is oriented with point one on the same side.

5. There may be other functions that are point order dependent. I think point order occasionally screws up the "Tickmark" function and causes the last mark to be placed over another point, but I haven't proven that conclusively.

6. It is an interesting observation that the Info Box has a "Reverse Point Order" button (the red and blue horizontal arrows). Again, rationally there should be no need for such a thing since point order should not matter. The fact that this button has been added to the Info Box tells us that the problems caused by point order have long been known, but instead of fixing the probelm this lame patch has been added to the Info Box.

In any case, it is obvious that point order dependence is a major bug that screws up quite a few operations in DesignCAD.

Phil
DesignCAD user since 1987

MarkX

Quote from: Rob S on October 09, 2011, 06:06:59 PM
To be honest, I never use double line mode, preferring to draw one face where I want it, and then offset by distance to draw the other face
After looking through the various tools, I couldn't figure out which tool you meant. The only offset I see is with the parallel line tool, which requires you to select one side at a time.

Thanks!
Mark

Pearco

Mark;

I also do not use double lines and prefer to offset from a single line. In Dcad the offset is the parallel line. The term offset is from Rob and others past using Acad (that is parallel lines in Acad). I made a custom tool bar of offsets that I use frequently. Then when drawing, it is just a quick click or two to create whatever you are doing.
Jim
User since ProDesign 1.5

MarkX

I thought there might be an offset that works on all sides at once. That's how it works in TC and SU.

Mark

Rob S

I should have said "parallel by distance" off set is autocad terminology.

It can be found under "draw, Lines, parallel by distance", shortcurt "F2", or in the lines flyout of the man toolbox being the icon with the ? over the = sign.

This can be used to "offset" any line or polyline (multi-segment line) or even curves, by a specified distance.

It is one of DCAD's most useful 2D drafting tools.
User since forever

MarkX

Quote from: Rob S on October 29, 2011, 09:04:51 PM
I should have said "parallel by distance" off set is autocad terminology.

It can be found under "draw, Lines, parallel by distance", shortcurt "F2", or in the lines flyout of the man toolbox being the icon with the ? over the = sign.

This can be used to "offset" any line or polyline (multi-segment line) or even curves, by a specified distance.

It is one of DCAD's most useful 2D drafting tools.
Thanks Rob,

I thought that was just for straight lines. The double-line concept seems like it ought to be better for doing inside walls.

Mark

Dr PR

#21
Mark,

It's six of one and half a dozen of the other. Both double lines and parallel lines accomplish more or less the same thing.

One of the things that still amazes me about DesignCAD is how many ways there are to do a single thing. One of the fellows I work with introduced me to DesignCAD in 1987, and we have both used it continuously since then. Every now and then one of us will be watching the other create a drawing and say "How did you do that?!" Each of us has developed our own ways of accomplishing things over the years, and we are still learning better ways from each other.

I have learned a lot from this forum, and I am still learning.

Phil
DesignCAD user since 1987

Rob S

Quote

I thought that was just for straight lines.

You can get some interesting results if you offset curves by distances larger than their smallest radius, or lines by more than the perpendicular of adjoining segments!!!
User since forever