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

Function _toptools_list_to_shapes

cadquery/occ_impl/shapes.py:5464–5469  ·  view source on GitHub ↗

Convert a TopTools list (OCCT specific) to a compound.

(tl: TopTools_ListOfShape)

Source from the content-addressed store, hash-verified

5462
5463
5464def _toptools_list_to_shapes(tl: TopTools_ListOfShape) -> list[Shape]:
5465 """
5466 Convert a TopTools list (OCCT specific) to a compound.
5467 """
5468
5469 return [_normalize(Shape.cast(el)) for el in tl]
5470
5471
5472_geomabsshape_dict = dict(

Callers 1

checkFunction · 0.85

Calls 2

_normalizeFunction · 0.85
castMethod · 0.80

Tested by

no test coverage detected