Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Script doesn't modify G Code #10

Open
TodorDimitrovIvanov opened this issue Feb 3, 2025 · 0 comments
Open

Script doesn't modify G Code #10

TodorDimitrovIvanov opened this issue Feb 3, 2025 · 0 comments

Comments

@TodorDimitrovIvanov
Copy link

TodorDimitrovIvanov commented Feb 3, 2025

The script doesn't seem to work for me. I've sliced a simple xyz test cube in OrcaSlicer for a Bambu P1P printer and there are no changes in the G code. There is no difference when inspecting the code via Visual Code and when actually printing the cube.

This is both when running it as a post processing script and manually via the command line. Is it not compatible with Bambu printers?

P.S: Here's a copy of the log file:

2025-02-03 12:03:24,364 - Starting G-code processing
2025-02-03 12:03:24,364 - Input file: xyzCalibration_cube_PETG_27m12s.gcode
2025-02-03 12:03:24,364 - Desired outer wall height: 0.05mm
2025-02-03 12:03:24,376 - Base layer height: 0.2mm
2025-02-03 12:03:24,376 - Number of passes: 4
2025-02-03 12:03:24,376 - Height per pass: 0.050mm
2025-02-03 12:03:24,376 - Extrusion multiplier: 0.250
2025-02-03 12:03:24,376 - Layer 1 detected at Z=5.000
2025-02-03 12:03:24,376 - Layer 2 detected at Z=10.000
2025-02-03 12:03:24,376 - Layer 3 detected at Z=10.000
2025-02-03 12:03:24,376 - Layer 4 detected at Z=0.200
2025-02-03 12:03:24,376 - Layer 5 detected at Z=0.600
2025-02-03 12:03:24,376 - Layer 6 detected at Z=0.200
2025-02-03 12:03:24,376 - Layer 7 detected at Z=0.200
2025-02-03 12:03:24,376 - Layer 8 detected at Z=0.400
2025-02-03 12:03:24,376 - Layer 9 detected at Z=0.600
2025-02-03 12:03:24,376 - Layer 10 detected at Z=0.800
2025-02-03 12:03:24,376 - Layer 11 detected at Z=1.000
2025-02-03 12:03:24,376 - Layer 12 detected at Z=1.200
2025-02-03 12:03:24,376 - Layer 13 detected at Z=1.400
2025-02-03 12:03:24,376 - Layer 14 detected at Z=1.600
2025-02-03 12:03:24,376 - Layer 15 detected at Z=1.800
2025-02-03 12:03:24,376 - Layer 16 detected at Z=2.000
2025-02-03 12:03:24,376 - Layer 17 detected at Z=2.200
2025-02-03 12:03:24,376 - Layer 18 detected at Z=2.400
2025-02-03 12:03:24,376 - Layer 19 detected at Z=2.600
2025-02-03 12:03:24,376 - Layer 20 detected at Z=2.800
2025-02-03 12:03:24,376 - Layer 21 detected at Z=3.000
2025-02-03 12:03:24,376 - Layer 22 detected at Z=3.200
2025-02-03 12:03:24,376 - Layer 23 detected at Z=3.400
2025-02-03 12:03:24,376 - Layer 24 detected at Z=3.600
2025-02-03 12:03:24,376 - Layer 25 detected at Z=3.600
2025-02-03 12:03:24,376 - Layer 26 detected at Z=3.600
2025-02-03 12:03:24,376 - Layer 27 detected at Z=3.800
2025-02-03 12:03:24,376 - Layer 28 detected at Z=4.000
2025-02-03 12:03:24,376 - Layer 29 detected at Z=4.200
2025-02-03 12:03:24,376 - Layer 30 detected at Z=4.200
2025-02-03 12:03:24,376 - Layer 31 detected at Z=4.400
2025-02-03 12:03:24,376 - Layer 32 detected at Z=4.400
2025-02-03 12:03:24,376 - Layer 33 detected at Z=4.600
2025-02-03 12:03:24,376 - Layer 34 detected at Z=4.800
2025-02-03 12:03:24,376 - Layer 35 detected at Z=5.000
2025-02-03 12:03:24,376 - Layer 36 detected at Z=5.200
2025-02-03 12:03:24,376 - Layer 37 detected at Z=5.400
2025-02-03 12:03:24,376 - Layer 38 detected at Z=5.400
2025-02-03 12:03:24,376 - Layer 39 detected at Z=5.600
2025-02-03 12:03:24,376 - Layer 40 detected at Z=5.800
2025-02-03 12:03:24,376 - Layer 41 detected at Z=6.000
2025-02-03 12:03:24,376 - Layer 42 detected at Z=6.000
2025-02-03 12:03:24,376 - Layer 43 detected at Z=6.200
2025-02-03 12:03:24,376 - Layer 44 detected at Z=6.200
2025-02-03 12:03:24,376 - Layer 45 detected at Z=6.400
2025-02-03 12:03:24,376 - Layer 46 detected at Z=6.600
2025-02-03 12:03:24,376 - Layer 47 detected at Z=6.800
2025-02-03 12:03:24,376 - Layer 48 detected at Z=7.000
2025-02-03 12:03:24,376 - Layer 49 detected at Z=7.000
2025-02-03 12:03:24,376 - Layer 50 detected at Z=7.000
2025-02-03 12:03:24,376 - Layer 51 detected at Z=7.200
2025-02-03 12:03:24,376 - Layer 52 detected at Z=7.400
2025-02-03 12:03:24,376 - Layer 53 detected at Z=7.600
2025-02-03 12:03:24,376 - Layer 54 detected at Z=7.800
2025-02-03 12:03:24,376 - Layer 55 detected at Z=7.800
2025-02-03 12:03:24,376 - Layer 56 detected at Z=7.800
2025-02-03 12:03:24,376 - Layer 57 detected at Z=8.000
2025-02-03 12:03:24,376 - Layer 58 detected at Z=8.200
2025-02-03 12:03:24,376 - Layer 59 detected at Z=8.400
2025-02-03 12:03:24,376 - Layer 60 detected at Z=8.400
2025-02-03 12:03:24,376 - Layer 61 detected at Z=8.600
2025-02-03 12:03:24,376 - Layer 62 detected at Z=8.800
2025-02-03 12:03:24,376 - Layer 63 detected at Z=9.000
2025-02-03 12:03:24,376 - Layer 64 detected at Z=9.200
2025-02-03 12:03:24,376 - Layer 65 detected at Z=9.400
2025-02-03 12:03:24,376 - Layer 66 detected at Z=9.600
2025-02-03 12:03:24,376 - Layer 67 detected at Z=9.800
2025-02-03 12:03:24,376 - Layer 68 detected at Z=10.000
2025-02-03 12:03:24,376 - Layer 69 detected at Z=10.000
2025-02-03 12:03:24,376 - Layer 70 detected at Z=10.200
2025-02-03 12:03:24,388 - Layer 71 detected at Z=10.200
2025-02-03 12:03:24,388 - Layer 72 detected at Z=10.400
2025-02-03 12:03:24,388 - Layer 73 detected at Z=10.400
2025-02-03 12:03:24,388 - Layer 74 detected at Z=10.600
2025-02-03 12:03:24,388 - Layer 75 detected at Z=10.600
2025-02-03 12:03:24,388 - Layer 76 detected at Z=10.800
2025-02-03 12:03:24,388 - Layer 77 detected at Z=11.000
2025-02-03 12:03:24,388 - Layer 78 detected at Z=11.000
2025-02-03 12:03:24,388 - Layer 79 detected at Z=11.200
2025-02-03 12:03:24,388 - Layer 80 detected at Z=11.400
2025-02-03 12:03:24,388 - Layer 81 detected at Z=11.600
2025-02-03 12:03:24,388 - Layer 82 detected at Z=11.600
2025-02-03 12:03:24,388 - Layer 83 detected at Z=11.600
2025-02-03 12:03:24,388 - Layer 84 detected at Z=11.600
2025-02-03 12:03:24,388 - Layer 85 detected at Z=11.800
2025-02-03 12:03:24,388 - Layer 86 detected at Z=11.800
2025-02-03 12:03:24,388 - Layer 87 detected at Z=11.800
2025-02-03 12:03:24,388 - Layer 88 detected at Z=12.000
2025-02-03 12:03:24,388 - Layer 89 detected at Z=12.200
2025-02-03 12:03:24,388 - Layer 90 detected at Z=12.400
2025-02-03 12:03:24,388 - Layer 91 detected at Z=12.400
2025-02-03 12:03:24,388 - Layer 92 detected at Z=12.400
2025-02-03 12:03:24,388 - Layer 93 detected at Z=12.400
2025-02-03 12:03:24,388 - Layer 94 detected at Z=12.600
2025-02-03 12:03:24,388 - Layer 95 detected at Z=12.800
2025-02-03 12:03:24,388 - Layer 96 detected at Z=13.000
2025-02-03 12:03:24,388 - Layer 97 detected at Z=13.000
2025-02-03 12:03:24,388 - Layer 98 detected at Z=13.200
2025-02-03 12:03:24,388 - Layer 99 detected at Z=13.200
2025-02-03 12:03:24,388 - Layer 100 detected at Z=13.400
2025-02-03 12:03:24,388 - Layer 101 detected at Z=13.400
2025-02-03 12:03:24,388 - Layer 102 detected at Z=13.600
2025-02-03 12:03:24,388 - Layer 103 detected at Z=13.600
2025-02-03 12:03:24,388 - Layer 104 detected at Z=13.800
2025-02-03 12:03:24,388 - Layer 105 detected at Z=14.000
2025-02-03 12:03:24,388 - Layer 106 detected at Z=14.200
2025-02-03 12:03:24,388 - Layer 107 detected at Z=14.400
2025-02-03 12:03:24,388 - Layer 108 detected at Z=14.600
2025-02-03 12:03:24,388 - Layer 109 detected at Z=14.800
2025-02-03 12:03:24,388 - Layer 110 detected at Z=15.000
2025-02-03 12:03:24,388 - Layer 111 detected at Z=15.200
2025-02-03 12:03:24,388 - Layer 112 detected at Z=15.400
2025-02-03 12:03:24,388 - Layer 113 detected at Z=15.600
2025-02-03 12:03:24,388 - Layer 114 detected at Z=15.800
2025-02-03 12:03:24,388 - Layer 115 detected at Z=16.000
2025-02-03 12:03:24,388 - Layer 116 detected at Z=16.200
2025-02-03 12:03:24,388 - Layer 117 detected at Z=16.400
2025-02-03 12:03:24,388 - Layer 118 detected at Z=16.600
2025-02-03 12:03:24,388 - Layer 119 detected at Z=16.800
2025-02-03 12:03:24,388 - Layer 120 detected at Z=17.000
2025-02-03 12:03:24,388 - Layer 121 detected at Z=17.200
2025-02-03 12:03:24,388 - Layer 122 detected at Z=17.400
2025-02-03 12:03:24,388 - Layer 123 detected at Z=17.600
2025-02-03 12:03:24,388 - Layer 124 detected at Z=17.800
2025-02-03 12:03:24,388 - Layer 125 detected at Z=18.000
2025-02-03 12:03:24,388 - Layer 126 detected at Z=18.000
2025-02-03 12:03:24,388 - Layer 127 detected at Z=18.000
2025-02-03 12:03:24,388 - Layer 128 detected at Z=18.000
2025-02-03 12:03:24,388 - Layer 129 detected at Z=18.200
2025-02-03 12:03:24,388 - Layer 130 detected at Z=18.200
2025-02-03 12:03:24,388 - Layer 131 detected at Z=18.200
2025-02-03 12:03:24,388 - Layer 132 detected at Z=18.200
2025-02-03 12:03:24,388 - Layer 133 detected at Z=18.400
2025-02-03 12:03:24,388 - Layer 134 detected at Z=18.400
2025-02-03 12:03:24,388 - Layer 135 detected at Z=18.400
2025-02-03 12:03:24,388 - Layer 136 detected at Z=18.400
2025-02-03 12:03:24,388 - Layer 137 detected at Z=18.600
2025-02-03 12:03:24,388 - Layer 138 detected at Z=18.600
2025-02-03 12:03:24,388 - Layer 139 detected at Z=18.600
2025-02-03 12:03:24,388 - Layer 140 detected at Z=18.600
2025-02-03 12:03:24,388 - Layer 141 detected at Z=18.800
2025-02-03 12:03:24,388 - Layer 142 detected at Z=18.800
2025-02-03 12:03:24,388 - Layer 143 detected at Z=18.800
2025-02-03 12:03:24,388 - Layer 144 detected at Z=18.800
2025-02-03 12:03:24,388 - Layer 145 detected at Z=18.800
2025-02-03 12:03:24,388 - Layer 146 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 147 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 148 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 149 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 150 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 151 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 152 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 153 detected at Z=19.000
2025-02-03 12:03:24,388 - Layer 154 detected at Z=19.200
2025-02-03 12:03:24,388 - Layer 155 detected at Z=19.200
2025-02-03 12:03:24,388 - Layer 156 detected at Z=19.200
2025-02-03 12:03:24,388 - Layer 157 detected at Z=19.200
2025-02-03 12:03:24,388 - Layer 158 detected at Z=19.200
2025-02-03 12:03:24,388 - Layer 159 detected at Z=19.200
2025-02-03 12:03:24,388 - Layer 160 detected at Z=19.200
2025-02-03 12:03:24,388 - Layer 161 detected at Z=19.400
2025-02-03 12:03:24,388 - Layer 162 detected at Z=19.400
2025-02-03 12:03:24,388 - Layer 163 detected at Z=19.400
2025-02-03 12:03:24,388 - Layer 164 detected at Z=19.400
2025-02-03 12:03:24,388 - Layer 165 detected at Z=19.400
2025-02-03 12:03:24,388 - Layer 166 detected at Z=19.600
2025-02-03 12:03:24,388 - Layer 167 detected at Z=19.600
2025-02-03 12:03:24,388 - Layer 168 detected at Z=19.600
2025-02-03 12:03:24,388 - Layer 169 detected at Z=19.600
2025-02-03 12:03:24,388 - Layer 170 detected at Z=19.600
2025-02-03 12:03:24,388 - Layer 171 detected at Z=19.600
2025-02-03 12:03:24,388 - Layer 172 detected at Z=19.600
2025-02-03 12:03:24,388 - Layer 173 detected at Z=19.800
2025-02-03 12:03:24,388 - Layer 174 detected at Z=19.800
2025-02-03 12:03:24,388 - Layer 175 detected at Z=19.800
2025-02-03 12:03:24,388 - Layer 176 detected at Z=19.800
2025-02-03 12:03:24,388 - Layer 177 detected at Z=19.800
2025-02-03 12:03:24,388 - Layer 178 detected at Z=20.000
2025-02-03 12:03:24,388 - Layer 179 detected at Z=20.000
2025-02-03 12:03:24,388 - Layer 180 detected at Z=20.000
2025-02-03 12:03:24,388 - Layer 181 detected at Z=20.000
2025-02-03 12:03:24,388 - Layer 182 detected at Z=20.000
2025-02-03 12:03:24,388 - Layer 183 detected at Z=20.000
2025-02-03 12:03:24,388 - Layer 184 detected at Z=20.500
2025-02-03 12:03:24,400 - G-code processing completed
2025-02-03 12:03:24,400 - Log file saved at C:\3DPrints\PostProcessingScripts\smooth_wall_log.txt

And here are the G code files:
File Bin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant