MCPcopy
hub / github.com/CadQuery/cadquery / _to_geomabshape

Function _to_geomabshape

cadquery/occ_impl/shapes.py:5483–5488  ·  view source on GitHub ↗

Convert a literal to GeomAbs_Shape enum (OCCT specific).

(name: str)

Source from the content-addressed store, hash-verified

5481
5482
5483def _to_geomabshape(name: str) -> GeomAbs_Shape:
5484 """
5485 Convert a literal to GeomAbs_Shape enum (OCCT specific).
5486 """
5487
5488 return _geomabsshape_dict[name.upper()]
5489
5490
5491_parametrization_dict = dict(

Callers 2

_make_builderFunction · 0.85
projectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected