Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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

colin_dalycolin_daly OS Professional Posts: 40 ✭✭

I'd like to dimension the location of the center of mass in a drawing. Is this possible?

Answers

  • MichaelPascoeMichaelPascoe Member Posts: 2,541 PRO

    .

    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 🔴
  • EvanReeseEvanReese Member, Mentor Posts: 2,551 PRO

    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.

    Evan Reese
    The Onsherpa | Reach peak Onshape productivity
    www.theonsherpa.com
  • martin_kopplowmartin_kopplow Member Posts: 949 PRO

    Why not like this?:

    grafik.png
  • martin_kopplowmartin_kopplow Member Posts: 949 PRO
    edited September 11

    … 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".

  • MichaelPascoeMichaelPascoe Member Posts: 2,541 PRO
    edited September 11

    @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.

    image.png

    Learn more about the Gospel of Christ  ( Here )

    CADSharp  -  We make custom features and integrated Onshape apps!   Learn How to FeatureScript Here 🔴
  • martin_kopplowmartin_kopplow Member Posts: 949 PRO
    edited September 12

    @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.

    • At the above place for it would be the most expected location?
    • Inside the mate connector edit dialog, for it would enable to place an MC at the CG at any time and for any selection of parts in a part studio or in an assembly?

    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?

  • S1monS1mon Member Posts: 3,577 PRO

    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

  • martin_kopplowmartin_kopplow Member Posts: 949 PRO

    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?

Sign In or Register to comment.