Closed garyhodgson closed 11 years ago
File 1 = mycube.scad:
module mycube(s){ cube([s,s,s]); }
File 2 = mymycube.scad:
include <mycube.scad>; module mymycube(x){ mycube(x); }
File in Editor:
include <mymycube.scad>; mymycube(5);
Should display a cube Actually WARNING: Ignoring unknown module: mycube openscad-parser.js:910
function main(){ return undefined; };
Because The logic to add included files only runs at a depth of 1. Need to make it recursively process each library (this is in the newParse method)
File 1 = mycube.scad:
File 2 = mymycube.scad:
File in Editor:
Should display a cube Actually WARNING: Ignoring unknown module: mycube openscad-parser.js:910
Because The logic to add included files only runs at a depth of 1. Need to make it recursively process each library (this is in the newParse method)