Skip to content

Commit bfdc84a

Browse files
HellEvrocursoragent
andcommitted
Профили Creator 3 Pro: start/pause владельца, end-заглушка.
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 8c632c2 commit bfdc84a

12 files changed

Lines changed: 75 additions & 155 deletions

File tree

‎README.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,19 @@ The converter does **not** insert T0/T1 — toolchange comes from the Orca profi
181181

182182
## Optional: Creator 3 Pro machine G-code
183183

184-
Under [`gcode/creator3pro/`](gcode/creator3pro/) there are **optional** start / end / toolchange templates for Flashforge Creator 3 Pro.
184+
Under [`profiles/creator3pro/`](profiles/creator3pro/) there are **optional** Orca machine G-code snippets for Flashforge Creator 3 Pro:
185+
186+
| File | Use in Orca |
187+
|------|-------------|
188+
| [`machine_start.gcode`](profiles/creator3pro/machine_start.gcode) | Machine start |
189+
| [`machine_end.gcode`](profiles/creator3pro/machine_end.gcode) | Machine end (**placeholder** — owner’s end paste matched start; review / replace) |
190+
| [`machine_pause.gcode`](profiles/creator3pro/machine_pause.gcode) | Print pause (`; pause print` + `M2000`) |
185191

186192
- Not official Flashforge; not endorsed by the manufacturer.
187-
- Community-inspired starting points — **adapt** for your firmware and Orca placeholders.
193+
- Start and pause come from the printer owner; adapt placeholders if your Orca version differs.
188194
- Machine G-code does **not** replace this converter: you still need the post-processing script for the `.gx` header + thumbnail.
189195

190-
See [`gcode/creator3pro/README.md`](gcode/creator3pro/README.md).
196+
See [`profiles/creator3pro/README.md`](profiles/creator3pro/README.md).
191197

192198
## Tests
193199

‎README.ru.md‎

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -181,13 +181,19 @@ python scripts/calibrate_header.py /path/to/our.gx /path/to/flashprint_sample.gx
181181

182182
## Опционально: machine G-code для Creator 3 Pro
183183

184-
В [`gcode/creator3pro/`](gcode/creator3pro/) лежат **опциональные** шаблоны start / end / toolchange для Flashforge Creator 3 Pro.
184+
В [`profiles/creator3pro/`](profiles/creator3pro/) — **опциональные** сниппеты machine G-code Orca для Flashforge Creator 3 Pro:
185+
186+
| Файл | Поле в Orca |
187+
|------|-------------|
188+
| [`machine_start.gcode`](profiles/creator3pro/machine_start.gcode) | Стартовый G-код |
189+
| [`machine_end.gcode`](profiles/creator3pro/machine_end.gcode) | Завершающий G-код (**заглушка** — вставка «end» совпала со start; проверьте / замените) |
190+
| [`machine_pause.gcode`](profiles/creator3pro/machine_pause.gcode) | G-код паузы печати (`; pause print` + `M2000`) |
185191

186192
- Не официальные материалы Flashforge; без endorsement производителя.
187-
- Community-шаблоны — **адаптируйте** под прошивку и плейсхолдеры Orca.
193+
- Start и pause — от владельца принтера; при другой версии Orca проверьте плейсхолдеры.
188194
- Machine G-code **не** заменяет конвертер: post-processing script для шапки `.gx` + эскиза всё равно нужен.
189195

190-
См. [`gcode/creator3pro/README.md`](gcode/creator3pro/README.md).
196+
См. [`profiles/creator3pro/README.md`](profiles/creator3pro/README.md).
191197

192198
## Тесты
193199

‎docs/AGENT_HANDOFF.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Post-process для Orca: G-code → Flashforge `.gx` (шапка + BMP 80×60).
2626
|--------|-----|
2727
| Done | профили `src/gcode_to_gx/printers/`; CLI `--printer` / `GCODE_TO_GX_PRINTER`; auto-detect |
2828
| Done | README EN + `README.ru.md` (language switch); CI `build-binaries.yml` |
29-
| Done | опц. шаблоны `gcode/creator3pro/` (start/end/toolchange; не official FF) |
29+
| Done | опц. Orca G-code `profiles/creator3pro/` (start владельца, pause M2000, end-заглушка) |
3030
| Done | local Windows `dist/gcode_to_gx.exe`; Mac/Linux — через CI (`macos-arm64`) |
3131
| Open | проверка на железе; эталон FlashPrint |
3232
| Note | Cursor `GITHUB_TOKEN` без createRepo; push через git-credential |
@@ -50,7 +50,7 @@ Post-process для Orca: G-code → Flashforge `.gx` (шапка + BMP 80×60).
5050
|------|-----|
5151
| Ядро | `src/gcode_to_gx/` |
5252
| Профили | `src/gcode_to_gx/printers/` |
53-
| Опц. G-code | `gcode/creator3pro/` |
53+
| Опц. G-code | `profiles/creator3pro/` |
5454
| Сборка | `scripts/build_exe.py` |
5555
| CI | `.github/workflows/build-binaries.yml` |
5656
| Калибровка | `scripts/calibrate_header.py` |
@@ -63,7 +63,7 @@ Post-process для Orca: G-code → Flashforge `.gx` (шапка + BMP 80×60).
6363
- Не вставлять T0/T1 в конвертере — профиль Orca.
6464
- Orca путь — последний argv; флаги до пути.
6565
- PyInstaller не кросс-компилирует; Mac/Linux из CI.
66-
- Machine G-code ≠ `.gx` header; шаблоны C3Pro — optional, adapt firmware.
66+
- Machine G-code ≠ `.gx` header; C3Pro end — placeholder until owner supplies real end.
6767

6868
---
6969

‎docs/DEVLOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
## 2026-09-25
66

77
- Docs: `README.md` (EN) + `README.ru.md` (RU), language switch; generic paths.
8-
- Опц. шаблоны machine G-code: `gcode/creator3pro/` (start/end/toolchange; community-inspired, не official FF).
8+
- Опц. Orca G-code владельца: `profiles/creator3pro/` (start, pause `M2000`, end-заглушка; удалён выдуманный `gcode/`).
99
- Профили принтеров (`adventurer3/4/5m`, `creator3pro`, `generic_single/dual`); CLI `--printer` / env `GCODE_TO_GX_PRINTER`; auto-detect.
1010
- CI `build-binaries.yml` (win / macos-arm64 / linux); 11 pytest OK; Windows exe локально.
1111

‎gcode/creator3pro/README.md‎

Lines changed: 0 additions & 37 deletions
This file was deleted.

‎gcode/creator3pro/end.gcode‎

Lines changed: 0 additions & 16 deletions
This file was deleted.

‎gcode/creator3pro/start.gcode‎

Lines changed: 0 additions & 59 deletions
This file was deleted.

‎gcode/creator3pro/toolchange.gcode‎

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎profiles/creator3pro/README.md‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Optional Orca machine G-code — Flashforge Creator 3 Pro
2+
3+
**Optional.** Paste into Orca printer custom G-code fields. Not official Flashforge
4+
firmware or documentation; not endorsed by Flashforge. Adapt placeholders to your
5+
Orca version and firmware.
6+
7+
These files do **not** replace the G-code→`.gx` post-processing converter in this repo.
8+
You still need the binary / script in **Post-processing scripts**.
9+
10+
## Files
11+
12+
| File | Orca field (RU UI ≈) |
13+
|------|----------------------|
14+
| [`machine_start.gcode`](machine_start.gcode) | Machine start G-code / стартовый G-код |
15+
| [`machine_end.gcode`](machine_end.gcode) | Machine end G-code / завершающий G-код |
16+
| [`machine_pause.gcode`](machine_pause.gcode) | Print pause G-code / G-код паузы печати |
17+
18+
## Notes
19+
20+
- **Start** — provided by the printer owner (Creator 3 Pro); use as-is in Orca, then tune.
21+
- **End** — owner’s “end” paste was identical to start. `machine_end.gcode` is a **short
22+
cooling/present placeholder** until a real end snippet is supplied. **Review before use.**
23+
- **Pause** — from owner’s Orca UI: `; pause print` + `M2000`.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
; =============================================================================
2+
; PLACEHOLDER — machine end G-code for Creator 3 Pro
3+
; The owner’s paste for “end” matched start; real end G-code still needed.
4+
; Replace this file with your working FlashPrint/Orca end snippet when available.
5+
; =============================================================================
6+
M104 S0 ; nozzle off
7+
M140 S0 ; bed off
8+
G91
9+
G1 Z10 F600 ; raise a bit (relative)
10+
G90
11+
G28 X Y ; home X/Y (present / park — tune for your firmware)
12+
M84 ; disable steppers

0 commit comments

Comments
 (0)