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

Function clear

cadquery/fig.py:508–514  ·  view source on GitHub ↗

Clear objects from the current figure.

(*args: Shape | vtkProp3D, **kwargs)

Source from the content-addressed store, hash-verified

506
507
508def clear(*args: Shape | vtkProp3D, **kwargs):
509 """
510 Clear objects from the current figure.
511 """
512
513 fig = Figure()
514 fig.clear(*args, **kwargs)
515
516
517def fit(*args, **kwargs):

Callers 1

test_fig_free_funcFunction · 0.90

Calls 2

clearMethod · 0.95
FigureClass · 0.85

Tested by 1

test_fig_free_funcFunction · 0.72