diff --git a/app/web/src/components/EditorMenu/helpers.ts b/app/web/src/components/EditorMenu/helpers.ts index 2393ac7..0ced278 100644 --- a/app/web/src/components/EditorMenu/helpers.ts +++ b/app/web/src/components/EditorMenu/helpers.ts @@ -36,7 +36,7 @@ export const makeStlDownloadHandler = }: makeStlDownloadHandlerArgs) => () => { const makeStlBlobFromMesh = flow( - (mesh) => new Scene().add(mesh), + (...meshes) => new Scene().add(...meshes), (scene) => new STLExporter().parse(scene), (stl) => new Blob([stl], { @@ -60,7 +60,7 @@ export const makeStlDownloadHandler = ) { saveFile(makeStlBlobFromGeo(geometry)) } else if (ideType == 'jscad') { - saveFile(makeStlBlobFromMesh(geometry)) + saveFile(makeStlBlobFromMesh(...geometry)) } else { thunkDispatch((dispatch, getState) => { const state = getState() diff --git a/docs/docs/general-cadhub/external-resource-url.mdx b/docs/docs/general-cadhub/external-resource-url.mdx index bd2d41d..ba6aaf5 100644 --- a/docs/docs/general-cadhub/external-resource-url.mdx +++ b/docs/docs/general-cadhub/external-resource-url.mdx @@ -24,7 +24,7 @@ Open the IDE for the Cad package to match your script, in this case OpenSCAD. -Click the share button in the top right, then select the "external srcipt" tab. +Click the share button in the top right, then select the "external script" tab. diff --git a/docs/docusaurus.config.js b/docs/docusaurus.config.js index d750155..07c9e8a 100644 --- a/docs/docusaurus.config.js +++ b/docs/docusaurus.config.js @@ -94,12 +94,12 @@ module.exports = { docs: { sidebarPath: require.resolve('./sidebars.js'), editUrl: - 'https://github.com/facebook/docusaurus/edit/master/website/', + 'https://github.com/Irev-Dev/cadhub/blob/main/docs/', }, blog: { showReadingTime: true, editUrl: - 'https://github.com/facebook/docusaurus/edit/master/website/blog/', + 'https://github.com/Irev-Dev/cadhub/blob/main/docs/', }, theme: { customCss: require.resolve('./src/css/custom.css'),