@huukhanhnguyen/types / model/kernel
model/kernel
BooleanOperation
BooleanOperation = (
documentA,documentB) =>string
Unit H: boolean ops take/return solid JSON documents.
Parameters
documentA
string
documentB
string
Returns
string
ExtrudeFace
ExtrudeFace = {
loops:Point[][]; }
loops
loops:
Point[][]
HandleOperation
HandleOperation = (
document) =>string
Unit H: ops take/return solid or shell JSON documents (no arena handles).
Parameters
document
string
Returns
string
SolidMeasurements
SolidMeasurements = {
centerOfMass:Point;surfaceArea:number;volume:number; }
Exact measurements of one body, taken in the kernel.
centerOfMass
centerOfMass:
Point
Center of mass of the enclosed material, world space.
surfaceArea
surfaceArea:
number
Sum of every face's own area, mm².
volume
volume:
number
Enclosed volume, mm³, unsigned.