Essential shape operations

Shape operations are the actions that you can apply to shapes. You can find a list of all available operations in CGA reference. The following is a list of essential operations with descriptions:

Extrusion

Extrudes the input shape to a given height.

Lot --> extrude(13) Mass
Extrusion

Transformation

Used to place, orient, and size the scope and geometry.

Mass --> s('0.75, '1, '0.75)
         center(xz)
         Block
Transformation

Component split

Splits a shape into its subcomponents, for example, a volume into its faces.

Block --> comp(f) { side : Facade | top : Roof. }
Component split

Subdivision split

Splits a geometry along scope axes.

Facade --> split(y) { 1 : Facade. | ~3 : Floor  | 1 : Facade. }*
Floor  --> split(x) { 1 : Floor.  | ~2 : Window | 1 : Floor.  }*
Subdivision split

Insert assets

Loads an asset and inserts it in the current scope.

Window --> i("window.obj")
Insert assets