How do I rotate a block in Scheme?
Synopsis
Rotating objects with TracePro macros.
Solution
The (edit:rotate) command is used to rotate a given object or list of objects. The simple example below creates a cone and rotates the cone by 45 degrees.
; Create a cone centered at the origin
(property:apply-name (geometry:cylcone 1 0.4 0.4 1) "cylcone1")
; Rotate the cone about the x axis by 45 degrees
(edit:rotate (entity:get-by-name "cylcone1") 0 0 0 1 0 0 45)