defaults: set $fs automatically

This commit is contained in:
2023-12-23 22:45:24 +00:00
parent b4a8f9c1da
commit 00803222d4

View File

@@ -1,5 +1,8 @@
// $fs = 4; //< okay for faster rendering
$fs = 1; //< fine for exporting/printing; a little slow for rendering
if ($preview) {
$fs = 4; //< okay for faster rendering
} else {
$fs = 1; //< fine for exporting/printing; a little slow for rendering
}
// tolerance. lining up the extrusions and cuts with zero tolerance causes very thin walls,
// so i offset those to make the model actually contiguous.