Skip to content
arnholm edited this page May 1, 2017 · 1 revision

cube

A cube is defined by its size. It extends from the origin in x,y and z directons, unless the “center” option is specified, in which case the geometric centre of the cube will coincide with the origin.

Parameter name Description Status
size Extent in x, y and z required
center center on origin (true/false) optional (default=false)

Complete cube example

<?xml version="1.0" encoding="utf-8"?>
<xcsg version="1.0">
    <cube size="30" center="false"/>
</xcsg>

Same example with center"true"

<?xml version="1.0" encoding="utf-8"?>
<xcsg version="1.0">
    <cube size="30" center="true"/>
</xcsg>

Clone this wiki locally