(item)
| 92 | |
| 93 | |
| 94 | def _swept_solid_dict(item) -> dict: |
| 95 | result: dict[str, Any] = {"solid_type": item.is_a()} |
| 96 | if item.is_a("IfcExtrudedAreaSolid"): |
| 97 | result["depth"] = item.Depth |
| 98 | if item.ExtrudedDirection: |
| 99 | result["direction"] = _rc(item.ExtrudedDirection.DirectionRatios) |
| 100 | if item.SweptArea: |
| 101 | result["profile"] = _profile_summary(item.SweptArea) |
| 102 | return result |
| 103 | |
| 104 | |
| 105 | def _summarize_rep(rep) -> dict: |
no test coverage detected