[include mainsail.cfg] # Include configuration from mainsail.cfg file [virtual_sdcard] path: /home/pappp/printer_data/gcodes # Path to the virtual SD card directory on_error_gcode: CANCEL_PRINT # G-code to execute on error (defined in CANCEL_PRINT macro) [gcode_arcs] resolution: 0.1 # Arc interpolation resolution, handles G2/G3 commands [exclude_object] # Exclude object for cancellation [force_move] enable_force_move: true # Enable force move feature ##################################################################### ## EBB SB2209(RP2040) Config ##################################################################### [mcu EBBCan] canbus_uuid: 0fe84a849fd6 # Unique identifier for the CAN bus interface # Acceleration sensor on cartographer sensor is recommended, # so the configuration of EBB is commented #[adxl345] #cs_pin: EBBCan:gpio1 # Chip select pin #spi_software_sclk_pin: EBBCan:gpio2 # SPI clock pin #spi_software_mosi_pin: EBBCan:gpio0 # SPI master out slave in pin #spi_software_miso_pin: EBBCan:gpio3 # SPI master in slave out pin #axes_map: z,-y,x # Axis mapping settings ##SHAPER_CALIBRATE #[resonance_tester] # Resonance tester configuration #probe_points: 150, 150, 20 # Probe point positions #accel_chip: adxl345 # Acceleration chip used [mcu] # Main MCU configuration #serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_slipper-if00 # Serial port setting, this line is commented out canbus_uuid: a8ef0d69b549 # CAN bus UUID canbus_interface: can0 # CAN bus interface ##################################################################### ## Temperature Monitoring ##################################################################### [temperature_sensor EBB_NTC] # EBB_NTC temperature sensor configuration sensor_type: Generic 3950 # Sensor type sensor_pin: EBBCan:gpio28 # Sensor pin [temperature_sensor BTT-MCU] # BTT-MCU temperature sensor configuration sensor_type: temperature_mcu # Sensor type [temperature_sensor SOC] # BTT-PI temperature sensor configuration sensor_type: temperature_host # Sensor type ##################################################################### ## Model and Acceleration ##################################################################### [printer] # Printer configuration kinematics: corexy # Printer type: corexy max_velocity: 600 # Maximum velocity (max 300) max_accel: 21000 # Maximum acceleration (max 4000) max_z_velocity: 50 # Maximum Z-axis velocity max_z_accel: 100 # Maximum Z-axis acceleration minimum_cruise_ratio: 0.5 # Default 0.5 square_corner_velocity: 25 # Square corner velocity [input_shaper] shaper_freq_x: 99.8 shaper_type_x: mzv shaper_freq_y: 84.8 shaper_type_y: mzv ##################################################################### # Cartographer V3 (ADXL345)(New) ##################################################################### [mcu cartographer] # See https://www.klipper3d.org/Config_Reference.html#mcu canbus_uuid: d2946c2118a5 [cartographer] mcu: cartographer x_offset: 0 # This is the offset of your probe from the nozzle tip, to the centre of the coil. y_offset: 23 # This is the offset of your probe from the nozzle tip, to the centre of the coil. #verbose: no # For extra output [bed_mesh] zero_reference_position: 150, 150 # The centre of your bed. speed: 300 horizontal_move_z: 3 mesh_min: 30, 30 # The first probed coordinate, nearest to the origin. This coordinate is relative to the probe's location. mesh_max: 270, 270 # The probed coordinate farthest from the origin. This is not necessarily the last point probed, as the probing process occurs in a zig-zag fashion. As with mesh_min, this coordinate is relative to the probe's location. probe_count: 30, 30 adaptive_margin: 10 mesh_pps: 0,0 # Disable interpolation - mesh is probably dense enough [temperature_sensor cartographer] sensor_type: temperature_mcu sensor_mcu: cartographer min_temp: 5 max_temp: 105 [adxl345] cs_pin: cartographer:PA3 # For Cartographer V3 spi_bus: spi1 [resonance_tester] accel_chip: adxl345 probe_points: 150, 150, 20 # Test at center [display_status] #PSE: Empty sections to enable KlipperScreen features? [pause_resume] ##################################################################### ## X Axis ##################################################################### [stepper_x] step_pin: PE6 # X-axis motor pulse pin setting dir_pin: !PE5 # X-axis motor direction pin setting enable_pin: !PC14 # X-axis motor enable pin setting microsteps: 32 # Motor microsteps setting rotation_distance: 40 # Active pulley circumference mm (2GT-20T pulley 40, 2GT-16T pulley 32) full_steps_per_rotation: 200 # Number of pulses required for a single motor revolution (1.8 degree motor: 200, 0.9 degree motor: 400) endstop_pin: EBBCan:gpio24 # Limit switch PIN setting (X-) position_min: 0 # X-axis minimum travel - software limit position_endstop: 300 # Mechanical reset point coordinates for X-axis position_max: 300 # X-axis maximum travel - software limit homing_speed: 150 # Homing speed maximum 100 homing_retract_dist: 5 # Setback distance after the first trigger of the homing switch homing_positive_dir: true # Direction of homing (generally no change required) [tmc5160 stepper_x] cs_pin: PC13 # Chip select pin spi_software_sclk_pin: PG8 # SPI clock pin spi_software_mosi_pin: PG6 # SPI master out slave in pin spi_software_miso_pin: PG7 # SPI master in slave out pin driver_TPFD: 0 # Driver setting run_current: 1.5 # Running current spi_speed: 3500000 # SPI speed interpolate: True # Interpolation [stepper_x1] step_pin: PD4 # X1-axis motor pulse pin setting dir_pin: !PD3 # X1-axis motor direction pin setting enable_pin: !PD6 # X1-axis motor enable pin setting microsteps: 32 # Motor microsteps setting rotation_distance: 40 # Active pulley circumference mm (2GT-20T pulley 40, 2GT-16T pulley 32) full_steps_per_rotation: 200 # Number of pulses required for a single motor revolution (1.8 degree motor: 200, 0.9 degree motor: 400) [tmc5160 stepper_x1] cs_pin: PD5 # Chip select pin spi_software_sclk_pin: PG8 # SPI clock pin spi_software_mosi_pin: PG6 # SPI master out slave in pin spi_software_miso_pin: PG7 # SPI master in slave out pin driver_TPFD: 0 # Driver setting run_current: 1.5 # Running current spi_speed: 3500000 # SPI speed interpolate: True # Interpolation ##################################################################### ## Y Aixs ##################################################################### [stepper_y] step_pin: PC7 # Y-axis motor pulse pin setting dir_pin: !PC8 # Y-axis motor direction pin setting enable_pin: !PD2 # Y-axis motor enable pin setting microsteps: 32 # Motor microsteps setting rotation_distance: 40 # Active pulley circumference mm (2GT-20T pulley 40, 2GT-16T pulley 32) full_steps_per_rotation: 200 # Number of pulses required for a single motor revolution (1.8 degree motor: 200, 0.9 degree motor: 400) endstop_pin: PF2 # Limit switch PIN setting (Y-) position_min: 0 # Y-axis minimum travel - software limit position_endstop: 311.1 # Mechanical reset point coordinates for Y-axis (change to 350 for 350 models) position_max: 311.1 # Y-axis maximum travel - software limit (change to 350 for 350 models) homing_speed: 150 # Homing speed maximum 100 homing_retract_dist: 5 # Setback distance after the first trigger of the homing switch homing_positive_dir: true # Direction of homing (generally no change required) [tmc5160 stepper_y] cs_pin: PC6 # Chip select pin spi_software_sclk_pin: PG8 # SPI clock pin spi_software_mosi_pin: PG6 # SPI master out slave in pin spi_software_miso_pin: PG7 # SPI master in slave out pin driver_TPFD: 0 # Driver setting run_current: 1.5 # Running current spi_speed: 3500000 # SPI speed interpolate: True # Interpolation [stepper_y1] step_pin: PE2 # Y1-axis motor pulse pin setting dir_pin: !PE1 # Y1-axis motor direction pin setting enable_pin: !PE4 # Y1-axis motor enable pin setting microsteps: 32 # Motor microsteps setting rotation_distance: 40 # Active pulley circumference mm (2GT-20T pulley 40, 2GT-16T pulley 32) full_steps_per_rotation: 200 # Number of pulses required for a single motor revolution (1.8 degree motor: 200, 0.9 degree motor: 400) [tmc5160 stepper_y1] cs_pin: PE3 # Chip select pin spi_software_sclk_pin: PG8 # SPI clock pin spi_software_mosi_pin: PG6 # SPI master out slave in pin spi_software_miso_pin: PG7 # SPI master in slave out pin driver_TPFD: 0 # Driver setting run_current: 1.5 # Running current spi_speed: 3500000 # SPI speed interpolate: True # Interpolation ##################################################################### # -------z1------- # | | # | | # | | # | | # | | # | | # z0--- display ---z2 ##################################################################### ## Z0 Axis ##################################################################### [stepper_z] step_pin: PB8 # Z0-axis motor pulse pin setting dir_pin: !PB7 # Z0-axis motor direction pin setting enable_pin: !PE0 # Z0-axis motor enable pin setting microsteps: 16 # Motor microsteps setting rotation_distance: 4 # Active pulley circumference mm endstop_pin: probe:z_virtual_endstop # Limit switch PIN setting (Z0-) position_max: 235 # Z0-axis maximum travel - software limit position_min: -5.0 # Z0-axis minimum travel - software limit homing_speed: 20 # Homing speed homing_retract_dist: 0 # Setback distance after the first trigger of the homing switch homing_positive_dir: False # Direction of homing (generally no change required) #-------------------------------------------------------------------- [tmc2209 stepper_z] # TMC2209 driver settings uart_pin: PB9 # Driver communication port interpolate: true # Enable 256 microstep interpolation run_current: 0.8 # Motor running current (mA) hold_current: 0.8 # Holding current (mA) #-------------------------------------------------------------------- [stepper_z1] step_pin: PB4 # Z1-axis motor pulse pin setting dir_pin: !PB3 # Z1-axis motor direction pin setting enable_pin: !PB6 # Z1-axis motor enable pin setting microsteps: 16 # Motor microsteps setting rotation_distance: 4 # Active pulley circumference mm #-------------------------------------------------------------------- [tmc2209 stepper_z1] # TMC2209 driver settings uart_pin: PB5 # Driver communication port interpolate: true # Enable 256 microstep interpolation run_current: 0.8 # Motor running current (mA) hold_current: 0.8 # Holding current (mA) #-------------------------------------------------------------------- [stepper_z2] step_pin: PG13 # Z2-axis motor pulse pin setting dir_pin: !PG12 # Z2-axis motor direction pin setting enable_pin: !PG15 # Z2-axis motor enable pin setting microsteps: 16 # Motor microsteps setting rotation_distance: 4 # Active pulley circumference mm #-------------------------------------------------------------------- [tmc2209 stepper_z2] # TMC2209 driver settings uart_pin: PG14 # Driver communication port interpolate: true # Enable 256 microstep interpolation run_current: 0.8 # Motor running current (mA) hold_current: 0.8 # Holding current (mA) ##################################################################### ## Extruder Motor ##################################################################### [extruder] step_pin: EBBCan:gpio18 # Step pin dir_pin: EBBCan:gpio19 # Direction pin, "!" indicates logic inversion enable_pin: !EBBCan:gpio17 # Enable pin, "!" indicates logic inversion full_steps_per_rotation: 200 # Number of pulses required for a single motor revolution (1.8 degree motor: 200, 0.9 degree motor: 400) microsteps: 16 # Microsteps setting ## When calibrating the extruder, update the following value ## Assume you request 100mm feed but get 98mm, ## New value = old value x (actual extruded length / target length) ## 22.6789511 is our recommended value gear_ratio: 50:10 # Gear ratio rotation_distance: 22.6789511 # Rotation distance nozzle_diameter: 0.400 # Nozzle diameter filament_diameter: 1.750 # Filament diameter heater_pin: EBBCan:gpio7 # Heater pin #control: pid # Control method #pid_Kp: 24.328 # Proportional parameter of the PID controller #pid_Ki: 1.908 # Integral parameter of the PID controller #pid_Kd: 77.543 # Derivative parameter of the PID controller min_temp: -20 # Minimum temperature max_temp: 350 # Maximum temperature min_extrude_temp: 170 # Minimum extrude temperature pressure_advance: 0.01 # Pressure advance - try to keep pressure below 1.0 pressure_advance_smooth_time: 0.040 # Pressure advance smooth time - default is 0.040 ## Nozzle temperature PID calibration command: "PID_CALIBRATE HEATER=extruder TARGET=245" sensor_type: MAX31865 # Temperature sensor type sensor_pin: EBBCan:gpio9 # Sensor pin spi_software_sclk_pin: EBBCan:gpio10 # SPI clock pin spi_software_mosi_pin: EBBCan:gpio8 # SPI master out slave in pin spi_software_miso_pin: EBBCan:gpio11 # SPI master in slave out pin rtd_nominal_r: 1000 # RTD nominal resistance PSE:Siboor ships a PT1000 and sets a PT100 rtd_reference_r: 4300 # RTD reference resistance rtd_num_of_wires: 2 # Number of wires for the RTD [tmc2209 extruder] uart_pin: EBBCan:gpio20 # UART communication pin interpolate: true # Enable 256 microstep interpolation run_current: 0.60 # Running current #-------------------------------------------------------------------- [verify_heater extruder] # Heater block temperature tolerance configuration max_error: 120 # Maximum error check_gain_time: 120 # Tolerance time hysteresis: 50 # Tolerance temperature heating_gain: 2 # Heating gain ##################################################################### ## Heated Bed ##################################################################### [heater_bed] heater_pin: PA1 # (BE0) Heater pin sensor_pin: PB1 # Sensor interface (TB) sensor pin sensor_type: ATC Semitec 104GT-2 # ATC Semitec 104GT-2 temperature sensor type #control: pid # Control method ## Heated bed temperature PID calibration command: "PID_CALIBRATE HEATER=heater_bed TARGET=100" #pid_kp: 53.467 # PID Kp value #pid_ki: 0.931 # PID Ki value #pid_kd: 767.921 # PID Kd value min_temp: -20 # Minimum temperature max_temp: 135 # Maximum temperature max_power: 1.0 # Maximum power ##################################################################### ## Idle Timeout for Heated Bed ##################################################################### [idle_timeout] timeout: 1800 # Turn off heated bed if idle for more than 30 minutes ##################################################################### ## Bed Mesh Calibration (Swapped for new Cartographer stanza) ##################################################################### # [bed_mesh] # zero_reference_position: 150,150 # # This option is suitable for the 300 model. # # set this to the middle of your bed # speed: 200 # # movement speed of toolhead during bed mesh # horizontal_move_z: 5 # # height of scanner during bed mesh scan # mesh_min: 30, 30 # # start point of bed mesh [X, Y] # mesh_max: 270, 270 # # end point of bed mesh [X, Y] # probe_count: 30, 30 # algorithm: bicubic ##################################################################### ## Fans ##################################################################### [heater_fan hotend_fan] # Hotend fan pin: EBBCan:gpio14 # Hotend fan pin heater: extruder # Associated heating device heater_temp: 50.0 # Temperature to start the fan cycle_time: 0.00003 # Cycle time #-------------------------------------------------------------------- [heater_fan Skirt_fan] # Skirt fan pin: PF9 # FAN-2 cycle_time: 0.00003 # Cycle time shutdown_speed: 0.0 # Closing speed (Please do not change) kick_start_time: 0.5 # start-up time (Please do not change) heater: heater_bed # Related equipment: heater_bed heater_temp: 50 # How many degrees does the heat bed reach to activate the fan fan_speed: 0.5 # Fan speed #-------------------------------------------------------------------- [controller_fan driver_fan] # Driver cooling fan pin: PF6 # Fan pin cycle_time: 0.00003 # Cycle time max_power: 1.0 # Maximum power shutdown_speed: 0.0 # Shutdown speed fan_speed: 0.8 # Fan speed when heater or stepper driver is active (0.0 to 1.0). Default is 1.0. idle_timeout: 90 # Time in seconds to keep the fan running after the stepper driver or heater is no longer active. Default is 30 seconds. idle_speed: 0.4 # Fan speed after the stepper driver is no longer active and before idle_timeout is reached (0.0 to 1.0). Default is fan_speed. stepper: stepper_x # Active motors #Define the name of the heater/stepper configuration section associated with this fan. #If a comma-separated list of heater/stepper names is provided here, the fan will be enabled when any of the given heaters/steppers are enabled. #The default heater is "extruder", and the default stepper is all steppers. #-------------------------------------------------------------------- #Note: The following fan0/FAN1/fan2 settings are only applicable when using OrcaSlicer, #as only OrcaSlicer allows for the additional configuration of parts cooling fans and filter fans. #If you use other slicing software, please comment out the following configurations. # instead of using [fan], we define the default part cooling fan with [fan_generic] here # this is the default part cooling fan [fan_generic fan0] # 5015 Part cooling Blower pin: EBBCan:gpio13 # Fan pin cycle_time: 0.00003 # Cycle time hardware_pwm: false # hardware pwm #-------------------------------------------------------------------- [fan_generic fan2] # 12032 Auxiliary Part cooling Blower pin: PA0 # Fan pin cycle_time: 0.00003 # Cycle time hardware_pwm: false # hardware pwm kick_start_time: 0.5 # start-up time (Please do not change) #-------------------------------------------------------------------- [fan_generic FumePack] # Fume_Pack Exhaust Fan pin: PF7 # Fan pin cycle_time: 0.00003 # Cycle time hardware_pwm: false # hardware pwm kick_start_time: 0.5 # start-up time (Please do not change) #-------------------------------------------------------------------- [gcode_macro M106] gcode: {% set fan = 'fan' + (params.P|int if params.P is defined else 0)|string %} {% set speed = (params.S|float / 255 if params.S is defined else 1.0) %} SET_FAN_SPEED FAN={fan} SPEED={speed} ##################################################################### ## RGB-LED Lights ##################################################################### [neopixel hotend_rgb] pin: EBBCan:gpio16 # LED pin chain_count: 3 # Number of LEDs color_order: GRBW # Color order initial_RED: 0.2 # Initial red brightness initial_GREEN: 0.2 # Initial green brightness initial_BLUE: 0.2 # Initial blue brightness [neopixel my_neopixel] pin: PD15 # Signal interface chain_count: 50 # Number of LEDs color_order: GRB # Color order initial_RED: 0.2 # Initial red brightness initial_GREEN: 0.2 # Initial green brightness initial_BLUE: 0.2 # Initial blue brightness [gcode_macro STOP_LED] gcode: STOP_LED_EFFECTS [gcode_macro STOP_LED] gcode: STOP_LED_EFFECTS [gcode_macro Rainbow_LED] gcode: SET_LED_EFFECT EFFECT=rainbow [led_effect rainbow] leds:       neopixel:my_neopixel layers:   gradient 0.50 0.50 top (1,0,0),(0,1,0),(0,0,1) frame_rate: 10 [led_effect extruder_temp] leds:     neopixel:my_neopixel layers:     heater 0.50 0.50 top (0.0,1.0,0.0),(1.0,0.0,0.0),(0.0,0.0,1.0) frame_rate: 10 heater: extruder autostart: true [led_effect bed_heating] leds:     neopixel:my_neopixel layers:     heater 0.50 0.50 top (0.0,1.0,0.0),(1.0,0.0,0.0),(0.0,0.0,1.0) frame_rate: 10 heater: heater_bed autostart: true [led_effect progress_bar] leds:     neopixel:my_neopixel autostart: true frame_rate:                         10 layers:     progress  -1  0 add         ( 0, 0,   1),( 0, 0.1, 0.6)     static     0  0 top         ( 0, 0, 0.1) #################################################################################### ## Homing Override #################################################################################### [homing_override] # PSE do Y before X because of the dead zone for the AWD motors axes: xy set_position_x:0 set_position_y:0 gcode: G90 G0 Z10 F1200 G28 Y G28 X [homing_override] axes: z # Override homing for the Z axis only set_position_z: 0 # Set the Z position to 0 after homing gcode: G90 # Set to absolute positioning mode G0 Z10 F1200 # Move Z axis to 10mm above the bed at 1200 mm/min G28 Y # Home Y axis G28 X # Home X axis G1 X150 Y150 F7200 # Move to a specific coordinate (125, 125) at 7200 mm/min G28 Z # Home Z axis again #################################################################################### ## Z Tilt Adjustment #################################################################################### [z_tilt] ## Use Z_TILT_ADJUST to level the bed. ## z_positions: Location of toolhead ##-------------------------------------------------------------------- # Uncomment below for 300mm build z_positions: -50, 18 150, 348 350, 18 points: 50, 50 150, 250 250, 50 ## Uncomment below for 350mm build #z_positions: # -50, 18 # 175, 398 # 400, 18 #points: # 50, 50 # 175, 300 # 300, 50 ##-------------------------------------------------------------------- speed: 350 # Speed of Z tilt adjustment horizontal_move_z: 2 # Z axis move speed for adjustments retries: 10 # Number of retries for adjustment points retry_tolerance: 0.0075 # Retry tolerance for adjustment accuracy #################################################################################### #################################################################################### [gcode_macro Z_TILT_ADJUST] # IDM/Cartographer optimized 3Z leveling macro rename_existing: _Z_TILT_ADJUST gcode: SAVE_GCODE_STATE NAME=STATE_Z_TILT # Save current state for Z tilt adjustment BED_MESH_CLEAR # Clear bed mesh {% if not printer.z_tilt.applied %} _Z_TILT_ADJUST horizontal_move_z=10 retry_tolerance=1 # Adjust Z tilt with higher tolerance initially {% endif %} _Z_TILT_ADJUST horizontal_move_z=2 # Fine-tune Z tilt adjustment RESTORE_GCODE_STATE NAME=STATE_Z_TILT # Restore saved state after adjustment [gcode_macro LOAD_FILAMENT] variable_load_distance: 50 variable_purge_distance: 25 gcode: {% set speed = params.SPEED|default(300) %} {% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity * 60 %} SAVE_GCODE_STATE NAME=load_state G91 G92 E0 G1 E{load_distance} F{max_velocity} # fast-load G1 E{purge_distance} F{speed} # purge RESTORE_GCODE_STATE NAME=load_state [gcode_macro UNLOAD_FILAMENT] variable_unload_distance: 50 variable_purge_distance: 25 gcode: {% set speed = params.SPEED|default(300) %} {% set max_velocity = printer.configfile.settings['extruder'].max_extrude_only_velocity * 60 %} SAVE_GCODE_STATE NAME=unload_state G91 G92 E0 G1 E{purge_distance} F{speed} # purge G1 E-{unload_distance} F{max_velocity} # fast-unload RESTORE_GCODE_STATE NAME=unload_state #################################################################################### ## Probe Calibration Macro #################################################################################### [gcode_macro PROBECALIBRATE] # Defines a G-code macro for probe calibration gcode: G28 # Home all axes G0 X150 Y150 Z1 F3600 # Fast move to X150 Y150 Z1 at 3600 mm/min PROBE_CALIBRATE # Start probe calibration #################################################################################### ## Bed Leveling and Height Calibration Macro #################################################################################### [gcode_macro G32] # Defines a G-code macro for bed leveling and height calibration gcode: BED_MESH_CLEAR # Clear bed mesh G28 # Home all axes Z_TILT_ADJUST # Perform gantry leveling G28 # Home all axes G0 X150 Y150 Z30 F3600 # Fast move to X150 Y150 Z30 at 3600 mm/min #-------------------------------------------------------------------- [gcode_macro DRAW_LINES] gcode: G90 # Absolute positioning # G92 E0 # Reset Extruder (commented out for now) # G1 Z5.0 F7200 # Move Z Axis up (commented out for now) G1 X50 Y0 F7200 # Move to start position M83 # Set extruder to relative mode G1 E15 F400 # Extrude filament G1 Z0.28 F7200 # Lower Z axis G1 X200 Y0 Z0.28 F1200 E17 # Draw the first line G1 X200 Y0.4 Z0.28 F2400 # Move to side a little G1 X55 Y0.4 Z0.28 F1200 E34 # Draw the second line G92 E0 # Reset Extruder G90 # Return to absolute positioning [gcode_macro PRINT_START] gcode: {% set target_bed = params.BED|int %} # Target bed temperature {% set target_extruder = params.EXTRUDER|int %} # Target nozzle temperature {% set x_wait = printer.toolhead.axis_maximum.x|float / 2 %} # Bed center X {% set y_wait = printer.toolhead.axis_maximum.y|float / 2 %} # Bed center Y SET_GCODE_OFFSET Z=0 # Reset Z offset G28 # Home all axes G90 # Set to absolute positioning SET_DISPLAY_TEXT MSG="Heating Bed: {target_bed}°C" # Display bed heating message G1 X{x_wait} Y{y_wait} Z15 F9000 # Move to bed center M190 S{target_bed} # Wait for bed to reach target temperature SET_DISPLAY_TEXT MSG="Preheat Nozzle to 145°C" # Display preheat message M109 S145 # Preheat BELOW Cartographer safe temperature SET_DISPLAY_TEXT MSG="Leveling..." # Display leveling message Z_TILT_ADJUST # Perform Z tilt adjustment G28 Z # Re-home Z after adjustment SET_DISPLAY_TEXT MSG="Bed Mesh Calibration" # Display mesh calibration message BED_MESH_CALIBRATE # Perform bed mesh calibration SET_DISPLAY_TEXT MSG="Calibrating Z Offset" # Display Z offset calibration message CARTOGRAPHER_TOUCH_HOME # Calibrate Z offset (PSE: Add _HOME) SET_DISPLAY_TEXT MSG="Heating Nozzle: {target_extruder}°C" # Display nozzle heating message G1 X{x_wait} Y{y_wait} Z15 F9000 # Move to bed center M109 S{target_extruder} # Heat nozzle to target temperature SET_DISPLAY_TEXT MSG="Preparing to Print..." # Display preparation message G0 X{x_wait - 50} Y4 F10000 # Move to primeline start point G0 Z0.4 # Raise Z to 0.4mm G91 # Switch to relative positioning G1 X100 E20 F1000 # Extrude primeline G90 # Switch back to absolute positioning #-------------------------------------------------------------------- [gcode_macro PRINT_END] gcode: {% set th = printer.toolhead %} {% set x_safe = th.position.x + 20 * (1 if th.axis_maximum.x - th.position.x > 20 else -1) %} {% set y_safe = th.position.y + 20 * (1 if th.axis_maximum.y - th.position.y > 20 else -1) %} {% set z_safe = [th.position.z + 2, th.axis_maximum.z]|min %} SAVE_GCODE_STATE NAME=STATE_PRINT_END M400 ; wait for buffer to clear G92 E0 ; zero the extruder G1 E-20.0 F3600 ; retract filament TURN_OFF_HEATERS G90 ; absolute positioning G0 X{x_safe} Y{y_safe} Z{z_safe} F20000 ; move nozzle to remove stringing G0 X{th.axis_maximum.x//2} Y{th.axis_maximum.y - 2} F3600 ; park nozzle at rear M107 ; turn off fan SET_FAN_SPEED FAN=fan0 SPEED=0 SET_FAN_SPEED FAN=fan2 SPEED=0 SET_FAN_SPEED FAN=FumePack SPEED=0 BED_MESH_CLEAR # The purpose of the SAVE_GCODE_STATE/RESTORE_GCODE_STATE # command pair is to restore the printer's coordinate system # and speed settings since the commands above change them. # However, to prevent any accidental, unintentional toolhead # moves when restoring the state, explicitly set MOVE=0. RESTORE_GCODE_STATE NAME=STATE_PRINT_END MOVE=0 #-------------------------------------------------------------------- [gcode_macro PAUSE] description: Pause the actual running print rename_existing: PAUSE_BASE # change this if you need more or less extrusion variable_extrude: 1.0 gcode: ##### read E from pause macro ##### {% set E = printer["gcode_macro PAUSE"].extrude|float %} ##### set park positon for x and y ##### # default is your max posion from your printer.cfg {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %} {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %} ##### calculate save lift position ##### {% set max_z = printer.toolhead.axis_maximum.z|float %} {% set act_z = printer.toolhead.position.z|float %} {% if act_z < (max_z - 2.0) %} {% set z_safe = 2.0 %} {% else %} {% set z_safe = max_z - act_z %} {% endif %} ##### end of definitions ##### PAUSE_BASE G91 {% if printer.extruder.can_extrude|lower == 'true' %} G1 E-{E} F2100 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} {% if "xyz" in printer.toolhead.homed_axes %} G1 Z{z_safe} F900 G90 G1 X{x_park} Y{y_park} F6000 {% else %} {action_respond_info("Printer not homed")} {% endif %} #-------------------------------------------------------------------- [gcode_macro RESUME] description: Resume the actual running print rename_existing: RESUME_BASE gcode: ##### read E from pause macro ##### {% set E = printer["gcode_macro PAUSE"].extrude|float %} #### get VELOCITY parameter if specified #### {% if 'VELOCITY' in params|upper %} {% set get_params = ('VELOCITY=' + params.VELOCITY) %} {%else %} {% set get_params = "" %} {% endif %} ##### end of definitions ##### {% if printer.extruder.can_extrude|lower == 'true' %} G91 G1 E{E} F2100 {% else %} {action_respond_info("Extruder not hot enough")} {% endif %} RESUME_BASE {get_params} #-------------------------------------------------------------------- [gcode_macro CANCEL_PRINT] # Defines a G-code macro to cancel the actual running print description = Cancel the actual running print rename_existing = CANCEL_PRINT_BASE variable_park = True gcode = G28 Y # Home Y axis _TOOLHEAD_PARK_PAUSE_CANCEL # Call _TOOLHEAD_PARK_PAUSE_CANCEL macro TURN_OFF_HEATERS # Turn off all heaters CANCEL_PRINT_BASE # Call CANCEL_PRINT_BASE to cancel print SET_FAN_SPEED FAN=fan0 SPEED=0 SET_FAN_SPEED FAN=fan2 SPEED=0 SET_FAN_SPEED FAN=FumePack SPEED=0 [gcode_macro DATA_SAMPLE] gcode: G90 M106 S255 RESPOND TYPE=command MSG='Waiting for Coil to cool to 40' M117 Waiting for Coil to cool to 40 TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MAXIMUM=40 RESPOND TYPE=command MSG='Starting Phase 1 of 4' M117 Starting Phase 1 of 4 M106 S0 G28 G0 Z1 M104 S250 M140 S110 G4 P1000 CARTOGRAPHER_STREAM FILENAME=data1 M117 Waiting for Coil to heat to 70 RESPOND TYPE=command MSG='Waiting for Coil to heat to 70' TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM=55 CARTOGRAPHER_STREAM FILENAME=data1 M104 S0 M140 S0 M106 S255 G0 Z80 RESPOND TYPE=command MSG='Waiting for Coil to cool to 40' M117 Waiting for Coil to cool to 40 TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MAXIMUM=40 M117 Starting Phase 2 of 4 RESPOND TYPE=command MSG='Starting Phase 2 of 4' M106 S0 G28 Z0 G0 Z2 M104 S250 M140 S110 G4 P1000 CARTOGRAPHER_STREAM FILENAME=data2 M117 Waiting for Coil to heat to 70 RESPOND TYPE=command MSG='Waiting for Coil to heat to 70' TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM=55 CARTOGRAPHER_STREAM FILENAME=data2 M104 S0 M140 S0 M106 S255 G0 Z80 RESPOND TYPE=command MSG='Waiting for Coil to cool to 40' M117 Waiting for Coil to cool to 40 TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MAXIMUM=40 M117 "Starting Phase 3 of 4" RESPOND TYPE=command MSG='Starting Phase 3 of 4' M106 S0 G28 Z0 G0 Z3 M104 S250 M140 S110 G4 P1000 CARTOGRAPHER_STREAM FILENAME=data3 M117 Waiting for Coil to heat to 70 RESPOND TYPE=command MSG='Waiting for Coil to heat to 70' TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM=55 CARTOGRAPHER_STREAM FILENAME=data3 M104 S0 M140 S0 M106 S255 G0 Z80 M117 Waiting for Coil to cool to 40 RESPOND TYPE=command MSG='Waiting for Coil to cool to 40' TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MAXIMUM=40 M117 "Starting Phase 4 of 4" RESPOND TYPE=command MSG='Starting Phase 4 of 4' M106 S0 G28 Z0 G0 Z5 M104 S250 M140 S110 G4 P1000 CARTOGRAPHER_STREAM FILENAME=data4 M117 Waiting for Coil to heat to 70 RESPOND TYPE=command MSG='Waiting for Coil to heat to 70' TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM=55 CARTOGRAPHER_STREAM FILENAME=data4 M104 S0 M140 S0 RESPOND TYPE=command MSG='Testing complete, please move files using: mv ~/klipper/data1 ~/klipper/data2 ~/klipper/data3 ~/klipper/data4 ~/cartographer-klipper/' M117 "Testing complete, please move files using: mv ~/klipper/data1 ~/klipper/data2 ~/klipper/data3 ~/klipper/data4 ~/cartographer-klipper/" RESPOND TYPE=command MSG='Follow the remaining instructions here: https://docs.cartographer3d.com/cartographer-probe/advanced-features/temperature-differential-calibration-beta' M117 "Follow the remaining instructions here: https://docs.cartographer3d.com/cartographer-probe/advanced-features/temperature-differential-calibration-beta" #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [extruder] #*# control = pid #*# pid_kp = 33.241 #*# pid_ki = 11.664 #*# pid_kd = 23.684 #*# #*# [cartographer scan_model default] #*# coefficients = 1.43299549327044,1.88992297663521,0.8771099457509323,0.3900738584345109,0.273148267669397,0.6223690796080874,0.10790760114084391,-0.6609591213280788,0.1084211652891412,0.45927120691911166 #*# domain = 3.1997019625752596e-07,3.348790225434933e-07 #*# z_offset = -0.25 #*# reference_temperature = 26.28 #*# software_version = 1.8.0 #*# mcu_version = CARTOGRAPHER V3 6.1.0 #*# #*# [cartographer touch_model default] #*# threshold = 1515 #*# speed = 2 #*# z_offset = -0.05 #*# software_version = 1.8.0 #*# mcu_version = CARTOGRAPHER V3 6.1.0 #*# #*# [bed_mesh Initial] #*# version = 1 #*# points = #*# -0.013368, 0.013720, 0.023435, 0.028319, 0.035630, 0.042826, 0.050090, 0.058539, 0.064460, 0.071661, 0.076444, 0.087134, 0.095305, 0.102404, 0.104768, 0.100044, 0.100137, 0.098906, 0.092932, 0.090650, 0.088277, 0.079982, 0.074057, 0.069264, 0.064460, 0.062150, 0.059697, 0.054829, 0.045342, 0.028319 #*# 0.012491, 0.020986, 0.030760, 0.035630, 0.040494, 0.045252, 0.053716, 0.062060, 0.069264, 0.074057, 0.081128, 0.090650, 0.098906, 0.100044, 0.100044, 0.102404, 0.100044, 0.095305, 0.093025, 0.088277, 0.088277, 0.085897, 0.074057, 0.066863, 0.066863, 0.066911, 0.063260, 0.057337, 0.059742, 0.027098 #*# 0.039230, 0.042917, 0.041705, 0.054829, 0.057242, 0.059652, 0.064460, 0.071661, 0.076350, 0.083608, 0.093025, 0.096537, 0.100044, 0.104768, 0.109487, 0.107128, 0.105901, 0.102404, 0.095398, 0.095305, 0.093025, 0.088277, 0.088273, 0.078835, 0.064555, 0.064555, 0.065709, 0.062105, 0.057337, 0.046463 #*# 0.033195, 0.038063, 0.044084, 0.050090, 0.052418, 0.057337, 0.060901, 0.064507, 0.071661, 0.078741, 0.083608, 0.090650, 0.095305, 0.095398, 0.095305, 0.097676, 0.095398, 0.093025, 0.085897, 0.081128, 0.081128, 0.082321, 0.074057, 0.062060, 0.057337, 0.054924, 0.053716, 0.052508, 0.057242, 0.029540 #*# 0.021031, 0.025876, 0.025920, 0.033194, 0.030760, 0.033194, 0.042826, 0.046463, 0.050090, 0.057337, 0.062060, 0.068063, 0.071614, 0.076350, 0.078835, 0.076444, 0.075203, 0.071613, 0.064555, 0.066863, 0.064460, 0.058494, 0.052507, 0.047675, 0.040494, 0.038063, 0.035630, 0.029585, 0.025876, 0.016172 #*# 0.018625, 0.025876, 0.030760, 0.030760, 0.028319, 0.033194, 0.041612, 0.047675, 0.052508, 0.057337, 0.059652, 0.064460, 0.074057, 0.078835, 0.078835, 0.076350, 0.072812, 0.074057, 0.069264, 0.069264, 0.064460, 0.060946, 0.050090, 0.047675, 0.047675, 0.047675, 0.042826, 0.033194, 0.035539, 0.012445 #*# -0.001064, 0.021077, 0.018626, 0.018534, 0.021077, 0.022210, 0.028319, 0.033194, 0.042826, 0.042826, 0.046509, 0.052418, 0.054924, 0.059742, 0.065662, 0.062060, 0.062150, 0.057337, 0.052508, 0.051299, 0.048930, 0.040494, 0.035630, 0.033103, 0.027098, 0.028319, 0.023521, 0.016172, 0.008799, -0.000977 #*# -0.009643, -0.004685, 0.003919, 0.003965, 0.003965, 0.008799, 0.016129, 0.023521, 0.025967, 0.030669, 0.038063, 0.036801, 0.042826, 0.047675, 0.045342, 0.050090, 0.047675, 0.042826, 0.040398, 0.037972, 0.033194, 0.029585, 0.025876, 0.018626, 0.018534, 0.014946, 0.013720, 0.006340, 0.003873, -0.002220 #*# -0.023238, 0.001495, 0.006340, 0.013720, 0.016172, 0.014946, 0.018626, 0.028319, 0.038063, 0.047675, 0.047675, 0.045342, 0.045252, 0.047675, 0.058494, 0.059652, 0.059742, 0.050090, 0.040494, 0.046504, 0.047675, 0.040494, 0.033194, 0.025967, 0.018626, 0.022210, 0.023435, 0.016172, 0.006340, -0.008312 #*# -0.019498, -0.017096, -0.008404, -0.008404, -0.006012, 0.003873, 0.005107, 0.011261, 0.023435, 0.030760, 0.035539, 0.029540, 0.028319, 0.030760, 0.035630, 0.041612, 0.038017, 0.033194, 0.028319, 0.025967, 0.024744, 0.022299, 0.013629, 0.008799, 0.001495, 0.003919, 0.002641, -0.005924, -0.005924, -0.010842 #*# -0.035750, -0.020786, -0.028234, -0.020830, -0.020742, -0.018298, -0.006012, -0.001064, 0.011261, 0.016172, 0.021077, 0.018626, 0.016172, 0.023435, 0.027098, 0.025921, 0.028319, 0.021077, 0.016085, 0.019852, 0.014946, 0.006340, 0.003965, -0.000977, -0.005924, -0.005968, -0.010882, -0.015851, -0.020742, -0.030738 #*# -0.039470, -0.035750, -0.030738, -0.033240, -0.033240, -0.025737, -0.018254, -0.010882, -0.003447, 0.006340, 0.006384, 0.006340, 0.008799, 0.011261, 0.016172, 0.018626, 0.013675, 0.013720, 0.008891, 0.008891, 0.003873, -0.003450, -0.005924, -0.008404, -0.013368, -0.015807, -0.018342, -0.033240, -0.028234, -0.030738 #*# -0.050760, -0.031989, -0.038173, -0.033240, -0.033157, -0.033198, -0.023283, -0.015763, -0.006012, -0.003447, 0.002684, 0.001408, 0.003965, 0.008799, 0.013720, 0.011261, 0.013720, 0.011261, 0.003873, 0.007613, 0.001452, -0.003534, -0.008404, -0.008404, -0.012125, -0.013324, -0.018254, -0.028234, -0.033157, -0.040772 #*# -0.035705, -0.030738, -0.020830, -0.018342, -0.020830, -0.018342, -0.015851, -0.010882, 0.003873, 0.011261, 0.013720, 0.011261, 0.013717, 0.018625, 0.023435, 0.025967, 0.023521, 0.019806, 0.016129, 0.018534, 0.013720, 0.011174, 0.003965, -0.001020, -0.005924, -0.003447, -0.003447, -0.014565, -0.014609, -0.039428 #*# -0.045716, -0.040772, -0.043201, -0.033157, -0.035661, -0.038257, -0.028234, -0.025737, -0.015851, -0.008404, -0.003450, -0.005924, -0.003447, 0.003873, 0.006340, 0.005153, 0.003965, -0.000977, -0.003447, -0.003534, -0.005924, -0.013368, -0.018254, -0.018342, -0.020786, -0.024532, -0.028234, -0.035750, -0.043201, -0.053289 #*# -0.062107, -0.055816, -0.053289, -0.054510, -0.053205, -0.048240, -0.045800, -0.038257, -0.030738, -0.023238, -0.018342, -0.018254, -0.014609, -0.009643, -0.005924, -0.005924, -0.008404, -0.015851, -0.019498, -0.018254, -0.028234, -0.028234, -0.030738, -0.033198, -0.038257, -0.038257, -0.045716, -0.053289, -0.045716, -0.067144 #*# -0.054552, -0.058349, -0.063332, -0.055816, -0.055731, -0.055816, -0.045716, -0.040683, -0.033157, -0.025737, -0.020742, -0.018254, -0.010795, -0.003447, 0.003873, 0.002684, -0.000977, -0.010795, -0.018254, -0.018342, -0.015763, -0.025737, -0.030738, -0.033157, -0.034409, -0.038173, -0.043201, -0.050760, -0.050760, -0.058350 #*# -0.060797, -0.053289, -0.050760, -0.050719, -0.050760, -0.048240, -0.040683, -0.033240, -0.026986, -0.020742, -0.013368, -0.008404, -0.003490, 0.006340, 0.016172, 0.013720, 0.006427, -0.004685, -0.008358, -0.005924, -0.015851, -0.015763, -0.020742, -0.025737, -0.028234, -0.033240, -0.043201, -0.045762, -0.038257, -0.053246 #*# -0.072235, -0.050760, -0.050760, -0.049500, -0.053289, -0.053205, -0.040772, -0.035750, -0.028234, -0.020830, -0.020742, -0.013280, -0.005924, 0.006340, 0.016085, 0.016172, 0.008799, -0.002212, -0.010882, -0.008404, -0.005924, -0.015763, -0.020742, -0.023238, -0.030738, -0.035750, -0.035750, -0.044459, -0.051983, -0.058350 #*# -0.073512, -0.068414, -0.060882, -0.057041, -0.060797, -0.060882, -0.053289, -0.044501, -0.035661, -0.030738, -0.023238, -0.025737, -0.013368, -0.002212, 0.008799, 0.011261, 0.001495, -0.018298, -0.019542, -0.018342, -0.018342, -0.020830, -0.030737, -0.040772, -0.045716, -0.045716, -0.050760, -0.062065, -0.060797, -0.054552 #*# -0.087489, -0.068414, -0.073508, -0.069688, -0.067144, -0.068414, -0.058266, -0.053205, -0.043243, -0.035661, -0.030738, -0.023238, -0.018342, -0.009643, 0.003965, 0.003873, -0.000977, -0.014609, -0.023238, -0.023238, -0.023327, -0.035750, -0.039470, -0.040728, -0.048240, -0.050760, -0.053289, -0.063378, -0.069688, -0.073512 #*# -0.072193, -0.068414, -0.065874, -0.064603, -0.060797, -0.055816, -0.050760, -0.040728, -0.035707, -0.025737, -0.018342, -0.018254, -0.007252, 0.000259, 0.011261, 0.013720, 0.003965, -0.007164, -0.012125, -0.018254, -0.023238, -0.028234, -0.030738, -0.035750, -0.040772, -0.043285, -0.045800, -0.057043, -0.053289, -0.050733 #*# -0.069646, -0.053289, -0.055731, -0.052025, -0.049500, -0.048240, -0.038173, -0.030738, -0.023238, -0.018342, -0.010882, -0.010795, -0.001064, 0.011261, 0.025876, 0.023435, 0.016085, 0.003873, -0.002255, -0.001064, -0.008404, -0.020742, -0.021990, -0.024488, -0.028234, -0.033240, -0.035750, -0.041942, -0.045716, -0.053288 #*# -0.067144, -0.060797, -0.058350, -0.055816, -0.058266, -0.050760, -0.040683, -0.036917, -0.027027, -0.018254, -0.015851, -0.013280, -0.008358, 0.001408, 0.011261, 0.016172, 0.006340, 0.000259, -0.007164, -0.010882, -0.013368, -0.020830, -0.025737, -0.028234, -0.035661, -0.038257, -0.040683, -0.049500, -0.050760, -0.043200 #*# -0.060799, -0.035661, -0.040683, -0.043200, -0.040683, -0.038257, -0.023238, -0.015851, -0.008404, -0.008403, -0.003447, -0.000977, 0.003873, 0.017353, 0.023435, 0.023521, 0.020986, 0.016172, 0.011260, 0.016085, 0.008799, -0.005924, -0.007164, -0.010882, -0.013280, -0.013368, -0.020742, -0.030738, -0.037003, -0.045762 #*# -0.045716, -0.033157, -0.028234, -0.030738, -0.035750, -0.026986, -0.018342, -0.008404, -0.003447, 0.003919, 0.000259, 0.003873, 0.011261, 0.018534, 0.030757, 0.030757, 0.021077, 0.018626, 0.016172, 0.016172, 0.013720, 0.003873, -0.008404, -0.008404, -0.007164, -0.010882, -0.015763, -0.028234, -0.030738, -0.040683 #*# -0.040729, -0.043201, -0.045716, -0.040728, -0.036917, -0.035750, -0.023238, -0.018342, -0.013368, -0.005924, 0.001408, -0.003447, 0.001495, 0.012491, 0.016172, 0.018626, 0.018626, 0.013720, 0.010074, 0.011261, 0.003873, -0.003534, -0.005924, -0.012081, -0.013368, -0.018254, -0.023238, -0.029486, -0.033157, -0.041987 #*# -0.048240, -0.038257, -0.033240, -0.035750, -0.031947, -0.024532, -0.015851, -0.008404, -0.000977, 0.002641, 0.002687, 0.006340, 0.016172, 0.023435, 0.033194, 0.028319, 0.016172, 0.018626, 0.018626, 0.018626, 0.016172, 0.003965, -0.003447, -0.008404, -0.008404, -0.010882, -0.015851, -0.025737, -0.028234, -0.040683 #*# -0.034498, -0.035750, -0.038257, -0.033240, -0.028234, -0.023238, -0.008492, -0.005924, -0.002212, 0.003874, 0.008799, 0.011261, 0.016172, 0.030711, 0.027098, 0.025876, 0.030760, 0.023435, 0.022299, 0.025967, 0.016172, 0.006427, 0.003873, -0.003447, -0.005924, -0.008404, -0.013368, -0.018254, -0.026986, -0.035750 #*# -0.030738, -0.025737, -0.018342, -0.018342, -0.018298, -0.008404, 0.001495, 0.011261, 0.018626, 0.020986, 0.022205, 0.028319, 0.035630, 0.042917, 0.050090, 0.045252, 0.035630, 0.040494, 0.040494, 0.040446, 0.034412, 0.025876, 0.016085, 0.011261, 0.011261, 0.011261, 0.001408, -0.010882, -0.013368, -0.020830 #*# min_x = 30.0 #*# min_y = 30.0 #*# max_x = 270.0 #*# max_y = 270.0 #*# x_count = 30 #*# y_count = 30 #*# mesh_x_pps = 0 #*# mesh_y_pps = 0 #*# algo = bicubic #*# tension = 0.2 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 56.811 #*# pid_ki = 2.015 #*# pid_kd = 400.520 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.008760, 0.024386, 0.038085, 0.046254, 0.054428, 0.059788, 0.067916, 0.077332, 0.086706, 0.092066, 0.097415, 0.102679, 0.111994, 0.114608, 0.118622, 0.121196, 0.113321, 0.111994, 0.110666, 0.105343, 0.100084, 0.094742, 0.086706, 0.078715, 0.076021, 0.073319, 0.065210, 0.057109, 0.043523, 0.027071 #*# 0.027139, 0.038051, 0.048981, 0.053067, 0.058467, 0.062500, 0.073319, 0.081333, 0.089388, 0.094742, 0.102756, 0.105343, 0.110666, 0.115934, 0.121267, 0.115973, 0.115973, 0.113321, 0.110666, 0.108003, 0.105343, 0.097342, 0.086706, 0.084021, 0.081333, 0.075949, 0.076021, 0.067916, 0.059788, 0.051669 #*# 0.047648, 0.054428, 0.065283, 0.073319, 0.075949, 0.081370, 0.084021, 0.092066, 0.100012, 0.106673, 0.110628, 0.115896, 0.121267, 0.123839, 0.125194, 0.127835, 0.126555, 0.118622, 0.115973, 0.111994, 0.108003, 0.105420, 0.100012, 0.089388, 0.081406, 0.078679, 0.076021, 0.078643, 0.067916, 0.057073 #*# 0.051706, 0.055750, 0.062500, 0.067916, 0.073252, 0.078715, 0.077368, 0.082714, 0.089388, 0.097415, 0.105343, 0.108003, 0.108003, 0.110666, 0.115973, 0.113321, 0.113321, 0.113321, 0.102679, 0.094742, 0.093332, 0.093404, 0.086706, 0.078715, 0.070619, 0.065208, 0.066563, 0.062500, 0.051706, 0.043523 #*# 0.029889, 0.032567, 0.042156, 0.046254, 0.046254, 0.051706, 0.057073, 0.063855, 0.070552, 0.073319, 0.078715, 0.084021, 0.086706, 0.091994, 0.094742, 0.092066, 0.090727, 0.086706, 0.078643, 0.078715, 0.075949, 0.065246, 0.062499, 0.057073, 0.051706, 0.048981, 0.043523, 0.036749, 0.032636, 0.024386 #*# 0.033973, 0.040789, 0.043523, 0.043523, 0.043523, 0.048981, 0.057073, 0.062500, 0.070619, 0.074670, 0.073319, 0.078643, 0.086706, 0.092066, 0.094742, 0.086706, 0.084021, 0.086706, 0.082714, 0.078679, 0.073319, 0.067916, 0.059788, 0.059861, 0.057146, 0.051706, 0.046254, 0.035379, 0.029853, 0.021630 #*# 0.024386, 0.027139, 0.032567, 0.035311, 0.035345, 0.040789, 0.046254, 0.051706, 0.057146, 0.061144, 0.062574, 0.070552, 0.070619, 0.074634, 0.077332, 0.073252, 0.073252, 0.067916, 0.062500, 0.063892, 0.057073, 0.046254, 0.043591, 0.040789, 0.032602, 0.029889, 0.027139, 0.018940, 0.011996, 0.002323 #*# 0.005095, 0.010643, 0.013380, 0.013412, 0.016177, 0.021630, 0.027139, 0.035345, 0.040857, 0.046254, 0.048981, 0.048981, 0.054428, 0.057073, 0.059788, 0.057146, 0.054428, 0.051668, 0.048981, 0.043523, 0.038051, 0.038120, 0.029855, 0.024386, 0.021630, 0.016108, 0.011996, 0.005095, -0.005969, -0.017148 #*# 0.005065, 0.007869, 0.017524, 0.024386, 0.024386, 0.029889, 0.029889, 0.038120, 0.048981, 0.057146, 0.059861, 0.057108, 0.054354, 0.059861, 0.067916, 0.065210, 0.065210, 0.057073, 0.046254, 0.048981, 0.051632, 0.046254, 0.038051, 0.027139, 0.018940, 0.020251, 0.023008, 0.016108, 0.002323, -0.008824 #*# -0.008792, -0.006032, -0.000459, 0.002323, 0.007871, 0.010579, 0.016108, 0.021630, 0.029889, 0.040789, 0.043523, 0.043523, 0.040857, 0.040789, 0.043521, 0.047617, 0.043523, 0.038051, 0.032567, 0.029855, 0.028480, 0.024386, 0.016177, 0.007807, 0.005030, 0.002323, 0.002323, -0.003180, -0.019952, -0.029789 #*# -0.024166, -0.025571, -0.017148, -0.012951, -0.011555, -0.006032, -0.000459, 0.007807, 0.017490, 0.021630, 0.024386, 0.027139, 0.027139, 0.028514, 0.029889, 0.027139, 0.027139, 0.027139, 0.020285, 0.016108, 0.013348, 0.010579, 0.003709, -0.001820, -0.011555, -0.011555, -0.014347, -0.019952, -0.028321, -0.036778 #*# -0.028380, -0.028380, -0.025571, -0.022760, -0.022760, -0.014411, -0.008760, -0.001820, 0.006483, 0.010643, 0.010643, 0.016108, 0.018871, 0.021629, 0.018871, 0.018871, 0.018871, 0.017490, 0.010611, 0.005095, 0.005095, -0.003180, -0.007396, -0.014347, -0.017148, -0.019952, -0.019952, -0.031138, -0.045265, -0.053723 #*# -0.039606, -0.043851, -0.036778, -0.031198, -0.028380, -0.026943, -0.018550, -0.011555, -0.003180, -0.000459, 0.002323, 0.007871, 0.010643, 0.013412, 0.013348, 0.013348, 0.013412, 0.013348, 0.010643, 0.002323, -0.003244, -0.003180, -0.008824, -0.014347, -0.019952, -0.022728, -0.025571, -0.031139, -0.039606, -0.048103 #*# -0.031168, -0.026914, -0.017148, -0.014347, -0.014347, -0.014347, -0.007396, -0.000459, 0.013348, 0.018871, 0.017490, 0.017559, 0.018871, 0.024386, 0.029889, 0.029855, 0.027139, 0.024386, 0.013412, 0.007871, 0.017490, 0.010579, 0.005095, -0.005969, -0.011555, -0.010157, -0.006032, -0.017148, -0.028380, -0.045265 #*# -0.048044, -0.062276, -0.035398, -0.029789, -0.033954, -0.033954, -0.025571, -0.019952, -0.011555, -0.008760, -0.003180, -0.005969, 0.000964, 0.007871, 0.005095, 0.007871, 0.005095, 0.000932, -0.003244, -0.006032, -0.014347, -0.014347, -0.017148, -0.031198, -0.028380, -0.033954, -0.036843, -0.046684, -0.053723, -0.062276 #*# -0.062276, -0.059421, -0.056570, -0.056600, -0.053788, -0.050884, -0.045265, -0.039606, -0.031168, -0.025571, -0.025507, -0.017212, -0.014347, -0.011587, -0.004606, -0.008760, -0.011555, -0.008760, -0.022728, -0.028321, -0.025507, -0.033954, -0.036778, -0.041021, -0.045265, -0.053788, -0.053788, -0.062274, -0.070852, -0.079401 #*# -0.069421, -0.067988, -0.067988, -0.059421, -0.059421, -0.058055, -0.050943, -0.042437, -0.039606, -0.031168, -0.024134, -0.022696, -0.014347, -0.003244, -0.004606, -0.001852, -0.003180, -0.011555, -0.017148, -0.022760, -0.029789, -0.034019, -0.033954, -0.045265, -0.045206, -0.050943, -0.059421, -0.062276, -0.067988, -0.075121 #*# -0.066528, -0.062276, -0.058025, -0.056629, -0.053788, -0.048103, -0.046684, -0.041051, -0.028321, -0.025571, -0.022760, -0.011619, -0.008824, 0.002323, 0.013412, 0.007871, 0.003709, 0.002323, -0.011555, -0.019952, -0.019952, -0.028380, -0.028380, -0.033954, -0.042437, -0.050884, -0.050943, -0.059481, -0.065127, -0.072284 #*# -0.070823, -0.073715, -0.062276, -0.062276, -0.059481, -0.056570, -0.050943, -0.042437, -0.033954, -0.028321, -0.022760, -0.019952, -0.008792, 0.005095, 0.007871, 0.010579, 0.002323, -0.008792, -0.011555, -0.014347, -0.019952, -0.028321, -0.033986, -0.039606, -0.042437, -0.048044, -0.055146, -0.062276, -0.067929, -0.076526 #*# -0.082279, -0.076526, -0.073661, -0.067988, -0.067988, -0.066558, -0.062276, -0.053723, -0.042437, -0.038192, -0.033954, -0.031198, -0.025571, -0.011555, 0.005095, -0.003180, -0.011619, -0.019888, -0.026914, -0.031198, -0.033954, -0.039606, -0.045265, -0.052304, -0.059453, -0.062276, -0.065127, -0.070853, -0.085195, -0.095205 #*# -0.093814, -0.096710, -0.085155, -0.082279, -0.082279, -0.076526, -0.067988, -0.062276, -0.056570, -0.046654, -0.042437, -0.036778, -0.031139, -0.019952, -0.014347, -0.011555, -0.019952, -0.031139, -0.035398, -0.038192, -0.039665, -0.053723, -0.056629, -0.062276, -0.066528, -0.070853, -0.076526, -0.079401, -0.085155, -0.092344 #*# -0.082279, -0.082279, -0.082279, -0.079461, -0.070853, -0.067988, -0.062276, -0.053755, -0.045265, -0.039606, -0.031139, -0.029789, -0.022760, -0.011619, -0.003244, -0.006032, -0.012951, -0.019954, -0.022760, -0.028321, -0.042437, -0.042437, -0.048073, -0.050884, -0.059421, -0.062276, -0.065127, -0.062335, -0.082279, -0.090868 #*# -0.077994, -0.075157, -0.072284, -0.065127, -0.067929, -0.059421, -0.053755, -0.045265, -0.036778, -0.031198, -0.025507, -0.021356, -0.014347, -0.006032, 0.005095, 0.002323, -0.003244, -0.011619, -0.014411, -0.019952, -0.024134, -0.035402, -0.042437, -0.045265, -0.048103, -0.055176, -0.057996, -0.062335, -0.070793, -0.076586 #*# -0.082279, -0.079401, -0.076526, -0.073661, -0.069421, -0.065127, -0.056570, -0.048103, -0.039665, -0.033986, -0.028321, -0.028380, -0.019952, -0.011555, -0.004574, -0.006032, -0.011555, -0.019952, -0.017148, -0.024166, -0.033986, -0.036778, -0.045265, -0.048103, -0.053757, -0.056570, -0.059481, -0.067988, -0.082279, -0.088012 #*# -0.073715, -0.067988, -0.062276, -0.060878, -0.062276, -0.053788, -0.042437, -0.031198, -0.025539, -0.024166, -0.025507, -0.017148, -0.005969, 0.000932, 0.010579, 0.002323, 0.002323, -0.003244, -0.003244, -0.003244, -0.008824, -0.022760, -0.031198, -0.031167, -0.033954, -0.039606, -0.042437, -0.055179, -0.062276, -0.067988 #*# -0.062276, -0.056570, -0.048103, -0.049493, -0.050884, -0.048044, -0.039606, -0.024166, -0.017180, -0.014411, -0.014411, -0.014347, -0.000461, 0.009225, 0.010643, 0.013348, 0.005032, 0.000964, 0.000932, 0.002323, -0.003244, -0.011555, -0.022760, -0.028380, -0.031198, -0.031139, -0.036778, -0.049493, -0.062276, -0.066558 #*# -0.076556, -0.073695, -0.065127, -0.059421, -0.059421, -0.050945, -0.042437, -0.036778, -0.028380, -0.025571, -0.022760, -0.015779, -0.011555, -0.006032, 0.002323, -0.000459, -0.000461, -0.003244, -0.006032, -0.011555, -0.011619, -0.019952, -0.025571, -0.031139, -0.039606, -0.046684, -0.045265, -0.050943, -0.059421, -0.067988 #*# -0.070793, -0.065127, -0.056570, -0.056570, -0.053723, -0.048073, -0.039606, -0.025507, -0.019952, -0.019952, -0.018582, -0.015747, -0.003244, 0.007871, 0.005095, 0.007871, 0.000929, -0.003244, -0.000459, -0.003180, -0.006000, -0.011619, -0.022760, -0.031198, -0.031139, -0.032579, -0.045206, -0.053723, -0.059421, -0.069391 #*# -0.070853, -0.067988, -0.059421, -0.056570, -0.053723, -0.045265, -0.033954, -0.025571, -0.017148, -0.019952, -0.017148, -0.006032, 0.002286, 0.007871, 0.007871, 0.005095, 0.002323, 0.005095, 0.003709, -0.000459, -0.003244, -0.011555, -0.017148, -0.022760, -0.031198, -0.036843, -0.036843, -0.045265, -0.053788, -0.065127 #*# -0.059421, -0.050943, -0.042437, -0.043851, -0.042437, -0.034019, -0.019952, -0.005969, -0.001820, -0.003212, -0.000459, 0.002386, 0.018871, 0.024386, 0.024386, 0.021630, 0.018871, 0.018871, 0.016108, 0.016108, 0.013348, 0.002323, -0.006032, -0.014347, -0.011619, -0.014411, -0.022760, -0.033954, -0.042404, -0.052336 #*# min_x = 30.0 #*# min_y = 30.0 #*# max_x = 270.0 #*# max_y = 270.0 #*# x_count = 30 #*# y_count = 30 #*# mesh_x_pps = 0 #*# mesh_y_pps = 0 #*# algo = bicubic #*# tension = 0.2