MCPcopy Index your code
hub / github.com/CadQuery/cadquery / _to_parametrization

Function _to_parametrization

cadquery/occ_impl/shapes.py:5498–5503  ·  view source on GitHub ↗

Convert a literal to Approx_ParametrizationType enum (OCCT specific).

(name: str)

Source from the content-addressed store, hash-verified

5496
5497
5498def _to_parametrization(name: str) -> Approx_ParametrizationType:
5499 """
5500 Convert a literal to Approx_ParametrizationType enum (OCCT specific).
5501 """
5502
5503 return _parametrization_dict[name.lower()]
5504
5505
5506def _adaptor_curve_to_edge(crv: Adaptor3d_Curve, p1: float, p2: float) -> TopoDS_Edge:

Callers 1

_make_builderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected