Convert Material to a tuple.
(self)
| 139 | return self.wrapped.GetDensValType().ToCString() |
| 140 | |
| 141 | def toTuple(self) -> Tuple[str, str, float, str]: |
| 142 | """ |
| 143 | Convert Material to a tuple. |
| 144 | """ |
| 145 | name = self.name |
| 146 | description = self.description |
| 147 | density = self.density |
| 148 | densityUnit = self.densityUnit |
| 149 | |
| 150 | return (name, description, density, densityUnit) |
| 151 | |
| 152 | def __hash__(self): |
| 153 | """ |
no outgoing calls