Return to the region documentation.

style prims

Purpose

style prism is used to generate a region in form of a parallelepiped.

_images/prism.png

Syntax

region id my_prism style prism low (x_l, y_l, z_l) high (x_h, y_h, z_h) tilt_y_to_x a tilt_z_to_x b tilt_z_to_y c keyword value

Keyword

Description

low

obligatory vector of lower bounds of untilted prism in all dimensions
units: [length]

high

obligatory vector of higher bounds of untilted prism in all dimensions
units: [length]

tilt_y_to_x

distance to tilt y in x direction
units: [length]

tilt_z_to_x

distance to tilt z in x direction
units: [length]

tilt_z_to_y

distance to tilt z in y direction
units: [length]

general optional keywords

General keywords of the region command

Examples

region id my_prism style prism low (0, 0, 0) high (10, 1, 2) tilt_y_to_x 3

Return to the region documentation.