×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Applying a mass
2

Applying a mass

Applying a mass

(OP)
Hi gents,
I have a dumb part that I need to add a mass to.
As I know the weight is there a way I can add the mass to it instead of applying a material?
The part is a casting and applying a material isn't giving me the same result as I get when I weigh it.
I know I can adjust the material settings to get the same result but I wondered if there was an easier way.

thanks
Alan

RE: Applying a mass

Once upon a time I experimented with this problem, and made up a macro to solve it. Alas, my old macro file has become corrupted somehow, and I cannot retrieve it.
This is basically the steps I used, so well as I remember it.
The part is open in its own window
Run the macro, and the macro presents an Input Box to prompt the user to type in the desired weight. Then the macro would do this:
1) Get the mass properties of the part, and get the volume of the part from that
2) Apply the necessary math to divide the mass by the volume to derive the desired density
3) Open the material library...this part I don't recall for sure about getting the library
4) Create a new material in the library with the desired density
5) Apply the material to the part. You have options here - probably most straightforward to apply to either the PartBody object or to a selected solid body. Or maybe the best is to use the Part object.
6) Close the material library without saving it
7) Pop up a message box with the measured mass and maybe other useful information for the user to confirm

I got as far as proof of concept, but then found that in reality I didn't have a use for it :) In my field we're not so concerned with the weight of things down to that level.

Sorry I don't have the actual code any more, but hope this helps point in a useful direction.
Cheers
Mark

RE: Applying a mass

(OP)
Thanks Mark,
Could well be a handy thing to have.

cheers
Alan

RE: Applying a mass

Take a look at the V5 Help Documents and search for 'Inertia Equivalents'. This allows you to create Parameters in a model that will override the measured values. Here is the documentation article from the R19 Documentation posted online. http://catiadoc.free.fr/online/cfyugmeasure_C2/cfy...

--Doug

RE: Applying a mass

I've used "Inertia Equivalents" is the past (as Doug suggested), and the extra parameters worked well. If I recall correctly, you do have to copy all the parameters for it to work

RE: Applying a mass

(OP)
Cheers guys,
I will have a look.
Thanks, alan

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources