I can't seem to figure out how to use multiple resource files (stl or svg) in a single generator.
Specifically the Library.resourceText or Library.resourceDataView callback requirements have me stymied.
I can't seem to figure out how to use multiple resource files (stl or svg) in a single generator.
Specifically the Library.resourceText or Library.resourceDataView callback requirements have me stymied.
Hi Glenn, one way is to nest the calls like Library.resourceText into callbacks. Otherwise an alternative can be combining the STLs/SVGs into one STL/SVG file before feeding into shape generator. If it becomes a common requirement, we may add something like Promise in javascript to better serve this.
Thanks Peter, I will see if I can figure out how to nest those requests and carry forward the resources to the next level nest.
Hi Peter
Nesting worked as you suggested. I don't know why I couldn't see my way clear to do that before.
Thanks!