(self)
| 273 | ) |
| 274 | |
| 275 | def get_precision(self) -> float: |
| 276 | contexts = [c for c in self.new.by_type("IfcGeometricRepresentationContext") if c.ContextType == "Model"] |
| 277 | if contexts: |
| 278 | return contexts[0].Precision or 1e-4 |
| 279 | return 1e-4 |
| 280 | |
| 281 | def diff_element(self, old, new): |
| 282 | diff = DeepDiff( |