Skip to main content
Ctrl+K
Logo image

COMPAS Timber

  • Introduction
  • Installation
  • API Reference
    • compas_timber.assembly
    • compas_timber.parts
    • compas_timber.connections
    • compas_timber.consumers
    • compas_timber.fabrication
    • compas_timber.planning
    • compas_timber.ghpython
    • rhino
  • Examples
    • Create Joint
  • Grasshopper plugin
    • Workflow
    • Beam
    • Attributes
    • Joints
    • Joint Rules
    • Features
    • Assembly
    • Show
    • Utils
    • Examples
    • BTLx Contribution Guide
  • License
  • Citing
COMPAS.dev
  • API Reference
  • TimberAssembly
  • TimberAssembly.rotate

TimberAssembly.rotate

TimberAssembly.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
  • TimberAssembly.rotate()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.