NBeamKDTreeAnalyzer

class compas_timber.connections.NBeamKDTreeAnalyzer[source]

Bases: BeamGroupAnalyzer

Finds clusters of N beams connected pairwise at the same point within a given max_distance.

Parameters:
modelTimberModel

The TimberModel to analyze.

nint

The desired cluster size, i.e. the number of beams in a cluster.

max_distancefloat | None

The max distance to use for the analysis. If None, a default max distance is used.

Methods

find

Finds clusters of N beams connected pairwise at the same point within a given tolerance.