"No valid density" - force weighing

Hello

When evaluating the mass of my assembly, I get the message "The following components of this assembly do not have a valid density. Please correct them [...] ".

This is (imported) hardware and I don't want to allocate a (negligible) mass to it. 

How can I force the function to weigh the assembly considering zero or lump sum mass for the defective components?

Thank you for your help!

Hello

The answer is almost in the question....

(put a material on your imported parts: there are quite generic materials like 'alloy steel')

4 Likes

Hello

The question indicates that I do not wish to touch up my pieces. Between assigning a mass and assigning a density, it's the same amount of work. And besides, I can't do it: something isn't working.

That's why I'm simply looking for a way to force the weighing. Software-wise, it's trivial. It would be surprising if the developers didn't plan for that. Maybe a menu in the options? I searched but couldn't find it.

 

 

Hello

I'm a little surprised, normally SW applies a default density when there is no material filled in (at least that's the behavior I have on the 2021 and from memory it's always been like this). On the other hand, it can completely distort the calculation (on my files it applies a density of 2.5 so for screws it's certainly negligible but to be careful on all imports).

1 Like

Hello Cyril,

Thank you for your answer. Here is attached the error pop-up for weighing.

I assigned a mass to the faulty elements but yet I still get the error message when I weigh the assembly (after reconstruction). Assigning a material to the volume body doesn't work weirdly.


capture_decran_2022-06-17_094332.png
capture_decran_2022-06-17_095821.png
capture_decran_2022-06-17_095807.png

Hello

 

If you have the MyCad suite, you can use the BatchProperties utility to apply a material to your fasteners in bulk.

2 Likes

Agree with @Frédéric either Batchproperties on for 8 pieces do it by hand, should not take more than a few minutes.

And anyway no choice if you want something correct.

The ideal is of course to assign the materials at the time of import.

Ok, I'll keep that for next time: check at the time of import.

I don't have MyCad (solidworks Premium?).  For this time I removed the buggy parts and assigned a mass or density to those that accept it. Laborious work since it lags.

Thank you all for your advice.

Hello

If the masses are negligible, I will group the components together to easily hide them in the assembly, which should allow me to have the mass of the rest of the assembly.

If that doesn't work, I'll select only the components I want.

Hello Joris,

Good idea but it doesn't work well because the Feature Manager's search function is slow down and even fails to find the target. So I opted for a very basic but ultimately comparatively effective method since it doesn't make the software lag: search for the parts in the Windows Explorer and open them one by one.

1 Like

Hello

Does SW row only with imported parts or with each part whose material is not specified?

SW does not need matter to calculate mass. He chooses a generic density of 1 I think. 

Imported solids may have errors. Their volume is 0.0 mmc. Have you checked if there is no import error with the repair tool?

Another weird thing is the center of gravity in 0,0,0. Not possible if it's a volume. It should have been somewhere in the center of the room.

 

 

 

1 Like

Well done! I found the origin of the error: it comes from the multi-format CAD export tool on the website of the distributor of the part. The generated volume model contains a geometry error. In addition, failed the function recognition tool.

So I  imported it as a step and the pb was solved: non-zero volume.

Have a nice day