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.

Why won't this solid subtract work?

Started by MarkX, January 20, 2012, 02:25:21 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MarkX

Quote from: Dr PR on January 22, 2012, 11:48:20 AM

Look at the top and bottom flat surfaces of the cheese. In the upper figure they each are composed of 36 individual trianglar polygons. After the solid subtraction DesignCAD replaced all of these triangles with a 36 sided polygon (plane) top and bottom.
Hi Phil,

Thanks for explaining that. Are you saying that the Gouda was not formed perfectly, but became more perfect after the operation?

About the solid definition. My understanding early on from DT or someone here was that you should always use a plane when you want to extrude or sweep. When I make your cheese wheel with a plane its automatically defined as a solid.

I noticed in the tutorial that they frequently had you defining objects created by sweeps as solids. I wondered why they were having you define solids as solids. I suppose in the past objects weren't always defined as solids, so they were just being careful.

Thanks!
Mark

Dr PR

Mark,

Well, perfection is in the eye of the beholder. To me, a solid with one plane at the end is more perfect than one with a bunch of triangles.

You are absolutely correct that the proper way to create a "proper solid" would be to sweep a plane instead of a line. If I had done this the result would have been a solid instead of a grid, and I would not have had to do step 3 (Solid Define) in my example. As such it is a bad example of how to make a solid! Sweeping lines had been mentioned earlier as not creating a solid, so I gave an example. But you should use planes when working in 3D.

However, if you sweep a plane with the same cross section of the "cheese" the same way as described in my earlier post you will get a solid with ends made up of 36 triangles. And after subtracting the cylinder these triangles will disappear to be replaced with a single plane, the same as in the earlier example. To me this is "more perfect!"

In general, the fewer elements that make up a solid the easier it is to work with and the smaller the file size, so replacing the end triangles with a single plane is a good thing. However, this may be more superstition than necessity in the latest versions of the program. In the distant past the program had more bugs than an ant farm when you were working with solids. The Boolean operations were almost useless - in almost every case you had to explode the resulting solid, delete extraneous bits of the first (subtracted) solid that remained, replace missing facets, redraw others, etc. Then you had to select all of the pieces and redefine the solid. PITA!

The first time the program cleaned up all of the end triangles for me I thought "@&%# the ends disappeared!" So my surprise was double at discovering that 1) in fact they hadn't disappeared but 2) instead had been replaced by a single plane.

I have a lot of scars from 25 years of bug battles with DesignCAD. I readily admit that I am perhaps over cautious about using some of the program's features.

One other thing about the early DesignCAD 3D. It did things $20,000 3D CAD programs couldn't do. It was way ahead of its time, and that was part of the reason for all of the bugs. It is an extremely complex program. For example, the very first 3D versions could create screw threads, and lead screws for mechanical positioning. Very few other programs could create helical solids in the mid 90s. You could subtract a helical solid from a cylinder to create rifled gun barrels. Even more amazing, you could subtract a helical solid from a conical surface, with the axes of the solids at angles to each other (the math is horrible) and it worked! There are still programs that can't do that.

Phil
DesignCAD user since 1987

cavelamb

#17
Quote from: MarkX on January 20, 2012, 02:25:21 PM
I'm following an online tutorial. At the top of this drawing, I want to subtract the rod from the brace. Unfortunately, it doesn't cut the hole but instead leaves a hole with a plane stretched over it.

How do I fix this? How did this happen?

Note that I can successfully subtract the horizontal rod from the frame.

Thanks!
Mark



I had no problem at all with this one...  Using my shiny new V20 version!

Prep work:
Removed the rectangle that probably was the primitive form of the rod (keep from picking the wrong thing)
Defined the fork as a solid.
Defined the rod as a solid
solid subtract rod from fork.

worked as advertised.

(edit)

Then I read the rest of the replies.
I've struggled with this very issue so long and hard with prior version that it's just a habit now to define solids myself.


Dr PR

cavelamb,

It is the upper vertical "cylinder" that is the cause of the problem. The lower horizontal cylinder works OK with "Solid Subtract" even if you don't take the extra step of defining it to be a solid.

I tried selecting the upper cylinder and defining it to be a solid with "Solid Define" (and the same with the fork) and then subtracted the uper cylinder from the fork and got the same results posted elsewhere on this thread - the hole is plugged with circular polygons on the upper and lower surfaces.

Phil
DesignCAD user since 1987

DrollTroll

Note tht if you sweep the plane about its center 180 degrees instead of 360, and define the resulting grid as a solid, it also subtracts just fine.
25 years with DesignCAD

cavelamb

Quote from: Dr PR on January 23, 2012, 12:35:26 PM
cavelamb,

It is the upper vertical "cylinder" that is the cause of the problem. The lower horizontal cylinder works OK with "Solid Subtract" even if you don't take the extra step of defining it to be a solid.

I tried selecting the upper cylinder and defining it to be a solid with "Solid Define" (and the same with the fork) and then subtracted the uper cylinder from the fork and got the same results posted elsewhere on this thread - the hole is plugged with circular polygons on the upper and lower surfaces.

Phil


aH!   Sorry Phil.  You're right.

I rotated that around so as to look at  it end on  to see if the plugged circle had any "hair" on it.
It does - and it's not exactly parallel with the rod you subtracted.
That tells us that DC didn't agree that the "solid" was a "solid".
I've learned that one so well I didn't even think that there was a difference between the two in your sample.
DC will always win at thumb-rasslin'

But, backing up and using a cylinder for the rod instead of the pseudo-rod from the sweep works fine.