Irev-Dev / cadhub

We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
https://cadhub.xyz
GNU General Public License v3.0
316 stars 59 forks source link

jscad parameters default values and float type #582

Closed hrgdavor closed 2 years ago

hrgdavor commented 2 years ago

float type was missing from jscad params parser, so even the basic getParameterDefinitions example from jscad docs did not work.

Also parser was sending empty parameters object when customizer is closed, and it is wrong to do so if the parameters have a defined initial value.