Skip to content

Commit

Permalink
Add v-core-3 hybrid template
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Jan 4, 2024
1 parent 37a8fa4 commit c450c08
Show file tree
Hide file tree
Showing 8 changed files with 367 additions and 0 deletions.
40 changes: 40 additions & 0 deletions printers/v-core-3-hybrid/200.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

[stepper_x]
position_max: 200
position_endstop: 0

[stepper_y]
position_max: 200
position_endstop: 200

[stepper_z]
position_max: 200

[bed_mesh]
horizontal_move_z: 5
mesh_min: 20,20
mesh_max:165,160
probe_count: 7,7
fade_start: 1.0
fade_end: 10.0
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: .2

[z_tilt]
z_positions:
0,0
100,200
200,0

points:
60,60
135,170
190,60

horizontal_move_z: 20
retries: 10
retry_tolerance: 0.02
40 changes: 40 additions & 0 deletions printers/v-core-3-hybrid/300.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

[stepper_x]
position_max: 300
position_endstop: 0

[stepper_y]
position_max: 300
position_endstop: 300

[stepper_z]
position_max: 300

[bed_mesh]
horizontal_move_z: 5
mesh_min: 20,20
mesh_max:265,260
probe_count: 7,7
fade_start: 1.0
fade_end: 10.0
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: .2

[z_tilt]
z_positions:
0,0
150,300
300,0

points:
60,60
185,270
260,60

horizontal_move_z: 20
retries: 10
retry_tolerance: 0.02
40 changes: 40 additions & 0 deletions printers/v-core-3-hybrid/400.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

[stepper_x]
position_max: 400
position_endstop: 0

[stepper_y]
position_max: 400
position_endstop: 400

[stepper_z]
position_max: 400

[bed_mesh]
horizontal_move_z: 5
mesh_min: 20,20
mesh_max:365,360
probe_count: 7,7
fade_start: 1.0
fade_end: 10.0
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: .2

[z_tilt]
z_positions:
0,0
200,400
400,0

points:
60,60
235,370
360,60

horizontal_move_z: 20
retries: 10
retry_tolerance: 0.02
40 changes: 40 additions & 0 deletions printers/v-core-3-hybrid/500.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

[stepper_x]
position_max: 500
position_endstop: 0

[stepper_y]
position_max: 500
position_endstop: 500

[stepper_z]
position_max: 500

[bed_mesh]
horizontal_move_z: 5
mesh_min: 20,20
mesh_max:465,460
probe_count: 7,7
fade_start: 1.0
fade_end: 10.0
mesh_pps: 2,2
algorithm: bicubic
bicubic_tension: .2

[z_tilt]
z_positions:
0,0
250,500
500,0

points:
60,60
285,470
460,60

horizontal_move_z: 20
retries: 10
retry_tolerance: 0.02
39 changes: 39 additions & 0 deletions printers/v-core-3-hybrid/macros.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

# Print macros. Call these from your slicer (custom g-code).
# You can copy these to printer.cfg and modify them to your liking, or just use them as is.
# Read more here: https://rat-rig.github.io/V-CoreOS/#/slicers
[gcode_macro _START_PRINT_AFTER_HEATING_BED]
gcode:
{% if printer["gcode_macro RatOS"].preheat_extruder|lower == 'true' %}
{% set min_temp = printer["gcode_macro RatOS"].preheat_extruder_temp|float %}
{% set max_temp = printer["gcode_macro RatOS"].preheat_extruder_temp|float + 5 %}
M117 Pre-heating extruder...
RESPOND MSG="Pre-heating extruder..."
# Wait for extruder to reach a predefined preheat temp so an inductive probe (if present) is at a predictable temp.
# Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle.
M104 S{min_temp}
TEMPERATURE_WAIT SENSOR=extruder MINIMUM={min_temp} MAXIMUM={max_temp}
{% endif %}
M117 Adjusting Z tilt...
RESPOND MSG="Adjusting Z tilt..."
# Adjust bed tilt
Z_TILT_ADJUST
M117 Rehoming Z after Z tilt adjustment...
RESPOND MSG="Rehoming Z after Z tilt adjustment..."
# Home again as Z will have changed after tilt adjustment and bed heating.
G28 Z

# Macro to perform a modified z_tilt supporting stowable probes
[gcode_macro Z_TILT_ADJUST]
rename_existing: Z_TILT_ADJUST_ORIG
gcode:
{% if printer["gcode_macro RatOS"].z_probe == 'stowable' %}
DEPLOY_PROBE
{% endif %}
Z_TILT_ADJUST_ORIG
{% if printer["gcode_macro RatOS"].z_probe == 'stowable' %}
STOW_PROBE
{% endif %}
134 changes: 134 additions & 0 deletions printers/v-core-3-hybrid/printer-definition.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,134 @@
{
"$schema": "../printer-definition.schema.json",
"name": "V-Core 3 IDEX",
"description": "IDEX version of Rat Rig's current flagship CoreXY printer which comes in 4 sizes",
"manufacturer": "Rat Rig",
"documentationLink": "https://os.ratrig.com/docs/printers/v-core-3-idex",
"image": "rat-rig-v-core-3-idex.jpg",
"template": "v-core-3-hybrid-printer.template.cfg",
"driverCountRequired": 9,
"sizes": [200, 300, 400, 500],
"speedLimits": {
"basic": {
"accel": 3000,
"velocity": 300,
"z_accel": 15,
"z_velocity": 30
},
"performance": {
"accel": 10000,
"velocity": 800,
"z_accel": 150,
"z_velocity": 20
}
},
"defaults": {
"board": "btt-octopus-11",
"toolheads": [
{
"axis": "x",
"description": "The left toolhead",
"extruder": "lgx-lite",
"toolboard": "btt-ebb42-12",
"hotend": "rapido",
"partFan": "4pin-toolboard",
"hotendFan": "2pin-toolboard",
"probe": "superpinda",
"xEndstop": "endstop-toolboard",
"yEndstop": "endstop"
}
],
"rails": [
{
"axis": "x",
"axisDescription": "The A axis motor for the toolhead, located at the rear left of the printer",
"current": 1.1,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-42STH48-2504AC",
"rotationDistance": 40,
"homingSpeed": 50,
"performanceMode": {
"current": 1.6
}
},
{
"axis": "x1",
"axisDescription": "The B axis motor for the toolhead, located at the rear right of the printer",
"current": 1.1,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-42STH48-2504AC",
"rotationDistance": 40,
"homingSpeed": 50,
"performanceMode": {
"current": 1.6
}
},
{
"axis": "y",
"axisDescription": "The left Y motor used for cartesian Y control in Hybrid CoreXY, located at the rear left of the printer",
"current": 1.1,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-42STH48-2504AC",
"rotationDistance": 40,
"homingSpeed": 50,
"performanceMode": {
"current": 1.6
}
},
{
"axis": "y1",
"axisDescription": "The right Y motor used for cartesian Y control in Hybrid CoreXY, located at the rear right of the printer",
"current": 1.1,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-42STH48-2504AC",
"rotationDistance": 40,
"homingSpeed": 50,
"performanceMode": {
"current": 1.6
}
},
{
"axis": "z",
"axisDescription": "The left Z motor for the kinematic bed",
"current": 1.1,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-42STH48-2504AC",
"rotationDistance": 4,
"homingSpeed": 10,
"performanceMode": {
"current": 1.6
}
},
{
"axis": "z1",
"axisDescription": "The rear Z motor for the kinematic bed",
"current": 1.1,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-42STH48-2504AC",
"rotationDistance": 4,
"performanceMode": {
"current": 1.6
}
},
{
"axis": "z2",
"axisDescription": "The right Z motor for the kinematic bed",
"current": 1.1,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-42STH48-2504AC",
"rotationDistance": 4,
"performanceMode": {
"current": 1.6
}
},
{
"axis": "extruder",
"axisDescription": "The extruder motor used on the right toolhead",
"rotationDistance": 0,
"current": 0.707,
"driver": "BTT-TMC2209-13",
"stepper": "LDO-36STH20-1004AHG"
}
]
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
34 changes: 34 additions & 0 deletions printers/v-core-3-hybrid/v-core-3.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# WARNING. DO NOT EDIT THIS FILE.
# To override settings from this file, you can copy and paste the relevant
# sections into your printer.cfg and change it there.

[include ../base.cfg]

[heater_bed]
heater_pin: heater_bed_heating_pin
sensor_pin: heater_bed_sensor_pin
sensor_type: Generic 3950
min_temp: 0
max_temp: 120
pwm_cycle_time: 0.02 # 50hz for european AC, to avoid flickering lights.

[fan]
pin: fan_part_cooling_pin
shutdown_speed: 1.0

[heater_fan toolhead_cooling_fan]
pin: fan_toolhead_cooling_pin
fan_speed: 1

[controller_fan controller_fan]
pin: fan_controller_board_pin

# These are only safeguards for first time users
# Modify printer.cfg to tune acceleration.
[printer]
kinematics: corexy
max_velocity: 300
max_accel: 1500
max_accel_to_decel: 750
max_z_velocity: 15
max_z_accel: 20

0 comments on commit c450c08

Please sign in to comment.