JSCAD is an open source set of modular, browser and command line tools for creating parametric 2D and 3D designs with JavaScript code. It provides a quick, precise and reproducible method for generating 3D models, and is especially useful for 3D printing applications.
Expected Behavior
hull(solid) returns a convex hull of solid.
Actual Behavior
hull(solid) returns the argument solid even when it is not convex.
Steps to Reproduce the Problem
Running this code produces a torus.
Workaround
Repeat the solid to get the correct behavior, for example:
Specifications