Code Overview
p2ppparams.py
Here will all the P2PP parameters be checked and mapped to their corresponding variables. These variables can be used throughout the project.
psconfig.py
All the settings and parameters from PrusaSlicer are being stripped from the generated gcode.
gcode.py
All gcode commands are getting stripped from the gcode file and categorised by type. The gcode also gets manipulated using the functions provided in the file.
mcf.py
Contains the main logic for processing the gcode. (It links all the features here)
omega.py
Generate the Omega; Header that drives the Palette to p2pp_process_file filament.
All the splice lengths and splice algorithms are inserted into this file.
pings.py
Contains the logic for inserting pings.
p3_upload.py
Code for uploading to the P3 (Pro).
side_wipe.py
Contains side wipe logic.
purgetower.py
Contains purge tower logic.
manualswap.py
Contains manual swap logic.
checkversion.py
Contains check version logic.
variables.py
Contains all the variables with their default values.
gui.py
Contains gui logic.
formatnumbers.py
Helper for formatting numbers.
colornames.py
Helper for determining the name of colors.
P2PP.py
Main application code. (This does not contain any post processor logic)
setup.py
Used to build the application.
genpreview.py
Developer tool to visualize the preview. (Not yet tested)
bedprojection.py
Developer tool to visualize the printbed area. (Not yet tested)
tower.py
Developer tool to test purge tower generation algorithms. (Not yet tested)