Improve CAD workspace functionality and user experience

This commit is contained in:
Marcel committed 2026-09-27 21:13:24 +02:00
1 parent 6b37476687
commit 65bd8e1b4c
28 files changed
+3628 -279

No files matched your search

+84 -7
View File
@@ -1,10 +1,87 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="64" height="64">
<defs>
<linearGradient id="g" x1="0" y1="0" x2="1" y2="0">
<stop offset="0%" stop-color="#6DB7ED" stop-opacity="0.9"/>
<stop offset="100%" stop-color="#6DB7ED" stop-opacity="0.0"/>
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 24 24"
width="64"
height="64"
version="1.1"
id="svg3"
sodipodi:docname="hatch_gradient.svg"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview
id="namedview3"
pagecolor="#B4B6B9"
bordercolor="#B4B6B9"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#B4B6B9"
inkscape:zoom="15.601563"
inkscape:cx="22.401602"
inkscape:cy="32.849273"
inkscape:window-width="2560"
inkscape:window-height="1368"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3" />
<defs
id="defs2">
<linearGradient
id="g"
x1="4"
y1="4"
x2="20"
y2="4"
gradientUnits="userSpaceOnUse"
gradientTransform="translate(22.421511,-1.7454447)">
<stop
offset="0%"
stop-color="#6DB7ED"
stop-opacity="0.9"
id="stop1" />
<stop
offset="100%"
stop-color="#6DB7ED"
stop-opacity="0.0"
id="stop2" />
</linearGradient>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient3"
id="linearGradient4"
x1="0"
y1="12"
x2="24"
y2="12"
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(0.98333334,0,0,0.98333334,0.19999999,0.19999999)" />
<linearGradient
id="linearGradient3"
inkscape:collect="always">
<stop
style="stop-color:#6DB7ED;stop-opacity:0.89999998;"
offset="0"
id="stop3" />
<stop
style="stop-color:#6DB7ED;stop-opacity:0;"
offset="1"
id="stop4" />
</linearGradient>
</defs>
<rect x="4" y="4" width="16" height="16" fill="url(#g)"/>
<rect x="4" y="4" width="16" height="16" stroke="#B4B6B9" stroke-width="1.5" fill="none"/>
<rect
x="0.9375"
y="0.9375"
width="22.125"
height="22.125"
stroke="#B4B6B9"
stroke-width="1.5"
fill="none"
id="rect3"
style="fill:url(#linearGradient4);stroke-width:1.875;stroke-dasharray:none" />
</svg>

Before

Width:  |  Height:  |  Size: 477 B

After

Width:  |  Height:  |  Size: 2.3 KiB

+29 -22
View File
@@ -6,7 +6,7 @@
version="1.1"
id="svg6"
sodipodi:docname="hatch_lines.svg"
inkscape:version="1.4.4 (dcaf3e7d9e, 2026-05-05)"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
@@ -20,15 +20,15 @@
inkscape:pageopacity="0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#505050"
inkscape:zoom="6.3152247"
inkscape:cx="34.044711"
inkscape:cy="32.698757"
inkscape:window-width="1920"
inkscape:window-height="939"
inkscape:zoom="8.9310764"
inkscape:cx="26.032696"
inkscape:cy="34.878215"
inkscape:window-width="2560"
inkscape:window-height="1368"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg6" />
inkscape:current-layer="g6" />
<defs
id="defs1">
<clipPath
@@ -53,40 +53,47 @@
y2="-2"
stroke="#6db7ed"
stroke-width="1.2"
id="line1" />
id="line1"
style="stroke-width:1.25222463;stroke-dasharray:none" />
<line
x1="2"
y1="26"
y1="25.5"
x2="26"
y2="2"
y2="1.5"
stroke="#6db7ed"
stroke-width="1.2"
id="line2" />
id="line2"
style="stroke-width:1.25222;stroke-dasharray:none" />
<line
x1="-6"
y1="18"
y1="19"
x2="18"
y2="-6"
y2="-5"
stroke="#6db7ed"
stroke-width="1.2"
id="line3" />
id="line3"
inkscape:transform-center-x="1.4695877"
inkscape:transform-center-y="-1.4695877"
style="stroke-width:1.25222;stroke-dasharray:none" />
<line
x1="6"
y1="30"
y1="29"
x2="30"
y2="6"
y2="5"
stroke="#6db7ed"
stroke-width="1.2"
id="line5" />
id="line5"
style="stroke-width:1.25222;stroke-dasharray:none" />
</g>
<!-- Square boundary -->
<rect
x="0.87927544"
y="0.87927294"
width="22.241451"
height="22.241451"
x="0.9375"
y="0.9375"
width="22.125"
height="22.125"
stroke="#b4b6b9"
stroke-width="1.75855"
fill="none"
id="rect6" />
id="rect6"
style="stroke-width:1.875;stroke-dasharray:none" />
</svg>

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

+50
View File
@@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 24 24"
width="64"
height="64"
version="1.1"
id="svg2"
sodipodi:docname="hatch_none.svg"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="12.805262"
inkscape:cx="31.66667"
inkscape:cy="32.75997"
inkscape:window-width="2560"
inkscape:window-height="1368"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<!-- Solid fill -->
<path
style="fill:none;stroke:#ff0000;stroke-width:1.875;stroke-dasharray:none;stroke-opacity:1"
d="M 0,24 24,0"
id="path1"
sodipodi:nodetypes="cc" />
<rect
x="0.9375"
y="0.9375"
width="22.125"
height="22.125116"
stroke="#b4b6b9"
stroke-width="2.05714"
fill="none"
id="rect2"
style="fill:none;fill-opacity:1;stroke-width:1.875;stroke-dasharray:none" />
</svg>

After

Width:  |  Height:  |  Size: 1.4 KiB

+43 -3
View File
@@ -1,5 +1,45 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="64" height="64">
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 24 24"
width="64"
height="64"
version="1.1"
id="svg2"
sodipodi:docname="hatch_solid.svg"
inkscape:version="1.4.3 (0d15f75042, 2025-12-25)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs2" />
<sodipodi:namedview
id="namedview2"
pagecolor="#ffffff"
bordercolor="#000000"
borderopacity="0.25"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="18.109375"
inkscape:cx="32"
inkscape:cy="32"
inkscape:window-width="2560"
inkscape:window-height="1368"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg2" />
<!-- Solid fill -->
<rect x="4" y="4" width="16" height="16" fill="#6DB7ED" opacity="0.6"/>
<rect x="4" y="4" width="16" height="16" stroke="#B4B6B9" stroke-width="1.5" fill="none"/>
<rect
x="0.9375"
y="0.9375"
width="22.125"
height="22.125116"
stroke="#b4b6b9"
stroke-width="2.05714"
fill="none"
id="rect2"
style="fill:#6db7ed;fill-opacity:1;stroke-width:1.875;stroke-dasharray:none" />
</svg>

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 1.3 KiB