Base solid type Length unit of all dimensions used for this instance of solid Angle unit of angles used in definition of this solid Base type for boolean solids Abstract element for all solids substitution group Solids definitions block Definitions of constants and expressions to be used for solids' dimensions and transformations In this version these become part of the global scope. Exported boolean union of two solids Exported boolean subtraction of two solids Exported boolean intersectioin of two solids CSG box solid described by 3 dimensions of x, y, and z CSG sphere or spherical shell segment solid described by rmin inner radius rmax outer radius startphi starting angle of the segment in radians(0 <= phi <= 2*PI) deltaphi delta angle of the segment in radians starttheta starting angle of the segment in radians(0 <= theta <= PI) deltatheta delta angle of the segment in radians CSG tube or tube segement solid described by rmin Inner radius rmax Outer radius z length in z startphi The starting phi angle in radians, adjusted such that (startphi+deltaphi <= 2PI, startphi > -2PI) deltaphi Delta angle of the segment in radians CSG cone or cone segment described by rmin1 inside radius at z/2 rmin2 inside radius at z/2 rmax1 outside radius at z/2 rmax2 outside radius at z/2 z length in z startphi starting angle of the segment in radians deltaphi delta angle of the segment in radians CSG parallelepiped solid is described by x, y, z length in x,y,z alpha Angle formed by the y axis and by the plane joining the centre of the faces G4Parallel to the z-x plane at -y and +y theta Polar angle of the line joining the centres of the faces at -z and +z in z phi Azimuthal angle of the line joining the centres of the faces at -z and +z in z CSG trapezoid solid with varying x and y dimensions along z axis x1 Length along x at the surface positioned at -z x2 Length along x at the surface positioned at +z y1 Length along y at the surface positioned at -z y2 Length along y at the surface positioned at +z z Length along z axis CSG general trapezoid solid is described by z Length along the z-axis theta Polar angle of the line joining the centres of the faces at -/+z phi Azimuthal angle of the line joing the centre of the face at -z to the centre of the face at +z y1 Length along y of the face at -z x1 Length along x of the side at y = -y1 of the face at -z x2 Length along x of the side at y = +y1 of the face at -z alp1 Angle with respect to the y axis from the centre of the side at y =- y1 to the centre at y = +y1 of the face at -z y2 Length along y of the face at +z x3 Length along x of the side at y = -y2 of the face at +z x4 Length along x of the side at y = +y2 of the face at +z alp2 Angle with respect to the y axis from the centre of the side at y = -y2 to the centre at y = +y2 of the face at +z