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.

Complex solid creation technique

Started by VanF, April 18, 2010, 07:43:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

VanF

Here's a simple shape that needs to three-quarter units thick. The rounded entities in the interior are supposed to be cutouts. In an ideal world, I'd create planes from all the entities, use Polygon Subtract to remove the cutouts and then extrude. That didn't work, though, I guess DC can't handle the complexity of the resulting polygon, although it doesn't appear very complex to me.

Must I patch together the polygon from three separate pieces without subtraction? That doesn't seem like a lot of fun with all those little fillets and arcs. Should I extrude each entity separately then cut out the three rounded pieces as solids?

One thing I don't want to do here is reinvent the wheel...that can be very frustrating. My meager experience so far is that Polygon Subtract doesn't work very well.

Thanks for any hints.

Van

Adrian 2.0

vanF
Is this what you are after?
I simply converted all the shapes to planes, extruded them all (together) then extracted the 3 internal solids.
I can't say I have ever tried 'polygon extract'.

magic

Hi Adrian,

I presume you used Solid Subtract? :o And you meant Polygon Subtract?  :-*
It's a kind of magic!




Adrian 2.0

Hi Magic,
Yes & yes!
My apologies, it was very early in the morning when I posted that, my head was not awake. Very rarely is mind you. ;D

Dr PR

Van,

I would extrude all three parts and then use "Solid Subtract" to cut the holes.

Select each line and use "Edit/Selection Edit/Convert/Make Plane" to create planes. Extrude the larger plane to 3/4 units thickness.

Extrude the other three planes to something like 1.5 units and then move them so that they penetrate through the larger solid and extend a bit on both sides. Do this to be sure that the subtraction tools do not have surfaces coplanar with the work piece solid.

"Solid Subtract" the three inner solids. I did this with your drawing and it worked OK.

Sometimes the subtractions don't work correctly. Oddly, it may work correctly if you undo and then repeat the "Solid Subtract" operation clicking on different places on the solids. This is also true of "Solid Add."

If you do subtract solids with coplanar surfaces and don't discover it until sometime later, perhaps after doing other work on the solid, you often can repair the mistake fairly easily. Sometimes the subtract operation actually performs a polygon subtract on the two coplanar surfaces, but just doesn't remove the "hole." Explode the solid ("Solid Explode"), remove the offending plane, and then redefine ("Solid Define") the solid.

****

DesignCAD cannot create a single plane with a hole in the center. All sides of a plane must be continuous - essentially one line. A plane cannot be made up of two closed lines one inside the other.

If you use "Solid Subtract" or "Polygon Subtract" to create a hole in a plane/surface DesignCAD actually creates two new planes, one on each side of the hole, and then hides the common edges where the two parts come together. The two pieces may or may not be treated as one object. Occasionally the adjacent edges are not hidden and the lines show. Use "Edit/Hidden Edge BY Section" to hide the edges.

In almost every case when solids are subtracted all the pieces are part of the resulting solid. However, when polygons are subtracted the two resulting pieces of the polygon may not move together. This can cause problems with extrusions. I have found it to be much better to make holes in solids by subtracting a "tool" solid from the "work" piece, instead of putting holes in polygons and then extruding them.
DesignCAD user since 1987

VanF

Thank you all, all the responses were helpful. In an ideal world, Polygon Subtract would be the way to go, because you could create the workpiece in 2D and simply extrude it to 3D without having to create templates in 3D. But as Dr PR confirms, it's not designed to create subtract planar surfaces that are completely contained within other planes, that was what I was looking for.

Quote from: Dr PR on April 19, 2010, 12:12:29 AM

DesignCAD cannot create a single plane with a hole in the center. All sides of a plane must be continuous - essentially one line. A plane cannot be made up of two closed lines one inside the other.

If you use "Solid Subtract" or "Polygon Subtract" to create a hole in a plane/surface DesignCAD actually creates two new planes, one on each side of the hole, and then hides the common edges where the two parts come together. The two pieces may or may not be treated as one object. Occasionally the adjacent edges are not hidden and the lines show. Use "Edit/Hidden Edge BY Section" to hide the edges.


Thanks again, I'll use Solid Subtract to cut out holes from now on.

Van

Lar

Van, you can create the complete 2d plane then extrude it but it's actually more complicated. First, the 2d plane would have to be continuous, ie, you would have to draw a single line for the perimeter of the shape then connect to the hole(s) then double back to the starting point. Second, when you extrude, the inner lines connecting to holes would create 2 extra internal surfaces each (since they would all have to double back). Third, you would then have to manually hide the lines connecting to the hole for both ends of the extrude. You can hide these lines before extruding but after extruding the internal surfaces would show (since they are later in the entity list) and you would have to do the hide again.

VanF

Ugh. That's a lot of work and there doesn't seem to be any benefit over making solids first then subtracting them.

Except that the drawing is cleaner and doesn't have all these extra 3D templates floating about, maybe.

Van