* 'default(var_name,value)' check if the variable exist and affect it the value if not.
The variable can be boolean 'true' 'false', int '0' '12', double '1.0' '42.24' or string '"a string"'.
* 'exists(var_name)' return true if present. Note that it create a dummy boolean variable.
Note that if you're using the variable in a formula, it may crash even if guarded by a {if} as everything is interpreted (no lazy check).
So be careful to add a 'default' so it get the right type and can the formula be interpreted (unless you just print it).
Using 'default' doesn't change the return value of 'exists'.
also now use coincide_with_epsilon for most of medial_axis, as I have the proof the position can vary by 1 unit in an intersection.
supermerill/SuperSlicer#2092
* Fix cross compiling for GMP on Mac
* Fix Apple silicon cross-compile for libcurl
* Fix OpenEXR cross compile for apple silicon
* Patch to cross compile libpng for Apple Silicon
* Fix comment
supermerill:
* Test new BuildMacOS.sh script
* limits macos-arm new command to macos.
* add debug to BuildMacos script (like for linux)
Changed the way the surface to fill is computed (more work) to ensure there isn't problem anymore anywhere.
FIXME: enforce_full_fill_volume isn't really compatible with filament_max_overlap right now
* for bridges, don't connect if too long (2*spacing). Prevent printing a bridge over another one, following the perimeter.
* try to start the connect the lines from both direction, and choose the one with less continuous lines.
* Fix some cases where rectilinear put itself in a bad state. supermerill/superslicer#1889
* AutoNotFull: now print the dense infill only if the area to cover doesn't fill the sparse area.
* AutoOrEnlarged: now print the auto dense infill, unless the area to cover is wider than (nozzle diameter*2/infill ratio) and the enlarged version is smaller than the auto
* New: AutoOrDisable: now print the auto dense infill, unless the area to cover is wider than (nozzle diameter*2/infill ratio) or the area to cover fill the sparse area.
(when the bridge are near the border of the object)
Also the "only bridge" now won't create artifacts on the perimeter path.
supermerill/SuperSlicer#1917
* now has a min setting.
* the density can be chosen between the two values, with the highest density possible.
* remove the hardcoded 87.5% density modifier. Replaced by a max of 90% and a min of 80%
* try to place the bridge at the right position (only works if the shape is simple).
FIXME: bridge can be printed on top of the previous one (if began in the wrong direction, or it has a odd number and need to go back to the same side)
try to mitigate that.