Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Is there a way to get the Center of Mass of a part to show up in the drawing

I'd like to dimension the location of the center of mass in a drawing. Is this possible?
0
Answers
.
If the part is made of one consistent material, then you could use Approximate Centroid by @EvanReese
This will give you a mate connector which you can reference with a sketch or object however you like.
.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
I'm still kind of creeped out by the fact that the underlying function is called approximateCentroid() and comes with "Warning: This is an approximate value and it is not recommended to use this for modeling purposes that will be negatively affected in case the approximation changes." For showing in a drawing that should be fine.
The Onsherpa | Reach peak Onshape productivity
www.theonsherpa.com
Why not like this?:
… and if not, there should be a FS that can do that, at least in a part studio: search out the center of mass in a part and place a MC with the part as owner. That'd at least carry through to an assembly and wold be convenient for rotating parts and such. Eventually, it would of course be super helpful if an MC at the center of mass could be created in assemblies.
EDIT: Found it! I was just being dumb: The FS is not called center of mass but "Center of Gravity".
@martin_kopplow how did you get that to show up? I don't seem to have it. Did you just fake it into your picture?😆
This is a brand new document, I checked the assembly and part studio, and materials have been assigned.
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! Learn How to FeatureScript Here 🔴
@MichaelPascoe
Photoshop. ;0)
Though it looks quite natural and one would expect it just there, right? Q.E.D. It might be about time for an enhancement request, then.
Before doing so, we might need to discuss how his should work and where it should reside.
I think it might be important to have the MC at CG re-calulate after updates to the geometry. That again might be an argument in favour of a FS or a feature tool that could reside near the end of the feature list in a part studio, but where would it live in an assembly?
For an assembly, it could be an in context "part" - at least until there's ever FS in assemblies.
Simon Gatrall | Product Development Specialist | Open For Work
Too bad the "part" will most likely be hidden inside bodies in a drawing. Maybe a set of XYZ-aligned sketches? Don't they shine through?