Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Translate the entire conversation x

Create a datum point on COG with creo parametric using relations

ggiuliani
10-Marble

Create a datum point on COG with creo parametric using relations

Here there is a trick to position an offset datum point on model COG using the following relations:

 

$d1 = mp_cg_x("","DEF_CSYS","")

$d2 = mp_cg_y("","DEF_CSYS","")

$d3 = mp_cg_z("","DEF_CSYS","")

 

where d1, d2 and d3 are the names for the datum point offset dimensions and DEF_CSYS is the name of the default coordinate system.

It works also in assembly mode.

This feature can be saved in the startpart/assembly file.

 

Note: In this video the automatic mass property calculation is disbled by config.pro.

 

Ciao

 

Gabriele

 

7834c45c91553_COG_point.mp4
Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
    • Chapters
    • descriptions off, selected
    • captions off, selected
      (view in My Videos)

      1 REPLY 1
      pimm
      15-Moonstone
      (To:ggiuliani)

      Gabriele:  It is very good that this can be done.  It's a shame that the base seat of Creo can't do this itself.

       

      Does this work with complex curvature or just with fairly basic shapes?

       

      Thank you for sharing this idea!

      Announcements


      NEW Creo+ Topics: Real-time Collaboration

      Top Tags