### Create and Subtract Shapes with ManifoldJS Source: https://manifoldcad.org/docs/jsapi/index This snippet demonstrates how to create a cube and a sphere using the ManifoldJS library and then perform a boolean subtraction operation. It utilizes the 'cube' and 'sphere' constructors and the 'subtract' method. The result is exported as the default export. ```javascript import {Manifold} from 'manifold-3d/manifoldCAD'; const {cube, sphere} = Manifold; const box = cube([100, 100, 100], true); const ball = sphere(60, 100); const result = box.subtract(ball); export default result; ``` ```typescript import {Manifold} from 'manifold-3d/manifoldCAD'; const {cube, sphere} = Manifold; const box = cube([100, 100, 100], true); const ball = sphere(60, 100); const result = box.subtract(ball); export default result; ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.