(Work In Progress) A Gcode postprocessing script to add non-planar "Fuzzyskin" to top flat surfaces.
Currently it is tested with Prusaslicer and Marlin Flavour gcode. (More slicers and Klipper will come)
Use it at your on risk.
You can run it with 4 parameters:
1: float:FuzzyResolution
2: float:z_min_displacement
3: float:z_max_displacement
4: bool:ensure_first_z_zero
FuzzyResolution sets the size of how to segment the Gcode
z_min_displacement and z_max_displacement set the minimal and maximal Z displacement of the segments.
ensure_first_z_zero sets wether the first segment should not be displaced
So to run the script with the following settings: FuzzyResolution: 0.3, z_min_displacement 0, z_max_displacement: 0.5, ensure_first_z_zero: 1
Run: python fuzzyficator.py 0.3 0 0.5 1
in your console.
The gcode file must be in the same directory and must be named input.gcode