ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
JRJ. R.26/02/2018

Hello,

A macro I'm writing needs to split a solid body into two, assign a heavier material to one of these bodies, and an ideally, a weightless material to the other body. By "weightless" I mean that it's density should be 0. That body must be visible, but by definition, it must not affect the Center of Mass of the model.

I've looked through the Material Database that comes with SolidWorks, and I was unable to find any materials that have a density of 0. The material Air is pretty light, but not the 0 kg / m^3 that I need.

Theoretically, I could write a function in my macro to create a custom material - just copy some other material, and change it's density to 0, and then assign this material to the body - but I would like to avoid this if possible. I wouldn't even know how to do that.

Are there any other options to make one of the two bodies in my model visible, yet weightless?