Skip to content

Commit dc8d519

Browse files
authored
Merge pull request #249 from BoboTiG/feat-dev-sculpfun-c1
feat(device): add Sculpfun C1 engraver
2 parents bc52052 + 87d4a39 commit dc8d519

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
api_version: 1
2+
device:
3+
name: Sculpfun C1
4+
description: Budget diode laser engraver with 150x130mm work area
5+
machine:
6+
driver: GrblSerialDriver
7+
gcode_precision: 3
8+
axis_extents:
9+
- 150.0
10+
- 130.0
11+
origin: bottom_left
12+
max_travel_speed: 10000
13+
max_cut_speed: 10000
14+
heads:
15+
- max_power: 1000
16+
frame_power_percent: 0.25
17+
focus_power_percent: 0.25
18+
spot_size_mm:
19+
- 0.04
20+
- 0.04
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
laser_on: M4 S{power:.0f}
2+
laser_off: M5
3+
focus_laser_on: M3 S{power:.0f}
4+
tool_change: T{tool_number}
5+
set_speed: ''
6+
travel_move: G0{x_cmd}{y_cmd}{z_cmd}{extra_cmd}
7+
linear_move: G1{x_cmd}{y_cmd}{z_cmd}{extra_cmd}{f_command}
8+
arc_cw: G2{x_cmd}{y_cmd}{z_cmd}{extra_cmd} I{i} J{j}{f_command}
9+
arc_ccw: G3{x_cmd}{y_cmd}{z_cmd}{extra_cmd} I{i} J{j}{f_command}
10+
bezier_cubic: ''
11+
air_assist_on: M8
12+
air_assist_off: M9
13+
home_all: $H
14+
home_axis: $H{axis_letter}
15+
move_to: $J=G90 G21 F{speed} X{x} Y{y}
16+
jog: $J=G91 G21 F{speed}
17+
clear_alarm: $X
18+
set_wcs_offset: G10 L2 P{p_num} X{x} Y{y} Z{z}
19+
probe_cycle: G38.2 {axis_letter}{max_travel} F{feed_rate}
20+
dwell: G4 P{seconds:.3f}
21+
preamble:
22+
- G21 ;Set units to mm
23+
- G90 ;Absolute positioning
24+
postscript:
25+
- M5 ;Ensure laser is off
26+
- G0 X0 Y0 ;Return to origin
27+
inject_wcs_after_preamble: true
28+
can_g0_with_speed: false
29+
omit_unchanged_coords: true
30+
continuous_laser_mode: false
31+
modal_feedrate: false

0 commit comments

Comments
 (0)