cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

Create a datum point on COG with creo parametric using relations

ggiuliani
7-Bedrock

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

 

1 REPLY 1
pimm
14-Alexandrite
(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!

Top Tags