DirectRule

class compas_timber.design.DirectRule[source]

Bases: JointRule

Creates a Joint Rule that directly joins multiple elements.

Parameters:
joint_typecls(Joint)

The joint type to be applied to the elements.

elementslist(TimberElement)

The elements to be joined.

max_distancefloat, optional

The maximum distance to consider two elements as intersecting.

kwargsdict

The keyword arguments to be passed to the joint.

Methods

ToString

comply

Returns True if the given elements comply with this DirectRule.

contains

Returns True if the given elements are defined within this DirectRule.

Inherited Methods

get_category_rules

get_direct_rules

get_topology_rules

joints_from_beams_and_rules

processes joint rules into joint definitions.