Open danmarshall opened 3 years ago
If you want to load multiple files, you need to use a "Project", which is basically a directory with an index.js
file.
So here you can have a cube
folder, then put an index.js
file and export the main function from it. You can require other .js
files in index.js
. It's similar to a commonjs
node modue.
Then instead of previewing a file, previewing the cube
folder.
Thanks! I'll modify my local project.
Hello, thanks so much for creating this extension! I can load a single Jscad file and see it, but not if it
require
s another file: