SurfaceModel

class compas_timber.design.SurfaceModel[source]

Bases: object

Create a timber assembly from a surface.

Parameters:
surfacecompas.geometry.Surface

The surface to create the assembly from. must be planar.

beam_widthfloat

The height of the beams aka thickness of wall cavity normal to the surface.

frame_depthfloat

The width of the beams.

stud_spacingfloat

The spacing between the studs.

z_axiscompas.geometry.Vector, optional

Determines the orientation of the posts inside the frame. Default is Vector.Zaxis.

Attributes:
beamslist of compas_timber.elements.Beam

The beams of the assembly.

ruleslist of compas_timber.design.CategoryRule

The rules for the assembly.

centerlineslist of compas.geometry.Line

The centerlines of the beams.

normalcompas.geometry.Vector

The normal of the surface.

panel_lengthfloat

The length of the panel.

panel_heightfloat

The height of the panel.

framecompas.geometry.Frame

The frame of the assembly.

jack_studslist of compas_timber.model.SurfaceAssembly.BeamDefinition

The jack studs of the assembly.

king_studslist of compas_timber.model.SurfaceAssembly.BeamDefinition

The king studs of the assembly.

edge_studslist of compas_timber.model.SurfaceAssembly.BeamDefinition

The edge studs of the assembly.

studslist of compas_timber.model.SurfaceAssembly.BeamDefinition

The studs of the assembly.

sillslist of compas_timber.model.SurfaceAssembly.BeamDefinition

The sills of the assembly.

headerslist of compas_timber.model.SurfaceAssembly.BeamDefinition

The headers of the assembly.

plateslist of compas_timber.model.SurfaceAssembly.BeamDefinition

Methods

beam_category_names

create_model

cull_overlaps

distance_between_elements

generate_frame

generate_perimeter_beams

generate_plates

generate_stud_lines

generate_studs

generate_windows

get_beam_intersections

get_interior_segment_indices

offset_elements

parse_loops

trim_jack_studs

trim_king_studs

trim_studs