(Work In Progress) A Gcode postprocessing script to add non-planar "Fuzzyskin" to top flat surfaces.
Important note, if you use Orcaslicer for Bambu printers, use the fuzzyficator_bambustudio.py it works with orca too
(Dear Youtubers if you make a Video about this, I would be glad if you could link to my channel <3 https://www.youtube.com/@tengertechnologies )
There are versions for Bambustudio, Orcaslicer and Prusaslicer.
Use it at your on risk.
The script automatically reads your fuzzyskin settings and applies them to the top surfaces.
You can overite the settings with:
-resolution (use any number)
-zMin (use any number)
-zMax (use any number)
-ConnectWalls (use 1 or 0)
-run (use 1 or 0)
-compensateExtrusion (use 1 or 0)
Add the script to your slicers postprocessing tab:
"C:\pathToPython\python.exe" "C:\pathToScript\Fuzzyficator_Prusaslicer.py"
The script will use your Fuzzyskin settings if Fuzzyskin is enabled. compensateExtrusion and connectWalls default to ON.
You can use the settings to override it's defaults by adding them after the script:
"C:\pathToPython\python.exe" "C:\pathToScript\Fuzzyficator_Prusaslicer.py" -run 1 -zMin 0 -zMax 0.5 -resolution 0.3 -ConnectWalls 1 -compensateExtrusion 1
-resolution sets the size of how to segment the Gcode
-zMin and zMax set the minimal and maximal Z displacement of the segments.
-connectWalls sets wether the first segment should not be displaced.
-run enables or disables the script
-compensateExtrusion compensates extrusion values for the added distance
Only for Prusaslicer. Left in the repo because of the Youtube tutorial.
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