Skip to main content
Ctrl+K
Logo image

COMPAS Timber

  • Introduction
  • Installation
  • API Reference
    • compas_timber.model
    • compas_timber.elements
    • compas_timber.connections
    • compas_timber.fabrication
    • compas_timber.design
    • compas_timber.planning
    • compas_timber.errors
    • compas_timber.ghpython
    • compas_timber.rhino
  • Grasshopper plugin
    • Installation Guide
    • Workflow
    • Attributes
    • Beams
    • Design
    • Fabrication
    • Features
    • Joint Rules
    • Model
    • Show
    • Utils
    • Examples
  • Developer Guide
    • Class Diagrams
    • BTLx Contribution Guide
    • Joints Contribution Guide
  • License
  • Citing
COMPAS.dev
  • API Reference
  • TimberModel
  • TimberModel.rotate

TimberModel.rotate

TimberModel.rotate(angle, axis=None, point=None)[source]

Rotate the datastructure.

Parameters:
anglefloat

The angle of rotation in radians.

axiscompas.geometry.Vector, optional

The axis of rotation. Defaults to the z-axis.

pointcompas.geometry.Point, optional

The base point of the rotation axis. Defaults to the origin.

Returns:
None

See also

rotated
translate
scale
transform
On this page
  • TimberModel.rotate()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.