defeature_polygon#

EdbLayout.defeature_polygon(poly, tolerance=0.001)[source]#

Defeature the polygon based on the maximum surface deviation criteria.

Parameters:
maximum_surface_deviationfloat
polyEdb Polygon primitive

Polygon to defeature.

tolerancefloat, optional

Maximum tolerance criteria. The default is 0.001.

Returns:
bool

True when successful, False when failed.