Skip to content

pytha.create_block

daniel-flassig edited this page May 3, 2020 · 24 revisions

Creates a block (mathematically a cuboid) in PYTHA as new part.

pytha.create_block(length, width, height, origin, [u-axis1,2,3, v-axis1,2,3]) 
Parameter Type Description
length number Length of the block (in x-direction)
width number Width of the block (in y-direction)
height number Height of the block (in y-direction)
origin {x,y,z} Optional: origin point of the block
x, y, z number x-, y- and z-coordinate values

See also:

Clone this wiki locally