overhauled model
Signed-off-by: Stephan Richter <s.richter@srsoftware.de>
@@ -3,16 +3,18 @@ imprint_height = 13;
|
|||||||
scale_by = 0.3;
|
scale_by = 0.3;
|
||||||
factor = [scale_by,scale_by,scale_by];
|
factor = [scale_by,scale_by,scale_by];
|
||||||
|
|
||||||
linear_extrude(height=imprint_height)
|
mirror([1,0,0]){
|
||||||
scale(factor)
|
linear_extrude(height=imprint_height)
|
||||||
translate([-0.8,2,0])
|
scale(factor)
|
||||||
import("imprint-polyline.svg", center = true);
|
translate([2,0,0])
|
||||||
|
import("imprint-polyline.svg", center = true);
|
||||||
|
|
||||||
|
|
||||||
linear_extrude(height=border_height)
|
linear_extrude(height=border_height)
|
||||||
scale(factor)
|
scale(factor)
|
||||||
import("outline-polyline.svg", center = true);
|
import("outline-polyline.svg", center = true);
|
||||||
|
|
||||||
linear_extrude(height=1)
|
linear_extrude(height=1)
|
||||||
scale(factor)
|
scale(factor)
|
||||||
import("scale-down.svg", center = true);
|
import("scale-down.svg", center = true);
|
||||||
|
}
|
||||||
@@ -6,7 +6,7 @@ Die Polyline-SVGs ([imprint-polyline.svg](imprint-polyline.svg), [outline-polyli
|
|||||||
|
|
||||||
1. Code (reduziert auf benötigte Pfade) aus keksform.svg bei
|
1. Code (reduziert auf benötigte Pfade) aus keksform.svg bei
|
||||||
https://observablehq.com/@dqgorelick/converting-svg-to-a-polyline reinkippen
|
https://observablehq.com/@dqgorelick/converting-svg-to-a-polyline reinkippen
|
||||||
2. Script anpassen (das vordefinierte-Scrript ist falsch und erzeugt auch keinen SVG-Code):
|
2. Script anpassen (das vordefinierte-Script ist falsch und erzeugt auch keinen SVG-Code):
|
||||||
```js
|
```js
|
||||||
{
|
{
|
||||||
const paths = document.querySelectorAll('#output-svg svg path')
|
const paths = document.querySelectorAll('#output-svg svg path')
|
||||||
|
|||||||
62044
imprint-polyline.svg
|
Before Width: | Height: | Size: 488 KiB After Width: | Height: | Size: 457 KiB |
138
imprint.svg
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 26 KiB |
144
keksform.svg
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 28 KiB |
4002
outline-polyline.svg
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
2025
outline.svg
|
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 2.3 KiB |
6714
scale-down.svg
|
Before Width: | Height: | Size: 102 KiB After Width: | Height: | Size: 96 KiB |