idslk
Alibre Super User
Edit: Update to V03
renames the original point names in EE and adds a date to the CoG point to show when it was created
Hello colleagues,
this script uses the physical properties to generate 3 variables in the Equation Editor and an 3D-point in the design to represent the center of gravity for the part or assembly.
The script was only pretested on systems running on millimeters!!!
The CoG-position is only calculated at the runtime of the script!!!
Changing the design won't automatically update the values!!!
The script can be run again to change the values to the new design.
The appended part-file should contain also the script itself.
In the part are two supressed features.
You can run the script and you will generate the "CoG_Temporary!" point in the design.
If you now unsuppress one or two of the suppressed features and run the script again, you will see that the CoG-Point will update.
You can use the "CoG_Temporary!" as an reference for your further design, but be aware of the static character!
As there is no automatic included, you have to run the script each time you change the design, otherwise the "CoG_Temporary!" (and the regarding EE-Values) will represent the wrong position.
It would be nice if someone could check the behaviour of the script on an system with different native units (inches or whatever is possible) and give me some feedback.
"AS Ever": USE ON YOUR OWN RISK!
Regards
Stefan
renames the original point names in EE and adds a date to the CoG point to show when it was created
Hello colleagues,
this script uses the physical properties to generate 3 variables in the Equation Editor and an 3D-point in the design to represent the center of gravity for the part or assembly.
The script was only pretested on systems running on millimeters!!!
The CoG-position is only calculated at the runtime of the script!!!
Changing the design won't automatically update the values!!!
The script can be run again to change the values to the new design.
The appended part-file should contain also the script itself.
In the part are two supressed features.
You can run the script and you will generate the "CoG_Temporary!" point in the design.
If you now unsuppress one or two of the suppressed features and run the script again, you will see that the CoG-Point will update.
You can use the "CoG_Temporary!" as an reference for your further design, but be aware of the static character!
As there is no automatic included, you have to run the script each time you change the design, otherwise the "CoG_Temporary!" (and the regarding EE-Values) will represent the wrong position.
It would be nice if someone could check the behaviour of the script on an system with different native units (inches or whatever is possible) and give me some feedback.
"AS Ever": USE ON YOUR OWN RISK!
Regards
Stefan
Attachments
Last edited: