jscad / OpenJSCAD.org

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.
https://openjscad.xyz/
MIT License
2.61k stars 511 forks source link

consider refactor of parameterControls.js #660

Open SimonClark opened 3 years ago

SimonClark commented 3 years ago

web/src/ui/views/parameterControls.js file is big, does a lot, not terribly testable.

Consider refactoring it, perhaps we can break it up so the each type of control (group, radio, select, generic input) has its own file fully authoritative file, essentially a pluggable input system.

Specifications

z3dev commented 2 years ago

And support #42 parameter dependencies.