Arguments and keyword arguments are not checked when calling built-ins
-
For each built-in SCAD module the number of arguments and keyword arguments should be recorded and then set in BuiltInScope._set_built_in_vars
andBuiltInScope._set_built_in_mods(self)
-
For built-ins that follow a standard OpenSCAD module argument and keyword argument form, the input arguments need to be passed in in the correct form -
Others need special methods to check the call for reasons such as accepting infinite inputs, either/or keyword arguments (r|d|r1,r2|d1,d2), or ignoring keywords (built in functions)
Edited by Julian Stirling