SubD object type is not recognised as solid

Hi
Here is an old SolidWeight script by @dale that I slightly modified to print gemstones weight in carats.
I’ve added 2 object types that didn’t yet exist when the original script was written.
SubD and Extrusion
Extrusion works fine, but SubD returns “Object is not Solid”

It’s probably something very small and simple, I’m on my first baby steps with Python.

would someone please have a look why SubD is not accepted here.

thanks a lot
Akash

GemWeight_ModifiedSolidWeight.py (4.2 KB)

Hi @Akash,

Thanks, I’ve logged the issue.

https://mcneel.myjetbrains.com/youtrack/issue/RH-63101

– Dale