Merge branch 'main' into kurt/customizer-start-320
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -24,7 +24,7 @@ Open the IDE for the Cad package to match your script, in this case OpenSCAD.
|
||||
|
||||
<Image img={openscadSelect} style={{backgroundSize: 'contain', paddingBottom: '2rem', width: '400px', margin: '0 auto'}} />
|
||||
|
||||
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.
|
||||
|
||||
<Image img={externalScript1} style={{backgroundSize: 'contain', paddingBottom: '2rem', width: '400px', margin: '0 auto'}} />
|
||||
|
||||
|
||||
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user