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

Function cone

cadquery/occ_impl/shapes.py:6466–6471  ·  view source on GitHub ↗

Construct a full solid cone.

(d: Real, h: Real)

Source from the content-addressed store, hash-verified

6464
6465@multidispatch
6466def cone(d: Real, h: Real) -> Solid:
6467 """
6468 Construct a full solid cone.
6469 """
6470
6471 return cone(d, 0.0, h)
6472
6473
6474@multidispatch

Callers 2

test_meta_step_exportFunction · 0.90
test_coneFunction · 0.85

Calls 4

_shapeFunction · 0.85
VectorClass · 0.85
toPntMethod · 0.80
toDirMethod · 0.80

Tested by 2

test_meta_step_exportFunction · 0.72
test_coneFunction · 0.68