get_edges_on_bounding_box#

Modeler2D.get_edges_on_bounding_box(sheets, return_colinear=True, tol=1e-06)[source]#

Retrieve the edges of the sheets passed in the input that are lying on the bounding box.

This method creates new lines for the detected edges and returns the IDs of these lines. If required, only colinear edges are returned.

Parameters:
sheetsint, str, or list

ID or name for one or more sheets.

return_colinearbool, optional

Whether to return only colinear edges. The default is True. If False, all edges on the bounding box are returned.

tolfloat, optional

Geometric tolerance. The default is 1e-6.

Returns:
list

List of edge IDs lying on the bounding box.