MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / test_circle

Method test_circle

src/ifcmcp/tests/test_shape.py:79–82  ·  view source on GitHub ↗
(self, loaded_session)

Source from the content-addressed store, hash-verified

77 assert result["result"]["type"] == "IfcIndexedPolyCurve"
78
79 def test_circle(self, loaded_session):
80 result = loaded_session.ifc_shape("circle", json.dumps({"center": [0.0, 0.0], "radius": 0.5}))
81 assert result["ok"] is True
82 assert result["result"]["type"] == "IfcCircle"
83
84 def test_extrude_chained_from_rectangle(self, loaded_session):
85 rect = loaded_session.ifc_shape("rectangle", json.dumps({"size": [4.0, 0.2]}))

Callers

nothing calls this directly

Calls 1

ifc_shapeMethod · 0.80

Tested by

no test coverage detected