jscad parameters default values and float type #582
Reference in New Issue
Block a user
Delete Branch "fix-getParameterDefinitions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
floattype 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.
@@ -317,3 +317,3 @@const makeScriptWorker = ({ callback, convertToSolids }) => {let onInit, main, scriptStats, entitieslet onInit, main, scriptStats, entities, lastParamsDefShould jscad handle a missing param and use the scripts default value by itself?
@@ -317,3 +317,3 @@const makeScriptWorker = ({ callback, convertToSolids }) => {let onInit, main, scriptStats, entitieslet onInit, main, scriptStats, entities, lastParamsDefYes, that is expected behavior in jscad currently, just not properly implemented in my integration for CadHub.
Thanks Hrg.