News:

When posting a problem be sure to include which version you are using.  Give as much information as possible.  If the problem is with a specific file be sure to attache it to your post.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Volumes, Densities, Center of Mass

Started by montag dp, July 21, 2009, 06:24:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

montag dp

It would be really useful if TC could calculate the volumes of parts, assign densities to materials, and then calculate center of mass based on the geometry and this information.

Correct me if the latest version already does this.  I have TC14 but I haven't seen anything like this in the ads/features of version 16.

lemel_man

Quote from: montag dp on July 21, 2009, 06:24:50 AM
It would be really useful if TC could calculate the volumes of parts, assign densities to materials, and then calculate center of mass based on the geometry and this information.

Correct me if the latest version already does this.  I have TC14 but I haven't seen anything like this in the ads/features of version 16.
TC11 Pro calculates volumes, but can neither assign densities nor calculate centre of mass.
Gary Wooding
Win10 64-bit,
TC21.2 x64 Plat, Bld59
TC16.2 Plat, Bld54.0
TCC 3.5

Henry Hubich

Quote from: montag dp on July 21, 2009, 06:24:50 AM
It would be really useful if TC could calculate the volumes of parts, assign densities to materials, and then calculate center of mass based on the geometry and this information.

Correct me if the latest version already does this.  I have TC14 but I haven't seen anything like this in the ads/features of version 16.

From version 6 onward, TC Pro has been able to calculate the center of volume of a single "Solid" object -- which of course coincides with its center of mass if the material is homogeneous. Refer to another source, such as an engineering handbook, to find the densities of various materials. You can also find the center of volume of a collection of objects by first Boolean-adding them to make a single entity. If these objects are composed of different materials, the center of mass will not coincide with the center of volume and you'll have to do the computation manually (or with some different program).

Henry H

montag dp

#3
Thanks for your replies, guys.

Henry, if I do a boolean add of a bunch of parts and then find the center of volume, will that account for the empty space?  Also, if it can calculate the center of volume but not the quantified volume that's not really gonna be too much help for my application, because I need to know the mass too.  Obviously if I had the volume and assumed a constant density I could easily calculate the volume.

I still feel TC is lacking a bit in this capability, but I'm going to have to look this up more when I get home.

Henry Hubich

#4
Quote from: montag dp on July 21, 2009, 11:18:57 AM
Henry, if I do a boolean add of a bunch of parts and then find the center of volume, will that account for the empty space? 

Yup. Add two objects that are some distance apart and the program will correctly report the COV at a spot in the empty space between them.

Quote from: montag dp on July 21, 2009, 11:18:57 AM
Also, if it can calculate the center of volume but not the quantified volume that's not really gonna be too much help for my application, because I need to know the mass too.  Obviously if I had the volume and assumed a constant density I could easily calculate the volume.

I still feel TC is lacking a bit in this capability, but I'm going to have to look this up more when I get home.

The program will report the volume of any selected object, even an "object" that results from Boolean-adding a number of thingies located at different positions in space. If those thingies are made from different materials, however, it's best not to add them but to calculate total mass and Center Of Mass yourself, a simple computation on a hand calculator (or in a spreadsheet) when you know the volume, density, and centroid of each component.

Henry H

montag dp

Cool, I found the data I'm looking for.  There's a lot more than I expected.

If anyone's wondering, to display this information, click a 3D object and go to the selection info palette.  At the top there will be a button called Physical Metrics.  Click this and you will be able to see the volume, surface area, center of gravity, and 1st, 2nd, and 3rd moments of inertia.

I still say it would be cool to have materials with defined densities and the ability to find the mass and center of gravity of multiple parts w/ different materials, but this is a good start.

SubbyDan

I agree with 'montag dp', an editable table of standard materials densities for 3d objects would help TurboCAD be useful as a great front-end to a Finite Element Analysis (FEA) or even for a Computational Fluid Dynamics (CFD) tool.

Henry, can the volume info be exported with any of the objects dimensional info? That would be a start. Thanks for the info and suggested paths.

Having to use "an engineering handbook" and then "do the computation manually" kind of obviates the use of a computer, or at least TurboCAD, as one part in a FEA work set.

I think this feature could really help TurboCAD in the future.

Henry Hubich

Quote from: SubbyDan on August 16, 2009, 05:11:32 AM
Henry, can the volume info be exported with any of the objects dimensional info? 

I really don't know.

Henry H

John R

re: can the volume info be exported with any of the objects dimensional info?

There is a SDK plug-in that is used in TurboCAD's Internet palette that might be helpful, or maybe not. Poking around, it does give a lot of dimensions.

Entering the address below into the Internet palette should bring it up (if a Full install was done in the default locations).
C:\Program Files\IMSIDesign\TCWP16\SDK\Samples\VBS\HtmlScriptPack\S&elInfo.htm




The Selection Info palette does have a Copy function to copy some of the info out from it.

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

dgapilot

Along the line of this thread, TCad uses materials for rendering. Would it be possible to add a density value to a material, then use that value in calculating mass? Seems like this would be a good way to do it. For the standard materials, generic values could be used. If the generic values didn't work, the user could creat a new material and insert the appropriate value.

On another issue, if the CAM plug in is ever expanded to 3D, the material could also include a hardness value so the CAM plug in can calculate appropriate speeds and feeds.
TurboCad versions 2015, 2016, 2020 and 2021 All Platinum.
CPU Solutions Ryzen 9, 16 M, 1 TB SSD, 2TB spinning drive, NVIDIA Quadro P2200, Benq PD2705Q & Acer S240HL.

Also Dell Inspirion 15-7568 laptop

Riftvalley

Hi,

Many years ago (about ver 8'ish)  there was a TC plug-in for calculation of Inertias, Mass etc and also beam properties and force/deflection diagrams.

A very kind gentleman Victor Kuznetsov sent me some .dll's as the original program plug didn't work too well.

Don't know if this is still available, but I have tried it out in TC16 and it appears to work OK.

I attach composite screen shot to show the kind of things that it can do.

I just put in a random beam and have factored all the inertias by 100 to make it fit better, but in the past I have used this facility for many important projects - saved hours of work!

The great thing about this plug-in is that the loads and section properties are all 'live' so you can select any object on the beam (loads, supports, the beam itself) and then by going to '...others' in the property dialogue any parameter can be changed - makes early stress calcs a total doddle.

The only thing I would be careful of is the torsional constants as I think that there is a huge misunderstanding of the torsional constant J in the engineering world (hands up all those engineers that think it is the sum of the Ixx and Iyy).


Kind regards


Martin

[attachment deleted by admin]
MS Win10 Pro, i7-3770K processor, Nvidia GeForce GTX, 500GB SSD, 2T HD, 16GB RAM (32GB Virtual). Gigabyte Mobo.  TC since 3.5" floppy days.  Now 2018 Platinum although still use Ver 11 for beam tool (not compatible with Ver18, or version 21).   Cannot get TurboCadCam ver 3.0 to work on Win 10 machin

John R

re: Many years ago (about ver 8'ish)  there was a TC plug-in for calculation of Inertia's, Mass, etc.; also beam properties and force/deflection diagrams.

Nowadays, you can get it from the IMSI/Design subsidiary, IDX. :)

http://www.idx-design.com/Products/IDXBeamAnalysisTool/tabid/281/Default.aspx

John R.

V17—V21, 2015—2025
Designer, Deluxe, (Basic, Expert, Professional), Platinum
RedSDK enabled
Windows 11 Pro (25H2), 64-bit

Henry Hubich

Quote from: Riftvalley on September 27, 2009, 02:09:28 AM
The only thing I would be careful of is the torsional constants as I think that there is a huge misunderstanding of the torsional constant J in the engineering world (hands up all those engineers that think it is the sum of the Ixx and Iyy).

Can you clear up this misunderstanding? Technical language is allowed ;-)

Henry H

Riftvalley

#13
Hi Henry,

Most of my working life was spent designing helicopters (until I ended up in Marketing), a specific task I had early on at Westland was to write the programs to determine the physical and dynamic properties of rotor systems (and rotor blades in particular).

One of the worst engineering myths seemed to revolve (no pun intended) around the torsional constant J. For a circular section the value of J is indeed Ixx+Iyy
(because Ixx= int(dA.y2) and Iyy= int(dA.x2) therefore as J= int(dA.r2) and r2=x2+y2  J=Ixx+Iyy.  )

But for most other section it is certainly different from this.  Similarly the torsional centre (or centre of twist) is also often thought as passing through the flexural centre but again this is not generally the case (OK for symmetric sections).

There are two classes of torsional problems open sections such as I-beams, rods etc and closed sections such as thin walled tubes, cones and airfoil and fuselage sections etc

A good way to see part of the problem can be to experiment with a sheet of paper rolled into a tube, if the tube is simply rolled into a circular X-section with the edges unrestrained then the tube is torsionally very flexible, however if the rolled edges are glued together the tube becomes many times stiffer.  This is because in the first case the paper is free to warp.

Typically for a T-section the torsional stiffness constant J is estimated as the sum of three components.
See attached diagram 1.

An important concept for working out torsional stiffness is the idea of a linear and circular integral.
I define this in the attached graphics.  The reason most engineers duck this issue is because the maths is so horrible. However, for thin walled sections it is comparatively easy and there are some useful approximations for open simple sections.

For a thin walled section the torsional stiffness the idea of a linear and circular integral are needed.
I have summarised all this in diagram 2.

If you want the derivation of the value of J in the second page I can provide that also.  As a matter of interest the matrix equation on page 2 has never been published before as I never quite got round to it!

Sorry about all the technical stuff, I have tried to keep it simple, if you want the full story then I can probably stir the grey matter enough to recall all that, but this is what I remember from some 30 years ago!  (all a bit sad really).

Regards
Martin


Whoops I just noticed that the units didn't seem quite right in my equations for J1 and J2 in the T and I-section beams, in fact the b squared and d squared terms should be cubed! I will change the diagrams when I get some time. Changed it!

Martin

[attachment deleted by admin]
MS Win10 Pro, i7-3770K processor, Nvidia GeForce GTX, 500GB SSD, 2T HD, 16GB RAM (32GB Virtual). Gigabyte Mobo.  TC since 3.5" floppy days.  Now 2018 Platinum although still use Ver 11 for beam tool (not compatible with Ver18, or version 21).   Cannot get TurboCadCam ver 3.0 to work on Win 10 machin

YOUSSOUF BERTHE

.dll's ?

How to get this Kusnitsov .dll and how to use it.
Please.

Y BERTHE
Architect living in Mali ( West Africa)
Turbocad from TC3 to TC pro Plat 2020 user
www.quarc-design.com

Riftvalley

#15
Hi Youssouf,

The post by John R says where this is available (an ugraded version):

Nowadays, you can get it from the IMSI/Design subsidiary, IDX.

http://www.idx-design.com/Products/IDXBeamAnalysisTool/tabid/281/Default.aspx


Although it is a bit expensive ($299), if you have to deal with many beam and section problems it is well worth the money - maybe the IMSI design company should do a special offer once in a while!

Not only does it do many calculations it also inserts the results and graphs in the drawing.  The drawing itself is editable so as ideas change so the component properties can be revised and all the graphics are updated.

Also the program comes with standard sections included or you can use actual sections as drawn.

.dll files are like subroutines or functions that executable files can choose and run.  So the main turbocad executable file will use .dll's to do many calculations outside of the main program.  dll stands for Dynamic Link Library.

So what this means is that the various components of the Beam Analysis program are in .dll's in a separate folder(s).Some programs can contain hundreds or even thousands of .dll's - particularly if they are written by Microsoft, who seem to love the things.

The link bit refers to the fact that in order for a .dll to be used it must be registered by having references entered in the registry, the system file regsvr.exe does this job.

Kind regards

Martin
MS Win10 Pro, i7-3770K processor, Nvidia GeForce GTX, 500GB SSD, 2T HD, 16GB RAM (32GB Virtual). Gigabyte Mobo.  TC since 3.5" floppy days.  Now 2018 Platinum although still use Ver 11 for beam tool (not compatible with Ver18, or version 21).   Cannot get TurboCadCam ver 3.0 to work on Win 10 machin

Henry Hubich

Quote from: Riftvalley on October 02, 2009, 02:55:36 AM
Hi Henry,

One of the worst engineering myths seemed to revolve (no pun intended) around the torsional constant J. For a circular section the value of J is indeed Ixx+Iyy
(because Ixx= int(dA.y2) and Iyy= int(dA.x2) therefore as J= int(dA.r2) and r2=x2+y2  J=Ixx+Iyy.  )

But for most other section it is certainly different from this.  Similarly the torsional centre (or centre of twist) is also often thought as passing through the flexural centre but again this is not generally the case (OK for symmetric sections).


Gotcha. Thought that might be what you meant.

Henry H