FabLabSiegen / accesslog

Access Control and Management System for a Fab Lab
1 stars 1 forks source link

SlicingConfig Modell hinzufügen #15

Closed FlorianJa closed 2 years ago

FlorianJa commented 3 years ago

In diesem Modell werden alle Slicing Paramter gespeichert

Das Modell ist aus der folgenden Parameterauflistung abzuleiten.

Transform options:
 --align-xy X,Y      Align the model to the given point.
 --center X,Y        Center the print around the given center.
 --rotate N          Rotation angle around the Z axis in degrees.
 --rotate-x N        Rotation angle around the X axis in degrees.
 --rotate-y N        Rotation angle around the Y axis in degrees.
 --scale N           Scaling factor or percentage.
 --scale-to-fit X,Y,Z
                     Scale to fit the given volume.

Misc options:
 --avoid-crossing-perimeters
                     Optimize travel moves in order to minimize the crossing of perimeters. This is
                     mostly useful with Bowden extruders which suffer from oozing. This feature slows
                     down both the print and the G-code generation.
 --bed-custom-model ABCD

 --bed-custom-texture ABCD

 --bed-shape         (default: 0x0,200x0,200x200,0x200)
 --bed-temperature N Bed temperature for layers after the first one. Set this to zero to disable bed
                     temperature control commands in the output. (°C, default: 0)
 --before-layer-gcode ABCD
                     This custom code is inserted at every layer change, right before the Z move.
                     Note that you can use placeholder variables for all Slic3r settings as well as
                     [layer_num] and [layer_z].
 --between-objects-gcode ABCD
                     This code is inserted between objects when using sequential printing. By default
                     extruder and bed temperature are reset using non-wait command; however if M104,
                     M109, M140 or M190 are detected in this custom code, Slic3r will not add
                     temperature commands. Note that you can use placeholder variables for all Slic3r
                     settings, so you can put a "M109 S[first_layer_temperature]" command wherever
                     you want.
 --bridge-acceleration N
                     This is the acceleration your printer will use for bridges. Set zero to disable
                     acceleration control for bridges. (mm/s², default: 0)
 --bridge-fan-speed N
                     This fan speed is enforced during all bridges and overhangs. (%, default: 100)
 --brim-width N      Horizontal width of the brim that will be printed around each object on the
                     first layer. (mm, default: 0)
 --clip-multipart-objects
                     When printing multi-material objects, this settings will make Slic3r to clip the
                     overlapping object parts one by the other (2nd part will be clipped by the 1st,
                     3rd part will be clipped by the 1st and 2nd etc).
 --color-change-gcode ABCD
                     This G-code will be used as a code for the color change (default: M600)
 --colorprint-heights N
                     Heights at which a filament change is to occur. (default: )
 --complete-objects  When printing multiple objects or copies, this feature will complete each object
                     before moving onto next one (and starting it from its bottom layer). This
                     feature is useful to avoid the risk of ruined prints. Slic3r should warn and
                     prevent you from extruder collisions, but beware.
 --cooling           This flag enables the automatic cooling logic that adjusts print speed and fan
                     speed according to layer printing time. (default: 1)
 --cooling-tube-length N
                     Length of the cooling tube to limit space for cooling moves inside it. (mm,
                     default: 5)
 --cooling-tube-retraction N
                     Distance of the center-point of the cooling tube from the extruder tip. (mm,
                     default: 91.5)
 --default-acceleration N
                     This is the acceleration your printer will be reset to after the role-specific
                     acceleration values are used (perimeter/infill). Set zero to prevent resetting
                     acceleration at all. (mm/s², default: 0)
 --deretract-speed N The speed for loading of a filament into extruder after retraction (it only
                     applies to the extruder motor). If left to zero, the retraction speed is used.
                     (mm/s, default: 0)
 --disable-fan-first-layers N
                     You can set this to a positive value to disable fan at all during the first
                     layers, so that it does not make adhesion worse. (layers, default: 3)
 --draft-shield      If enabled, the skirt will be as tall as a highest printed object. This is
                     useful to protect an ABS or ASA print from warping and detaching from print bed
                     due to wind draft.
 --duplicate-distance N
                     Distance used for the auto-arrange feature of the plater. (mm, default: 6)
 --end-filament-gcode ABCD
                     This end procedure is inserted at the end of the output file, before the printer
                     end gcode (and before any toolchange from this filament in case of multimaterial
                     printers). Note that you can use placeholder variables for all PrusaSlicer
                     settings. If you have multiple extruders, the gcode is processed in extruder
                     order. (default: "; Filament-specific end gcode \n;END gcode for filament\n")
 --end-gcode ABCD    This end procedure is inserted at the end of the output file. Note that you can
                     use placeholder variables for all PrusaSlicer settings. (default: M104 S0 ; turn
                     off temperature\nG28 X0 ; home X axis\nM84 ; disable motors\n)
 --extra-loading-move N
                     When set to zero, the distance the filament is moved from parking position
                     during load is exactly the same as it was moved back during unload. When
                     positive, it is loaded further, if negative, the loading move is shorter than
                     unloading. (mm, default: -2)
 --extruder-clearance-height N
                     Set this to the vertical distance between your nozzle tip and (usually) the X
                     carriage rods. In other words, this is the height of the clearance cylinder
                     around your extruder, and it represents the maximum depth the extruder can peek
                     before colliding with other printed objects. (mm, default: 20)
 --extruder-clearance-radius N
                     Set this to the clearance radius around your extruder. If the extruder is not
                     centered, choose the largest value for safety. This setting is used to check for
                     collisions and to display the graphical preview in the plater. (mm, default: 20)
 --extruder-colour ABCD
                     This is only used in the Slic3r interface as a visual help. (default: "")
 --extruder-offset   If your firmware doesn't handle the extruder displacement you need the G-code to
                     take it into account. This option lets you specify the displacement of each
                     extruder with respect to the first one. It expects positive coordinates (they
                     will be subtracted from the XY coordinate). (mm, default: 0x0)
 --extrusion-axis ABCD
                     Use this option to set the axis letter associated to your printer's extruder
                     (usually E but some printers use A). (default: E)
 --extrusion-multiplier N
                     This factor changes the amount of flow proportionally. You may need to tweak
                     this setting to get nice surface finish and correct single wall widths. Usual
                     values are between 0.9 and 1.1. If you think you need to change this more, check
                     filament diameter and your firmware E steps. (default: 1)
 --fan-always-on     If this is enabled, fan will never be disabled and will be kept running at least
                     at its minimum speed. Useful for PLA, harmful for ABS. (default: 0)
 --fan-below-layer-time N
                     If layer print time is estimated below this number of seconds, fan will be
                     enabled and its speed will be calculated by interpolating the minimum and
                     maximum speeds. (approximate seconds, default: 60)
 --filament-colour ABCD
                     This is only used in the Slic3r interface as a visual help. (default: #29B2B2)
 --filament-cooling-final-speed N
                     Cooling moves are gradually accelerating towards this speed. (mm/s, default:
                     3.4)
 --filament-cooling-initial-speed N
                     Cooling moves are gradually accelerating beginning at this speed. (mm/s,
                     default: 2.2)
 --filament-cooling-moves N
                     Filament is cooled by being moved back and forth in the cooling tubes. Specify
                     desired number of these moves. (default: 4)
 --filament-cost N   Enter your filament cost per kg here. This is only for statistical information.
                     (money/kg, default: 0)
 --filament-density N
                     Enter your filament density here. This is only for statistical information. A
                     decent way is to weigh a known length of filament and compute the ratio of the
                     length to volume. Better is to calculate the volume directly through
                     displacement. (g/cm³, default: 0)
 --filament-deretract-speed N
                     The speed for loading of a filament into extruder after retraction (it only
                     applies to the extruder motor). If left to zero, the retraction speed is used.
                     (mm/s, default: 0)
 --filament-diameter N
                     Enter your filament diameter here. Good precision is required, so use a caliper
                     and do multiple measurements along the filament, then compute the average. (mm,
                     default: 1.75)
 --filament-load-time N
                     Time for the printer firmware (or the Multi Material Unit 2.0) to load a new
                     filament during a tool change (when executing the T code). This time is added to
                     the total print time by the G-code time estimator. (s, default: 0)
 --filament-loading-speed N
                     Speed used for loading the filament on the wipe tower. (mm/s, default: 28)
 --filament-loading-speed-start N
                     Speed used at the very beginning of loading phase. (mm/s, default: 3)
 --filament-max-volumetric-speed N
                     Maximum volumetric speed allowed for this filament. Limits the maximum
                     volumetric speed of a print to the minimum of print and filament volumetric
                     speed. Set to zero for no limit. (mm³/s, default: 0)
 --filament-minimal-purge-on-wipe-tower N
                     After a tool change, the exact position of the newly loaded filament inside the
                     nozzle may not be known, and the filament pressure is likely not yet stable.
                     Before purging the print head into an infill or a sacrificial object, Slic3r
                     will always prime this amount of material into the wipe tower to produce
                     successive infill or sacrificial object extrusions reliably. (mm³, default: 15)
 --filament-notes ABCD
                     You can put your notes regarding the filament here. (default: "")
 --filament-ramming-parameters ABCD
                     This string is edited by RammingDialog and contains ramming specific parameters.
                     (default: "120 100 6.6 6.8 7.2 7.6 7.9 8.2 8.7 9.4 9.9 10.0| 0.05 6.6 0.45 6.8
                     0.95 7.8 1.45 8.3 1.95 9.7 2.45 10 2.95 7.6 3.45 7.6 3.95 7.6 4.45 7.6 4.95
                     7.6")
 --filament-retract-before-travel N
                     Retraction is not triggered when travel moves are shorter than this length. (mm,
                     default: 2)
 --filament-retract-before-wipe
                     With bowden extruders, it may be wise to do some amount of quick retract before
                     doing the wipe movement. (%, default: 0%)
 --filament-retract-layer-change
                     This flag enforces a retraction whenever a Z move is done. (default: 0)
 --filament-retract-length N
                     When retraction is triggered, filament is pulled back by the specified amount
                     (the length is measured on raw filament, before it enters the extruder). (mm
                     (zero to disable), default: 2)
 --filament-retract-lift N
                     If you set this to a positive value, Z is quickly raised every time a retraction
                     is triggered. When using multiple extruders, only the setting for the first
                     extruder will be considered. (mm, default: 0)
 --filament-retract-lift-above N
                     If you set this to a positive value, Z lift will only take place above the
                     specified absolute Z. You can tune this setting for skipping lift on the first
                     layers. (mm, default: 0)
 --filament-retract-lift-below N
                     If you set this to a positive value, Z lift will only take place below the
                     specified absolute Z. You can tune this setting for limiting lift to the first
                     layers. (mm, default: 0)
 --filament-retract-restart-extra N
                     When the retraction is compensated after the travel move, the extruder will push
                     this additional amount of filament. This setting is rarely needed. (mm, default:
                     0)
 --filament-retract-speed N
                     The speed for retractions (it only applies to the extruder motor). (mm/s,
                     default: 40)
 --filament-soluble  Soluble material is most likely used for a soluble support. (default: 0)
 --filament-spool-weight N
                     Enter weight of the empty filament spool. One may weigh a partially consumed
                     filament spool before printing and one may compare the measured weight with the
                     calculated weight of the filament with the spool to find out whether the amount
                     of filament on the spool is sufficient to finish the print. (g, default: 0)
 --filament-toolchange-delay N
                     Time to wait after the filament is unloaded. May help to get reliable
                     toolchanges with flexible materials that may need more time to shrink to
                     original dimensions. (s, default: 0)
 --filament-type ABCD
                     The filament material type for use in custom G-codes. (PLA, PET, ABS, ASA, FLEX,
                     HIPS, EDGE, NGEN, NYLON, PVA, PC, PP, PEI, PEEK, PEKK, POM, PSU, PVDF, SCAFF;
                     default: PLA)
 --filament-unload-time N
                     Time for the printer firmware (or the Multi Material Unit 2.0) to unload a
                     filament during a tool change (when executing the T code). This time is added to
                     the total print time by the G-code time estimator. (s, default: 0)
 --filament-unloading-speed N
                     Speed used for unloading the filament on the wipe tower (does not affect initial
                     part of unloading just after ramming). (mm/s, default: 90)
 --filament-unloading-speed-start N
                     Speed used for unloading the tip of the filament immediately after ramming.
                     (mm/s, default: 100)
 --filament-wipe     This flag will move the nozzle while retracting to minimize the possible blob on
                     leaky extruders. (default: 0)
 --first-layer-acceleration N
                     This is the acceleration your printer will use for first layer. Set zero to
                     disable acceleration control for first layer. (mm/s², default: 0)
 --first-layer-bed-temperature N
                     Heated build plate temperature for the first layer. Set this to zero to disable
                     bed temperature control commands in the output. (°C, default: 0)
 --first-layer-speed N
                     If expressed as absolute value in mm/s, this speed will be applied to all the
                     print moves of the first layer, regardless of their type. If expressed as a
                     percentage (for example: 40%) it will scale the default speeds. (mm/s or %,
                     default: 30)
 --first-layer-temperature N
                     Nozzle temperature for the first layer. If you want to control temperature
                     manually during print, set this to zero to disable temperature control commands
                     in the output G-code. (°C, default: 200)
 --full-fan-speed-layer N
                     Fan speed will be ramped up linearly from zero at layer
                     "disable_fan_first_layers" to maximum at layer "full_fan_speed_layer".
                     "full_fan_speed_layer" will be ignored if lower than "disable_fan_first_layers",
                     in which case the fan will be running at maximum allowed speed at layer
                     "disable_fan_first_layers" + 1. (default: 0)
 --gcode-comments    Enable this to get a commented G-code file, with each line explained by a
                     descriptive text. If you print from SD card, the additional weight of the file
                     could make your firmware slow down.
 --gcode-flavor      Some G/M-code commands, including temperature control and others, are not
                     universal. Set this option to your printer's firmware to get a compatible
                     output. The "No extrusion" flavor prevents PrusaSlicer from exporting any
                     extrusion value at all. (reprap, reprapfirmware, repetier, teacup, makerware,
                     marlin, sailfish, mach3, machinekit, smoothie, no-extrusion; default: reprap)
 --gcode-label-objects
                     Enable this to add comments into the G-Code labeling print moves with what
                     object they belong to, which is useful for the Octoprint CancelObject plugin.
                     This settings is NOT compatible with Single Extruder Multi Material setup and
                     Wipe into Object / Wipe into Infill.
 --high-current-on-filament-swap
                     It may be beneficial to increase the extruder motor current during the filament
                     exchange sequence to allow for rapid ramming feed rates and to overcome
                     resistance when loading a filament with an ugly shaped tip.
 --host-type         Slic3r can upload G-code files to a printer host. This field must contain the
                     kind of the host. (octoprint, duet, flashair, astrobox, repetier; default:
                     octoprint)
 --infill-acceleration N
                     This is the acceleration your printer will use for infill. Set zero to disable
                     acceleration control for infill. (mm/s², default: 0)
 --infill-first      This option will switch the print order of perimeters and infill, making the
                     latter first.
 --after-layer-gcode ABCD, --layer-gcode ABCD
                     This custom code is inserted at every layer change, right after the Z move and
                     before the extruder moves to the first layer point. Note that you can use
                     placeholder variables for all Slic3r settings as well as [layer_num] and
                     [layer_z].
 --max-fan-speed N   This setting represents the maximum speed of your fan. (%, default: 100)
 --max-layer-height N
                     This is the highest printable layer height for this extruder, used to cap the
                     variable layer height and support layer height. Maximum recommended layer height
                     is 75% of the extrusion width to achieve reasonable inter-layer adhesion. If set
                     to 0, layer height is limited to 75% of the nozzle diameter. (mm, default: 0)
 --max-print-height N
                     Set this to the maximum height that can be reached by your extruder while
                     printing. (mm, default: 200)
 --max-print-speed N When setting other speed settings to 0 Slic3r will autocalculate the optimal
                     speed in order to keep constant extruder pressure. This experimental setting is
                     used to set the highest print speed you want to allow. (mm/s, default: 80)
 --max-volumetric-speed N
                     This experimental setting is used to set the maximum volumetric speed your
                     extruder supports. (mm³/s, default: 0)
 --min-fan-speed N   This setting represents the minimum PWM your fan needs to work. (%, default: 35)
 --min-layer-height N
                     This is the lowest printable layer height for this extruder and limits the
                     resolution for variable layer height. Typical values are between 0.05 mm and 0.1
                     mm. (mm, default: 0.07)
 --min-print-speed N Slic3r will not scale speed down below this speed. (mm/s, default: 10)
 --min-skirt-length N
                     Generate no less than the number of skirt loops required to consume the
                     specified amount of filament on the bottom layer. For multi-extruder machines,
                     this minimum applies to each extruder. (mm, default: 0)
 --notes ABCD        You can put here your personal notes. This text will be added to the G-code
                     header comments.
 --nozzle-diameter N This is the diameter of your extruder nozzle (for example: 0.5, 0.35 etc.) (mm,
                     default: 0.4)
 --only-retract-when-crossing-perimeters
                     Disables retraction when the travel path does not exceed the upper layer's
                     perimeters (and thus any ooze will be probably invisible).
 --ooze-prevention   This option will drop the temperature of the inactive extruders to prevent
                     oozing. It will enable a tall skirt automatically and move extruders outside
                     such skirt when changing temperatures.
 --output-filename-format ABCD
                     You can use all configuration options as variables inside this template. For
                     example: [layer_height], [fill_density] etc. You can also use [timestamp],
                     [year], [month], [day], [hour], [minute], [second], [version], [input_filename],
                     [input_filename_base]. (default: [input_filename_base].gcode)
 --parking-pos-retraction N
                     Distance of the extruder tip from the position where the filament is parked when
                     unloaded. This should match the value in printer firmware. (mm, default: 92)
 --pause-print-gcode ABCD
                     This G-code will be used as a code for the pause print (default: M601)
 --perimeter-acceleration N
                     This is the acceleration your printer will use for perimeters. Set zero to
                     disable acceleration control for perimeters. (mm/s², default: 0)
 --post-process ABCD If you want to process the output G-code through custom scripts, just list their
                     absolute paths here. Separate multiple scripts with a semicolon. Scripts will be
                     passed the absolute path to the G-code file as the first argument, and they can
                     access the Slic3r config settings by reading environment variables. (default: )
 --preset-name ABCD  Related printer preset name
 --print-host ABCD   Slic3r can upload G-code files to a printer host. This field should contain the
                     hostname, IP address or URL of the printer host instance. Print host behind
                     HAProxy with basic auth enabled can be accessed by putting the user name and
                     password into the URL in the following format:
                     https://username:password@your-octopi-address/
 --printer-notes ABCD
                     You can put your notes regarding the printer here.
 --printer-technology
                     Printer technology (FFF, SLA; default: FFF)
 --printhost-apikey ABCD
                     Slic3r can upload G-code files to a printer host. This field should contain the
                     API Key or the password required for authentication.
 --printhost-authorization-type
                     (key, user; default: key)
 --printhost-cafile ABCD
                     Custom CA certificate file can be specified for HTTPS OctoPrint connections, in
                     crt/pem format. If left blank, the default OS CA certificate repository is used.
 --printhost-password ABCD

 --printhost-port ABCD
                     Name of the printer
 --printhost-user ABCD

 --remaining-times   Emit M73 P[percent printed] R[remaining time in minutes] at 1 minute intervals
                     into the G-code to let the firmware show accurate remaining time. As of now only
                     the Prusa i3 MK3 firmware recognizes M73. Also the i3 MK3 firmware supports M73
                     Qxx Sxx for the silent mode.
 --resolution N      Minimum detail resolution, used to simplify the input file for speeding up the
                     slicing job and reducing memory usage. High-resolution models often carry more
                     detail than printers can render. Set to zero to disable any simplification and
                     use full resolution from input. (mm, default: 0)
 --retract-before-travel N
                     Retraction is not triggered when travel moves are shorter than this length. (mm,
                     default: 2)
 --retract-before-wipe
                     With bowden extruders, it may be wise to do some amount of quick retract before
                     doing the wipe movement. (%, default: 0%)
 --retract-layer-change
                     This flag enforces a retraction whenever a Z move is done. (default: 0)
 --retract-length N  When retraction is triggered, filament is pulled back by the specified amount
                     (the length is measured on raw filament, before it enters the extruder). (mm
                     (zero to disable), default: 2)
 --retract-length-toolchange N
                     When retraction is triggered before changing tool, filament is pulled back by
                     the specified amount (the length is measured on raw filament, before it enters
                     the extruder). (mm (zero to disable), default: 10)
 --retract-lift N    If you set this to a positive value, Z is quickly raised every time a retraction
                     is triggered. When using multiple extruders, only the setting for the first
                     extruder will be considered. (mm, default: 0)
 --retract-lift-above N
                     If you set this to a positive value, Z lift will only take place above the
                     specified absolute Z. You can tune this setting for skipping lift on the first
                     layers. (mm, default: 0)
 --retract-lift-below N
                     If you set this to a positive value, Z lift will only take place below the
                     specified absolute Z. You can tune this setting for limiting lift to the first
                     layers. (mm, default: 0)
 --retract-restart-extra N
                     When the retraction is compensated after the travel move, the extruder will push
                     this additional amount of filament. This setting is rarely needed. (mm, default:
                     0)
 --retract-restart-extra-toolchange N
                     When the retraction is compensated after changing tool, the extruder will push
                     this additional amount of filament. (mm, default: 0)
 --retract-speed N   The speed for retractions (it only applies to the extruder motor). (mm/s,
                     default: 40)
 --silent-mode       The firmware supports stealth mode
 --single-extruder-multi-material
                     The printer multiplexes filaments into a single hot end.
 --single-extruder-multi-material-priming
                     If enabled, all printing extruders will be primed at the front edge of the print
                     bed at the start of the print.
 --skirt-distance N  Distance between skirt and object(s). Set this to zero to attach the skirt to
                     the object(s) and get a brim for better adhesion. (mm, default: 6)
 --skirt-height N    Height of skirt expressed in layers. Set this to a tall value to use skirt as a
                     shield against drafts. (layers, default: 1)
 --skirts N          Number of loops for the skirt. If the Minimum Extrusion Length option is set,
                     the number of loops might be greater than the one configured here. Set this to
                     zero to disable skirt completely. (default: 1)
 --slowdown-below-layer-time N
                     If layer print time is estimated below this number of seconds, print moves speed
                     will be scaled down to extend duration to this value. (approximate seconds,
                     default: 5)
 --solid-layers N    Number of solid layers to generate on top and bottom surfaces.
 --solid-min-thickness N
                     Minimum thickness of a top / bottom shell
 --spiral-vase       This feature will raise Z gradually while printing a single-walled object in
                     order to remove any visible seam. This option requires a single perimeter, no
                     infill, no top solid layers and no support material. You can still set any
                     number of bottom solid layers as well as skirt/brim loops. It won't work when
                     printing more than one single object.
 --standby-temperature-delta N
                     Temperature difference to be applied when an extruder is not active. Enables a
                     full-height "sacrificial" skirt on which the nozzles are periodically wiped.
                     (∆°C, default: -5)
 --start-filament-gcode ABCD
                     This start procedure is inserted at the beginning, after any printer start gcode
                     (and after any toolchange to this filament in case of multi-material printers).
                     This is used to override settings for a specific filament. If PrusaSlicer
                     detects M104, M109, M140 or M190 in your custom codes, such commands will not be
                     prepended automatically so you're free to customize the order of heating
                     commands and other custom actions. Note that you can use placeholder variables
                     for all PrusaSlicer settings, so you can put a "M109 S[first_layer_temperature]"
                     command wherever you want. If you have multiple extruders, the gcode is
                     processed in extruder order. (default: "; Filament gcode\n")
 --start-gcode ABCD  This start procedure is inserted at the beginning, after bed has reached the
                     target temperature and extruder just started heating, and before extruder has
                     finished heating. If PrusaSlicer detects M104 or M190 in your custom codes, such
                     commands will not be prepended automatically so you're free to customize the
                     order of heating commands and other custom actions. Note that you can use
                     placeholder variables for all PrusaSlicer settings, so you can put a "M109
                     S[first_layer_temperature]" command wherever you want. (default: G28 ; home all
                     axes\nG1 Z5 F5000 ; lift nozzle\n)
 --temperature N     Nozzle temperature for layers after the first one. Set this to zero to disable
                     temperature control commands in the output G-code. (°C, default: 200)
 --template-custom-gcode ABCD
                     This G-code will be used as a custom code
 --thumbnails        Picture sizes to be stored into a .gcode and .sl1 files, in the following
                     format: "XxY, XxY, ..." (default: )
 --toolchange-gcode ABCD
                     This custom code is inserted before every toolchange. Placeholder variables for
                     all PrusaSlicer settings as well as {previous_extruder} and {next_extruder} can
                     be used. When a tool-changing command which changes to the correct extruder is
                     included (such as T{next_extruder}), PrusaSlicer will emit no other such
                     command. It is therefore possible to script custom behaviour both before and
                     after the toolchange.
 --travel-speed N    Speed for travel moves (jumps between distant extrusion points). (mm/s, default:
                     130)
 --use-firmware-retraction
                     This experimental setting uses G10 and G11 commands to have the firmware handle
                     the retraction. This is only supported in recent Marlin.
 --use-relative-e-distances
                     If your firmware requires relative E values, check this, otherwise leave it
                     unchecked. Most firmwares use absolute values.
 --use-volumetric-e  This experimental setting uses outputs the E values in cubic millimeters instead
                     of linear millimeters. If your firmware doesn't already know filament
                     diameter(s), you can put commands like 'M200 D[filament_diameter_0] T0' in your
                     start G-code in order to turn volumetric mode on and use the filament diameter
                     associated to the filament selected in Slic3r. This is only supported in recent
                     Marlin.
 --variable-layer-height
                     Some printers or printer setups may have difficulties printing with a variable
                     layer height. Enabled by default.
 --wipe              This flag will move the nozzle while retracting to minimize the possible blob on
                     leaky extruders. (default: 0)
 --wipe-tower        Multi material printers may need to prime or purge extruders on tool changes.
                     Extrude the excess material into the wipe tower.
 --wipe-tower-bridging N
                     Maximal distance between supports on sparse infill sections. (mm, default: 10)
 --wipe-tower-no-sparse-layers
                     If enabled, the wipe tower will not be printed on layers with no toolchanges. On
                     layers with a toolchange, extruder will travel downward to print the wipe tower.
                     User is responsible for ensuring there is no collision with the print.
 --wipe-tower-rotation-angle N
                     Wipe tower rotation angle with respect to x-axis. (°, default: 0)
 --wipe-tower-width N
                     Width of a wipe tower (mm, default: 60)
 --wipe-tower-x N    X coordinate of the left front corner of a wipe tower (mm, default: 180)
 --wipe-tower-y N    Y coordinate of the left front corner of a wipe tower (mm, default: 140)
 --wiping-volumes-extruders N
                     This vector saves required volumes to change from/to each tool used on the wipe
                     tower. These values are used to simplify creation of the full purging volumes
                     below. (default: 70,70,70,70,70,70,70,70,70,70)
 --wiping-volumes-matrix N
                     This matrix describes volumes (in cubic milimetres) required to purge the new
                     filament on the wipe tower for any given pair of tools. (default:
                     0,140,140,140,140,140,0,140,140,140,140,140,0,140,140,140,140,140,0,140,140,140,140,140,0)
 --z-offset N        This value will be added (or subtracted) from all the Z coordinates in the
                     output G-code. It is used to compensate for bad Z endstop position: for example,
                     if your endstop zero actually leaves the nozzle 0.3mm far from the print bed,
                     set this to -0.3 (or fix your endstop). (mm, default: 0)
Advanced:
 --bridge-flow-ratio N
                     This factor affects the amount of plastic for bridging. You can decrease it
                     slightly to pull the extrudates and prevent sagging, although default settings
                     are usually good and you should experiment with cooling (use a fan) before
                     tweaking this. (default: 1)
 --elefant-foot-compensation N
                     The first layer will be shrunk in the XY plane by the configured value to
                     compensate for the 1st layer squish aka an Elephant Foot effect. (mm, default:
                     0.2)
 --infill-anchor N   Connect an infill line to an internal perimeter with a short segment of an
                     additional perimeter. If expressed as percentage (example: 15%) it is calculated
                     over infill extrusion width. PrusaSlicer tries to connect two close infill lines
                     to a short perimeter segment. If no such perimeter segment shorter than
                     infill_anchor_max is found, the infill line is connected to a perimeter segment
                     at just one side and the length of the perimeter segment taken is limited to
                     this parameter, but no longer than anchor_length_max. Set this parameter to zero
                     to disable anchoring perimeters connected to a single infill line. (mm or %,
                     default: 600%)
 --infill-anchor-max N
                     Connect an infill line to an internal perimeter with a short segment of an
                     additional perimeter. If expressed as percentage (example: 15%) it is calculated
                     over infill extrusion width. PrusaSlicer tries to connect two close infill lines
                     to a short perimeter segment. If no such perimeter segment shorter than this
                     parameter is found, the infill line is connected to a perimeter segment at just
                     one side and the length of the perimeter segment taken is limited to
                     infill_anchor, but no longer than this parameter. Set this parameter to zero to
                     disable anchoring. (mm or %, default: 50)
 --infill-overlap N  This setting applies an additional overlap between infill and perimeters for
                     better bonding. Theoretically this shouldn't be needed, but backlash might cause
                     gaps. If expressed as percentage (example: 15%) it is calculated over perimeter
                     extrusion width. (mm or %, default: 25%)
 --slice-closing-radius N
                     Cracks smaller than 2x gap closing radius are being filled during the triangle
                     mesh slicing. The gap closing operation may reduce the final print resolution,
                     therefore it is advisable to keep the value reasonably low. (mm, default: 0.049)
 --xy-size-compensation N
                     The object will be grown/shrunk in the XY plane by the configured value
                     (negative = inwards, positive = outwards). This might be useful for fine-tuning
                     hole sizes. (mm, default: 0)
Extruders:
 --extruder N        The extruder to use (unless more specific extruder settings are specified). This
                     value overrides perimeter and infill extruders, but not the support extruders.
 --infill-extruder N The extruder to use when printing infill. (default: 1)
 --perimeter-extruder N
                     The extruder to use when printing perimeters and brim. First extruder is 1.
                     (default: 1)
 --solid-infill-extruder N
                     The extruder to use when printing solid infill. (default: 1)
 --support-material-extruder N
                     The extruder to use when printing support material, raft and skirt (1+, 0 to use
                     the current extruder to minimize tool changes). (default: 1)
 --support-material-interface-extruder N
                     The extruder to use when printing support material interface (1+, 0 to use the
                     current extruder to minimize tool changes). This affects raft too. (default: 1)
Extrusion Width:
 --external-perimeter-extrusion-width N
                     Set this to a non-zero value to set a manual extrusion width for external
                     perimeters. If left zero, default extrusion width will be used if set, otherwise
                     1.125 x nozzle diameter will be used. If expressed as percentage (for example
                     200%), it will be computed over layer height. (mm or %, default: 0)
 --extrusion-width N Set this to a non-zero value to allow a manual extrusion width. If left to zero,
                     Slic3r derives extrusion widths from the nozzle diameter (see the tooltips for
                     perimeter extrusion width, infill extrusion width etc). If expressed as
                     percentage (for example: 230%), it will be computed over layer height. (mm or %,
                     default: 0)
 --first-layer-extrusion-width N
                     Set this to a non-zero value to set a manual extrusion width for first layer.
                     You can use this to force fatter extrudates for better adhesion. If expressed as
                     percentage (for example 120%) it will be computed over first layer height. If
                     set to zero, it will use the default extrusion width. (mm or %, default: 200%)
 --infill-extrusion-width N
                     Set this to a non-zero value to set a manual extrusion width for infill. If left
                     zero, default extrusion width will be used if set, otherwise 1.125 x nozzle
                     diameter will be used. You may want to use fatter extrudates to speed up the
                     infill and make your parts stronger. If expressed as percentage (for example
                     90%) it will be computed over layer height. (mm or %, default: 0)
 --perimeter-extrusion-width N
                     Set this to a non-zero value to set a manual extrusion width for perimeters. You
                     may want to use thinner extrudates to get more accurate surfaces. If left zero,
                     default extrusion width will be used if set, otherwise 1.125 x nozzle diameter
                     will be used. If expressed as percentage (for example 200%) it will be computed
                     over layer height. (mm or %, default: 0)
 --solid-infill-extrusion-width N
                     Set this to a non-zero value to set a manual extrusion width for infill for
                     solid surfaces. If left zero, default extrusion width will be used if set,
                     otherwise 1.125 x nozzle diameter will be used. If expressed as percentage (for
                     example 90%) it will be computed over layer height. (mm or %, default: 0)
 --support-material-extrusion-width N
                     Set this to a non-zero value to set a manual extrusion width for support
                     material. If left zero, default extrusion width will be used if set, otherwise
                     nozzle diameter will be used. If expressed as percentage (for example 90%) it
                     will be computed over layer height. (mm or %, default: 0)
 --top-infill-extrusion-width N
                     Set this to a non-zero value to set a manual extrusion width for infill for top
                     surfaces. You may want to use thinner extrudates to fill all narrow regions and
                     get a smoother finish. If left zero, default extrusion width will be used if
                     set, otherwise nozzle diameter will be used. If expressed as percentage (for
                     example 90%) it will be computed over layer height. (mm or %, default: 0)
Infill:
 --bottom-fill-pattern, --external-fill-pattern, --solid-fill-pattern
                     Fill pattern for bottom infill. This only affects the bottom external visible
                     layer, and not its adjacent solid shells. (rectilinear, monotonic,
                     alignedrectilinear, concentric, hilbertcurve, archimedeanchords, octagramspiral;
                     default: monotonic)
 --bridge-angle N    Bridging angle override. If left to zero, the bridging angle will be calculated
                     automatically. Otherwise the provided angle will be used for all bridges. Use
                     180° for zero angle. (°, default: 0)
 --fill-angle N      Default base angle for infill orientation. Cross-hatching will be applied to
                     this. Bridges will be infilled using the best direction Slic3r can detect, so
                     this setting does not affect them. (°, default: 45)
 --fill-density      Density of internal infill, expressed in the range 0% - 100%. (%, default: 20%)
 --fill-pattern      Fill pattern for general low-density infill. (rectilinear, alignedrectilinear,
                     grid, triangles, stars, cubic, line, concentric, honeycomb, 3dhoneycomb, gyroid,
                     hilbertcurve, archimedeanchords, octagramspiral, adaptivecubic, supportcubic;
                     default: stars)
 --infill-every-layers N
                     This feature allows to combine infill and speed up your print by extruding
                     thicker infill layers while preserving thin perimeters, thus accuracy. (layers,
                     default: 1)
 --infill-only-where-needed
                     This option will limit infill to the areas actually needed for supporting
                     ceilings (it will act as internal support material). If enabled, slows down the
                     G-code generation due to the multiple checks involved.
 --solid-infill-below-area N
                     Force solid infill for regions having a smaller area than the specified
                     threshold. (mm², default: 70)
 --solid-infill-every-layers N
                     This feature allows to force a solid layer every given number of layers. Zero to
                     disable. You can set this to any value (for example 9999); Slic3r will
                     automatically choose the maximum possible number of layers to combine according
                     to nozzle diameter and layer height. (layers, default: 0)
 --top-fill-pattern, --external-fill-pattern, --solid-fill-pattern
                     Fill pattern for top infill. This only affects the top visible layer, and not
                     its adjacent solid shells. (rectilinear, monotonic, alignedrectilinear,
                     concentric, hilbertcurve, archimedeanchords, octagramspiral; default: monotonic)
Ironing:
 --ironing           Enable ironing of the top layers with the hot print head for smooth surface
 --ironing-flowrate  Percent of a flow rate relative to object's normal layer height. (%, default:
                     15%)
 --ironing-spacing N Distance between ironing lines (mm, default: 0.1)
 --ironing-type      Ironing Type (top, topmost, solid; default: top)
Layers and Perimeters:
 --avoid-crossing-perimeters-max-detour N
                     The maximum detour length for avoid crossing perimeters. If the detour is longer
                     than this value, avoid crossing perimeters is not applied for this travel path.
                     Detour length could be specified either as an absolute value or as percentage
                     (for example 50%) of a direct travel path. (mm or % (zero to disable), default:
                     0)
 --bottom-solid-layers N
                     Number of solid layers to generate on bottom surfaces. (default: 3)
 --bottom-solid-min-thickness N
                     The number of bottom solid layers is increased above bottom_solid_layers if
                     necessary to satisfy minimum thickness of bottom shell. (mm, default: 0)
 --ensure-vertical-shell-thickness
                     Add solid infill near sloping surfaces to guarantee the vertical shell thickness
                     (top+bottom solid layers).
 --external-perimeters-first
                     Print contour perimeters from the outermost one to the innermost one instead of
                     the default inverse order.
 --extra-perimeters  Add more perimeters when needed for avoiding gaps in sloping walls. Slic3r keeps
                     adding perimeters, until more than 70% of the loop immediately above is
                     supported.
 --first-layer-height N
                     When printing with very low layer heights, you might still want to print a
                     thicker bottom layer to improve adhesion and tolerance for non perfect build
                     plates. This can be expressed as an absolute value or as a percentage (for
                     example: 150%) over the default layer height. (mm or %, default: 0.35)
 --interface-shells  Force the generation of solid shells between adjacent materials/volumes. Useful
                     for multi-extruder prints with translucent materials or manual soluble support
                     material.
 --layer-height N    This setting controls the height (and thus the total number) of the
                     slices/layers. Thinner layers give better accuracy but take more time to print.
                     (mm, default: 0.3)
 --overhangs         Experimental option to adjust flow for overhangs (bridge flow will be used), to
                     apply bridge speed to them and enable fan.
 --perimeters N      This option sets the number of perimeters to generate for each layer. Note that
                     Slic3r may increase this number automatically when it detects sloping surfaces
                     which benefit from a higher number of perimeters if the Extra Perimeters option
                     is enabled. ((minimum), default: 3)
 --seam-position     Position of perimeters starting points. (random, nearest, aligned, rear;
                     default: aligned)
 --thin-walls        Detect single-width walls (parts where two extrusions don't fit and we need to
                     collapse them into a single trace).
 --top-solid-layers N
                     Number of solid layers to generate on top surfaces. (default: 3)
 --top-solid-min-thickness N
                     The number of top solid layers is increased above top_solid_layers if necessary
                     to satisfy minimum thickness of top shell. This is useful to prevent pillowing
                     effect when printing with variable layer height. (mm, default: 0)
Machine limits:
 --machine-limits-usage
                     How to apply the Machine Limits (emit_to_gcode, time_estimate_only, ignore;
                     default: emit_to_gcode)
 --machine-max-acceleration-e N
                     Maximum acceleration of the E axis (mm/s², default: 10000,5000)
 --machine-max-acceleration-extruding N
                     Maximum acceleration when extruding (M204 S) (mm/s², default: 1500,1250)
 --machine-max-acceleration-retracting N
                     Maximum acceleration when retracting (M204 T) (mm/s², default: 1500,1250)
 --machine-max-acceleration-x N
                     Maximum acceleration of the X axis (mm/s², default: 9000,1000)
 --machine-max-acceleration-y N
                     Maximum acceleration of the Y axis (mm/s², default: 9000,1000)
 --machine-max-acceleration-z N
                     Maximum acceleration of the Z axis (mm/s², default: 500,200)
 --machine-max-feedrate-e N
                     Maximum feedrate of the E axis (mm/s, default: 120,120)
 --machine-max-feedrate-x N
                     Maximum feedrate of the X axis (mm/s, default: 500,200)
 --machine-max-feedrate-y N
                     Maximum feedrate of the Y axis (mm/s, default: 500,200)
 --machine-max-feedrate-z N
                     Maximum feedrate of the Z axis (mm/s, default: 12,12)
 --machine-max-jerk-e N
                     Maximum jerk of the E axis (mm/s, default: 2.5,2.5)
 --machine-max-jerk-x N
                     Maximum jerk of the X axis (mm/s, default: 10,10)
 --machine-max-jerk-y N
                     Maximum jerk of the Y axis (mm/s, default: 10,10)
 --machine-max-jerk-z N
                     Maximum jerk of the Z axis (mm/s, default: 0.2,0.4)
 --machine-min-extruding-rate N
                     Minimum feedrate when extruding (M205 S) (mm/s, default: 0,0)
 --machine-min-travel-rate N
                     Minimum travel feedrate (M205 T) (mm/s, default: 0,0)
Speed:
 --bridge-speed N    Speed for printing bridges. (mm/s, default: 60)
 --external-perimeter-speed N
                     This separate setting will affect the speed of external perimeters (the visible
                     ones). If expressed as percentage (for example: 80%) it will be calculated on
                     the perimeters speed setting above. Set to zero for auto. (mm/s or %, default:
                     50%)
 --gap-fill-speed N  Speed for filling small gaps using short zigzag moves. Keep this reasonably low
                     to avoid too much shaking and resonance issues. Set zero to disable gaps
                     filling. (mm/s, default: 20)
 --infill-speed N    Speed for printing the internal fill. Set to zero for auto. (mm/s, default: 80)
 --ironing-speed N   Ironing (mm/s, default: 15)
 --perimeter-speed N Speed for perimeters (contours, aka vertical shells). Set to zero for auto.
                     (mm/s, default: 60)
 --small-perimeter-speed N
                     This separate setting will affect the speed of perimeters having radius <= 6.5mm
                     (usually holes). If expressed as percentage (for example: 80%) it will be
                     calculated on the perimeters speed setting above. Set to zero for auto. (mm/s or
                     %, default: 15)
 --solid-infill-speed N
                     Speed for printing solid regions (top/bottom/internal horizontal shells). This
                     can be expressed as a percentage (for example: 80%) over the default infill
                     speed above. Set to zero for auto. (mm/s or %, default: 20)
 --top-solid-infill-speed N
                     Speed for printing top solid layers (it only applies to the uppermost external
                     layers and not to their internal solid layers). You may want to slow down this
                     to get a nicer surface finish. This can be expressed as a percentage (for
                     example: 80%) over the solid infill speed above. Set to zero for auto. (mm/s or
                     %, default: 15)
Support material:
 --dont-support-bridges
                     Experimental option for preventing support material from being generated under
                     bridged areas.
 --raft-layers N     The object will be raised by this number of layers, and support material will be
                     generated under it. (layers, default: 0)
 --support-material  Enable support material generation.
 --support-material-angle N
                     Use this setting to rotate the support material pattern on the horizontal plane.
                     (°, default: 0)
 --support-material-auto
                     If checked, supports will be generated automatically based on the overhang
                     threshold value. If unchecked, supports will be generated inside the "Support
                     Enforcer" volumes only.
 --support-material-buildplate-only
                     Only create support if it lies on a build plate. Don't create support on a
                     print.
 --support-material-contact-distance N
                     The vertical distance between object and support material interface. Setting
                     this to 0 will also prevent Slic3r from using bridge flow and speed for the
                     first object layer. (mm, default: 0.2)
 --support-material-enforce-layers N
                     Generate support material for the specified number of layers counting from
                     bottom, regardless of whether normal support material is enabled or not and
                     regardless of any angle threshold. This is useful for getting more adhesion of
                     objects having a very thin or poor footprint on the build plate. (layers,
                     default: 0)
 --support-material-interface-contact-loops
                     Cover the top contact layer of the supports with loops. Disabled by default.
 --support-material-interface-layers N
                     Number of interface layers to insert between the object(s) and support material.
                     (layers, default: 3)
 --support-material-interface-spacing N
                     Spacing between interface lines. Set zero to get a solid interface. (mm,
                     default: 0)
 --support-material-interface-speed N
                     Speed for printing support material interface layers. If expressed as percentage
                     (for example 50%) it will be calculated over support material speed. (mm/s or %,
                     default: 100%)
 --support-material-pattern
                     Pattern used to generate support material. (rectilinear, rectilinear-grid,
                     honeycomb; default: rectilinear)
 --support-material-spacing N
                     Spacing between support material lines. (mm, default: 2.5)
 --support-material-speed N
                     Speed for printing support material. (mm/s, default: 60)
 --support-material-synchronize-layers
                     Synchronize support layers with the object print layers. This is useful with
                     multi-material printers, where the extruder switch is expensive.
 --support-material-threshold N
                     Support material will not be generated for overhangs whose slope angle (90° =
                     vertical) is above the given threshold. In other words, this value represent the
                     most horizontal slope (measured from the horizontal plane) that you can print
                     without support material. Set to zero for automatic detection (recommended).
                     (°, default: 0)
 --support-material-with-sheath
                     Add a sheath (a single perimeter line) around the base support. This makes the
                     support more reliable, but also more difficult to remove.
 --support-material-xy-spacing N
                     XY separation between an object and its support. If expressed as percentage (for
                     example 50%), it will be calculated over external perimeter width. (mm or %,
                     default: 50%)
Wipe options:
 --wipe-into-infill  Purging after toolchange will done inside this object's infills. This lowers the
                     amount of waste but may result in longer print time due to additional travel
                     moves.
 --wipe-into-objects Object will be used to purge the nozzle after a toolchange to save material that
                     would otherwise end up in the wipe tower and decrease print time. Colours of the
                     objects will be mixed as a result.
FlorianJa commented 3 years ago

Das Modell ist zwar schon vorhanden, aber es fehlen noch die Parameter.

FelixDango commented 3 years ago

Ist es sinnvoll diese Informationen alle einzeln in die Datenbank einzutragen? Wäre nicht die Speicherung einer JSON sinnvoller, vor allem weil es Teilweise mehrere Parameter sind ?

FlorianJa commented 3 years ago

Eigentlich wäre die Speicherung der einzelnen Parameter schon sinnvoll, da sonst das suchen nach bestimmen Einstellungen sehr schwer wird. Beispiel: gib mir alle Drucke, die ohne Support gedruckt wurden zurück.

Wie häufig aber dieser Fall auftreten wird, kann ich noch nicht sagen. Deshalb würde ich vorschlagen an dieser Stelle erstmal alle Werte als JSON abzuspeichern und wenn der oben genannte Use Case auftritt, wird eine Datenbankmigration erstellt oder zur Not passiert das Suchen in der Applikation und nicht auf der Datenbank.

FelixDango commented 3 years ago

Gibt es denn eine Möglichkeit zu sehen, welcher Datentyp bei den einzelnen Optionen gespeichert wird? Gibt es eine Beispiel JSON in der Doku die die Typen impliziert.

Die ganzen Optionen als Modell in Django anzulegen würde erhebliche Zeit in Anspruch nehmen. Ich bin mir nicht sicher ob das in den Rahmen der Projektarbeit passt, da ich bisher ja noch keine Geschäftslogik oder ähnliches umgesetzt habe und dafür auch noch Zeit benötige. Es wäre ein stumpfes Einpflegen die 260 Attribute mit ihren unterschiedlichen Typen hinzuzufügen. Wenn es alles der gleiche Typ wäre, wäre es deutlich einfacher, aber da man bei jedem Attribut genau gucken muss würde es so lange dauern.

FlorianJa commented 3 years ago

Ja, das verstehe ich. In der Auflistung oben kann man den Datentyp erkennen. Wenn hinter --comand-XYZ ein N steht ist es eine Zahl. Hier kann du einfach float verwenden. Bei ABCD ist es ein String Wenn nicht dahinter stehe, dann ist es ein boolean. Für die commands mit mehreren Parametern wie ganz oben, kannst du auch String verwenden

Hier siehst du noch wie das ausgefüllt aussieht. Beachte hier bitte das Unterstriche statt Bindestriche verwendet wurden. Du solltest hier auch Bindestriche verwenden. Außerdem findest du hier teilweise noch % hinter ein paar Angaben. Die kannst du vernachlässigen. Prozentangaben bitte als float speichern also 0.5 für 50%.

(das ist natürlich kein JSON)

# generated by PrusaSlicer 2.3.1+win64 on 2021-08-28 at 11:05:24 UTC
avoid_crossing_perimeters = 0
avoid_crossing_perimeters_max_detour = 0
bed_custom_model = 
bed_custom_texture = 
bed_shape = 0x0,180x0,180x180,0x180
bed_temperature = 60
before_layer_gcode = ;BEFORE_LAYER_CHANGE\nG92 E0.0\n;[layer_z]\n\n
between_objects_gcode = 
bottom_fill_pattern = monotonic
bottom_solid_layers = 4
bottom_solid_min_thickness = 0.5
bridge_acceleration = 1000
bridge_angle = 0
bridge_fan_speed = 100
bridge_flow_ratio = 0.95
bridge_speed = 30
brim_width = 0
clip_multipart_objects = 1
color_change_gcode = M600
colorprint_heights = 
compatible_printers_condition_cummulative = "printer_notes=~/.*PRINTER_VENDOR_PRUSA3D.*/ and printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.4";"nozzle_diameter[0]!=0.8 and ! (printer_notes=~/.*PRINTER_VENDOR_PRUSA3D.*/ and printer_notes=~/.*PRINTER_MODEL_MK(2.5|3).*/ and single_extruder_multi_material)"
complete_objects = 0
cooling = 1
cooling_tube_length = 5
cooling_tube_retraction = 91.5
default_acceleration = 1250
default_filament_profile = "Prusament PLA"
default_print_profile = 0.15mm QUALITY @MINI
deretract_speed = 40
disable_fan_first_layers = 1
dont_support_bridges = 1
draft_shield = 0
duplicate_distance = 6
elefant_foot_compensation = 0.2
end_filament_gcode = "; Filament-specific end gcode"
end_gcode = G1 E-1 F2100 ; retract\n{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+2, max_print_height)}{endif} F720 ; Move print head up\nG1 X178 Y178 F4200 ; park print head\n{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+30, max_print_height)}{endif} F720 ; Move print head further up\nG4 ; wait\nM104 S0 ; turn off temperature\nM140 S0 ; turn off heatbed\nM107 ; turn off fan\nM221 S100 ; reset flow\nM900 K0 ; reset LA\nM84 ; disable motors
ensure_vertical_shell_thickness = 1
external_perimeter_extrusion_width = 0.45
external_perimeter_speed = 30
external_perimeters_first = 0
extra_loading_move = -2
extra_perimeters = 0
extruder_clearance_height = 20
extruder_clearance_radius = 35
extruder_colour = ""
extruder_offset = 0x0
extrusion_axis = E
extrusion_multiplier = 1
extrusion_width = 0.45
fan_always_on = 1
fan_below_layer_time = 100
filament_colour = #FF8000
filament_cooling_final_speed = 3.4
filament_cooling_initial_speed = 2.2
filament_cooling_moves = 4
filament_cost = 30.24
filament_density = 1.24
filament_deretract_speed = nil
filament_diameter = 1.75
filament_load_time = 0
filament_loading_speed = 28
filament_loading_speed_start = 3
filament_max_volumetric_speed = 15
filament_minimal_purge_on_wipe_tower = 15
filament_notes = "Affordable filament for everyday printing in premium quality manufactured in-house by Josef Prusa"
filament_ramming_parameters = "120 100 6.6 6.8 7.2 7.6 7.9 8.2 8.7 9.4 9.9 10.0| 0.05 6.6 0.45 6.8 0.95 7.8 1.45 8.3 1.95 9.7 2.45 10 2.95 7.6 3.45 7.6 3.95 7.6 4.45 7.6 4.95 7.6"
filament_retract_before_travel = nil
filament_retract_before_wipe = nil
filament_retract_layer_change = nil
filament_retract_length = nil
filament_retract_lift = nil
filament_retract_lift_above = nil
filament_retract_lift_below = nil
filament_retract_restart_extra = nil
filament_retract_speed = nil
filament_settings_id = "Prusament PLA"
filament_soluble = 0
filament_spool_weight = 201
filament_toolchange_delay = 0
filament_type = PLA
filament_unload_time = 0
filament_unloading_speed = 90
filament_unloading_speed_start = 100
filament_vendor = Prusa Polymers
filament_wipe = nil
fill_angle = 45
fill_density = 15%
fill_pattern = gyroid
first_layer_acceleration = 800
first_layer_bed_temperature = 60
first_layer_extrusion_width = 0.42
first_layer_height = 0.2
first_layer_speed = 20
first_layer_temperature = 215
full_fan_speed_layer = 4
gap_fill_speed = 40
gcode_comments = 0
gcode_flavor = marlin
gcode_label_objects = 1
high_current_on_filament_swap = 0
host_type = octoprint
infill_acceleration = 1000
infill_anchor = 2.5
infill_anchor_max = 12
infill_every_layers = 1
infill_extruder = 1
infill_extrusion_width = 0.45
infill_first = 0
infill_only_where_needed = 0
infill_overlap = 25%
infill_speed = 80
interface_shells = 0
ironing = 0
ironing_flowrate = 15%
ironing_spacing = 0.1
ironing_speed = 15
ironing_type = top
layer_gcode = ;AFTER_LAYER_CHANGE\n;[layer_z]
layer_height = 0.2
machine_limits_usage = emit_to_gcode
machine_max_acceleration_e = 5000
machine_max_acceleration_extruding = 1250
machine_max_acceleration_retracting = 1250
machine_max_acceleration_x = 1250
machine_max_acceleration_y = 1250
machine_max_acceleration_z = 400
machine_max_feedrate_e = 80
machine_max_feedrate_x = 180
machine_max_feedrate_y = 180
machine_max_feedrate_z = 12
machine_max_jerk_e = 10
machine_max_jerk_x = 8
machine_max_jerk_y = 8
machine_max_jerk_z = 2
machine_min_extruding_rate = 0
machine_min_travel_rate = 0
max_fan_speed = 100
max_layer_height = 0.25
max_print_height = 180
max_print_speed = 150
max_volumetric_speed = 0
min_fan_speed = 100
min_layer_height = 0.07
min_print_speed = 15
min_skirt_length = 4
notes = 
nozzle_diameter = 0.4
only_retract_when_crossing_perimeters = 0
ooze_prevention = 0
output_filename_format = {input_filename_base}_{layer_height}mm_{filament_type[0]}_{printer_model}_{print_time}.gcode
overhangs = 0
parking_pos_retraction = 92
pause_print_gcode = M601
perimeter_acceleration = 800
perimeter_extruder = 1
perimeter_extrusion_width = 0.45
perimeter_speed = 40
perimeters = 2
physical_printer_settings_id = 
post_process = 
print_host = 
print_settings_id = 0.20mm QUALITY @MINI
printer_model = MINI
printer_notes = Don't remove the following keywords! These keywords are used in the "compatible printer" condition of the print and filament profiles to link the particular print and filament profiles to this printer profile.\nPRINTER_VENDOR_PRUSA3D\nPRINTER_MODEL_MINI\n
printer_settings_id = Original Prusa MINI & MINI+
printer_technology = FFF
printer_variant = 0.4
printer_vendor = 
printhost_apikey = 
printhost_cafile = 
raft_layers = 0
remaining_times = 1
resolution = 0
retract_before_travel = 1.5
retract_before_wipe = 70%
retract_layer_change = 1
retract_length = 3.2
retract_length_toolchange = 4
retract_lift = 0.2
retract_lift_above = 0
retract_lift_below = 179
retract_restart_extra = 0
retract_restart_extra_toolchange = 0
retract_speed = 70
seam_position = nearest
silent_mode = 0
single_extruder_multi_material = 0
single_extruder_multi_material_priming = 1
skirt_distance = 2
skirt_height = 3
skirts = 1
slice_closing_radius = 0.049
slowdown_below_layer_time = 15
small_perimeter_speed = 25
solid_infill_below_area = 0
solid_infill_every_layers = 0
solid_infill_extruder = 1
solid_infill_extrusion_width = 0.45
solid_infill_speed = 80
spiral_vase = 0
standby_temperature_delta = -5
start_filament_gcode = "M900 K{if printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.6}0.12{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/ and nozzle_diameter[0]==0.8}0.06{elsif printer_notes=~/.*PRINTER_MODEL_MINI.*/}0.2{elsif nozzle_diameter[0]==0.8}0.01{elsif nozzle_diameter[0]==0.6}0.04{else}0.05{endif} ; Filament gcode LA 1.5\n{if printer_notes=~/.*PRINTER_MODEL_MINI.*/};{elsif printer_notes=~/.*PRINTER_HAS_BOWDEN.*/}M900 K200{elsif nozzle_diameter[0]==0.6}M900 K18{elsif nozzle_diameter[0]==0.8};{else}M900 K30{endif} ; Filament gcode LA 1.0"
start_gcode = G90 ; use absolute coordinates\nM83 ; extruder relative mode\nM104 S170 ; set extruder temp for bed leveling\nM140 S[first_layer_bed_temperature] ; set bed temp\nM109 R170 ; wait for bed leveling temp\nM190 S[first_layer_bed_temperature] ; wait for bed temp\nG28 ; home all without mesh bed level\nG29 ; mesh bed leveling \nM104 S[first_layer_temperature] ; set extruder temp\nG92 E0.0\nG1 Y-2.0 X179 F2400\nG1 Z3 F720\nM109 S[first_layer_temperature] ; wait for extruder temp\n\n; intro line\nG1 X170 F1000\nG1 Z0.2 F720\nG1 X110.0 E8.0 F900\nG1 X40.0 E10.0 F700\nG92 E0.0\n\nM221 S95 ; set flow
support_material = 0
support_material_angle = 0
support_material_auto = 1
support_material_buildplate_only = 0
support_material_contact_distance = 0.1
support_material_enforce_layers = 0
support_material_extruder = 0
support_material_extrusion_width = 0.35
support_material_interface_contact_loops = 0
support_material_interface_extruder = 0
support_material_interface_layers = 2
support_material_interface_spacing = 0.2
support_material_interface_speed = 80%
support_material_pattern = rectilinear
support_material_spacing = 2
support_material_speed = 40
support_material_synchronize_layers = 0
support_material_threshold = 55
support_material_with_sheath = 0
support_material_xy_spacing = 60%
temperature = 215
template_custom_gcode = 
thin_walls = 0
threads = 24
thumbnails = 16x16,220x124
toolchange_gcode = 
top_fill_pattern = monotonic
top_infill_extrusion_width = 0.4
top_solid_infill_speed = 40
top_solid_layers = 5
top_solid_min_thickness = 0.7
travel_speed = 150
use_firmware_retraction = 0
use_relative_e_distances = 1
use_volumetric_e = 0
variable_layer_height = 1
wipe = 1
wipe_into_infill = 0
wipe_into_objects = 0
wipe_tower = 0
wipe_tower_bridging = 10
wipe_tower_no_sparse_layers = 0
wipe_tower_rotation_angle = 0
wipe_tower_width = 60
wipe_tower_x = 170
wipe_tower_y = 140
wiping_volumes_extruders = 70,70
wiping_volumes_matrix = 0
xy_size_compensation = 0
z_offset = 0
FlorianJa commented 3 years ago

Letztendlich ist das aber gar nicht notwendig. In das Modell sollte einfach ein String-Feld integriert werden, wo der JSON String abgelegt wird. Die Zuordnung zu den Datentypen machen wir, wenn es notwendig wird. Der JSON String kommt später ja aus einer anderen Anwendung und die bereitet den entsprechend auf.