message: handle arrays in export
diff: @@ -250,8 +250,19 @@ namespace MakerJsRequireIframe {
  captureExportedModel = itemToExport as MakerJs.IModel;
  } else if (Array.isArray(itemToExport)) {
  - //issue: this won't handle an array of models
  - captureExportedModel = { paths: <MakerJs.IPathMap>itemToExport };
  + captureExportedModel = { };
  +
  + itemToExport.forEach((x, i) => {
  + if (makerjs.isModel(x)) {
  + captureExportedModel.models = captureExportedModel.models || {};
  + captureExportedModel.models[i] = x;
  + }
  + if (makerjs.isPath(x)) {
  + captureExportedModel.paths = captureExportedModel.paths || {};
  + captureExportedModel.paths[i] = x;
  + }
  + });
  +
  } else if (parent.makerjs.isPath(itemToExport)) {
  captureExportedModel = { paths: { "0": <MakerJs.IPath>itemToExport } };
  