OCCBrep.to_viewmesh

OCCBrep.to_viewmesh(linear_deflection=None, angular_deflection=None)

Convert the BRep to a view mesh.

Parameters:
linear_deflectionfloat, optional

Allowable “distance” deviation between curved geometry and mesh discretisation.

angular_deflectionfloat, optional

Allowable “curvature” deviation between curved geometry and mesh discretisation.

Returns:
tuple[compas.datastructures.Mesh, list[compas.geometry.Polyline]]