more elegant fix. opengraph fix
This commit is contained in:
parent
b108acacfc
commit
6acb4b14d7
2 changed files with 3 additions and 5 deletions
|
|
@ -322,10 +322,8 @@ let gs_kiri_slicer = exports;
|
|||
// ensure no slice through horizontal lines or planes
|
||||
if (zFlat[ik]) onFlat = true;
|
||||
if (zLines[ik]) onLine = true;
|
||||
if (onFlat || onLine) zIndexes[i] -= 0.001;
|
||||
if ((onFlat || onLine) && options.cam) {
|
||||
// reverse on line compensation for cam mode
|
||||
zIndexes[i] += 0.002;
|
||||
if (onFlat || onLine) {
|
||||
zIndexes[i] += options.cam ? 0.001 : -0.001;
|
||||
}
|
||||
// slice next layer and add to slices[] array
|
||||
sliceZ(zIndexes[i], zHeights[i], onFlat, onLine);
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@
|
|||
<meta property="og:description" content="Kiri:Moto is a unique multi-modal 3D slicer that runs entirely in browser and creates output for your favorite maker tools: 3D Printers, CNC Mills and Laser Cutters.">
|
||||
<meta property="og:title" content="Free 3D Tools for Makers">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://static.grid.space/kiri">
|
||||
<meta property="og:url" content="https://grid.space/kiri/">
|
||||
<meta property="og:image" content="https://static.grid.space/img/logo_km_og.png">
|
||||
<title>Kiri:Moto</title>
|
||||
<link rel="icon" href="/kiri/favicon.ico">
|
||||
|
|
|
|||
Loading…
Reference in a new issue