updated vs

This commit is contained in:
Errol Sancaktar 2024-09-18 11:46:22 -06:00
parent 85dd4893fb
commit 5859706321
2101 changed files with 197 additions and 847142 deletions

View File

@ -1,26 +1,9 @@
# GENERAL
# import = ["<string>",]
# Import additional configuration files.
# Imports are loaded in order, skipping all missing files, with the importing file being loaded last. If a field is already present in a previous import, it will be replaced.
# All imports must either be absolute paths starting with /, or paths relative to the user's home directory starting with ~/.
# Example:
# import = [
# "~/.config/alacritty/base16-dark.toml",
# "~/.config/alacritty/keybindings.toml",
# ]
import = [
"~/.config/alacritty/catpuccin-latte.toml",
"~/.config/alacritty/themes/catpuccin-latte.toml",
]
# live_config_reload = true | false
# Live config reload (changes require restart)
# Default: true
live_config_reload = true
# ipc_socket = true | false # (unix only)
@ -33,112 +16,14 @@ live_config_reload = true
# ENV
# All key-value pairs in the [env] section will be added as environment variables for any process spawned by Alacritty, including its shell. Some entries may override variables set by alacritty itself.
# Example:
[env]
#TERM = "xterm-256color"
TERM = "alacritty"
# WINIT_X11_SCALE_FACTOR = "1.0"
# WINDOW
# This section documents the [window] table of the configuration file.
# dimensions = { columns = <integer>, lines = <integer> }
# Window dimensions (changes require restart).
# Number of lines/columns (not pixels) in the terminal. Both lines and columns must be non-zero for this to take effect. The number of columns must be at least 2, while using a value of 0 for columns and lines will fall back to the window manager's recommended size
# Default: { column = 0, lines = 0 }
# position = "None" | { x = <integer>, y = <integer> }
# Window startup position.
# Specified in number of pixels.
# If the position is "None", the window manager will handle placement.
# Default: "None"
# padding = { x = <integer>, y = <integer> }
# Blank space added around the window in pixels. This padding is scaled by DPI and the specified value is always added at both opposing sides.
# Default: { x = 0, y = 0 }
# dynamic_padding = true | false
# Spread additional padding evenly around the terminal content.
# Default: false
# Window decorations.
# decorations = "Full" | "None" | "Transparent" | "Buttonless"
# Full
# Borders and title bar.
# None
# Neither borders nor title bar.
# Transparent (macOS only)
# Title bar, transparent background and title bar buttons.
# Buttonless (macOS only)
# Title bar, transparent background and no title bar buttons.
# Default: "Full"
# Background opacity (works on macOS & KDE Wayland only)
# opacity = <float>
# Background opacity as a floating point number from 0.0 to 1.0. The value 0.0 is completely transparent and 1.0 is opaque.
# Default: 1.0
# Request compositor to blur content behind transparent windows (works on macOS & KDE Wayland only).
# Default: false
# blur = true | false
# Startup mode (changes require restart)
# startup_mode = "Windowed" | "Maximized" | "Fullscreen" | "SimpleFullscreen"
# Windowed
# Regular window.
# Maximized
# The window will be maximized on startup.
# Fullscreen
# The window will be fullscreened on startup.
# SimpleFullscreen (macOS only)
# Same as Fullscreen, but you can stack windows on top.
# Default: "Windowed"
# Window title.
# title = "<string>"
# Default: "Alacritty"
# dynamic_title = true | false
# Allow terminal applications to change Alacritty's window title.
# Default: true
# Window class.
# class = { instance = "<string>", general = "<string>" } # (Linux/BSD only)
# On Wayland, general is used as app_id and instance is ignored.
# Default: { instance = "Alacritty", general = "Alacritty" }
# Override the variant of the System theme/GTK theme/Wayland client side decorations. Set this to "None" to use the system's default theme variant.
# decorations_theme_variant = "Dark" | "Light" | "None"
# Default: "None"
# resize_increments = true | false
# Prefer resizing window by discrete steps equal to cell dimensions.
# Default: false
# option_as_alt = "OnlyLeft" | "OnlyRight" | "Both" | "None" # (macos only)
# Make Option key behave as Alt.
# Default: "None"
# Example:
# [window]
# padding = { x = 3, y = 3 }
# dynamic_padding = true
# opacity = 0.9
[window]
startup_mode = "Windowed"
@ -154,16 +39,6 @@ dimensions = { columns = 160, lines = 45 }
# SCROLLING
# This section documents the [scrolling] table of the configuration file.
# history = <integer>
# Maximum number of lines in the scrollback buffer.
# Specifying 0 will disable scrolling.
# Limited to 100000.
# Default: 10000
# multiplier = <integer>
# Number of line scrolled for every input scroll increment.
# Default: 3
[scrolling]
history = 100000
@ -171,173 +46,20 @@ multiplier = 3
# FONT
# This section documents the [font] table of the configuration file.
# normal = { family = "<string>", style = "<string>" }
# Default:
# Linux/BSD: { family = "monospace", style = "Regular" }
# Windows: { family = "Consolas", style = "Regular" }
# macOS: { family = "Menlo", style = "Regular" }
# bold = { family = "<string>", style = "<string>" }
# If the family is not specified, it will fall back to the value specified for the normal font.
# Default: { style = "Bold" }
# italic = { family = "<string>", style = "<string>" }
# If the family is not specified, it will fall back to the value specified for the normal font.
# Default: { style = "Italic" }
# bold_italic = { family = "<string>", style = "<string>" }
# If the family is not specified, it will fall back to the value specified for the normal font.
# Default: { style = "Bold Italic" }
# size = <float>
# Font size in points.
# Default: 11.25
# offset = { x = <integer>, y = <integer> }
# Offset is the extra space around each character. The 'y' can be thought of as modifying the line spacing, and 'x' as modifying the letter spacing.
# Default: { x = 0, y = 0 }
# glyph_offset = { x = <integer>, y = <integer> }
# Glyph offset determines the locations of the glyphs within their cells with the default being at the bottom. Increasing x moves the glyph to the right, increasing y moves the glyph upward.
# builtin_box_drawing = true | false
# When true, Alacritty will use a custom built-in font for box drawing characters (Unicode points U+2500 - U+259F) and powerline symbols (Unicode points U+E0B0 - U+E0B3).
# Default: true
[font]
normal = { family = "Hack Nerd Font Mono" }
size = 13
builtin_box_drawing = true
# COLORS
# This section documents the [colors] table of the configuration file.
# Colors are specified using their hexadecimal values with a # prefix: #RRGGBB.
# colors primary
# This section documents the [colors.primary] table of the configuration file.
[colors]
#foreground = "#d8d8d8"
#background = "#181818"
#dim_foreground = "#828482"
#bright_foreground = "None"
#cursor = { text = "CellBackground", cursor = "CellForeground" }
# foreground = "<string>"
# Default: "#d8d8d8"
# background = "<string>"
# Default: "#181818"
# dim_foreground = "<string>"
# If this is not set, the color is automatically calculated based on the foreground color.
# Default: "#828482"
# bright_foreground = "<string>"
# This color is only used when draw_bold_text_with_bright_colors is true.
# If this is not set, the normal foreground will be used.
# Default: "None"
# cursor = { text = "<string>", cursor = "<string>" }
# Colors which should be used to draw the terminal cursor.
# Allowed values are hexadecimal colors like #ff00ff, or CellForeground/CellBackground, which references the affected cell.
# Default: { text = "CellBackground", cursor = "CellForeground" }
# vi_mode_cursor = { text = "<string>", cursor = "<string>" }
# Colors for the cursor when the vi mode is active.
# Allowed values are hexadecimal colors like #ff00ff, or CellForeground/CellBackground, which references the affected cell.
# Default: { text = "CellBackground", cursor = "CellForeground" }
# colors search
# This section documents the [colors.search] table of the configuration.
# Allowed values are hexadecimal colors like #ff00ff, or CellForeground/CellBackground, which references the affected cell.
[colors.search]
matches = { foreground = "#181818", background = "#ac4242" }
focused_match = { foreground = "#181818", background = "#f4bf75" }
# matches = { foreground = "<string>", background = "<string>" }
# Default: { foreground = "#181818", background = "#ac4242" }
# focused_match = { foreground = "<string>", background = "<string>" }
# Default: { foreground = "#181818", background = "#f4bf75" }
# indexed_colors = [{ index = <integer>, color = "<string>" },]
# The indexed colors include all colors from 16 to 256. When these are not set, they're filled with sensible defaults.
# Default: []
# transparent_background_colors = true | false
# Whether or not window.opacity applies to all cell backgrounds, or only to the default background. When set to true all cells will be transparent regardless of their background color.
# Default: false
# draw_bold_text_with_bright_colors = true | false
# When true, bold text is drawn using the bright color variants.
# Default: false
# colors hints
# This section documents the [colors.hints] table of the configuration.
#[colors.hints]
#start = { foreground = "#181818", background = "#f4bf75" }
#end = { foreground = "#181818", background = "#ac4242" }
# start = { foreground = "<string>", background = "<string>" }
# First character in the hint label.
# Allowed values are hexadecimal colors like #ff00ff, or CellForeground/CellBackground, which references the affected cell.
# Default: { foreground = "#181818", background = "#f4bf75" }
# end = { foreground = "<string>", background = "<string>" }
# All characters after the first one in the hint label.
# Allowed values are hexadecimal colors like #ff00ff, or CellForeground/CellBackground, which references the affected cell.
# Default: { foreground = "#181818", background = "#ac4242" }
# line_indicator = { foreground = "<string>", background = "<string>" }
# Color used for the indicator displaying the position in history during search and vi mode.
# Setting this to "None" will use the opposing primary color.
# Default: { foreground = "None", background = "None" }
# footer_bar = { foreground = "<string>", background = "<string>" }
# Color used for the footer bar on the bottom, used by search regex input, hyperlink URI preview, etc.
# Default: { foreground = "#181818", background = "#d8d8d8" }
# selection = { text = "<string>", background = "<string>" }
# Colors used for drawing selections.
# Allowed values are hexadecimal colors like #ff00ff, or CellForeground/CellBackground, which references the affected cell.
# Default: { text = "CellBackground", background = "CellForeground" }
# normal
# This section documents the [colors.normal] table of the configuration.
# Defaults from Alacritty.org used.
#[colors.normal]
#black = "#181818"
#red = "#ac4242"
#green = "#90a959"
#yellow = "#f4bf75"
#blue = "#6a9fb5"
#magenta = "#aa759f"
#cyan = "#75b5aa"
#white = "#d8d8d8"
#
## bright
## This section documents the [colors.bright] table of the configuration.
## Defaults from Alacritty.org used.
#
#[colors.bright]
#black = "#6b6b6b"
#red = "#c55555"
#green = "#aac474"
#yellow = "#feca88"
#blue = "#82b8c8"
#magenta = "#c28cb8"
#cyan = "#93d3c3"
#white = "#f8f8f8"
# dim
# This section documents the [colors.dim] table of the configuration.
# If the dim colors are not set, they will be calculated automatically based on the normal colors.
[colors.dim]
black = "#0f0f0f"
red = "#712b2b"
@ -379,24 +101,6 @@ magenta = '#ff55ff'
cyan = '#6ae3f9'
white = '#ffffff'
# BELL
# This section documents the [bell] table of the configuration file.
# animation = "Ease" | "EaseOut" | "EaseOutSine" | "EaseOutQuad" | "EaseOutCubic" | "EaseOutQuart" | "EaseOutQuint" | "EaseOutExpo" | "EaseOutCirc" | "Linear"
# Visual bell animation effect for flashing the screen when the visual bell is rung.
# Default: "Linear"
# duration = <integer>
# Duration of the visual bell flash in milliseconds. A `duration` of `0` will disable the visual bell animation.
# Default: 0
# color = "<string>"
# Visual bell animation color.
# Default: "#ffffff"
# command = "<string>" | { program = "<string>", args = ["<string>",] }
# This program is executed whenever the bell is rung.
# When set to "None", no command will be executed.
# Default: "None"
[bell]
animation = "EaseOutExpo"
@ -406,93 +110,21 @@ duration = 0
# SELECTION
# This section documents the [selection] table of the configuration file.
# semantic_escape_chars = "<string>"
# This string contains all characters that are used as separators for "semantic words" in Alacritty.
# Default: ",│`|:\"' ()[]{}<>\t"
# save_to_clipboard = true | false
# When set to true, selected text will be copied to the primary clipboard.
# Default: false
[selection]
semantic_escape_chars = ",│`|:\"' ()[]{}<>\t"
save_to_clipboard = false
save_to_clipboard = true
# CURSOR
# This section documents the [cursor] table of the configuration file.
# style = { <shape>, <blinking> }
# shape = "Block" | "Underline" | "Beam"
# Default: "Block"
# blinking = "Never" | "Off" | "On" | "Always"
# Never - Prevent the cursor from ever blinking
# Off - Disable blinking by default
# On - Enable blinking by default
# Always -Force the cursor to always blink
# Default: "Off"
# vi_mode_style = { <shape>, <blinking> } | "None"
# If the vi mode cursor style is "None" or not specified, it will fall back to the active value of the normal cursor.
# Default: "None"
# blink_interval = <integer>
# Cursor blinking interval in milliseconds.
# Default: 750
# blink_timeout = <integer>
# Time after which cursor stops blinking, in seconds.
# Specifying 0 will disable timeout for blinking.
# Default: 5
# unfocused_hollow = true | false
# When this is true, the cursor will be rendered as a hollow box when the window is not focused.
# Default: true
# thickness = <float>
# Thickness of the cursor relative to the cell width as floating point number from 0.0 to 1.0.
# Default: 0.15
[cursor]
style = { shape = "Block", blinking = "on" }
style = { shape = "Beam", blinking = "on" }
unfocused_hollow = true
thickness = 0.15
# TERMINAL
# This section documents the [terminal] table of the configuration file.
# osc52 = "Disabled" | "OnlyCopy" | "OnlyPaste" | "CopyPaste"
# Controls the ability to write to the system clipboard with the OSC 52 escape sequence. While this escape sequence is useful to copy contents from the remote server, allowing any application to read from the clipboard can be easily abused while not providing significant benefits over explicitly pasting text.
# Default: "OnlyCopy"
#[terminal]
# MOUSE
# This section documents the [mouse] table of the configuration file.
# hide_when_typing = true | false
# When this is true, the cursor is temporarily hidden when typing.
# Default: false
# bindings = [{ <mouse>, <mods>, <mode>, <action> | <chars> },]
# See keyboard.bindings for full documentation on mods, mode, action, and chars.
# When an application running within Alacritty captures the mouse, the `Shift` modifier can be used to suppress mouse reporting. If no action is found for the event, actions for the event without the `Shift` modifier are triggered instead.
# mouse = "Middle" | "Left" | "Right" | "Back" | "Forward" | <integer>
# Mouse button which needs to be pressed to trigger this binding.
# action = <keyboard.bindings.action> | "ExpandSelection"
# ExpandSelection
# Expand the selection to the current mouse cursor location.
# Example:
# [mouse]
# bindings = [
# { mouse = "Right", mods = "Control", action = "Paste" },
# ]
[mouse]
hide_when_typing = false
@ -552,7 +184,6 @@ hide_when_typing = false
# [[hints.enabled]]
# command = "xdg-open" # On Linux/BSD
# # command = "open" # On macOS
# # command = { program = "cmd", args = [ "/c", "start", "" ] } # On Windows
# hyperlinks = true
# post_processing = true
# persist = false
@ -936,24 +567,8 @@ hide_when_typing = false
# · Christian Duerr <contact@christianduerr.com>
# · Kirill Chibisov <contact@kchibisov.com>
# SHELL
# shell="/opt/homebrew/bin/tmux"
# You can set shell.program to the path of your favorite shell, e.g. /bin/zsh. Entries in shell.args are passed as arguments to the shell.
# Default:
#shell="/opt/homebrew/bin/tmux"
# Linux/BSD/macOS: $SHELL or the user's login shell.
# Windows: "powershell"
# working_directory = "<string>" | "None"
# Directory the shell is started in. When this is unset, or "None", the working directory of the parent process will be used.
# Default: "None"
[shell]
program="/usr/bin/tmux"
args=['new-session', '-A', '-s', 'eDesktop']
[font]
normal = { family = "Hack Nerd Font Mono" }
size = 13
builtin_box_drawing = true

View File

@ -23,7 +23,7 @@
"iot_environment": "3",
"keyboard_supported": "none/alt/control/shift",
"language": "en_US",
"last_backup_path": "/tmp/orcaslicer_model/Wed_Aug_21/08_49_32#551621#49",
"last_backup_path": "/tmp/orcaslicer_model/Thu_Sep_05/09_09_37#838511#63",
"last_export_path": "/home/errol/m12drill",
"log_severity_level": "warning",
"max_recent_count": "18",
@ -254,26 +254,26 @@
"recent": {
"last_opened_folder": "/home/errol/Downloads/3D Prints/Soil Sensor/Capacitive Soil Moisture Sensor with ESP8266 - 4142773/files",
"printhost_path": "",
"settings_folder": "/home/errol/Downloads/3D Prints/Toolbox"
"settings_folder": "/home/errol/Downloads/3D Prints"
},
"recent_projects": {
"01": "/home/errol/Downloads/3D Prints/Soil Sensor/Capacitive Soil Moisture Sensor with ESP8266 - 4142773/files/Soil_Base.stl",
"02": "/home/errol/Downloads/3D Prints/Toolbox/gridfinity white toolbox.3mf",
"03": "/home/errol/gridfinity white toolbox.3mf",
"04": "/home/errol/Downloads/3D Prints/Toolbox/ToolboxGridfinity.3mf",
"05": "/home/errol/Downloads/3D Prints/Baby_Step_Z_rectangle.stl",
"06": "/home/errol/Downloads/3D Prints/z-height-test-pla-abs-petg.stl",
"07": "/home/errol/Downloads/3D Prints/dresser_drawer_glide.stl",
"08": "/home/errol/Downloads/3D Prints/k1-k1max-eddy-current-mount-cartographer-model_files/K1 Cartographer v9 (TL).3mf",
"09": "/home/errol/Downloads/3D Prints/cartographer.3mf",
"10": "/home/errol/Downloads/3D Prints/Multiboard/MultiBoard.3mf",
"11": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.3mf",
"12": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.stl",
"13": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.3mf",
"14": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.stl",
"15": "/home/errol/Downloads/3D Prints/Garage/GarageStuff.3mf",
"16": "/home/errol/Downloads/3D Prints/Toolbox/modular-wrenchtoolbox-organizers-model_files/modular-wrench-holder-3-sizes.3mf",
"17": "/home/errol/Downloads/3D Prints/Toolbox/7-set-variations-imperial-14-drive-socket-holders-gridfinity-model_files/1_4-imperial-impact-socket-11pc-left.stl",
"18": "/home/errol/Downloads/screwdriver_rack.3mf"
"01": "/home/errol/Downloads/3D Prints/LILYGO_T3-S3_v1.2_Slimline_Lid_-_Chamfered.3mf",
"02": "/home/errol/Downloads/3D Prints/Soil Sensor/Capacitive Soil Moisture Sensor with ESP8266 - 4142773/files/Soil_Base.stl",
"03": "/home/errol/Downloads/3D Prints/Toolbox/gridfinity white toolbox.3mf",
"04": "/home/errol/gridfinity white toolbox.3mf",
"05": "/home/errol/Downloads/3D Prints/Toolbox/ToolboxGridfinity.3mf",
"06": "/home/errol/Downloads/3D Prints/Baby_Step_Z_rectangle.stl",
"07": "/home/errol/Downloads/3D Prints/z-height-test-pla-abs-petg.stl",
"08": "/home/errol/Downloads/3D Prints/dresser_drawer_glide.stl",
"09": "/home/errol/Downloads/3D Prints/k1-k1max-eddy-current-mount-cartographer-model_files/K1 Cartographer v9 (TL).3mf",
"10": "/home/errol/Downloads/3D Prints/cartographer.3mf",
"11": "/home/errol/Downloads/3D Prints/Multiboard/MultiBoard.3mf",
"12": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.3mf",
"13": "/home/errol/Downloads/3D Prints/Filament Swatch Holder (w.Box) - 3562775/files/filaswatch_L_nf.stl",
"14": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.3mf",
"15": "/home/errol/Downloads/3D Prints/Multiboard/multiboard_parametric.stl",
"16": "/home/errol/Downloads/3D Prints/Garage/GarageStuff.3mf",
"17": "/home/errol/Downloads/3D Prints/Toolbox/modular-wrenchtoolbox-organizers-model_files/modular-wrench-holder-3-sizes.3mf",
"18": "/home/errol/Downloads/3D Prints/Toolbox/7-set-variations-imperial-14-drive-socket-holders-gridfinity-model_files/1_4-imperial-impact-socket-11pc-left.stl"
}
}

View File

@ -1,10 +1,6 @@
{
"device_error": {
"en": [
{
"ecode": "03008008",
"intro": "Printing Stopped because nozzle temperature problem."
},
{
"ecode": "12018007",
"intro": "Failed to extrude the filament. The extruder may be clogged or the filament may be stuck; please refer to HMS. After troubleshooting, click \"Retry\" button."
@ -53,6 +49,14 @@
"ecode": "0300801B",
"intro": "Nozzle temperature problem detected. Refer to the Assistant to re-connect the hotend connector. POWER OFF the printer before this operation to avoid a short circuit."
},
{
"ecode": "03008008",
"intro": "Printing Stopped because nozzle temperature problem."
},
{
"ecode": "0300800B",
"intro": "The cutter is stuck. Please make sure the cutter handle is out, and check the filament sensor cable connection."
},
{
"ecode": "03004005",
"intro": "The hotend cooling fan speed is abnormal."
@ -265,10 +269,6 @@
"ecode": "03008007",
"intro": "There was an unfinished print job when the printer lost power. If the model is still adhered to the build plate, you can try resuming the print job."
},
{
"ecode": "0300800B",
"intro": "The cutter is stuck. Please make sure the cutter handle is out."
},
{
"ecode": "12008011",
"intro": "AMS filament ran out. Please insert a new filament into the same AMS slot."
@ -1090,22 +1090,10 @@
"intro": "Heatbed temperature malfunction."
}
],
"ver": 202408201100
"ver": 202409051200
},
"device_hms": {
"en": [
{
"ecode": "0500010000030004",
"intro": "Not enough space in MicroSD Card; please clear some space."
},
{
"ecode": "0300020000010006",
"intro": "The nozzle temperature is abnormal; the sensor may have a short circuit. Please check whether the connector is properly plugged in."
},
{
"ecode": "0700220000030001",
"intro": "AMS1 Slot3 filament has run out. Please wait while old filament is purged."
},
{
"ecode": "0500030000010021",
"intro": "Hardware incompatible: please check the laser."
@ -1234,6 +1222,34 @@
"ecode": "0701700000020006",
"intro": "Timeout purging old filament. Possible cause: filament stuck or extruder/nozzle clogged. Please refer to the Assistant for details."
},
{
"ecode": "0500010000030004",
"intro": "Not enough space in MicroSD Card; please clear some space."
},
{
"ecode": "0300020000010006",
"intro": "The nozzle temperature is abnormal; the sensor may have a short circuit. Please check whether the connector is properly plugged in."
},
{
"ecode": "0700220000030001",
"intro": "AMS1 Slot3 filament has run out. Please wait while old filament is purged."
},
{
"ecode": "0700450000020003",
"intro": "The filament cutter handle has not been released. The handle or blade may be jammed, or there could be an issue with the filament sensor connection."
},
{
"ecode": "0C0003000003000e",
"intro": "Your nozzle seems to be covered with jammed or clogged material."
},
{
"ecode": "1200450000020003",
"intro": "The filament cutter handle has not been released. The handle or blade may be jammed, or there could be an issue with the filament sensor connection."
},
{
"ecode": "0C00030000030010",
"intro": "Your printer seems to be printing without extruding."
},
{
"ecode": "0300170000020002",
"intro": "The hotend cooling fan speed is slow. It may be stuck and need cleaning."
@ -1442,10 +1458,6 @@
"ecode": "1200130000020002",
"intro": "The AMS1 Slot4 motor is overloaded. The filament may be tangled or stuck."
},
{
"ecode": "1200450000020003",
"intro": "The filament cutter handle has not released. The handle or blade may be stuck."
},
{
"ecode": "0C0003000002000F",
"intro": "Parts skipped before first layer inspection; the inspection will not be supported for the current print."
@ -3698,10 +3710,6 @@
"ecode": "0C00020000020009",
"intro": "The vertical laser is not bright enough at homing position. Please clean or replace heatbed if this message appears repeatedly."
},
{
"ecode": "0C0003000003000e",
"intro": "Your printer seems to be printing without extruding."
},
{
"ecode": "0C0003000003000f",
"intro": "Your nozzle seems to be covered with jammed or clogged material."
@ -4078,10 +4086,6 @@
"ecode": "0700450000020002",
"intro": "The filament cutter's cutting distance is too large. The XY motor may lose steps."
},
{
"ecode": "0700450000020003",
"intro": "The filament cutter handle has not released. The handle or blade may be stuck."
},
{
"ecode": "0701010000010001",
"intro": "The AMS2 assist motor has slipped. The extrusion wheel may be worn down, or the filament may be too thin."
@ -4319,7 +4323,7 @@
"intro": "The nozzle temperature is abnormal; the sensor may have an open circuit."
}
],
"ver": 202408201100
"ver": 202409051200
},
"version": "202408201100"
"version": "202409051200"
}

View File

@ -1,242 +0,0 @@
{
"name": "Custom Printer",
"version": "02.01.01.00",
"force_update": "0",
"description": "My configurations",
"machine_model_list": [
{
"name": "Generic Klipper Printer",
"sub_path": "machine/MyKlipper.json"
},
{
"name": "Generic Marlin Printer",
"sub_path": "machine/MyMarlin.json"
},
{
"name": "Generic RRF Printer",
"sub_path": "machine/MyRRF.json"
}
],
"process_list": [
{
"name": "fdm_process_common",
"sub_path": "process/fdm_process_common.json"
},
{
"name": "fdm_process_klipper_common",
"sub_path": "process/fdm_process_klipper_common.json"
},
{
"name": "fdm_process_rrf_common",
"sub_path": "process/fdm_process_rrf_common.json"
},
{
"name": "fdm_process_marlin_common",
"sub_path": "process/fdm_process_marlin_common.json"
},
{
"name": "0.08mm Extra Fine @MyKlipper",
"sub_path": "process/0.08mm Extra Fine @MyKlipper.json"
},
{
"name": "0.12mm Fine @MyKlipper",
"sub_path": "process/0.12mm Fine @MyKlipper.json"
},
{
"name": "0.15mm Optimal @MyKlipper",
"sub_path": "process/0.15mm Optimal @MyKlipper.json"
},
{
"name": "0.16mm Optimal @MyKlipper",
"sub_path": "process/0.16mm Optimal @MyKlipper.json"
},
{
"name": "0.20mm Standard @MyKlipper",
"sub_path": "process/0.20mm Standard @MyKlipper.json"
},
{
"name": "0.24mm Draft @MyKlipper",
"sub_path": "process/0.24mm Draft @MyKlipper.json"
},
{
"name": "0.28mm Extra Draft @MyKlipper",
"sub_path": "process/0.28mm Extra Draft @MyKlipper.json"
},
{
"name": "0.32mm Extra Draft @MyKlipper",
"sub_path": "process/0.32mm Extra Draft @MyKlipper.json"
},
{
"name": "0.40mm Extra Draft @MyKlipper",
"sub_path": "process/0.40mm Extra Draft @MyKlipper.json"
},
{
"name": "0.56mm Extra Draft @MyKlipper",
"sub_path": "process/0.56mm Extra Draft @MyKlipper.json"
},
{
"name": "0.08mm Extra Fine @MyRRF",
"sub_path": "process/0.08mm Extra Fine @MyRRF.json"
},
{
"name": "0.12mm Fine @MyRRF",
"sub_path": "process/0.12mm Fine @MyRRF.json"
},
{
"name": "0.15mm Optimal @MyRRF",
"sub_path": "process/0.15mm Optimal @MyRRF.json"
},
{
"name": "0.20mm Standard @MyRRF",
"sub_path": "process/0.20mm Standard @MyRRF.json"
},
{
"name": "0.24mm Draft @MyRRF",
"sub_path": "process/0.24mm Draft @MyRRF.json"
},
{
"name": "0.28mm Extra Draft @MyRRF",
"sub_path": "process/0.28mm Extra Draft @MyRRF.json"
},
{
"name": "0.08mm Extra Fine @MyMarlin",
"sub_path": "process/0.08mm Extra Fine @MyMarlin.json"
},
{
"name": "0.12mm Fine @MyMarlin",
"sub_path": "process/0.12mm Fine @MyMarlin.json"
},
{
"name": "0.15mm Optimal @MyMarlin",
"sub_path": "process/0.15mm Optimal @MyMarlin.json"
},
{
"name": "0.20mm Standard @MyMarlin",
"sub_path": "process/0.20mm Standard @MyMarlin.json"
},
{
"name": "0.24mm Draft @MyMarlin",
"sub_path": "process/0.24mm Draft @MyMarlin.json"
},
{
"name": "0.28mm Extra Draft @MyMarlin",
"sub_path": "process/0.28mm Extra Draft @MyMarlin.json"
}
],
"filament_list": [
{
"name": "fdm_filament_common",
"sub_path": "filament/fdm_filament_common.json"
},
{
"name": "fdm_filament_pla",
"sub_path": "filament/fdm_filament_pla.json"
},
{
"name": "fdm_filament_tpu",
"sub_path": "filament/fdm_filament_tpu.json"
},
{
"name": "fdm_filament_pet",
"sub_path": "filament/fdm_filament_pet.json"
},
{
"name": "fdm_filament_abs",
"sub_path": "filament/fdm_filament_abs.json"
},
{
"name": "fdm_filament_pc",
"sub_path": "filament/fdm_filament_pc.json"
},
{
"name": "fdm_filament_asa",
"sub_path": "filament/fdm_filament_asa.json"
},
{
"name": "fdm_filament_pva",
"sub_path": "filament/fdm_filament_pva.json"
},
{
"name": "fdm_filament_pa",
"sub_path": "filament/fdm_filament_pa.json"
},
{
"name": "My Generic PLA",
"sub_path": "filament/My Generic PLA.json"
},
{
"name": "My Generic PLA-CF",
"sub_path": "filament/My Generic PLA-CF.json"
},
{
"name": "My Generic PETG",
"sub_path": "filament/My Generic PETG.json"
},
{
"name": "My Generic ABS",
"sub_path": "filament/My Generic ABS.json"
},
{
"name": "My Generic TPU",
"sub_path": "filament/My Generic TPU.json"
},
{
"name": "My Generic ASA",
"sub_path": "filament/My Generic ASA.json"
},
{
"name": "My Generic PC",
"sub_path": "filament/My Generic PC.json"
},
{
"name": "My Generic PVA",
"sub_path": "filament/My Generic PVA.json"
},
{
"name": "My Generic PA",
"sub_path": "filament/My Generic PA.json"
},
{
"name": "My Generic PA-CF",
"sub_path": "filament/My Generic PA-CF.json"
}
],
"machine_list": [
{
"name": "fdm_machine_common",
"sub_path": "machine/fdm_machine_common.json"
},
{
"name": "fdm_klipper_common",
"sub_path": "machine/fdm_klipper_common.json"
},
{
"name": "fdm_rrf_common",
"sub_path": "machine/fdm_rrf_common.json"
},
{
"name": "MyKlipper 0.4 nozzle",
"sub_path": "machine/MyKlipper 0.4 nozzle.json"
},
{
"name": "MyKlipper 0.2 nozzle",
"sub_path": "machine/MyKlipper 0.2 nozzle.json"
},
{
"name": "MyKlipper 0.6 nozzle",
"sub_path": "machine/MyKlipper 0.6 nozzle.json"
},
{
"name": "MyKlipper 0.8 nozzle",
"sub_path": "machine/MyKlipper 0.8 nozzle.json"
},
{
"name": "MyMarlin 0.4 nozzle",
"sub_path": "machine/MyMarlin 0.4 nozzle.json"
},
{
"name": "MyRRF 0.4 nozzle",
"sub_path": "machine/MyRRF 0.4 nozzle.json"
}
]
}

View File

@ -1,23 +0,0 @@
{
"type": "filament",
"filament_id": "GFB99",
"setting_id": "GFSA04",
"name": "My Generic ABS",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_abs",
"filament_flow_ratio": [
"0.926"
],
"filament_max_volumetric_speed": [
"12"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,23 +0,0 @@
{
"type": "filament",
"filament_id": "GFB98",
"setting_id": "GFSA04",
"name": "My Generic ASA",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_asa",
"filament_flow_ratio": [
"0.93"
],
"filament_max_volumetric_speed": [
"12"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,29 +0,0 @@
{
"type": "filament",
"filament_id": "GFN98",
"setting_id": "GFSA04",
"name": "My Generic PA-CF",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pa",
"filament_type": [
"PA-CF"
],
"nozzle_temperature_initial_layer": [
"280"
],
"nozzle_temperature": [
"280"
],
"filament_max_volumetric_speed": [
"8"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,26 +0,0 @@
{
"type": "filament",
"filament_id": "GFN99",
"setting_id": "GFSA04",
"name": "My Generic PA",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pa",
"nozzle_temperature_initial_layer": [
"280"
],
"nozzle_temperature": [
"280"
],
"filament_max_volumetric_speed": [
"12"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,23 +0,0 @@
{
"type": "filament",
"filament_id": "GFC99",
"setting_id": "GFSA04",
"name": "My Generic PC",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pc",
"filament_max_volumetric_speed": [
"12"
],
"filament_flow_ratio": [
"0.94"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,53 +0,0 @@
{
"type": "filament",
"filament_id": "GFG99",
"setting_id": "GFSA04",
"name": "My Generic PETG",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pet",
"reduce_fan_stop_start_freq": [
"1"
],
"slow_down_for_layer_cooling": [
"1"
],
"fan_cooling_layer_time": [
"30"
],
"overhang_fan_speed": [
"90"
],
"overhang_fan_threshold": [
"25%"
],
"fan_max_speed": [
"90"
],
"fan_min_speed": [
"40"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"8"
],
"filament_flow_ratio": [
"0.95"
],
"filament_max_volumetric_speed": [
"10"
],
"filament_start_gcode": [
"; filament start gcode\n"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,29 +0,0 @@
{
"type": "filament",
"filament_id": "GFL98",
"setting_id": "GFSA04",
"name": "My Generic PLA-CF",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pla",
"filament_flow_ratio": [
"0.95"
],
"filament_type": [
"PLA-CF"
],
"filament_max_volumetric_speed": [
"12"
],
"slow_down_layer_time": [
"7"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,26 +0,0 @@
{
"type": "filament",
"filament_id": "GFL99",
"setting_id": "GFSA04",
"name": "My Generic PLA",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pla",
"filament_flow_ratio": [
"0.98"
],
"filament_max_volumetric_speed": [
"12"
],
"slow_down_layer_time": [
"8"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,29 +0,0 @@
{
"type": "filament",
"filament_id": "GFS99",
"setting_id": "GFSA04",
"name": "My Generic PVA",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_pva",
"filament_flow_ratio": [
"0.95"
],
"filament_max_volumetric_speed": [
"12"
],
"slow_down_layer_time": [
"7"
],
"slow_down_min_speed": [
"10"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,20 +0,0 @@
{
"type": "filament",
"filament_id": "GFU99",
"setting_id": "GFSA04",
"name": "My Generic TPU",
"from": "system",
"instantiation": "true",
"inherits": "fdm_filament_tpu",
"filament_max_volumetric_speed": [
"3.2"
],
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle",
"MyMarlin 0.4 nozzle",
"MyRRF 0.4 nozzle"
]
}

View File

@ -1,88 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_abs",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp" : [
"105"
],
"eng_plate_temp" : [
"105"
],
"hot_plate_temp" : [
"105"
],
"textured_plate_temp" : [
"105"
],
"cool_plate_temp_initial_layer" : [
"105"
],
"eng_plate_temp_initial_layer" : [
"105"
],
"hot_plate_temp_initial_layer" : [
"105"
],
"textured_plate_temp_initial_layer" : [
"105"
],
"slow_down_for_layer_cooling": [
"1"
],
"close_fan_the_first_x_layers": [
"3"
],
"fan_cooling_layer_time": [
"30"
],
"filament_max_volumetric_speed": [
"28.6"
],
"filament_type": [
"ABS"
],
"filament_density": [
"1.04"
],
"filament_cost": [
"20"
],
"nozzle_temperature_initial_layer": [
"260"
],
"reduce_fan_stop_start_freq": [
"1"
],
"fan_max_speed": [
"80"
],
"fan_min_speed": [
"10"
],
"overhang_fan_threshold": [
"25%"
],
"overhang_fan_speed": [
"80"
],
"nozzle_temperature": [
"260"
],
"temperature_vitrification": [
"110"
],
"nozzle_temperature_range_low": [
"240"
],
"nozzle_temperature_range_high": [
"270"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"3"
]
}

View File

@ -1,88 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_asa",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp" : [
"105"
],
"eng_plate_temp" : [
"105"
],
"hot_plate_temp" : [
"105"
],
"textured_plate_temp" : [
"105"
],
"cool_plate_temp_initial_layer" : [
"105"
],
"eng_plate_temp_initial_layer" : [
"105"
],
"hot_plate_temp_initial_layer" : [
"105"
],
"textured_plate_temp_initial_layer" : [
"105"
],
"slow_down_for_layer_cooling": [
"1"
],
"close_fan_the_first_x_layers": [
"3"
],
"fan_cooling_layer_time": [
"35"
],
"filament_max_volumetric_speed": [
"28.6"
],
"filament_type": [
"ASA"
],
"filament_density": [
"1.04"
],
"filament_cost": [
"20"
],
"nozzle_temperature_initial_layer": [
"260"
],
"reduce_fan_stop_start_freq": [
"1"
],
"fan_max_speed": [
"80"
],
"fan_min_speed": [
"10"
],
"overhang_fan_threshold": [
"25%"
],
"overhang_fan_speed": [
"80"
],
"nozzle_temperature": [
"260"
],
"temperature_vitrification": [
"110"
],
"nozzle_temperature_range_low": [
"240"
],
"nozzle_temperature_range_high": [
"270"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"3"
]
}

View File

@ -1,144 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_common",
"from": "system",
"instantiation": "false",
"cool_plate_temp" : [
"60"
],
"eng_plate_temp" : [
"60"
],
"hot_plate_temp" : [
"60"
],
"textured_plate_temp" : [
"60"
],
"cool_plate_temp_initial_layer" : [
"60"
],
"eng_plate_temp_initial_layer" : [
"60"
],
"hot_plate_temp_initial_layer" : [
"60"
],
"textured_plate_temp_initial_layer" : [
"60"
],
"overhang_fan_threshold": [
"95%"
],
"overhang_fan_speed": [
"100"
],
"slow_down_for_layer_cooling": [
"1"
],
"close_fan_the_first_x_layers": [
"3"
],
"filament_end_gcode": [
"; filament end gcode \n"
],
"filament_flow_ratio": [
"1"
],
"reduce_fan_stop_start_freq": [
"0"
],
"fan_cooling_layer_time": [
"60"
],
"filament_cost": [
"0"
],
"filament_density": [
"0"
],
"filament_deretraction_speed": [
"nil"
],
"filament_diameter": [
"1.75"
],
"filament_max_volumetric_speed": [
"0"
],
"filament_minimal_purge_on_wipe_tower": [
"15"
],
"filament_retraction_minimum_travel": [
"nil"
],
"filament_retract_before_wipe": [
"nil"
],
"filament_retract_when_changing_layer": [
"nil"
],
"filament_retraction_length": [
"nil"
],
"filament_z_hop": [
"nil"
],
"filament_z_hop_types": [
"nil"
],
"filament_retract_restart_extra": [
"nil"
],
"filament_retraction_speed": [
"nil"
],
"filament_settings_id": [
""
],
"filament_soluble": [
"0"
],
"filament_type": [
"PLA"
],
"filament_vendor": [
"Generic"
],
"filament_wipe": [
"nil"
],
"filament_wipe_distance": [
"nil"
],
"bed_type": [
"Cool Plate"
],
"nozzle_temperature_initial_layer": [
"200"
],
"full_fan_speed_layer": [
"0"
],
"fan_max_speed": [
"100"
],
"fan_min_speed": [
"35"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"8"
],
"filament_start_gcode": [
"; Filament gcode\n"
],
"nozzle_temperature": [
"200"
],
"temperature_vitrification": [
"100"
]
}

View File

@ -1,85 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_pa",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp" : [
"0"
],
"eng_plate_temp" : [
"100"
],
"hot_plate_temp" : [
"100"
],
"textured_plate_temp" : [
"100"
],
"cool_plate_temp_initial_layer" : [
"0"
],
"eng_plate_temp_initial_layer" : [
"100"
],
"hot_plate_temp_initial_layer" : [
"100"
],
"textured_plate_temp_initial_layer" : [
"100"
],
"slow_down_for_layer_cooling": [
"1"
],
"close_fan_the_first_x_layers": [
"3"
],
"fan_cooling_layer_time": [
"4"
],
"filament_max_volumetric_speed": [
"8"
],
"filament_type": [
"PA"
],
"filament_density": [
"1.04"
],
"filament_cost": [
"20"
],
"nozzle_temperature_initial_layer": [
"290"
],
"reduce_fan_stop_start_freq": [
"0"
],
"fan_max_speed": [
"60"
],
"fan_min_speed": [
"0"
],
"overhang_fan_speed": [
"30"
],
"nozzle_temperature": [
"290"
],
"temperature_vitrification": [
"108"
],
"nozzle_temperature_range_low": [
"270"
],
"nozzle_temperature_range_high": [
"300"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"2"
]
}

View File

@ -1,88 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_pc",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp" : [
"0"
],
"eng_plate_temp" : [
"110"
],
"hot_plate_temp" : [
"110"
],
"textured_plate_temp" : [
"110"
],
"cool_plate_temp_initial_layer" : [
"0"
],
"eng_plate_temp_initial_layer" : [
"110"
],
"hot_plate_temp_initial_layer" : [
"110"
],
"textured_plate_temp_initial_layer" : [
"110"
],
"slow_down_for_layer_cooling": [
"1"
],
"close_fan_the_first_x_layers": [
"3"
],
"fan_cooling_layer_time": [
"30"
],
"filament_max_volumetric_speed": [
"23.2"
],
"filament_type": [
"PC"
],
"filament_density": [
"1.04"
],
"filament_cost": [
"20"
],
"nozzle_temperature_initial_layer": [
"270"
],
"reduce_fan_stop_start_freq": [
"1"
],
"fan_max_speed": [
"60"
],
"fan_min_speed": [
"10"
],
"overhang_fan_threshold": [
"25%"
],
"overhang_fan_speed": [
"60"
],
"nozzle_temperature": [
"280"
],
"temperature_vitrification": [
"140"
],
"nozzle_temperature_range_low": [
"260"
],
"nozzle_temperature_range_high": [
"280"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"2"
]
}

View File

@ -1,82 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_pet",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp" : [
"60"
],
"eng_plate_temp" : [
"0"
],
"hot_plate_temp" : [
"80"
],
"textured_plate_temp" : [
"80"
],
"cool_plate_temp_initial_layer" : [
"60"
],
"eng_plate_temp_initial_layer" : [
"0"
],
"hot_plate_temp_initial_layer" : [
"80"
],
"textured_plate_temp_initial_layer" : [
"80"
],
"slow_down_for_layer_cooling": [
"1"
],
"close_fan_the_first_x_layers": [
"3"
],
"fan_cooling_layer_time": [
"20"
],
"filament_max_volumetric_speed": [
"25"
],
"filament_type": [
"PETG"
],
"filament_density": [
"1.27"
],
"filament_cost": [
"30"
],
"nozzle_temperature_initial_layer": [
"255"
],
"reduce_fan_stop_start_freq": [
"1"
],
"fan_max_speed": [
"100"
],
"fan_min_speed": [
"20"
],
"overhang_fan_speed": [
"100"
],
"nozzle_temperature": [
"255"
],
"temperature_vitrification": [
"80"
],
"nozzle_temperature_range_low": [
"220"
],
"nozzle_temperature_range_high": [
"260"
],
"filament_start_gcode": [
"; filament start gcode\n"
]
}

View File

@ -1,94 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_pla",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"fan_cooling_layer_time": [
"100"
],
"filament_max_volumetric_speed": [
"12"
],
"filament_type": [
"PLA"
],
"filament_density": [
"1.24"
],
"filament_cost": [
"20"
],
"cool_plate_temp" : [
"60"
],
"eng_plate_temp" : [
"60"
],
"hot_plate_temp" : [
"60"
],
"textured_plate_temp" : [
"60"
],
"cool_plate_temp_initial_layer" : [
"60"
],
"eng_plate_temp_initial_layer" : [
"60"
],
"hot_plate_temp_initial_layer" : [
"60"
],
"textured_plate_temp_initial_layer" : [
"60"
],
"nozzle_temperature_initial_layer": [
"220"
],
"reduce_fan_stop_start_freq": [
"1"
],
"slow_down_for_layer_cooling": [
"1"
],
"fan_max_speed": [
"100"
],
"fan_min_speed": [
"100"
],
"overhang_fan_speed": [
"100"
],
"overhang_fan_threshold": [
"50%"
],
"close_fan_the_first_x_layers": [
"1"
],
"nozzle_temperature": [
"220"
],
"temperature_vitrification": [
"60"
],
"nozzle_temperature_range_low": [
"190"
],
"nozzle_temperature_range_high": [
"230"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"4"
],
"additional_cooling_fan_speed": [
"70"
],
"filament_start_gcode": [
"; filament start gcode\n"
]
}

View File

@ -1,100 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_pva",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp" : [
"35"
],
"eng_plate_temp" : [
"0"
],
"hot_plate_temp" : [
"45"
],
"textured_plate_temp" : [
"45"
],
"cool_plate_temp_initial_layer" : [
"35"
],
"eng_plate_temp_initial_layer" : [
"0"
],
"hot_plate_temp_initial_layer" : [
"45"
],
"textured_plate_temp_initial_layer" : [
"45"
],
"fan_cooling_layer_time": [
"100"
],
"filament_max_volumetric_speed": [
"15"
],
"filament_soluble": [
"1"
],
"filament_is_support": [
"1"
],
"filament_type": [
"PVA"
],
"filament_density": [
"1.24"
],
"filament_cost": [
"20"
],
"nozzle_temperature_initial_layer": [
"220"
],
"reduce_fan_stop_start_freq": [
"1"
],
"slow_down_for_layer_cooling": [
"1"
],
"fan_max_speed": [
"100"
],
"fan_min_speed": [
"100"
],
"overhang_fan_speed": [
"100"
],
"overhang_fan_threshold": [
"50%"
],
"close_fan_the_first_x_layers": [
"1"
],
"nozzle_temperature": [
"220"
],
"temperature_vitrification": [
"50"
],
"nozzle_temperature_range_low": [
"190"
],
"nozzle_temperature_range_high": [
"250"
],
"slow_down_min_speed": [
"10"
],
"slow_down_layer_time": [
"4"
],
"additional_cooling_fan_speed": [
"70"
],
"filament_start_gcode": [
"; filament start gcode\n"
]
}

View File

@ -1,88 +0,0 @@
{
"type": "filament",
"name": "fdm_filament_tpu",
"from": "system",
"instantiation": "false",
"inherits": "fdm_filament_common",
"cool_plate_temp" : [
"30"
],
"eng_plate_temp" : [
"30"
],
"hot_plate_temp" : [
"35"
],
"textured_plate_temp" : [
"35"
],
"cool_plate_temp_initial_layer" : [
"30"
],
"eng_plate_temp_initial_layer" : [
"30"
],
"hot_plate_temp_initial_layer" : [
"35"
],
"textured_plate_temp_initial_layer" : [
"35"
],
"fan_cooling_layer_time": [
"100"
],
"filament_max_volumetric_speed": [
"15"
],
"filament_type": [
"TPU"
],
"filament_density": [
"1.24"
],
"filament_cost": [
"20"
],
"filament_retraction_length": [
"0.4"
],
"nozzle_temperature_initial_layer": [
"240"
],
"reduce_fan_stop_start_freq": [
"1"
],
"slow_down_for_layer_cooling": [
"1"
],
"fan_max_speed": [
"100"
],
"fan_min_speed": [
"100"
],
"overhang_fan_speed": [
"100"
],
"additional_cooling_fan_speed": [
"70"
],
"close_fan_the_first_x_layers": [
"1"
],
"nozzle_temperature": [
"240"
],
"temperature_vitrification": [
"60"
],
"nozzle_temperature_range_low": [
"200"
],
"nozzle_temperature_range_high": [
"250"
],
"filament_start_gcode": [
"; filament start gcode\n"
]
}

View File

@ -1,26 +0,0 @@
{
"type": "machine",
"setting_id": "GM002",
"name": "MyKlipper 0.2 nozzle",
"from": "system",
"instantiation": "true",
"inherits": "fdm_klipper_common",
"printer_model": "Generic Klipper Printer",
"nozzle_diameter": [
"0.2"
],
"max_layer_height": [
"0.16"
],
"min_layer_height": [
"0.04"
],
"printer_variant": "0.2",
"printable_area": [
"0x0",
"250x0",
"250x250",
"0x250"
],
"printable_height": "250"
}

View File

@ -1,20 +0,0 @@
{
"type": "machine",
"setting_id": "GM001",
"name": "MyKlipper 0.4 nozzle",
"from": "system",
"instantiation": "true",
"inherits": "fdm_klipper_common",
"printer_model": "Generic Klipper Printer",
"nozzle_diameter": [
"0.4"
],
"printer_variant": "0.4",
"printable_area": [
"0x0",
"250x0",
"250x250",
"0x250"
],
"printable_height": "250"
}

View File

@ -1,26 +0,0 @@
{
"type": "machine",
"setting_id": "GM003",
"name": "MyKlipper 0.6 nozzle",
"from": "system",
"instantiation": "true",
"inherits": "fdm_klipper_common",
"printer_model": "Generic Klipper Printer",
"nozzle_diameter": [
"0.6"
],
"max_layer_height": [
"0.4"
],
"min_layer_height": [
"0.12"
],
"printer_variant": "0.6",
"printable_area": [
"0x0",
"250x0",
"250x250",
"0x250"
],
"printable_height": "250"
}

View File

@ -1,26 +0,0 @@
{
"type": "machine",
"setting_id": "GM004",
"name": "MyKlipper 0.8 nozzle",
"from": "system",
"instantiation": "true",
"inherits": "fdm_klipper_common",
"printer_model": "Generic Klipper Printer",
"nozzle_diameter": [
"0.8"
],
"max_layer_height": [
"0.6"
],
"min_layer_height": [
"0.2"
],
"printer_variant": "0.8",
"printable_area": [
"0x0",
"250x0",
"250x250",
"0x250"
],
"printable_height": "250"
}

View File

@ -1,12 +0,0 @@
{
"type": "machine_model",
"name": "Generic Klipper Printer",
"model_id": "my_klipper_01",
"nozzle_diameter": "0.4;0.2;0.6;0.8",
"machine_tech": "FFF",
"family": "MyPrinter",
"bed_model": "",
"bed_texture": "orcaslicer_bed_texture.svg",
"hotend_model": "",
"default_materials": "My Generic ABS;My Generic PLA;My Generic PLA-CF;My Generic PETG;My Generic TPU;My Generic ASA;My Generic PC;My Generic PVA;My Generic PA;My Generic PA-CF"
}

View File

@ -1,44 +0,0 @@
{
"type": "machine",
"setting_id": "GM001",
"name": "MyMarlin 0.4 nozzle",
"from": "system",
"instantiation": "true",
"inherits": "fdm_machine_common",
"printer_model": "Generic Marlin Printer",
"gcode_flavor": "marlin",
"machine_end_gcode": "G1 E-1.0 F2100 ; retract\nG92 E0.0\nG1{if max_layer_z < max_print_height} Z{z_offset+min(max_layer_z+30, max_print_height)}{endif} E-34.0 F720 ; move print head up & retract filament\nG4 ; wait\nM104 S0 ; turn off temperature\nM140 S0 ; turn off heatbed\nM107 ; turn off fan\nG1 X0 Y105 F3000 ; park print head\nM84 ; disable motors",
"machine_start_gcode": "G90 ; use absolute coordinates\nM83 ; extruder relative mode\nM204 S[machine_max_acceleration_extruding] T[machine_max_acceleration_retracting]\nM104 S[first_layer_temperature] ; set extruder temp\nM140 S[first_layer_bed_temperature] ; set bed temp\nG28 ; home all\nG1 Y1.0 Z0.3 F1000 ; move print head up\nM190 S[first_layer_bed_temperature] ; wait for bed temp\nM109 S[first_layer_temperature] ; wait for extruder temp\nG92 E0.0\n; initial load\nG1 X205.0 E19 F1000\nG1 Y1.6\nG1 X5.0 E19 F1000\nG92 E0.0\n; intro line\nG1 Y2.0 Z0.2 F1000\nG1 X65.0 E9.0 F1000\nG1 X105.0 E12.5 F1000\nG92 E0.0",
"max_layer_height": [
"0.32"
],
"retraction_length": [
"0.9"
],
"retraction_minimum_travel": [
"1"
],
"retraction_speed": [
"45"
],
"deretraction_speed": [
"35"
],
"version": "1.5.1.2",
"wipe": [
"0"
],
"z_hop": [
"0.4"
],
"nozzle_diameter": [
"0.4"
],
"printable_area": [
"0x0",
"250x0",
"250x250",
"0x250"
],
"printable_height": "250"
}

View File

@ -1,12 +0,0 @@
{
"type": "machine_model",
"name": "Generic Marlin Printer",
"model_id": "my_marlin_01",
"nozzle_diameter": "0.4",
"machine_tech": "FFF",
"family": "MyPrinter",
"bed_model": "",
"bed_texture": "orcaslicer_bed_texture.svg",
"hotend_model": "",
"default_materials": "My Generic ABS;My Generic PLA;My Generic PLA-CF;My Generic PETG;My Generic TPU;My Generic ASA;My Generic PC;My Generic PVA;My Generic PA;My Generic PA-CF"
}

View File

@ -1,19 +0,0 @@
{
"type": "machine",
"setting_id": "GM003",
"name": "MyRRF 0.4 nozzle",
"from": "system",
"instantiation": "true",
"inherits": "fdm_rrf_common",
"printer_model": "Generic RRF Printer",
"nozzle_diameter": [
"0.4"
],
"printable_area": [
"0x0",
"250x0",
"250x250",
"0x250"
],
"printable_height": "250"
}

View File

@ -1,12 +0,0 @@
{
"type": "machine_model",
"name": "Generic RRF Printer",
"model_id": "my_rrf_01",
"nozzle_diameter": "0.4",
"machine_tech": "FFF",
"family": "MyPrinter",
"bed_model": "",
"bed_texture": "orcaslicer_bed_texture.svg",
"hotend_model": "",
"default_materials": "My Generic ABS;My Generic PLA;My Generic PLA-CF;My Generic PETG;My Generic TPU;My Generic ASA;My Generic PC;My Generic PVA;My Generic PA;My Generic PA-CF"
}

View File

@ -1,60 +0,0 @@
{
"type": "machine",
"name": "fdm_klipper_common",
"from": "system",
"instantiation": "false",
"inherits": "fdm_machine_common",
"gcode_flavor": "klipper",
"machine_max_acceleration_e": ["5000", "5000"],
"machine_max_acceleration_extruding": ["20000", "20000"],
"machine_max_acceleration_retracting": ["5000", "5000"],
"machine_max_acceleration_travel": ["20000", "20000"],
"machine_max_acceleration_x": ["20000", "20000"],
"machine_max_acceleration_y": ["20000", "20000"],
"machine_max_acceleration_z": ["500", "200"],
"machine_max_speed_e": ["25", "25"],
"machine_max_speed_x": ["500", "200"],
"machine_max_speed_y": ["500", "200"],
"machine_max_speed_z": ["12", "12"],
"machine_max_jerk_e": ["2.5", "2.5"],
"machine_max_jerk_x": ["9", "9"],
"machine_max_jerk_y": ["9", "9"],
"machine_max_jerk_z": ["0.2", "0.4"],
"machine_min_extruding_rate": ["0", "0"],
"machine_min_travel_rate": ["0", "0"],
"max_layer_height": ["0.32"],
"min_layer_height": ["0.08"],
"printable_height": "250",
"extruder_clearance_radius": "65",
"extruder_clearance_height_to_rod": "36",
"extruder_clearance_height_to_lid": "140",
"printer_settings_id": "",
"printer_technology": "FFF",
"printer_variant": "0.4",
"retraction_minimum_travel": ["1"],
"retract_before_wipe": ["70%"],
"retract_when_changing_layer": ["1"],
"retraction_length": ["0.8"],
"retract_length_toolchange": ["2"],
"z_hop": ["0.4"],
"retract_restart_extra": ["0"],
"retract_restart_extra_toolchange": ["0"],
"retraction_speed": ["30"],
"deretraction_speed": ["30"],
"z_hop_types": "Normal Lift",
"silent_mode": "0",
"single_extruder_multi_material": "1",
"change_filament_gcode": "",
"wipe": ["1"],
"default_filament_profile": ["My Generic ABS"],
"default_print_profile": "0.20mm Standard @MyKlipper",
"bed_exclude_area": ["0x0"],
"machine_start_gcode": "M190 S[bed_temperature_initial_layer_single]\nM109 S[nozzle_temperature_initial_layer]\nPRINT_START EXTRUDER=[nozzle_temperature_initial_layer] BED=[bed_temperature_initial_layer_single]\n",
"machine_end_gcode": "PRINT_END",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"machine_pause_gcode": "PAUSE",
"scan_first_layer": "0",
"nozzle_type": "undefine",
"auxiliary_fan": "0"
}

View File

@ -1,119 +0,0 @@
{
"type": "machine",
"name": "fdm_machine_common",
"from": "system",
"instantiation": "false",
"printer_technology": "FFF",
"deretraction_speed": [
"40"
],
"extruder_colour": [
"#FCE94F"
],
"extruder_offset": [
"0x0"
],
"gcode_flavor": "marlin",
"silent_mode": "0",
"machine_max_acceleration_e": [
"5000"
],
"machine_max_acceleration_extruding": [
"10000"
],
"machine_max_acceleration_retracting": [
"1000"
],
"machine_max_acceleration_x": [
"10000"
],
"machine_max_acceleration_y": [
"10000"
],
"machine_max_acceleration_z": [
"500"
],
"machine_max_speed_e": [
"60"
],
"machine_max_speed_x": [
"500"
],
"machine_max_speed_y": [
"500"
],
"machine_max_speed_z": [
"10"
],
"machine_max_jerk_e": [
"5"
],
"machine_max_jerk_x": [
"8"
],
"machine_max_jerk_y": [
"8"
],
"machine_max_jerk_z": [
"0.4"
],
"machine_min_extruding_rate": [
"0"
],
"machine_min_travel_rate": [
"0"
],
"max_layer_height": [
"0.32"
],
"min_layer_height": [
"0.08"
],
"printable_height": "250",
"extruder_clearance_radius": "65",
"extruder_clearance_height_to_rod": "36",
"extruder_clearance_height_to_lid": "140",
"nozzle_diameter": [
"0.4"
],
"printer_settings_id": "",
"printer_variant": "0.4",
"retraction_minimum_travel": [
"2"
],
"retract_before_wipe": [
"70%"
],
"retract_when_changing_layer": [
"1"
],
"retraction_length": [
"5"
],
"retract_length_toolchange": [
"1"
],
"z_hop": [
"0"
],
"retract_restart_extra": [
"0"
],
"retract_restart_extra_toolchange": [
"0"
],
"retraction_speed": [
"60"
],
"single_extruder_multi_material": "1",
"change_filament_gcode": "",
"wipe": [
"1"
],
"default_print_profile": "",
"machine_start_gcode": "G0 Z20 F9000\nG92 E0; G1 E-10 F1200\nG28\nM970 Q1 A10 B10 C130 K0\nM970 Q1 A10 B131 C250 K1\nM974 Q1 S1 P0\nM970 Q0 A10 B10 C130 H20 K0\nM970 Q0 A10 B131 C250 K1\nM974 Q0 S1 P0\nM220 S100 ;Reset Feedrate\nM221 S100 ;Reset Flowrate\nG29 ;Home\nG90;\nG92 E0 ;Reset Extruder \nG1 Z2.0 F3000 ;Move Z Axis up \nG1 X10.1 Y20 Z0.28 F5000.0 ;Move to start position\nM109 S205;\nG1 X10.1 Y200.0 Z0.28 F1500.0 E15 ;Draw the first line\nG1 X10.4 Y200.0 Z0.28 F5000.0 ;Move to side a little\nG1 X10.4 Y20 Z0.28 F1500.0 E30 ;Draw the second line\nG92 E0 ;Reset Extruder \nG1 X110 Y110 Z2.0 F3000 ;Move Z Axis up",
"machine_end_gcode": "M400 ; wait for buffer to clear\nG92 E0 ; zero the extruder\nG1 E-4.0 F3600; retract \nG91\nG1 Z3;\nM104 S0 ; turn off hotend\nM140 S0 ; turn off bed\nM106 S0 ; turn off fan\nG90 \nG0 X110 Y200 F3600 \nprint_end",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"machine_pause_gcode": "M601"
}

View File

@ -1,141 +0,0 @@
{
"type": "machine",
"name": "fdm_rrf_common",
"from": "system",
"instantiation": "false",
"inherits": "fdm_machine_common",
"gcode_flavor": "reprapfirmware",
"machine_max_acceleration_e": [
"5000",
"5000"
],
"machine_max_acceleration_extruding": [
"20000",
"20000"
],
"machine_max_acceleration_retracting": [
"5000",
"5000"
],
"machine_max_acceleration_travel": [
"20000",
"20000"
],
"machine_max_acceleration_x": [
"20000",
"20000"
],
"machine_max_acceleration_y": [
"20000",
"20000"
],
"machine_max_acceleration_z": [
"500",
"200"
],
"machine_max_speed_e": [
"25",
"25"
],
"machine_max_speed_x": [
"500",
"200"
],
"machine_max_speed_y": [
"500",
"200"
],
"machine_max_speed_z": [
"12",
"12"
],
"machine_max_jerk_e": [
"2.5",
"2.5"
],
"machine_max_jerk_x": [
"9",
"9"
],
"machine_max_jerk_y": [
"9",
"9"
],
"machine_max_jerk_z": [
"0.2",
"0.4"
],
"machine_min_extruding_rate": [
"0",
"0"
],
"machine_min_travel_rate": [
"0",
"0"
],
"max_layer_height": [
"0.32"
],
"min_layer_height": [
"0.08"
],
"printable_height": "250",
"extruder_clearance_radius": "65",
"extruder_clearance_height_to_rod": "36",
"extruder_clearance_height_to_lid": "140",
"printer_settings_id": "",
"printer_technology": "FFF",
"printer_variant": "0.4",
"retraction_minimum_travel": [
"1"
],
"retract_before_wipe": [
"70%"
],
"retract_when_changing_layer": [
"1"
],
"retraction_length": [
"0.8"
],
"retract_length_toolchange": [
"2"
],
"z_hop": [
"0.4"
],
"retract_restart_extra": [
"0"
],
"retract_restart_extra_toolchange": [
"0"
],
"retraction_speed": [
"30"
],
"deretraction_speed": [
"30"
],
"z_hop_types": "Normal Lift",
"silent_mode": "0",
"single_extruder_multi_material": "1",
"change_filament_gcode": "",
"wipe": [
"1"
],
"default_filament_profile": [
"My Generic ABS"
],
"default_print_profile": "0.20mm Standard @MyRRF",
"bed_exclude_area": [
"0x0"
],
"scan_first_layer": "0",
"nozzle_type": "undefine",
"auxiliary_fan": "0",
"machine_start_gcode": "; Prime Filament Sensor for Runout\nM581 P1 T2 S-1 R0\nM950 J1 C\"nil\" ; Input 1 e0 Filament Sensor \nM591 D0 P2 C\"e0stop\" S1 ; Filament Runout Sensor\n\nM83 ; extruder relative mode\n\nM140 S[first_layer_bed_temperature] ; set bed temp\nM109 S140 ; Set extruder temp 140C before bed level\nM190 S[first_layer_bed_temperature] ; wait for bed temp\n\n;G28 W\nG32 ; Levels Z Tilt and probes Z=0\nG29 S0 ; mesh bed leveling\nG1 X0 Y0 Z2 F2000\nM109 S[first_layer_temperature] ; wait for extruder temp\n\nG1 X10 Y-7 Z0.3 F1000.0 ; go outside print area\nG92 E0.0\nG1 Z0.2 E8 ; Purge Bubble\nG1 X60.0 E9.0 F1000.0 ; intro line\nG1 X100.0 E12.5 F1000.0 ; intro line\nG92 E0.0",
"machine_end_gcode": "{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+1, max_print_height)} F720 ; Move print head up{endif}\nG1 X0 Y200 F3600 ; park\n{if max_layer_z < max_print_height}G1 Z{z_offset+min(max_layer_z+49, max_print_height)} F720 ; Move print head further up{endif}\nM221 S100 ; reset flow\nM900 K0 ; reset LA\nM104 S0 ; turn off temperature\nM140 S0 ; turn off heatbed\nM107 ; turn off fan\nM84 ; disable motors",
"layer_change_gcode": ";AFTER_LAYER_CHANGE\n;[layer_z]",
"before_layer_change_gcode": ";BEFORE_LAYER_CHANGE\n;[layer_z]\nG92 E0\n",
"machine_pause_gcode": "M601"
}

View File

@ -1,19 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.08mm Extra Fine @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"layer_height": "0.08",
"bottom_shell_layers": "7",
"top_shell_layers": "9",
"support_top_z_distance": "0.08",
"support_bottom_z_distance": "0.08",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle"
]
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.08mm Extra Fine @MyMarlin",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_marlin_common",
"layer_height": "0.08",
"bottom_shell_layers": "7",
"top_shell_layers": "9"
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.08mm Extra Fine @MyRRF",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_rrf_common",
"layer_height": "0.08",
"bottom_shell_layers": "7",
"top_shell_layers": "9"
}

View File

@ -1,19 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.12mm Fine @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"layer_height": "0.12",
"bottom_shell_layers": "5",
"top_shell_layers": "6",
"support_top_z_distance": "0.08",
"support_bottom_z_distance": "0.08",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle"
]
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.12mm Fine @MyMarlin",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_marlin_common",
"layer_height": "0.12",
"bottom_shell_layers": "5",
"top_shell_layers": "6"
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.12mm Fine @MyRRF",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_rrf_common",
"layer_height": "0.12",
"bottom_shell_layers": "5",
"top_shell_layers": "6"
}

View File

@ -1,20 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.15mm Optimal @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"bottom_shell_layers": "4",
"top_shell_layers": "5",
"layer_height": "0.15",
"support_top_z_distance": "0.15",
"support_bottom_z_distance": "0.15",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.15mm Optimal @MyMarlin",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_marlin_common",
"bottom_shell_layers": "4",
"top_shell_layers": "5",
"layer_height": "0.15"
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.15mm Optimal @MyRRF",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_rrf_common",
"bottom_shell_layers": "4",
"top_shell_layers": "5",
"layer_height": "0.15"
}

View File

@ -1,20 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.16mm Optimal @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"bottom_shell_layers": "4",
"top_shell_layers": "5",
"support_top_z_distance": "0.16",
"support_bottom_z_distance": "0.16",
"layer_height": "0.16",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.2 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,14 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.20mm Standard @MyKlipper",
"from": "system",
"inherits": "fdm_process_klipper_common",
"instantiation": "true",
"layer_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.20mm Standard @MyMarlin",
"from": "system",
"inherits": "fdm_process_marlin_common",
"instantiation": "true",
"layer_height": "0.2",
"bottom_shell_layers": "3",
"top_shell_layers": "4"
}

View File

@ -1,11 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.20mm Standard @MyRRF",
"from": "system",
"inherits": "fdm_process_rrf_common",
"instantiation": "true",
"layer_height": "0.2",
"bottom_shell_layers": "3",
"top_shell_layers": "4"
}

View File

@ -1,17 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.24mm Draft @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"support_top_z_distance": "0.2",
"support_bottom_z_distance": "0.2",
"layer_height": "0.24",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,12 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.24mm Draft @MyMarlin",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_marlin_common",
"layer_height": "0.24",
"top_surface_line_width": "0.45",
"bottom_shell_layers": "3",
"top_shell_layers": "4"
}

View File

@ -1,12 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.24mm Draft @MyRRF",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_rrf_common",
"layer_height": "0.24",
"top_surface_line_width": "0.45",
"bottom_shell_layers": "3",
"top_shell_layers": "4"
}

View File

@ -1,15 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.28mm Extra Draft @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"layer_height": "0.28",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,12 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.28mm Extra Draft @MyMarlin",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_marlin_common",
"layer_height": "0.28",
"top_surface_line_width": "0.45",
"bottom_shell_layers": "3",
"top_shell_layers": "4"
}

View File

@ -1,12 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.28mm Extra Draft @MyRRF",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_rrf_common",
"layer_height": "0.28",
"top_surface_line_width": "0.45",
"bottom_shell_layers": "3",
"top_shell_layers": "4"
}

View File

@ -1,17 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.32mm Standard @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"support_top_z_distance": "0.24",
"support_bottom_z_distance": "0.24",
"layer_height": "0.32",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.4 nozzle",
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,16 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.40mm Standard @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"support_top_z_distance": "0.24",
"support_bottom_z_distance": "0.24",
"layer_height": "0.40",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.6 nozzle",
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,15 +0,0 @@
{
"type": "process",
"setting_id": "GP004",
"name": "0.56mm Standard @MyKlipper",
"from": "system",
"instantiation": "true",
"inherits": "fdm_process_klipper_common",
"support_top_z_distance": "0.24",
"support_bottom_z_distance": "0.24",
"layer_height": "0.56",
"initial_layer_print_height": "0.2",
"compatible_printers": [
"MyKlipper 0.8 nozzle"
]
}

View File

@ -1,108 +0,0 @@
{
"type": "process",
"name": "fdm_process_common",
"from": "system",
"instantiation": "false",
"adaptive_layer_height": "0",
"reduce_crossing_wall": "0",
"max_travel_detour_distance": "0",
"bottom_surface_pattern": "monotonic",
"bottom_shell_thickness": "0",
"bridge_speed": "50",
"brim_width": "5",
"brim_object_gap": "0.1",
"compatible_printers": [],
"compatible_printers_condition": "",
"print_sequence": "by layer",
"default_acceleration": "1000",
"initial_layer_acceleration": "500",
"top_surface_acceleration": "1000",
"travel_acceleration": "1000",
"inner_wall_acceleration": "1000",
"outer_wall_acceleration": "700",
"bridge_no_support": "0",
"draft_shield": "disabled",
"elefant_foot_compensation": "0",
"enable_arc_fitting": "0",
"wall_infill_order": "inner wall/outer wall/infill",
"infill_direction": "45",
"sparse_infill_density": "15%",
"sparse_infill_pattern": "crosshatch",
"initial_layer_print_height": "0.2",
"infill_combination": "0",
"infill_wall_overlap": "25%",
"interface_shells": "0",
"ironing_flow": "10%",
"ironing_spacing": "0.15",
"ironing_speed": "30",
"ironing_type": "no ironing",
"reduce_infill_retraction": "1",
"filename_format": "{input_filename_base}_{layer_height}mm_{filament_type[initial_tool]}_{printer_model}_{print_time}.gcode",
"detect_overhang_wall": "1",
"slowdown_for_curled_perimeters": "1",
"overhang_1_4_speed": "0",
"overhang_2_4_speed": "50",
"overhang_3_4_speed": "30",
"overhang_4_4_speed": "10",
"line_width": "110%",
"inner_wall_line_width": "110%",
"outer_wall_line_width": "100%",
"top_surface_line_width": "93.75%",
"sparse_infill_line_width": "110%",
"initial_layer_line_width": "120%",
"internal_solid_infill_line_width": "120%",
"support_line_width": "96%",
"wall_loops": "3",
"print_settings_id": "",
"raft_layers": "0",
"seam_position": "aligned",
"skirt_distance": "2",
"skirt_height": "3",
"min_skirt_length": "4",
"skirt_loops": "0",
"minimum_sparse_infill_area": "15",
"spiral_mode": "0",
"standby_temperature_delta": "-5",
"enable_support": "0",
"resolution": "0.012",
"support_type": "normal(auto)",
"support_on_build_plate_only": "0",
"support_top_z_distance": "0.2",
"support_bottom_z_distance": "0.2",
"support_filament": "0",
"support_interface_loop_pattern": "0",
"support_interface_filament": "0",
"support_interface_top_layers": "2",
"support_interface_bottom_layers": "2",
"support_interface_spacing": "0.5",
"support_interface_speed": "80",
"support_base_pattern": "default",
"support_base_pattern_spacing": "2.5",
"support_speed": "150",
"support_threshold_angle": "30",
"support_object_xy_distance": "0.35",
"tree_support_branch_angle": "30",
"tree_support_wall_count": "0",
"tree_support_with_infill": "0",
"detect_thin_wall": "0",
"top_surface_pattern": "monotonicline",
"top_shell_thickness": "0.8",
"enable_prime_tower": "0",
"wipe_tower_no_sparse_layers": "0",
"prime_tower_width": "60",
"xy_hole_compensation": "0",
"xy_contour_compensation": "0",
"layer_height": "0.2",
"bottom_shell_layers": "3",
"top_shell_layers": "4",
"bridge_flow": "1",
"initial_layer_speed": "45",
"initial_layer_infill_speed": "45",
"outer_wall_speed": "45",
"inner_wall_speed": "80",
"sparse_infill_speed": "150",
"internal_solid_infill_speed": "150",
"top_surface_speed": "50",
"gap_infill_speed": "30",
"travel_speed": "200"
}

View File

@ -1,23 +0,0 @@
{
"type": "process",
"name": "fdm_process_klipper_common",
"from": "system",
"instantiation": "false",
"inherits": "fdm_process_common",
"default_acceleration": "5000",
"top_surface_acceleration": "3000",
"travel_acceleration": "7000",
"inner_wall_acceleration": "5000",
"outer_wall_acceleration": "3000",
"initial_layer_acceleration": "500",
"initial_layer_speed": "50",
"initial_layer_infill_speed": "105",
"outer_wall_speed": "120",
"inner_wall_speed": "200",
"internal_solid_infill_speed": "200",
"top_surface_speed": "100",
"gap_infill_speed": "100",
"sparse_infill_speed": "200",
"travel_speed": "350",
"exclude_object": "1"
}

View File

@ -1,108 +0,0 @@
{
"type": "process",
"name": "fdm_process_marlin_common",
"from": "system",
"instantiation": "false",
"inherits": "fdm_process_common",
"adaptive_layer_height": "0",
"reduce_crossing_wall": "0",
"max_travel_detour_distance": "0",
"bottom_surface_pattern": "monotonic",
"bottom_shell_layers": "3",
"bottom_shell_thickness": "0",
"bridge_flow": "0.95",
"bridge_speed": "50",
"brim_width": "5",
"brim_object_gap": "0.1",
"compatible_printers_condition": "",
"print_sequence": "by layer",
"default_acceleration": "1000",
"top_surface_acceleration": "1000",
"travel_acceleration": "1000",
"inner_wall_acceleration": "1000",
"outer_wall_acceleration": "1000",
"bridge_no_support": "0",
"draft_shield": "disabled",
"elefant_foot_compensation": "0",
"outer_wall_line_width": "0.4",
"wall_infill_order": "inner wall/outer wall/infill",
"line_width": "0.4",
"infill_direction": "45",
"sparse_infill_density": "15%",
"sparse_infill_pattern": "crosshatch",
"initial_layer_acceleration": "500",
"initial_layer_line_width": "0.5",
"initial_layer_print_height": "0.2",
"infill_combination": "0",
"sparse_infill_line_width": "0.45",
"infill_wall_overlap": "25%",
"interface_shells": "0",
"ironing_flow": "10%",
"ironing_spacing": "0.15",
"ironing_speed": "30",
"ironing_type": "no ironing",
"layer_height": "0.2",
"reduce_infill_retraction": "1",
"filename_format": "{input_filename_base}_{filament_type[initial_tool]}_{print_time}.gcode",
"detect_overhang_wall": "1",
"overhang_1_4_speed": "0",
"overhang_2_4_speed": "50",
"overhang_3_4_speed": "30",
"overhang_4_4_speed": "10",
"inner_wall_line_width": "0.45",
"wall_loops": "3",
"print_settings_id": "",
"raft_layers": "0",
"seam_position": "aligned",
"skirt_distance": "2",
"skirt_height": "1",
"skirt_loops": "0",
"minimum_sparse_infill_area": "15",
"internal_solid_infill_line_width": "0.4",
"spiral_mode": "0",
"standby_temperature_delta": "-5",
"enable_support": "0",
"resolution": "0.012",
"support_type": "normal(auto)",
"support_style": "default",
"support_on_build_plate_only": "0",
"support_top_z_distance": "0.2",
"support_filament": "0",
"support_line_width": "0.4",
"support_interface_loop_pattern": "0",
"support_interface_filament": "0",
"support_interface_top_layers": "2",
"support_interface_bottom_layers": "2",
"support_interface_spacing": "0.5",
"support_interface_speed": "40",
"support_base_pattern": "rectilinear",
"support_base_pattern_spacing": "2.5",
"support_speed": "60",
"support_threshold_angle": "30",
"support_object_xy_distance": "0.35",
"tree_support_branch_angle": "45",
"tree_support_wall_count": "0",
"detect_thin_wall": "0",
"top_surface_pattern": "monotonicline",
"top_surface_line_width": "0.4",
"top_shell_layers": "3",
"top_shell_thickness": "0.8",
"initial_layer_speed": "45",
"initial_layer_infill_speed": "60",
"outer_wall_speed": "60",
"inner_wall_speed": "80",
"internal_solid_infill_speed": "80",
"top_surface_speed": "50",
"gap_infill_speed": "80",
"sparse_infill_speed": "80",
"travel_speed": "150",
"enable_prime_tower": "0",
"wipe_tower_no_sparse_layers": "0",
"prime_tower_width": "60",
"xy_hole_compensation": "0",
"xy_contour_compensation": "0",
"enable_arc_fitting": "0",
"compatible_printers": [
"MyMarlin 0.4 nozzle"
]
}

View File

@ -1,109 +0,0 @@
{
"type": "process",
"name": "fdm_process_rrf_common",
"from": "system",
"instantiation": "false",
"inherits": "fdm_process_common",
"adaptive_layer_height": "0",
"reduce_crossing_wall": "0",
"max_travel_detour_distance": "0",
"bottom_surface_pattern": "monotonic",
"bottom_shell_layers": "3",
"bottom_shell_thickness": "0",
"bridge_flow": "0.95",
"bridge_speed": "50",
"brim_width": "5",
"brim_object_gap": "0.1",
"compatible_printers_condition": "",
"print_sequence": "by layer",
"default_acceleration": "5000",
"top_surface_acceleration": "3000",
"travel_acceleration": "7000",
"inner_wall_acceleration": "5000",
"outer_wall_acceleration": "3000",
"bridge_no_support": "0",
"draft_shield": "disabled",
"elefant_foot_compensation": "0",
"outer_wall_line_width": "0.4",
"wall_infill_order": "inner wall/outer wall/infill",
"line_width": "0.4",
"infill_direction": "45",
"sparse_infill_density": "15%",
"sparse_infill_pattern": "crosshatch",
"initial_layer_acceleration": "500",
"initial_layer_line_width": "0.5",
"initial_layer_print_height": "0.2",
"infill_combination": "0",
"sparse_infill_line_width": "0.45",
"infill_wall_overlap": "25%",
"interface_shells": "0",
"ironing_flow": "10%",
"ironing_spacing": "0.15",
"ironing_speed": "30",
"ironing_type": "no ironing",
"layer_height": "0.2",
"reduce_infill_retraction": "1",
"filename_format": "{input_filename_base}_{filament_type[initial_tool]}_{print_time}.gcode",
"detect_overhang_wall": "1",
"overhang_1_4_speed": "0",
"overhang_2_4_speed": "50",
"overhang_3_4_speed": "30",
"overhang_4_4_speed": "10",
"inner_wall_line_width": "0.45",
"wall_loops": "3",
"print_settings_id": "",
"raft_layers": "0",
"seam_position": "aligned",
"skirt_distance": "2",
"skirt_height": "1",
"skirt_loops": "0",
"minimum_sparse_infill_area": "15",
"internal_solid_infill_line_width": "0.4",
"spiral_mode": "0",
"standby_temperature_delta": "-5",
"enable_support": "0",
"resolution": "0.012",
"support_type": "normal(auto)",
"support_style": "default",
"support_on_build_plate_only": "0",
"support_top_z_distance": "0.2",
"support_filament": "0",
"support_line_width": "0.4",
"support_interface_loop_pattern": "0",
"support_interface_filament": "0",
"support_interface_top_layers": "2",
"support_interface_bottom_layers": "2",
"support_interface_spacing": "0.5",
"support_interface_speed": "80",
"support_base_pattern": "rectilinear",
"support_base_pattern_spacing": "2.5",
"support_speed": "150",
"support_threshold_angle": "30",
"support_object_xy_distance": "0.35",
"tree_support_branch_angle": "45",
"tree_support_wall_count": "0",
"detect_thin_wall": "0",
"top_surface_pattern": "monotonicline",
"top_surface_line_width": "0.4",
"top_shell_layers": "3",
"top_shell_thickness": "0.8",
"initial_layer_speed": "50",
"initial_layer_infill_speed": "105",
"outer_wall_speed": "120",
"inner_wall_speed": "200",
"internal_solid_infill_speed": "200",
"top_surface_speed": "100",
"gap_infill_speed": "100",
"sparse_infill_speed": "200",
"travel_speed": "350",
"enable_prime_tower": "0",
"wipe_tower_no_sparse_layers": "0",
"prime_tower_width": "60",
"xy_hole_compensation": "0",
"xy_contour_compensation": "0",
"enable_arc_fitting": "0",
"compatible_printers": [
"MyRRF 0.4 nozzle"
],
"exclude_object": "1"
}

View File

@ -5,13 +5,12 @@
TARGET_NAME='spotify'
TARGET_COMMAND='spotify_player'
LIMIT=1000
VOLUME=65
VOLUME=80
SPOTIFY_PID=0
CHANGE_VOL=0
for ARGUMENT in "$@"
do
KEY=$(echo "$ARGUMENT"| cut -f1 -d=)
for ARGUMENT in "$@"; do
KEY=$(echo "$ARGUMENT" | cut -f1 -d=)
KEY_LENGTH=${#KEY}
VALUE="${ARGUMENT:$KEY_LENGTH+1}"
if [[ "$KEY" == "-v" ]]; then
@ -68,7 +67,7 @@ set_volume() {
start_spotify() {
display "Starting Spotify"
tmux new-window -n $TARGET_NAME $TARGET_COMMAND &&
tmux swap-window -s $TARGET_NAME -t 1
tmux swap-window -s $TARGET_NAME -t 1
display "Spotify Window Created"
until [ "$(check_running)" = "1" ]; do
display "Waiting for Spotify"
@ -101,13 +100,12 @@ restart_spotify() {
sleep 1
done
display "Spotify: Restarted"
fi
}
check_deps > /dev/null
check_deps >/dev/null
check_running >/dev/null
if [ "$#" -lt 1 ]; then
@ -121,8 +119,7 @@ if [ "$#" -lt 1 ]; then
fi
if [ -n "$POSITION" ] && [ "$POSITION" -ne 1 ]; then
tmux swap-window -s $TARGET_NAME -t 1
elif [ -n "$POSITION" ] && [ "$POSITION" -eq 1 ];
then
elif [ -n "$POSITION" ] && [ "$POSITION" -eq 1 ]; then
tmux select-window -t $TARGET_NAME
else
start_spotify
@ -134,22 +131,22 @@ else
fi
echo "$1"
case "$1" in
"n")
$TARGET_COMMAND playback next && set_volume
"n")
$TARGET_COMMAND playback next && set_volume
;;
"p")
$TARGET_COMMAND playback previous && set_volume
"p")
$TARGET_COMMAND playback previous && set_volume
;;
"s")
$TARGET_COMMAND playback play-pause && set_volume
"s")
$TARGET_COMMAND playback play-pause && set_volume
;;
"r")
restart_spotify
"r")
restart_spotify
;;
*)
echo "Usage: $0 [-n|-p|-s|-v]"
exit 1
*)
echo "Usage: $0 [-n|-p|-s|-v]"
exit 1
;;
esac
fi

View File

@ -0,0 +1,6 @@
ms-python.autopep8
ms-python.debugpy
ms-python.pylint
ms-python.python
ms-python.vscode-pylance
wesbos.theme-cobalt2

View File

@ -0,0 +1,81 @@
{
"explorer.confirmDelete": false,
"editor.minimap.enabled": false,
"security.workspace.trust.untrustedFiles": "open",
"git.enableSmartCommit": true,
"git.confirmSync": false,
"redhat.telemetry.enabled": true,
"explorer.confirmDragAndDrop": false,
"autoDocstring.includeExtendedSummary": true,
"autoDocstring.includeName": true,
// Editor settings
"files.autoSave": "afterDelay",
"editor.tabSize": 2,
"editor.insertSpaces": true,
"files.trimFinalNewlines": true,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"editor.formatOnType": true,
// Window and layout settings
"window.clickThroughInactive": false,
"workbench.startupEditor": "newUntitledFile",
"workbench.statusBar.visible": true,
"workbench.tips.enabled": false,
"workbench.sideBar.location": "right",
"workbench.colorTheme": "Cobalt2",
"workbench.editor.pinnedTabSizing": "shrink",
"workbench.editor.pinnedTabsOnSeparateRow": true,
"workbench.editor.scrollToSwitchTabs": true,
"workbench.editor.tabSizing": "shrink",
"debug.closeReadonlyTabsOnEnd": true,
"window.density.editorTabHeight": "compact",
// Git settings
"git.autofetch": true,
"git.showInlineOpenFileAction": true,
"git.autorefresh": true,
"git.decorations.enabled": true,
"git.openRepositoryInParentFolders": "never",
// Python settings
"python.defaultInterpreterPath": "/usr/bin/python3",
"python.languageServer": "Pylance",
"python.analysis.completeFunctionParens": false,
"python.createEnvironment.trigger": "off",
"python.terminal.activateEnvInCurrentTerminal": false,
"python.terminal.activateEnvironment": false,
"python.analysis.autoImportCompletions": false,
"python.experiments.enabled": false,
"python.venvPath": "venv",
"python.analysis.typeCheckingMode": "strict",
"python.analysis.autoSearchPaths": true,
// TypeScript and JavaScript settings
"typescript.updateImportsOnFileMove.enabled": "never",
"typescript.suggest.autoImports": false,
"javascript.suggest.autoImports": false,
"javascript.updateImportsOnFileMove.enabled": "never",
// Python-specific editor settings
"[python]": {
"editor.rulers": [
88
],
"diffEditor.ignoreTrimWhitespace": false,
"editor.formatOnSave": true,
"editor.defaultFormatter": "ms-python.autopep8",
"editor.wordBasedSuggestions": "currentDocument",
"editor.codeActionsOnSave": {
"source.organizeImports": "explicit"
}
},
// Black formatter settings
"black-formatter.args": [
"--line-length",
"88"
],
// Miscellaneous settings
"problems.decorations.enabled": false,
"merge-conflict.autoNavigateNextConflict.enabled": false,
"python.testing.pytestEnabled": true,
"black-formatter.showNotifications": "onWarning",
"pylint.lintOnChange": true,
}

View File

@ -0,0 +1,21 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Install Errols Extensions",
"type": "shell",
"command": "bash",
"args": [
"-c",
"cat ~/.config/Code/User/extensions.txt | while IFS= read -r extension; do echo \"Checking $extension...\"; if ! code --list-extensions | grep -q \"$extension\"; then echo \"Installing $extension...\"; code --install-extension \"$extension\"; else echo \"$extension is already installed\"; fi; done"
],
"presentation": {
"reveal": "always",
"panel": "new"
},
"runOptions": {
"runOn": "folderOpen"
}
}
]
}

View File

@ -1,20 +0,0 @@
// This configuration file allows you to pass permanent command line arguments to VS Code.
// Only a subset of arguments is currently supported to reduce the likelihood of breaking
// the installation.
//
// PLEASE DO NOT CHANGE WITHOUT UNDERSTANDING THE IMPACT
//
// NOTE: Changing this file requires a restart of VS Code.
{
// Use software rendering instead of hardware accelerated rendering.
// This can help in cases where you see rendering issues in VS Code.
// "disable-hardware-acceleration": true,
// Allows to disable crash reporting.
// Should restart the app if the value is changed.
"enable-crash-reporter": true,
// Unique id used for correlating crash reports sent from this instance.
// Do not edit this value.
"crash-reporter-id": "85c4a9e2-2510-427a-a803-2ea801f38920"
}

View File

@ -1 +0,0 @@
{"ms-python.python-2024.10.0-darwin-arm64":true}

View File

@ -1,12 +0,0 @@
# These are supported funding model platforms
github: [batisteo]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: batisteo
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

View File

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
<Metadata>
<Identity Language="en-US" Id="vscode-django" Version="1.15.0" Publisher="batisteo" />
<DisplayName>Django</DisplayName>
<Description xml:space="preserve">Beautiful syntax and scoped snippets for perfectionists with deadlines</Description>
<Tags>python,django,web,snippet,django-html,Django HTML,django-txt,Django txt,__web_extension</Tags>
<Categories>Programming Languages,Snippets</Categories>
<GalleryFlags>Public</GalleryFlags>
<Properties>
<Property Id="Microsoft.VisualStudio.Code.Engine" Value="^1.49.0" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionDependencies" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionPack" Value="" />
<Property Id="Microsoft.VisualStudio.Code.ExtensionKind" Value="workspace,web" />
<Property Id="Microsoft.VisualStudio.Code.LocalizedLanguages" Value="" />
<Property Id="Microsoft.VisualStudio.Services.Links.Source" Value="https://github.com/vscode-django/vscode-django.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Getstarted" Value="https://github.com/vscode-django/vscode-django.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.GitHub" Value="https://github.com/vscode-django/vscode-django.git" />
<Property Id="Microsoft.VisualStudio.Services.Links.Support" Value="https://github.com/vscode-django/vscode-django/issues" />
<Property Id="Microsoft.VisualStudio.Services.Links.Learn" Value="https://github.com/vscode-django/vscode-django" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Color" Value="#0c4b33" />
<Property Id="Microsoft.VisualStudio.Services.Branding.Theme" Value="dark" />
<Property Id="Microsoft.VisualStudio.Services.GitHubFlavoredMarkdown" Value="true" />
<Property Id="Microsoft.VisualStudio.Services.Content.Pricing" Value="Free"/>
</Properties>
<License>extension/LICENSE.txt</License>
<Icon>extension/images/vscode-django-icon.png</Icon>
</Metadata>
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Code"/>
</Installation>
<Dependencies/>
<Assets>
<Asset Type="Microsoft.VisualStudio.Code.Manifest" Path="extension/package.json" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Details" Path="extension/README.md" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.Changelog" Path="extension/CHANGELOG.md" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Content.License" Path="extension/LICENSE.txt" Addressable="true" />
<Asset Type="Microsoft.VisualStudio.Services.Icons.Default" Path="extension/images/vscode-django-icon.png" Addressable="true" />
</Assets>
</PackageManifest>

View File

@ -1,7 +0,0 @@
# Change Log
All notable changes to the "django" extension will be documented in this file.
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
## [Unreleased]
- Initial release

View File

@ -1,21 +0,0 @@
The MIT License (MIT)
Copyright (c) 2021 vscode-django contributors
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.

View File

@ -1,4 +0,0 @@
all: publish
publish:
vsce publish

View File

@ -1,99 +0,0 @@
# Django extension for Visual Studio Code
> Beautiful syntax and scoped snippets for perfectionists with deadlines
![Syntax with Gruvbox](https://github.com/vscode-django/vscode-django/raw/HEAD/images/vscode-django-syntax-gruvbox.png)
## Features
### Go to definition in templates
Ctrl+click (cmd+click on MacOS) or press F12 on the template path in a `include` or `extends` tag
to jump to this template
### Snippets
- Support for selected text (when inserting snippet from the menu)
- Support for copied text
- No unnecessary new lines
### Improved syntax
- Adds the filetype `django-html`
- Adds the filetype `django-txt` for email templates.
- Better syntax with more operators and default keywords:
- Known default tags and filters
- Known templatetags namespace from contrib in the {% load %} tag
- Known keywords in tags, like: `as`, `asvar`, `with`, `trimmed`
- Syntax highlighting everywhere in your HTML document:
- In the HTML tag itself"
- In the id, class or any attribute
- In inline CSS or Javascript code
## Tricks
### Gettext and internationalization
Dealing with `django.po` files?
Consider installing the [Gettext extension](https://marketplace.visualstudio.com/items?itemName=mrorz.language-gettext) by MrOrz.
### Emmet
Add the following item to the **Emmet: Include Languages** settings:
| Item | Value |
| ------------- | ------ |
| `django-html` | `html` |
## Sponsors
- [tpberntsen](https://github.com/tpberntsen)
- [moving-content](https://github.com/moving-content)
[![Paypal](https://img.shields.io/static/v1?label=Paypal&message=€66&logo=Paypal&color=009cde&link=https://www.paypal.com/paypalme/batisteo/5)](https://www.paypal.com/paypalme/batisteo/5)
[![Github Sponsor](https://img.shields.io/static/v1?label=Sponsor&message=6%C2%A0%E2%9D%A4&logo=GitHub&color=ea4aaa&link=https://github.com/sponsor/batisteo)](https://github.com/sponsor/batisteo)
## Contributing
### Issues
Something odd? New feature request?
Please [create an issue on Github](https://github.com/vscode-django/vscode-django/issues/new).
### Setup
```bash
git clone https://github.com/vscode-django/vscode-django
cd vscode-django
npm install
code .
```
Its better to have [TSlint](https://marketplace.visualstudio.com/items?itemName=eg2.tslint) installed.
### Launching the extension debugger
Make sure you have this snippet in `.vscode/launch.json`:
```javascript
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}
```
Press <kbd>F5</kbd> or click on Debug then Start (▶️) to launch the extension host window.
Hack around
Press <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>F5</kbd> or 🔄 to reload.

View File

@ -1,47 +0,0 @@
[[snippets]]
prefix = "class_modeladmin"
body = """
@admin.register($1)
class $1Admin(admin.ModelAdmin):
$0
"""
detail = "class ModelAdmin(admin.ModelAdmin)"
description = """```python
@admin.register(Model)
class ModelAdmin(admin.ModelAdmin):
```
"""
[[snippets]]
prefix = "class_stackedinline"
body = """
class ${1}Inline(admin.StackedInline):
model = $1
${2|extra,min_num,max_num,can_delete,show_change_link,verbose_name,verbose_name_plural,fk_name,template,formset|}
"""
description = "Stacked Inline"
[[snippets]]
prefix = "class_tabularinline"
body = """
class $1Inline(admin.TabularInline):
model = $1
${2|extra,min_num,max_num,can_delete,show_change_link,verbose_name,verbose_name_plural,fk_name,template,formset|}
"""
description = "Tabular Inline"
[[snippets]]
prefix = "class_simplelistfilter"
body = """
class $1Filter(admin.SimpleListFilter):
title = _("${2:$1}")
parameter_name = "$3"
def lookups(self, request, model_admin):
return ($0)
def queryset(self, request, queryset):
return queryset.filter($3=self.value())
"""
description = "Admin SimpleList Filter"

View File

@ -1,18 +0,0 @@
[[snippets]]
prefix = "import_admin"
body = "from django.contrib import admin"
detail = "from * import admin"
description = """```python
from django.contrib import admin
```
"""
[[snippets]]
prefix = "import_adminsite"
body = "from django.contrib.admin import AdminSite"
detail = "from * import AdminSite"
description = """```python
from django.contrib import AdminSite
```
"""

View File

@ -1,47 +0,0 @@
[[snippets]]
prefix = "admin_param"
body = "${1|list_display,list_display_links,list_filter,list_select_related,list_per_page,list_max_show_all,list_editable,search_fields,date_hierarchy,save_as,save_as_continue,save_on_top,paginator,preserve_filters,inlines,add_form_template,change_form_template,change_list_template,delete_confirmation_template,delete_selected_confirmation_template,object_history_template,popup_response_template,actions,action_form,actions_on_top,actions_on_bottom,actions_selection_counter,checks_class|} = "
detail = "ModelAdmin parameters"
description = """```python
list_display = ("",)
search_fields = ("",)
date_hierarchy = ("",)
```
"""
[[snippets]]
prefix = "inline_param"
body = "${1|extra,min_num,max_num,can_delete,show_change_link,verbose_name,verbose_name_plural,fk_name,template,formset|} = "
detail = "Inline parameters"
description = """```python
extra = 1
min_num = 3
max_num = 20
```
"""
[[snippets]]
prefix = "fieldsets"
body = """
fieldsets = (
(None, {
"fields": (
$1
),
}),
)
"""
detail = "fieldsets = ((None, {}))"
description = """```python
fieldsets = (
(None, {
"fields": (
$1
),
}),
)
```
"""

View File

@ -1,21 +0,0 @@
[[snippets]]
prefix = "Form"
body = """
class $1Form(forms.Form):
$0
"""
detail = "class Form(forms.Form)"
description = ""
[[snippets]]
prefix = "ModelForm"
body = """
class $1Form(forms.ModelForm):
$0
class Meta:
model = $1
fields = ("$2",$3)
"""
detail = "class $1Form(forms.ModelForm)"
description = ""

View File

@ -1,50 +0,0 @@
[[snippets]]
prefix = "simplearray_field"
body = "SimpleArrayField()"
description = "postgres.forms.SimpleArrayField()"
[[snippets]]
prefix = "splitarray_field"
body = "SplitArrayField()"
description = "postgres.forms.SplitArrayField()"
[[snippets]]
prefix = "hstore_field"
body = "HStoreField()"
description = "postgres.forms.HStoreField()"
[[snippets]]
prefix = "json_field"
body = "JSONField()"
description = "postgres.forms.JSONField()"
[[snippets]]
prefix = "intrange_field"
body = "IntegerRangeField()"
description = "postgres.forms.IntegerRangeField()"
[[snippets]]
prefix = "floatrange_field"
body = "FloatRangeField()"
description = "postgres.forms.FloatRangeField()"
[[snippets]]
prefix = "datetimerange_field"
body = "DateTimeRangeField()"
description = "postgres.forms.DateTimeRangeField()"
[[snippets]]
prefix = "daterange_field"
body = "DateRangeField()"
description = "postgres.forms.DateRangeField()"
[[snippets]]
prefix = "range_widget"
body = "RangeWidget(${1:base_widget=})"
detail = "postgres.forms.RangeWidget()"
description = """```python
class RangeWidget(base_widget, attrs=None)
```
"""

View File

@ -1,150 +0,0 @@
[[snippets]]
prefix = "bool_field"
body = "forms.BooleanField($1, required=${2:False})"
detail = "forms.BooleanField()"
[[snippets]]
prefix = "char_field"
body = "forms.CharField($1,${2: max_length=$4,} required=${5:False})"
detail = "forms.CharField()"
[[snippets]]
prefix = "choice_field"
body = "forms.ChoiceField($1, choices=[${2:CHOICES}], required=${4:False})"
detail = "forms.ChoiceField()"
[[snippets]]
prefix = "combo_field"
body = "forms.ComboField($1)"
detail = "forms.ComboField()"
[[snippets]]
prefix = "date_field"
body = "forms.DateField($1, required=${2:False})"
detail = "forms.DateField()"
[[snippets]]
prefix = "datetime_field"
body = "forms.DateTimeField($1, required=${2:False})"
detail = "forms.DateTimeField()"
[[snippets]]
prefix = "decimal_field"
body = "forms.DecimalField($1, required=${2:False})"
detail = "forms.DecimalField()"
[[snippets]]
prefix = "duration_field"
body = "forms.DurationField($1, required=${2:False})"
detail = "forms.DurationField()"
[[snippets]]
prefix = "email_field"
body = "forms.EmailField($1, required=${2:False})"
detail = "forms.EmailField()"
[[snippets]]
prefix = "file_field"
body = "forms.FileField($1,${2: max_length=$4,} required=${5:False})"
detail = "forms.FileField()"
[[snippets]]
prefix = "filepath_field"
body = "forms.FilePathField($1, path=${2:/absolute_path/}, required=${4:False})"
detail = "forms.FilePathField()"
[[snippets]]
prefix = "float_field"
body = "forms.FloatField($1, required=${2:False})"
detail = "forms.FloatField()"
[[snippets]]
prefix = "ip_field"
body = "forms.GenericIPAddressField($1)"
detail = "forms.GenericIPAddressField()"
[[snippets]]
prefix = "img_field"
body = "forms.ImageField($1, required=${2:False})"
detail = "forms.ImageField()"
[[snippets]]
prefix = "int_field"
body = "forms.IntegerField($1, required=${2:False})"
detail = "forms.IntegerField()"
[[snippets]]
prefix = "json_field"
body = "forms.JSONField($1)"
detail = "forms.JSONField()"
[[snippets]]
prefix = "mochoice_field"
body = "forms.ModelChoiceField($1)"
detail = "forms.ModelChoiceField()"
[[snippets]]
prefix = "momuchoice_field"
body = "forms.ModelMultipleChoiceField($1)"
detail = "forms.ModelMultipleChoiceField()"
[[snippets]]
prefix = "muval_field"
body = "forms.MultiValueField($1)"
detail = "forms.MultiValueField()"
[[snippets]]
prefix = "muchoice_field"
body = "forms.MultipleChoiceField($1, choices=[${2:CHOICES}], required=${4:False})"
detail = "forms.MultipleChoiceField()"
[[snippets]]
prefix = "typedmuchoice_field"
body = "forms.TypedMultipleChoiceField($1, choices=[${2:CHOICES}], coerce=${4:TYPE}, required=${5:False})"
detail = "forms.TypedMultipleChoiceField()"
[[snippets]]
prefix = "nullbool_field"
body = "forms.NullBooleanField($1, required=${2:False})"
detail = "forms.NullBooleanField()"
[[snippets]]
prefix = "regex_field"
body = "forms.RegexField($1, regex=${2:REGEX}, required=${4:False})"
detail = "forms.RegexField()"
[[snippets]]
prefix = "slug_field"
body = "forms.SlugField($1, allow_unicode=${2:False}, required=${4:False})"
detail = "forms.SlugField()"
[[snippets]]
prefix = "sdatetime_field"
body = "forms.SplitDateTimeField($1)"
detail = "forms.SplitDateTimeField()"
[[snippets]]
prefix = "time_field"
body = "forms.TimeField($1, required=${2:False})"
detail = "forms.TimeField()"
[[snippets]]
prefix = "tchoice_field"
body = "forms.TypedChoiceField($1, required=${2:False})"
detail = "forms.TypedChoiceField()"
[[snippets]]
prefix = "tmuchoice_field"
body = "forms.TypedMultipleChoiceField($1)"
detail = "forms.TypedMultipleChoiceField()"
[[snippets]]
prefix = "url_field"
body = "forms.URLField($1, required=${2:False})"
detail = "forms.URLField()"
[[snippets]]
prefix = "uuid_field"
body = "forms.UUIDField($1, required=${2:False})"
detail = "forms.UUIDField()"

View File

@ -1,17 +0,0 @@
[[snippets]]
prefix = "from_forms_import"
body = "from .forms import $1"
detail = "from .forms import ModelForm"
description = "Relative import of app form"
[[snippets]]
prefix = "import_forms"
body = "from django import forms"
detail = "from django import forms"
description = "Imports the Django models module"
[[snippets]]
prefix = "import_postgres_fields"
body = "from django.contrib.postgres.forms import ${1|SimpleArrayField,SplitArrayField,HStoreField,JSONField,IntegerRangeField,FloatRangeField,DateTimeRangeField,DateRangeField|}"
description = "PostgreSQL specific forms fields"

View File

@ -1,22 +0,0 @@
[[snippets]]
prefix = "clean_data"
body = """
clean_${1:field}(self):
${2:data} = self.cleaned_data["${1:field}"]
$0
return ${2:data}
"""
detail = ""
description = ""
[[snippets]]
prefix = "clean_data_get"
body = """
clean_${1:field}(self):
${2:data} = self.cleaned_data.get("${1:field}")
$0
return ${2:data}
"""
detail = ""
description = ""

View File

@ -1,41 +0,0 @@
[[snippets]]
prefix = "Model"
detail = "class Model(models.Model)"
body = """
class $1(models.Model):
$0
class Meta:
verbose_name = _("${1/(.+)/${1:/downcase}/}")
verbose_name_plural = _("${1/(.+)/${1:/downcase}/}${2:s}")
def __str__(self):
return self.${3:name}
def get_absolute_url(self):
return reverse("${1/(.+)/${1:/downcase}/}${4:_detail}", kwargs={"${5|pk,slug|}": self.$5})
"""
[[snippets]]
prefix = "modelmixin"
detail = "class Mixin(models.Model)"
body = """
class $1Mixin(models.Model):
$0
class Meta:
abstract = True
"""
description = ""
[[snippets]]
prefix = "queryset"
detail = "class QuerySet(models.QuerySet)"
body = """
class $1QuerySet(models.QuerySet):
pass
"""
description = ""

View File

@ -1,64 +0,0 @@
# https://docs.djangoproject.com/en/stable/ref/contrib/postgres/fields/
[[snippets]]
prefix = 'postgres_array_field'
body = 'ArrayField(${1:base_field=})'
detail = 'ArrayField()'
[[snippets]]
prefix = 'postgres_hstore_field'
body = 'HStoreField($1)'
detail = 'HStoreField()'
[[snippets]]
prefix = 'postgres_ci_char_field'
body = 'CICharField($1)'
detail = 'CICharField()'
description = 'Case-insensitive CharField()'
[[snippets]]
prefix = 'postgres_ci_email_field'
body = 'CIEmailField($1)'
detail = 'CIEmailField()'
description = 'Case-insensitive EmailField()'
[[snippets]]
prefix = 'postgres_ci_text_field'
body = 'CITextField($1)'
detail = 'CITextField()'
description = 'Case-insensitive TextField()'
[[snippets]]
prefix = 'postgres_json_field'
body = 'JSONField(${1:encoder="$2"})'
detail = 'JSONField()'
[[snippets]]
prefix = 'postgres_integer_range_field'
body = 'IntegerRangeField($1)'
detail = "IntegerRangeField()"
description = "Stores a range of integers."
[[snippets]]
prefix = 'postgres_big_integer_range_field'
body = 'BigIntegerRangeField($1)'
detail = "BigIntegerRangeField()"
description = "Stores a range of large integers."
[[snippets]]
prefix = 'postgres_float_range_field'
body = 'FloatRangeField($1)'
detail = "FloatRangeField()"
description = "Stores a range of floating point values."
[[snippets]]
prefix = 'postgres_date_time_range_field'
body = 'DateTimeRangeField($1)'
detail = "DateTimeRangeField()"
description = "Stores a range of timestamps."
[[snippets]]
prefix = 'postgres_date_range_field'
body = 'DateRangeField($1)'
detail = "DateRangeField()"
description = "Stores a range of dates."

View File

@ -1,193 +0,0 @@
# https://docs.djangoproject.com/en/stable/ref/models/fields/
[[snippets]]
prefix = 'auto_field'
body = 'models.AutoField(_("$1"))'
detail = 'models.AutoField()'
description = 'An IntegerField that automatically increments according to available IDs.'
[[snippets]]
prefix = 'big_auto_field'
body = 'models.BigAutoField(_("$1"))'
detail = 'models.BigAutoField()'
description = 'A 64-bit integer, much like an AutoField.'
[[snippets]]
prefix = 'big_integer_field'
body = 'models.BigIntegerField(_("$1"))'
detail = 'models.BigIntegerField()'
description = 'A 64-bit integer, much like an IntegerField.'
[[snippets]]
prefix = 'binary_field'
body = 'models.BinaryField(_("$1"))'
detail = 'models.BinaryField()'
description = 'A field to store raw binary data.'
[[snippets]]
prefix = 'boolean_field'
body = 'models.BooleanField(_("$1"))'
detail = 'models.BooleanField()'
description = 'A true/false field.'
[[snippets]]
prefix = 'char_field'
body = 'models.CharField(_("$1"), max_length=${3:50})'
detail = 'models.CharField()'
description = 'A string field, for small- to large-sized strings.'
[[snippets]]
prefix = 'date_field'
body = 'models.DateField(_("$1"), auto_now=${3:False}, auto_now_add=${4:False})'
detail = 'models.DateField()'
description = 'A date, represented in Python by a datetime.date instance.'
[[snippets]]
prefix = 'date_time_field'
body = 'models.DateTimeField(_("$1"), auto_now=${3:False}, auto_now_add=${4:False})'
detail = 'models.DateTimeField()'
description = 'A date, represented in Python by a datetime.datetime instance.'
[[snippets]]
prefix = 'decimal_field'
body = 'models.DecimalField(_("$1"), max_digits=${3:5}, decimal_places=${4:2})'
detail = 'models.DecimalField()'
description = 'A fixed-precision decimal number, represented in Python by a Decimal instance.'
[[snippets]]
prefix = 'duration_field'
body = 'models.DurationField(_("$1"))'
detail = 'models.DurationField()'
description = 'A field for storing periods of time - modeled in Python by timedelta.'
[[snippets]]
prefix = 'email_field'
body = 'models.EmailField(_("$1"), max_length=${3:254})'
detail = 'models.EmailField()'
description = 'A CharField that checks that the value is a valid email address.'
[[snippets]]
prefix = 'file_field'
body = 'models.FileField(_("$1"), upload_to=${3:None}, max_length=${4:100})'
detail = 'models.FileField()'
description = 'A file-upload field.'
[[snippets]]
prefix = 'file_path_field'
body = 'models.FilePathField(_("$1"), path=${3:None}, match=${4:None}, recursive=${5:recursive}, max_length=${6:100})'
detail = 'models.FilePathField()'
description = 'A CharField whose choices are limited to the filenames in a certain directory on the filesystem.'
[[snippets]]
prefix = 'float_field'
body = 'models.FloatField(_("$1"))'
detail = 'models.FloatField()'
description = 'A floating-point number represented in Python by a float instance.'
[[snippets]]
prefix = 'foreign_key'
body = 'models.ForeignKey("${1:app}.${2:Model}", verbose_name=_(""), on_delete=models.${3|CASCADE,PROTECT,SET_NULL,SET_DEFAULT,SET(),DO_NOTHING|})'
detail = 'models.ForeignKey()'
description = 'ForeignKey (fk).\n\nA many-to-one relationship.\n\non_delete will become a required argument in Django 2.0. In older versions it defaults to CASCADE.\n\n'
[[snippets]]
prefix = 'image_field'
body = 'models.ImageField(_("$1"), upload_to=${3:None}, height_field=${4:None}, width_field=${5:None}, max_length=${5:100})'
detail = 'models.ImageField()'
description = 'Inherits all attributes and methods from FileField, but also validates that the uploaded object is a valid image.'
[[snippets]]
prefix = 'integer_field'
body = 'models.IntegerField(_("$1"))'
detail = 'models.IntegerField()'
description = 'An integer. Values from -2147483648 to 2147483647 are safe in all databases supported by Django.'
[[snippets]]
prefix = 'generic_ip_address_field'
body = 'models.GenericIPAddressField(_("$1"), protocol=${3:"both"}, unpack_ipv4=${4:False})'
detail = 'models.GenericIPAddressField()'
description = 'An IPv4 or IPv6 address, in string format.'
[[snippets]]
prefix = 'json_field'
body = 'models.JSONField(_("$1")${2:, encoder=$3}${4:, decoder=$5})'
detail = 'models.JSONField()'
description = 'A field for storing JSON encoded data.'
[[snippets]]
prefix = 'many_to_many_field'
body = 'models.ManyToManyField("${1:app}.${2:Model}", verbose_name=_(""))'
detail = 'models.ManyToManyField()'
description = 'A many-to-many relationship.'
[[snippets]]
prefix = 'null_boolean_field'
body = 'models.NullBooleanField(_("$1"))'
detail = 'models.NullBooleanField()'
description = 'Like a BooleanField, but allows NULL as one of the options.'
[[snippets]]
prefix = 'one_to_one_field'
body = 'models.OneToOneField("${1:app}.${2:Model}", verbose_name=_(""), on_delete=models.${3|CASCADE,PROTECT,SET_NULL,SET_DEFAULT,SET(),DO_NOTHING|})'
detail = 'models.OneToOneField()'
description = 'A one-to-one relationship.'
[[snippets]]
prefix = 'phone_number_field'
body = 'models.PhoneNumberField(_("$1"))'
detail = 'models.PhoneNumberField()'
description = '*external package: django-phonenumber-field*'
[[snippets]]
prefix = 'positive_integer_field'
body = 'models.PositiveIntegerField(_("$1"))'
detail = 'models.PositiveIntegerField()'
description = 'Like an IntegerField, but must be either positive or zero (0).'
[[snippets]]
prefix = 'positive_small_integer_field'
body = 'models.PositiveSmallIntegerField(_("$1"))'
detail = 'models.PositiveSmallIntegerField()'
description = 'Like a PositiveIntegerField, but only allows values under a certain (database-dependent) point.'
[[snippets]]
prefix = 'slug_field'
body = 'models.SlugField(_("$1"))'
detail = 'models.SlugField()'
description = 'A slug is a short label for something, containing only letters, numbers, underscores or hyphens. Theyre generally used in URLs.'
[[snippets]]
prefix = 'small_integer_field'
body = 'models.SmallIntegerField(_("$1"))'
detail = 'models.SmallIntegerField()'
description = 'Like an IntegerField, but only allows values under a certain (database-dependent) point.'
[[snippets]]
prefix = 'text_field'
body = 'models.TextField(_("$1"))'
detail = 'models.TextField()'
description = 'A large text field.'
[[snippets]]
prefix = 'time_field'
body = 'models.TimeField(_("$1"), auto_now=${4:False}, auto_now_add=${5:False})'
detail = 'models.TimeField()'
description = 'A time, represented in Python by a datetime.time instance.'
[[snippets]]
prefix = 'url_field'
body = 'models.URLField(_("$1"), max_length=${3:200})'
detail = 'models.URLField()'
description = 'A CharField for a URL.'
[[snippets]]
prefix = 'us_state_field'
body = 'models.USStateField(_("$1"))'
detail = 'models.USStateField()'
description = '*external package: django-localflavor*'
[[snippets]]
prefix = 'uuid_field'
body = 'models.UUIDField(_("$1"))'
detail = 'models.UUIDField()'
description = 'A field for storing universally unique identifiers. Uses Pythons UUID class.'

View File

@ -1,36 +0,0 @@
[[snippets]]
prefix = "import_model"
body = "from .models import $1"
detail = "from .models import Model"
description = "Relative import of app model"
[[snippets]]
prefix = "import_manager"
body = "from .managers import $1Manager"
detail = "from .managers import Manager"
description = "Relative import of manager"
[[snippets]]
prefix = "import_queryset"
body = "from .managers import $1QuerySet"
detail = "from .managers import QuerySet"
description = "Relative import of queryset"
[[snippets]]
prefix = "import_db_models"
body = "from django.db import models"
detail = "from django.db import models"
description = "Imports the Django models module"
[[snippets]]
prefix = "import_postgres_models"
body = "from django.contrib.postgres.fields import ${1|ArrayField,JSONField,HStoreField,CICharField,CIEmailField,CITextField,IntegerRangeField,BigIntegerRangeField,FloatRangeField,DateTimeRangeField,DateRangeField|}"
detail = "from django.contrib.postgres.fields import"
description = "PostgreSQL specific model fields"
[[snippets]]
prefix = "import_signals"
body = "from django.db.models.signals import ${1|pre_init,post_init,pre_save,post_save,pre_delete,post_delete,m2m_changed,class_prepared,Management signals,pre_migrate,post_migrate|}"
detail = "from django.db.models.signals import"
description = "Signals for Django Model"

View File

@ -1,21 +0,0 @@
[[snippets]]
prefix = "manager"
detail = "class Manager(models.Manager)"
body = """
class $1Manager(models.Manager):
def get_queryset(self):
return super().get_queryset().${2|filter,exclude,order_by,distinct,reverse|}($3)
"""
description = "Add extra Manager methods"
[[snippets]]
prefix = "queryset_from_manager"
detail = "class Manager(models.Manager)"
body = """
class $1Manager(models.Manager):
def get_queryset(self):
return $1QuerySet(self.model, using=self._db)
}
"""
description = "Modify the initial QuerySet the Manager returns."

View File

@ -1,21 +0,0 @@
[[snippets]]
prefix = "__str__"
body = """
__str__(self):
return self.${3:name}
"""
[[snippets]]
prefix = "get_absolute_url"
body = """
get_absolute_url(self):
return reverse("${1:${2:model}_detail}", kwargs={"${3|pk,slug|}": self.$3})
"""
[[snippets]]
prefix = "receiver"
body = """
@receiver($2, sender=${3:Model})
def $1_${2|post_save,pre_init,post_init,pre_save,pre_delete,post_delete,m2m_changed,class_prepared,pre_migrate,post_migrate|}_receiver(sender, **kwargs):
$0
"""

View File

@ -1,169 +0,0 @@
[[snippets]]
prefix = "run_python_function"
body = """
def $1(apps, schema_editor):
${2:Model} = apps.get_model("${3:${TM_FILEPATH/.*[\\/](\w+)[\\/]migrations.*/$1/g}}", "$2")$0
"""
[[snippets]]
prefix = "create_model"
body = """
migrations.CreateModel(
name='$1',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),$3
],
options={
'verbose_name': '$1',
'verbose_name_plural': '$1s$2',
}
)$0
"""
[[snippets]]
prefix = "delete_model"
body = """
migrations.DeleteModel(
name="$1",
)$0
"""
[[snippets]]
prefix = "rename_model"
body = """
migrations.RenameModel(
old_name=$1,
new_name=$2,
)$0
"""
[[snippets]]
prefix = "alter_model_table"
body = """
migrations.AlterModelTable(
name="$1",
table="$2",
)$0
"""
[[snippets]]
prefix = "alter_unique_together"
body = """
migrations.AlterUniqueTogether(
name="$1",
unique_together=("$2", "$3"),
)$0
"""
[[snippets]]
prefix = "alter_index_together"
body = """
migrations.AlterIndexTogether(
name="$1",
index_together=("$2", "$3"),
)$0
"""
[[snippets]]
prefix = "alter_order_with_respect_to"
body = """
migrations.AlterOrderWithRespectTo(
name="$1",
order_with_respect_to=$2,
)$0
"""
[[snippets]]
prefix = "alter_model_options"
body = """
migrations.AlterModelOptions(
name="$1",
options={$2},
)$0
"""
[[snippets]]
prefix = "alter_model_managers"
body = """
migrations.AlterModelManagers(
name="$1",
managers=$2,
)$0
"""
[[snippets]]
prefix = "add_field"
body = """
migrations.AddField(
model_name="$1",
name="$2",
field=$3,
)$0
"""
[[snippets]]
prefix = "remove_field"
body = """
migrations.RemoveField(
model_name="$1",
name="$2",
)$0
"""
[[snippets]]
prefix = "alter_field"
body = """
migrations.AlterField(
model_name="$1",
name="$2",
field=$3,
)$0
"""
[[snippets]]
prefix = "rename_field"
body = """
migrations.RenameField(
model_name="$1",
old_name="$2",
new_name="$3",
)$0
"""
[[snippets]]
prefix = "add_index"
body = """
migrations.AddIndex(
model_name="$1",
index="$2",
)$0
"""
[[snippets]]
prefix = "remove_index"
body = """
migrations.RemoveIndex(
model_name="$1",
name="$2",
)$0
"""
[[snippets]]
prefix = "run_sql"
body = "migrations.RunSQL($1)"
[[snippets]]
prefix = "run_python"
detail = "migrations.RunPython()"
description = "migrations.RunPython(forward, backward)"
body = "migrations.RunPython($1${2:, ${3:migrations.RunPython.noop}}),"
[[snippets]]
prefix = "separate_database_and_state"
body = """
migrations.SeparateDatabaseAndState(
database_operations=${1:None},
state_operations=${2:None},
)
"""

View File

@ -1,25 +0,0 @@
[[snippets]]
prefix = "from_conf_import_settings"
detail = "from django.conf import settings"
body = "from django.conf import settings"
[[snippets]]
prefix = "from_trans_import_gettext"
detail = "import gettext"
body = "from django.utils.translation import ${1|ugettext_lazy,ugettext,gettext_lazy,gettext|} as _"
[[snippets]]
prefix = "from_trans_import_ugettext_lazy"
detail = "import ugettext_lazy as _"
body = "from django.utils.translation import ugettext_lazy as _"
[[snippets]]
prefix = "from_trans_import_ngettext"
detail = "import ngettext (plural)"
body = "from django.utils.translation import ${1|ungettext,ngettext,npgettext|}"
[[snippets]]
prefix = "from_trans_import_pgettext"
detail = "import pgettext (context)"
body = "from django.utils.translation import ${1|pgettext_lazy,pgettext,npgettext|}"

View File

@ -1,23 +0,0 @@
[[snippets]]
prefix = "args"
detail = "*args"
body = "*args"
[[snippets]]
prefix = "args_kwargs"
detail = "*args, **kwargs"
body = "*args, **kwargs"
[[snippets]]
prefix = "method"
detail = "def method(self, *args, **kwargs):"
description = """```python
def method(self, *args, **kwargs):
return super().method(*args, **kwargs)
```
"""
body = """
$1(self, $2*args, **kwargs):
${3:return} super().$1($2*args, **kwargs)$0
"""

View File

@ -1,15 +0,0 @@
[[snippets]]
prefix = "import_library_register"
detail = "register = template.Library()"
description = """```python
from django import template
register = template.Library()
```
"""
body = """
from django import template
register = template.Library()$0
"""

View File

@ -1,39 +0,0 @@
[[snippets]]
prefix = "register_assignment_tag"
body = """
def get_$1(context):
request = context.get("request")
$1 = ${2:[]}
return ${3:$1}"
"""
[[snippets]]
prefix = "register_filter"
body = """
@register.filter
def $1(value):
return value$2
"""
[[snippets]]
prefix = "register_inclusion_tag"
body = """
@register.inclusion_tag(${1:"$2.html"}, takes_context=True)
def $1(context):
request = context.get("request")
$3
return {
"request": request,
$4
}
"""
[[snippets]]
prefix = "register_simple_tag"
body = """
@register.simple_tag(takes_context=True)
def $1(context):
request = context.get("request")
return ${2:"It Works!"}
"""

View File

@ -1,20 +0,0 @@
[[snippets]]
prefix = "from_urls_import_reverse"
body = "from django.urls import ${1|reverse,reverse_lazy,resolve,get_script_prefix|}"
detail = "import reverse, resolve…"
[[snippets]]
prefix = "from_urls_import_url"
body = "from django.conf.urls import ${1|url,include,static|}"
detail = "import url, include…"
[[snippets]]
prefix = "from_urls_import_handler"
body = "from django.conf.urls import ${1|handler400,handler403,handler404,handler500|}"
detail = "import handler404…"
[[snippets]]
prefix = "from_urls_import_path"
body = "from django.urls import ${1|path,re_path,include,reverse,reverse_lazy,static,register_converter|}"
detail = "import path, path_re…"

View File

@ -1,42 +0,0 @@
[[snippets]]
prefix = "url_stack"
body = """
${1|url,re_path|}(
r"^$2/$",
$3${4:.as_view()},
name="$5"
)
"""
[[snippets]]
prefix = "url_inline"
body = """
${1|url,re_path|}(r"^$2/$", $3${4:.as_view()}, name="$5"),
"""
detail = """url(r"^/$", View.as_view(), name="")"""
[[snippets]]
prefix = "path_stack"
body = """
path(
"$1/",
${2:VIEW}${3:.as_view()},
name="$4"
)
"""
description = "path(route, view, kwargs=None, name=None)"
[[snippets]]
prefix = "path_inline"
body = """path("$1/", $2${3:.as_view()}, name="$4")"""
description = "path(route, view, kwargs=None, name=None)"
[[snippets]]
prefix = "urlpatterns"
body = """
urlpatterns = [
$0
]
"""
detail = "urlpatterns = []"

View File

@ -1,30 +0,0 @@
[[snippets]]
prefix = "regex_pk"
body = '''r"^$1(?P<${2:pk}>\d+)/$"'''
detail = '''r"^(?P<pk>\d+)/$"'''
[[snippets]]
prefix = "regex_slug"
body = '''r"^$1(?P<${2:slug}>[-\w]+)/$"'''
detail = '''r"^(?P<slug>[-\w]+)/$"'''
[[snippets]]
prefix = "path_str"
body = "<str:$1>"
[[snippets]]
prefix = "path_int"
body = "<int:$1>"
[[snippets]]
prefix = "path_slug"
body = "<slug:$1>"
[[snippets]]
prefix = "path_uuid"
body = "<uuid:$1>"
[[snippets]]
prefix = "path_path"
body = "<path:$1>"

View File

@ -1,53 +0,0 @@
[[snippets]]
prefix = "class_createview"
detail = "class ModelCreateView(CreateView)"
body = """
class ${1:Model}CreateView(CreateView):
model = $1
template_name = "$2.html"$0
"""
[[snippets]]
prefix = "class_deleteview"
detail = "class ModelDeleteView(DeleteView)"
body = """
class ${1:Model}DeleteView(DeleteView):
model = $1
template_name = "$2.html"$0
"""
[[snippets]]
prefix = "class_detailview"
detail = "class ModelDetailView(DetailView)"
body = """
class ${1:Model}DetailView(DetailView):
model = $1
template_name = "$2.html"$0
"""
[[snippets]]
prefix = "class_listview"
detail = "class ModelListView(ListView)"
body = """
class ${1:Model}ListView(ListView):
model = $1
template_name = "$2.html"$0
"""
[[snippets]]
prefix = "class_templateview"
detail = "class ModelView(TemplateView)"
body = """
class ${1:Model}View(TemplateView):
template_name = "$2.html"$0
"""
[[snippets]]
prefix = "class_updateview"
detail = "class ModelUpdateView(UpdateView)"
body = """
class ${1:Model}UpdateView(UpdateView):
model = $1
template_name = "$2.html"$0
"""

View File

@ -1,10 +0,0 @@
[[snippets]]
prefix = "from_views_import"
detail = ""
body = "from .views import $1"
[[snippets]]
prefix = "from_generic_import_views"
detail = "Generic class-based views"
body = "from django.views.generic import ${1|CreateView,DetailView,FormView,ListView,TemplateView,UpdateView|}"

View File

@ -1,54 +0,0 @@
[[snippets]]
prefix = "dispatch"
detail = "dispatch(self, request, *args, **kwargs)"
body = """
def dispatch(self, request, *args, **kwargs):
return super().dispatch(request, *args, **kwargs)
"""
[[snippets]]
prefix = "get_context_data"
detail = "get_context_data(self, **kwargs)"
body = """
def get_context_data(self, **kwargs) -> dict[str, Any]:
context = super().get_context_data(**kwargs)
context["$1"] = $2
return context
"""
[[snippets]]
prefix = "get_queryset"
detail = "get_queryset(self)"
body = """
def get_queryset(self):
${1:return} super().get_queryset()$0
"""
[[snippets]]
prefix = "get_template_names"
detail = "get_template_names(self)"
body = """
def get_template_names(self) -> list[str]:
if ${1:condition}:
return ["$2"]
return super().get_template_names()
"""
[[snippets]]
prefix = "form_valid"
detail = "form_valid(self, form)"
body = """
def form_valid(self, form):
${1:form}
return super().form_valid(form)
"""
[[snippets]]
prefix = "form_invalid"
detail = "form_invalid(self, form)"
body = """
def form_invalid(self, form):
response = super().form_invalid(form)
${1:response}
"""

Some files were not shown because too many files have changed in this diff Show More