Skip to content

Interlocking Layers Post-Processing Script for PrusaSlicer, OrcaSlicer, and BambuStudio

License

Notifications You must be signed in to change notification settings

tekchip/BrickLayers

 
 

Repository files navigation

Bricklayers

Interlocking Layers Post-Processing Script for PrusaSlicer, OrcaSlicer, and BambuStudio

Video about this script:

Brick Layers for everybody


Install Python or Pypy

To use the script, you need Python or PyPy (faster) installed: Download Python Download PyPy


Setup in your Slicer

Edit the "Post processing scripts" section in your slicer.

Make sure to update the path to match:

  • Your Python installation folder.
  • The folder where you saved bricklayers.py.

🖥️ Windows Example

%USERPROFILE%\AppData\Local\Programs\Python\Python313\python.exe C:\3DPrinting\Scripts\bricklayers.py -startAtLayer 3 -extrusionMultiplier 1.05 -enabled 1;

🍏 Mac Example (Using PyPy)

/usr/local/bin/pypy3 /Volumes/3DPrinting/Scripts/bricklayers.py -startAtLayer 3 -extrusionMultiplier 1.05 -enabled 1;


Command Line Interface

You can use the script to modify GCode files outside of the slicer. First, I recommend you to check 2 examples in this file: https://github.com/GeekDetour/BrickLayers/blob/main/sample_tests/simpletest.sh

Try running it once, as provided.

If you downloaded or cloned the repository, in your Terminal, go to the repository and:

cd sample_tests
chmod +x simpletest.sh
./simpletest.sh

You should see something like this: running the simpletest.sh on your machine


Features

Automatically detects Layer Height and Retraction settings.

Detailed instructions in the next hours. Thanks for your patience.

About

Interlocking Layers Post-Processing Script for PrusaSlicer, OrcaSlicer, and BambuStudio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • Shell 0.5%