Torus Volume

Started by RDBarthel, March 28, 2022, 11:05:11 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RDBarthel

My 3D drawing contains a torus and I need to, first, programmatically identify the object and, second, obtain its volume. How can I get the volume of a torus.  The Info Box identifies the object simply as a SOLID (a bit vague since it's a special case of "solid") and has a button to display its surface area and volume.  So, DesignCAD can work it out, where do I find the info?

Rob S

I'm not sure there is any way to identify toruses in a drawing, unless you name them.  How would it know if you had already taken a bite out of it?

If you can find a way to pick them out, then sys(656) will contain the volume of the last one you have calculated.
User since forever

RDBarthel

Thank you, Rob S, for your somewhat depressing reply.   ;-)  Hmm, name the torus.  I'll think on that for a while.

Bob P

In DC, there is no such thing as a curved surface. They are all composed of small triangular or rectangular facets that only approximate the surface. (Even if something looks like a torus (or a sphere or a cylinder, etc.), DC can't natively define a spherical surface. If you look at STL files, they are the same way. Flat surfaces all the way.