View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000552 | FreeCAD | Feature | public | 2011-12-22 11:52 | 2011-12-23 16:45 |
| Reporter | apalazzi | Assigned To | |||
| Priority | normal | Severity | feature | Reproducibility | N/A |
| Status | closed | Resolution | fixed | ||
| Fixed in Version | 0.13 | ||||
| Summary | 0000552: Add the ability to calculate inertial properties t parts | ||||
| Description | Please add the ability to calculate properties like volume, center of gravity and inertia tensor for parts. This seems doing the job: http://opencascade.sourcearchive.com/documentation/6.3.0.dfsg.1-1/classGProp__GProps.html | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
Added in rev 5338. The shape must be of type solid, otherwise the attributes are not visible. shape = ... solid = shape.Solids[0] ... solid.Mass solid.CenterOfMass solid.MatrixOfInertia solid.StaticMoments solid.PrincipalProperties -> dictionary solid.getMomentOfInertia(pnt, dir) solid.getRadiusOfGyration(pnt, dir) |
FreeCAD