Find

The find tools.

Example

app = cf.GetApplication()
project = app:NewProject()
project.Geometry:AddEllipse(cf.Point(), 2, 2)
project.Geometry:AddRectangle(cf.Point(), 1, 1)

    -- Find the geometry that clashes
    
clashingGeometry = project.Geometry.Find:GetClashingGeometry()

Usage locations (object properties)

The following objects have properties using the Find object:

Property List

Type
The object type string. (Read only string)

Method List

EdgeLoop (edges List of Edge)
Find the smallest closed loop from the specified list of edges. (Returns a List of Edge object.)
GetClashingGeometry ()
Find parts where geometry clashes or where one part is completely inside another. (Returns a List of Geometry object.)
GetClashingGeometry (geometrylist List of Geometry)
Find parts where geometry clashes or where one part is completely inside another from the given list of geometry parts. (Returns a List of Geometry object.)

Property Details

Type
The object type string.
Type
string
Access
Read only

Method Details

EdgeLoop (edges List of Edge)
Find the smallest closed loop from the specified list of edges.
Input Parameters
edges(List of Edge)
The list of edges which forms part of the closed loop.
Return
List of Edge
The list of edges forming a closed loop.
GetClashingGeometry ()
Find parts where geometry clashes or where one part is completely inside another.
Return
List of Geometry
The list of clashing geometry.
GetClashingGeometry (geometrylist List of Geometry)
Find parts where geometry clashes or where one part is completely inside another from the given list of geometry parts.
Input Parameters
geometrylist(List of Geometry)
The list of geometry parts from which a search for clashes is conducted.
Return
List of Geometry
The list of clashing geometry.