get_edges_on_bounding_box#

Modeler3D.get_edges_on_bounding_box(assignment, return_colinear=True, tolerance=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:
assignmentint, 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.

tolerancefloat, optional

Geometric tolerance. The default is 1e-6.

Returns:
list

List of edge IDs lying on the bounding box.