-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
P1S-GCODE is a repo of start and end G-code profiles for the Bambu Lab P1S, designed for use with OrcaSlicer (and compatible Bambu-style slicers).
The goal of this repository is to provide custom G-code variants that balance:
- reliability
- speed
- maintainability
These files are intended to be drop-in replacements for slicer start/end G-code, not firmware modifications.
This repository focuses on:
- Start G-code variants (S / L / L-Lite / XL)
- End G-code variants (S / L / XL)
Out of scope:
- Firmware modification or replacement
- Filament-specific tuning inside start G-code
- Aggressive plate or nozzle wear
The G-code in this repository follows a few core rules:
-
Predictability over cleverness
Start G-code should prepare the printer, then get out of the way. -
Slicer owns printing behavior
Fan control, temperatures, and first-layer behavior are handed back to the slicer (YOUR SETTINGS) before printing starts. -
Compatibility-first defaults
G-code avoids assumptions about build plates, coatings, or hardware beyond what is explicitly documented and widely supported. -
No persistent side effects
Start and end G-code are designed to leave the printer in a clean, predictable state. -
Deterministic setup
Critical states such as extrusion mode, fan behavior, and leveling are explicitly set to ensure consistency.
- Printer: Bambu Lab P1S
- Slicer: OrcaSlicer (recommended)
- Firmware: Stock Bambu firmware
- AMS: Supported
Other Bambu Lab printers may partially work but are not the target of this repository.
-
Choose the appropriate Start and End G-code variants (see G-code Variants).
-
Paste them into OrcaSlicer:
- Printer Settings → Custom G-code
-
Do not mix variants unless you understand the execution model.
Before modifying these files, read:
- Execution Model
- Known Limitations
These files are intentionally conservative.
If you want to experiment (e.g. aggressive wipes, stationary cooldown parking, filament-specific fan logic), treat this repository as a baseline, not a sandbox.
Changes that introduce hidden state or filament assumptions are intentionally excluded.
Use at your own risk.
These G-code files directly control hardware motion and temperature. While tested, no warranty is provided.
Always review changes carefully before running modified G-code on your printer.