I've been trying to use the Blocks editor at:
http://openjscad.azurewebsites.net/ and it works fine until I instantiate a
variable then I get an error such as:
Error in line 13: Expected ')'
for the generated code:
// Model from Block Coding
var BoxDiameter;
var BoxHeight;
function main() {
return union( BoxDiameter = 50;
BoxHeight = 10;
cylinder({r:(BoxDiameter / 2), h:BoxHeight}));
}
which was made by:
[image: Capture.PNG]
I've been trying to use the Blocks editor at:
http://openjscad.azurewebsites.net/ and it works fine until I instantiate a
variable then I get an error such as:
Error in line 13: Expected ')'
for the generated code:
// Model from Block Coding
var BoxDiameter;
var BoxHeight;
function main() {
return union( BoxDiameter = 50;
BoxHeight = 10;
cylinder({r:(BoxDiameter / 2), h:BoxHeight}));
}
which was made by:
[image: Capture.PNG]