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.

sweep before a solid subtract

Started by Bob P, May 13, 2010, 07:51:44 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Bob P

I had a problem creating the counterbored holes in the piece below.  When I did the subtraction, there would be flaws in the results.  The problem turned out to be the method of defining the solid that acted as the subtraction for the counterbores.  I had created a profile, then swept it.  After I duplicated it 3 times and created a single solid, the subtraction didn't work properly.  The problem was that the original profile still existed (3 times) within the created solid.  After I deleted the sweeping profile, the subtraction went properly.  ;D


Rick V.

Bob,
That's a great tip! Thank you. That could explain some of the problems I've had in the past with Solid Subtract.

Dr PR

Bob,

Thanks for the tip.

This brings up an inconsistency in the way DesignCAD creates surfaces and solids from lines and surfaces. If you select a line and extrude or sweep it, the original line remains as a separate entity from the surface that was created. If the resulting surface is still selected after the sweep/extrude the line will also be selected and used in the next operation.

If you select a surface and extrude or sweep it, the resulting solid will include the original surface - the original surface will be a part of the resulting solid.

To repeat,

1. If you extrude/sweep a line the result is two objects, the original line and the surface created by the extrusion.

2. If you extrude/sweep a surface the result is one object. The original surface becomes part of the solid that is generated.

For me having the original line remain after the extrusion/sweep has been a nuisance far more often than it has been useful. I would prefer that it be deleted after the extrusion/sweep operation. As it is now I have the additional task of erasing the original line. If I forget to erase it the line clutters the drawing and produces a bright line on the surface when the drawing is rendered. It is a nuisance.

Occasionally I will reuse the line for another extrusion, but on the rare cases when I want to do this it wouldn't be much of a problem to duplicate the line before making the extrusion.
DesignCAD user since 1987

Bob P

Maybe DT will put this on the bugs list for the next release.  It seems to me that it would be pretty easy to fix. It's been around for a long, long time, but I just figured out its relationship to the flaws in solid subtract.

Dr PR

Bob,

Do you still see the problem if you deselect the solid and then reselect before you do the subtraction? This would deselect the line.

I haven't been having many problems with solid subtract lately, but I rarely create a solid by sweeping a line around an axis. For hole punching I usually use cylinders. There is a big difference between a cylinder created by sweeping a line and one created with the cylinder tool. The end of the cylinder tool object is a single plane. The end of a cylinder created by sweeping a line will be made up of a lot of triangular facets (as many as the number of facets in the cylinder wall). If the swept cylinder is used to create a non-penetrating hole in a solid, the end surface of the hole will have a lot of facets. This makes the drawing larger.

I have noticed a nice undocumented feature in V19 and V20. If you do create a solid by sweeping a line, with lots of facets in an end surface, and then modify the solid with the solid Boolean functions, DesignCAD cleans up the multi-facet end surface and replaces it with a single plane surface. This is really cool!
DesignCAD user since 1987

Adrian 2.0

Like Bob, I use 'sweep' often to make complex contoured shapes - any complex turned shape that can be done on a lathe is easy. (including rebates, countersinks etc.) I use 'selection filter' to remove all construction lines frequently when I am building 3D stuff so I don't get those rogue 'bright lines' that Dr PR talked about. I never realised before this thread that leaving foreign bodies included in solids caused problems though.
I learn something every day - trouble is I forget two things every day!

Bob P

Quote from: Dr PR on May 13, 2010, 05:31:36 PM
Bob,

Do you still see the problem if you deselect the solid and then reselect before you do the subtraction? This would deselect the line.

Where things went bad for me was the method of selection when I created the array of "drillers", and then grouped them all for the subtraction operation.  The sweep plane was included when I selected the first entity, then it was duplicated in the array.  Then the planes were included in the grouped solid.  Even if I had only selected the solid part of the first entity for the array, when I grouped things, one of the drillers would still have included the offending sweep plane.

magic

Hi all,

I've noticed that when you sweep, the line/curve that you sweep from is still selected after the sweep command has been executed, so it's just a question of pressing delete, if you don't want to keep it.
It's a kind of magic!