Skip to content

API Reference¤

All public names are re-exported from the compas_wood top-level package; the pages below document them module by module.

Template generators¤

Module What it makes
translation_shell Sweep a cross-section along a profile into a shell of plates
reflex_fold Folded shell swept between two polylines
chevron Chevron shell (built-in dome, NURBS surface, or the Annen surfaces)
diamond_mesh Diamond-pattern triangular shell
connectors Face plates + edge connector rectangles from any mesh
reciprocal_move Translation-based reciprocal frame (nexorade)
reciprocal_rotation Rotation-based reciprocal frame

Joinery¤

Module What it does
joinery_solver Detect joints between plates; search types, joint-parameter defaults
wood_element WoodElement, JoineryElement, JointResult wrappers
model Plate / PlateModel: in-memory plate topology with json round-trip
assign_vectors Tag joint types and insertion vectors from points and lines

Geometry and data¤

Module What it does
brep Brep plates to outline pairs (compas_occt backend)
loft Loft bottom+top polylines (with holes) into a closed mesh
convert Raw C++ containers to compas geometry
datasets Named JSON datasets shipped with wood_nano
session_scene The session_viewer backend: build a scene, write it as protobuf
viewer Backend-agnostic drawing helpers mirroring the Rhino plugin's layer tree