You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+37-29Lines changed: 37 additions & 29 deletions
Original file line number
Diff line number
Diff line change
@@ -1,26 +1,26 @@
1
1
<!--
2
2
Copyright (C) 2023 Chris Laprade (chris@rootiest.com)
3
-
3
+
4
4
This file is part of printcfg.
5
-
5
+
6
6
printcfg is free software: you can redistribute it and/or modify
7
7
it under the terms of the GNU General Public License as published by
8
8
the Free Software Foundation, either version 3 of the License, or
9
9
(at your option) any later version.
10
-
10
+
11
11
printcfg is distributed in the hope that it will be useful,
12
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
14
GNU General Public License for more details.
15
-
15
+
16
16
You should have received a copy of the GNU General Public License
17
17
along with printcfg. If not, see <http://www.gnu.org/licenses/>.
18
18
-->
19
19
20
20
<!--
21
21
#####################################
22
22
## Printcfg Documentation ##
23
-
## Version 3.8.1 2023-5-21 ##
23
+
## Version 4.0.0 2023-6-1 ##
24
24
#####################################
25
25
-->
26
26
@@ -31,6 +31,8 @@
31
31
-[Overview](#overview)
32
32
-[Installation](#installation)
33
33
-[What the install script does](#what-the-install-script-does)
34
+
-[Updating](#updating)
35
+
-[Changing Profiles](#changing-profiles)
34
36
-[Configuration](#configuration)
35
37
-[Using the suite](#using-the-suite)
36
38
-[Profile Configuration](#profile-configuration)
@@ -69,7 +71,7 @@
69
71
70
72
## !!! WARNING: THIS IS STILL A WORK IN PROGRESS !!!
71
73
72
-
> I am currently running this suite on my personal machine so I consider it to be ready for brave testers to play around with. Expect to encounter issues! But please tell me about them so I can fix them in a later revision!
74
+
> I am currently running this suite on my personal machine so I consider it to be ready for brave testers to play around with. Expect to encounter issues! But please tell me about them so I can fix them in a later revision!
73
75
74
76
## Overview
75
77
@@ -91,25 +93,29 @@ You can also specify a preset profile for a more printer-specific default config
Additionally, you can specify a different branch to install from:
97
+
98
+
curl https://raw.githubusercontent.com/rootiest/printcfg/master/scripts/install.sh | bash -s -- default dev
99
+
94
100
### What the install script does
95
101
96
102
The install script will begin by checking for dependencies and installing them if they are missing.
97
103
98
-
It will then clone the repo into your home directory in a folder named `printcfg`.
104
+
It will then clone the repo into your home directory in a folder named `printcfg`.
99
105
100
106
Please do not modify the contents of this folder.
101
107
102
108
The files for the profile you specified will be copied into your main config folder alongside `printer.cfg`.
103
109
104
110
This will consist of two files: `user_profile.cfg` and `user_config.cfg`.
105
111
106
-
> NOTE: You are free to modify these files as you see fit, but please only modify files that begin with `user_` so that the update system can successfully merge changes.
107
-
>
112
+
> NOTE: You are free to modify these files as you see fit, but please only modify files that begin with `user_` so that the update system can successfully merge changes.
113
+
>
108
114
> These files will be placed in your main config folder, so they will not be overwritten by future updates.
109
115
110
116
The following line will be added to your `printer.cfg` file:
111
117
112
-
[include print_config.cfg]
118
+
[include user_config.cfg]
113
119
114
120
This tells Klipper to include the printcfg config file. The other files will be included from there.
115
121
@@ -121,27 +127,25 @@ This adds some moonraker configuration, specifically the `update_manager` for pr
121
127
122
128
After all of these changes are made and verified, the script will restart Klipper and Moonraker.
123
129
124
-
Future updates will be performed by the `update_manager` service and will typically require a restart of only Klipper.
125
-
126
-
Most updates will be performed automatically, but some may require manual intervention. The installer will notify you if this is the case.
130
+
## Updating
127
131
128
-
When the update requires manual intervention, you will be notified of the changes that need to be made to your user_profile.cfg file and the installer will exit. Run the setup.sh script again to verify the changes were made and continue the update.
132
+
Updates are handled by moonraker's `update_manager` service.
129
133
130
-
In most cases this will only require you to add new variables or remove obsolete variables from your user_profile.cfg file.
134
+
They will appear in the UI alongside updates for Klipper and Moonraker.
131
135
132
-
Best efforts will be made to avoid this as much as possible, but future features may require new variables to be added and the process has been made as simple as possible.
136
+
The installer can now patch your config files to add new variables or configuration sections. This allows user profiles to be updated without overwriting your existing configuration.
133
137
134
-
It's important to keep the user_profile.cfg file untouched by the automated update process so that your customizations are not overwritten.
138
+
Most updates will happen completely automatically, but some may require manual intervention.If an update requires manual intervention, it will be marked as `MANUAL` in the changelog.
135
139
136
-
When new features are added, you will likely prefer to customize them to your liking, so it's best not to automatically append potentially unwanted new variables to your profile config.
140
+
## Changing Profiles
137
141
138
-
I'm also open to suggestions for improving this process or PRs that add an interactive update process for profile changes from a patch file.
142
+
To change profiles, run the following command:
139
143
140
144
## Configuration
141
145
142
146
The vast majority of the configuration is done via the `_printcfg` macro in `user_profile.cfg`.
143
147
144
-
This is the "master" macro that hosts the configuration variables for the entire suite.
148
+
This is the "master" macro that hosts the configuration variables for the entire suite.
145
149
146
150
It is here that we configure the behavior of the suite.
147
151
@@ -161,7 +165,7 @@ Preset profiles are [available](./profiles/) for various common configurations.
161
165
162
166
If you would like to submit a profile, please see the [Submitting A Profile](#submitting-a-profile) section below.
163
167
164
-
I'd love to have a wide variety of community profiles available for everyone to choose from!
168
+
I'd love to have a wide variety of community profiles available for everyone to choose from!
165
169
166
170
Custom configuration can be achieved by editing the `user_profile.cfg` file on your local installation.
167
171
@@ -231,7 +235,7 @@ This allows all the macros in the suite to be kept apprised of any slicer values
231
235
232
236
It's completely ok if you don't use these settings in your klipper install or even in your slicer!
233
237
234
-
This suite is built to support ***everything*** so that the user can simply set the configuration values (either manually in the config file or via `SET_GCODE_VARIABLE` commands)
238
+
This suite is built to support **_everything_** so that the user can simply set the configuration values (either manually in the config file or via `SET_GCODE_VARIABLE` commands)
235
239
236
240
The idea is that you don't need to worry about the correct way to configure the slicer for your needs or even finding (or creating!) the right macros for your needs.
237
241
@@ -245,7 +249,7 @@ The bulk of profile configuration occurs in the `user_profile.cfg` file. There a
245
249
246
250
### Versioning
247
251
248
-
-`variable_version`
252
+
-`variable_version`
249
253
- Determines when updates require new variables to be added to the profile. It is used by the install script to determine when profiles need updating.
250
254
251
255
### Default temperatures
@@ -265,7 +269,7 @@ The bulk of profile configuration occurs in the `user_profile.cfg` file. There a
265
269
## Chamber Variables
266
270
267
271
-`variable_chamber_type`
268
-
- Defines the chamber sensor type. This could be 'temperature_sensor', 'temperature_fan', 'heater', or 'none'
272
+
- Defines the chamber sensor type. This could be 'temperature_sensor', 'temperature_fan', 'heater', or 'none'
269
273
-`variable_chamber_name`
270
274
- Defines the name of the chamber sensor. Typically this will be 'chamber'.
271
275
-`variable_chamber_temp`
@@ -334,7 +338,7 @@ The bulk of profile configuration occurs in the `user_profile.cfg` file. There a
334
338
-`variable_park_extrude`
335
339
- Sets the default extrusion amount for parking moves.
336
340
-`variable_park_base`
337
-
- Sets the "native" command for parking. This is typically something like '_TOOLHEAD_PAUSE_PARK_CANCEL'
341
+
- Sets the "native" command for parking. This is typically something like '\_TOOLHEAD_PAUSE_PARK_CANCEL'
338
342
339
343
### Preheat Parking Variables
340
344
@@ -380,6 +384,7 @@ Setting any of these values to -1 will park at the center of all 3 axes.
380
384
- Sets the stepper current to be used during homing.
381
385
382
386
### Homing Macros
387
+
383
388
-`variable_home_x_macro`
384
389
- Sets the macro to be used for x-homing.
385
390
-`variable_home_y_macro`
@@ -388,12 +393,14 @@ Setting any of these values to -1 will park at the center of all 3 axes.
388
393
- Sets the macro to be used for z-homing.
389
394
390
395
### Pause Macros
396
+
391
397
-`variable_pause_macro`
392
398
- Sets the macro to be used for pausing.
393
399
-`variable_pause_no_park`
394
400
- Sets the macro to be used for pausing without parking.
395
401
396
402
### Speed Variables
403
+
397
404
-`variable_default_speed_factor`
398
405
- Sets the default speed factor for all moves.
399
406
-`variable_start_offset`
@@ -546,6 +553,7 @@ Setting any of these values to -1 will park at the center of all 3 axes.
546
553
- Enables debug logging for purging.
547
554
548
555
### End Gcode Variables
556
+
549
557
-`variable_end_print`
550
558
- Determines whether to run the end print macro.
551
559
-`variable_end_retract`
@@ -564,7 +572,7 @@ Setting any of these values to -1 will park at the center of all 3 axes.
564
572
### Filament Change Variables
565
573
566
574
-`variable_m600`
567
-
- Sets the command to be used for filament change.
575
+
- Sets the command to be used for filament change.
568
576
-`variable_auto_filament_sensor`
569
577
- Determines whether to automatically toggle the filament sensor.
570
578
-`variable_auto_filament_delay`
@@ -693,7 +701,7 @@ Each profile must consist of the following files:
693
701
This file contains the patch notes for the profile. It should list the version of the profile and "initial release" if it is the first release.
694
702
695
703
-**README.md**
696
-
704
+
697
705
This file contains the profile description. It should have one header with the profile name with By: Your Name underneath. It should also have a description of the profile and any special instructions for using it. You should also briefly list the printer and components the profile was designed for.
698
706
699
707
If your README file requires any images, please place them in an `images` folder within your profile folder and reference them in your README file.
@@ -703,7 +711,7 @@ Each profile must consist of the following files:
703
711
The main goal is to make it easy for users to quickly find the information they need to use your profile.
704
712
705
713
Keep in mind that large files will increase the size of the install on every machine whether they use your profile or not. All profiles are synced alongside the rest of the repo. But only the selected profile is added to the user's config.
706
-
714
+
707
715
Please be reasonable with the size of your images to keep the repository size small and the sync time low.
708
716
709
-
When your profile is installed on a user's printer, only the variables.cfg and config.cfg files are used. The README.md and patch_notes.txt files are only used for display purposes in the repository. Similarly, any additional files you include in your profile will not be added to the user's config.
717
+
When your profile is installed on a user's printer, only the variables.cfg and config.cfg files are used. The README.md and patch_notes.txt files are only used for display purposes in the repository. Similarly, any additional files you include in your profile will not be added to the user's config.
0 commit comments