Commit Graph

217 Commits

Author SHA1 Message Date
64709a396a JD profiles from Marlin repo (#13241) 2026-04-16 21:19:16 -03:00
b2c5344fd2 Reduce size by Json Fromatting (#13163)
Reduce the size of current and new JSONs by standardising them with 1 tab indentation instead of 4 spaces.
This effectively reduces the size by almost 20 MB.

| Current | New |
|---|---|
| 85.2 Mib | 67 Mib |

Used [JQ](https://jqlang.org/) `--tab` to automatically format every current JSON.

> [!NOTE]
> Some profiles had the arrays on the same line, but those created by Orca were in the standard format (each object below the previous one). In some cases, this increases the number of tabs due to the new lines, but the increase is negligible, and this way both the base profiles and those created by Orca maintain the same style.
2026-04-15 22:58:12 +08:00
6acdeb1fc7 fix: update stl and texture for Creality K2 (#13098)
* fix: update stl and texture for k2

* fix: bump profile version
2026-04-03 15:32:00 +03:00
f603e0f56a tidy up and bump profile version (#12889)
* tidy up and bump profile version

* fix error

* tidy up

* fix

* tide up more

* fix errors

* fix more errors
2026-03-23 01:17:34 +08:00
b5978d05f7 feat: add Creality K2 Support (#12662)
* feat: add K2 support

* fix: remove k2 pro from k2 process json

* fix: set correct start gcodes for the nozzles
2026-03-09 19:48:43 +08:00
59ea4746b1 feat: Add File header G-code option and print_time_sec/filament_length_m placeholders (#12186)
## Problem

Some Creality printers (e.g. Ender-3 V3 SE) rely on metadata comments in the first lines of G-code files to display print info on the screen (estimated time, filament usage, layer height). This follows a format originally used by Cura/Creality Print:
```
;FLAVOR:Marlin
;TIME:3708.97
;Filament used:6.21m
;Layer height:0.2
```

OrcaSlicer currently has no way to write content before the `HEADER_BLOCK` in the G-code output, and does not expose `print_time_sec` or `filament_length_m` as usable placeholders. As a result, these printers show zeroed-out print info on screen.

## Changes

### 1. New placeholders (post-processing)
Added two new G-code placeholders resolved during post-processing:
- `{print_time_sec}` — total estimated print time in seconds (double)
- `{filament_length_m}` — total filament length in meters (double)

These values are only available after G-code generation, so they use inline marker replacement (`@PRINT_TIME_SEC@`, `@FILAMENT_LENGTH_M@`) that `GCodeProcessor::run_post_process()` substitutes with actual computed values — the same pattern used by existing M73 and layer count placeholders.

### 2. New "File header G-code" option (`machine_top_gcode`)
Added a new G-code field in **Printer Settings > Machine G-code** that writes content at the very top of the output file, before `HEADER_BLOCK_START`. This allows users to add firmware-specific metadata that must appear in the first lines.

### 3. Creality Ender-3 V3 SE profile update
Pre-configured the Ender-3 V3 SE profiles (all 4 nozzle variants) with a default `machine_top_gcode` value matching the Cura-compatible header format, so print info displays correctly out of the box.

# Screenshots

| Before (current OrcaSlicer) | After (this PR) |
|---|---|
| ![IMG_5285](https://github.com/user-attachments/assets/fdd2cc96-6593-4108-83f4-e272d5547467) | ![IMG_5286](https://github.com/user-attachments/assets/6cb4091a-4560-4596-93d9-49f2ff8f0a2b) |

## Tests

- Sliced test model with Ender-3 V3 SE profile
- Verified G-code output contains correct values in first lines:
  - `;TIME:` with actual print time in seconds
  - `;Filament used:` with filament length in meters
  - `;Layer height:` with correct layer height
- Verified `{print_time_sec}` and `{filament_length_m}` work in both Machine Start G-code and File header G-code fields
- Verified empty `machine_top_gcode` produces no extra output
- Built and tested on macOS (arm64)
2026-02-08 23:56:28 +08:00
11fa467c01 Profiles for Creality K2 Pro printer (#11315)
* Profiles for Creality K2 Pro printer

Added printer profiles for Creality K2 Pro based on existing K2 Plus profile and Creality Print modifications.

* Fixed filament start g-code for K2 series

K2 Plus filament profiles have additional move for filament start g-code on some filaments. This causes unnecessary moves and make filament profiles non-working on K2 series printers.
As these moves are already mirrored on printer profile and not used in rest of the K2 series they should be removed.

* Update Creality K2 Pro profiles for improved print quality

Added adaptive probing comments to machine start gcode for all nozzle sizes. Adjusted process profiles for various layer heights and nozzle sizes, including changes to bridge speeds, acceleration, wall generator and support line widths according to Creality profiles s to optimize print quality and reliability.

* Revert "Update Creality K2 Pro profiles for improved print quality"

This reverts commit ac84058c33350307a1ac23ac939d3294ae2f9c96.

* Update Creality K2 Pro profiles for improved slicing

Adjusted speeds, accelerations, line widths, and other slicing parameters for better print quality and compatibility. Updated machine start g-code to include print area comments for adaptive probing (Creality K2 Pro uses these comments to define adaptive probing area)
2025-11-21 06:41:48 +00:00
f24431784d Fixes / Improvements for Covers & Printer Selection dialog (#11151)
* init

* update

* Crop cover images

* match setup wizard UI

* update

* tiertime

* anycubic

* anycubic

* construct3d

* update

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-11-04 10:16:06 +08:00
346c0cbf60 Update filament profiles to use arrays for cost, density, and max volumetric speed
Updated multiple filament profiles to convert fields such as filament_cost, filament_density, and filament_max_volumetric_speed from single values to arrays for consistency. Removed unnecessary fields from filament profiles to streamline data structure. This change enhances compatibility with the updated profile handling logic in the orca_filament_lib.py script.
2025-10-25 17:21:51 +08:00
668161339e Profile folder optimizations (Anycubic, Artillery, Bambu Lab, BIQU, Creality, Flashforge, Prusa, Ratrig, Sovol, Volumic, Voron, VzBot, Z-Bolt, Wanhao and more) (#10806)
* init

* voron covers

* voron models

* qidi hotends

* ultimaker

* seckit

* kingroon

* Update kp3s_bed.stl

* default hotend

* VzBot

* Update goliath.stl

* Construct3D

* comgrow

* biqu

* artillery

* anycubic

* bambulab

* flashforge

* chuanying

* update

* ratrig

* snapmaker

* Update sovol_zero_buildplate_model.stl

* sovol

* sovol

* Update wm_3dp_hotend.stl

* Update magicmaker_hotend.stl

* flsun

* iQ

* wanhao

* deltamaker

* phrozen

* MagicMaker covers

* z-bold

* volumic

* VzBot covers

* custom printers

* custom printer covers

* orca arena

* Update Orca Arena X1 Carbon_cover.png

* creality

* sovol sv08 max

* qidi texture

* Update qidi_xplus_buildplate_texture.png

* bump versions

* folgertech

* twotrees

* VzBot

* dremel

* FlyingBear

* Wanhao

* wanhao

* Delete 230 - Mono320x320.png

* voron

* voron

* voron

* seckit

* ultimaker

* kingroon

* default hotend

* Update qidi_xseries_gen3_hotend.stl

* Update deltamaker_2_buildplate_texture.svg

* vzbot

* Update goliath.stl

* biqu

* anycubic

* folgertech

* geetech

* ginger additive

* anycubic

* Update Wanhao D12-300_hotend.stl

* phrozen

* bump versions

* fix missing files on linux & add new models for sv07

* fix missing files

* Prusa

* update

* Update ultimaker_2_buildplate_model.stl

* fix all cover images

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-10-25 15:41:29 +08:00
622dfb2979 Merge remote-tracking branch 'upstream/main' into dev/h2d-2 2025-10-20 09:37:23 +08:00
0dd914aa64 Set Ironing angle setting to be a relative degree offset from top surface infill direction (#10841)
* Change ironing angle setting to be an offset angle from the top surface angle rather offset from the layer 0 angle that changes on each layer.

* Change Ironing angle offset range from [-1,359] to [0,359].
-1 is redundant because it is the same behavior as 0 offset.

* Change ironing_angle new default value to 0.

* Update existing print profiles' hardcoded ironing_angles from -1 to 0 to reflect new default value.

* Add migration for old -1 ironing_angle settings. Remove logic for -1 ironing_angle.

* Add u8 prefix for degree symbol string

* Use solid_infill_direction instead of infill_direction for top surface infill direction. Use calculate_infill_rotation_angle to add offset to solid_infill_rotate_template if used.

* Update quality settings wiki for Ironing

* Set f->is_using_template_angle when making ironing filler objects

* Update quality_settings_ironing link from #angle to #angle-offset

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2025-10-20 09:01:53 +08:00
cf623135e7 Treat extruder_clearance_max_radius as extruder_clearance_radius, and raise error if both options are present 2025-10-11 16:34:58 +08:00
007af34337 [PROFILE] fix for Ender 3 V3 KE (#10860)
* profile fix for Ender 3 V3 KE

* main creality.json

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-09-28 18:14:57 +08:00
a691035c22 Fixed many profile issues and cleaned up some messes. (#10686) 2025-09-11 17:50:53 +08:00
ade5237f22 Update Ender-3 V3 KE processes to use percentage based line widths (#10392)
* Update Ender-3 V3 KE processes
2025-08-24 00:36:36 +08:00
1ee8ed7972 feat: expand Creality Ender-3 V3 KE profile with multiple nozzle diameters and new machine configurations (#10277)
* feat: expand Creality Ender-3 V3 KE profile with multiple nozzle diameters and new machine configurations

* Merge branch 'main' into main

* Merge branch 'main' into main
2025-08-12 00:24:07 +08:00
bc8e6e8958 Add CR10 V3 (Marlin) Profile to Orcaslicer (#10122)
* Update Creality.json

Added Creality CR-10 V3, 0.4 and 0.6 nozzles

* CR10 V3 /profiles/creality

CR10 V3 Image cover, buildplate model, buildplate texture

* CR10 V3 /profiles/creality/process

CR10 V3 Process files

* CR10 V3 /resources/profiles/Creality/machine

CR10 V3 machine files, 0.4, 0.6 nozzle

* Update Creality CR-10 V3 0.4 nozzle.json

Fixed typo

* Update Creality Generic ABS.json

* Update Creality Generic ASA.json

Add CR-10 V3

* Update Creality Generic PETG.json

* Update Creality Generic ABS.json

* Add CR10 V3

* Add CR10 V3

* Add CR10 V3

* Add CR10 V3

* Add CR10 V3

* Fix missing nozzle size

* Fix nozzle size missing

* Update 0.20mm Standard @Creality CR10V3 0.6.json

Fixed naming

* Update 0.20mm Standard @Creality CR10V3 0.4.json

* Update Creality CR-10 V3 0.6 nozzle.json

* Update Creality CR-10 V3 0.4 nozzle.json

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2025-07-18 07:49:50 +08:00
32f142b670 Transparent printers (#9888) 2025-06-13 14:23:47 +08:00
4e5a1e0b57 Add filament load time for Creality Hi (#9177) 2025-04-02 17:35:05 +08:00
0f6194d3dd Fixes/Improvements for Creality profiles (#8850)
* Update Creality K2 Plus 0.8 nozzle.json

* Update Creality K2 Plus 0.6 nozzle.json

* Update Creality K2 Plus 0.4 nozzle.json

* Update Creality K2 Plus 0.2 nozzle.json

* Increase PEI bed temp to 100C from 60C for ASA

* Merge branch 'main' into creality-patch
2025-03-18 19:41:16 +08:00
80bbbd42da Add support for Creality Ender-5 Max (#8870)
* add creality ender-5 max

* add filament profiles for ender-5 max

* update creality manifest

* fix references

* put creality.json at 4 space indent

* remove invalid parameters

* fix thumb format

* Merge branch 'main' into feature/ender-5-max
2025-03-18 19:39:20 +08:00
58f1800778 Show Creality CR-6 Optimal processes (#8848)
* Change Opitmal to Optimal

* Fix typos in CR-6 0.2 profile

* Include optimal CR-6 profiles

* Remove extra space
2025-03-16 13:45:37 +08:00
dd63a86e7f Fix Creality Hi extruder_clearance_height_to_lid (#8806)
* Fix extruder_clearance_height_to_lid
2025-03-16 13:15:44 +08:00
ceed327428 Update default filaments for printers (#8655)
* update M1

* update Voron

* update Positron

* update Biqu

* update Eryone

* update Folgetech

* update Geeetech

* update Kingroon

* update MagicMaker

* update Raise3D

* update Rolohaun

* update Tronxy

* update Kingroon and Tronxy

* update Voxelab

* update Wanhao

* more fix
2025-03-03 20:32:47 +08:00
f9c221c689 Creality K2 Plus fixed build plate model (#8646)
The default build plate model for Creality K2 Plus is heavy (516kB) and has a lot of visible artefacts - like diagonal "stairs". I found this a bit annoying. So I redrew the file - to a simple flat stl - 16kb.
2025-03-03 20:29:51 +08:00
fbb3a4bbcf Recommend Z hop type: Spiral for Ender-3 v3 SE (#8585)
* Correct Flying Bear S1 / Ghost 6 extruder clearance radius

* Recommend `Z hop type: Spiral` for Ender-3 v3 SE
2025-03-01 13:01:57 +08:00
7bfa1aad66 Add new K1 SE profiles (fixes #8455 (#8485) 2025-02-23 23:22:41 +08:00
45d751c958 Add Creality Generic PLA Wood for Creality Hi (#8368) 2025-02-12 09:57:25 +08:00
1d131cdae3 Optimized images on profile folder (#8374)
update
2025-02-12 09:56:29 +08:00
7d0d6d9811 fix wrong retraction value in some printer profiles 2025-02-07 20:20:30 +08:00
df2a1bc4fc Orca filament profile revamp - done (#8287)
* Update Qidi profiles

* restructure orca filament lib folder

* update profiles

* add more global filaments

* check missing instantiation errors

* fix missing instantiation attribute

* delete voron generic filaments

* remove Mellow filaments

* clean profiles

* QoL: select only visible filament when select all filaments
2025-02-03 21:15:17 +08:00
7288faa646 Added missing filament_start_gcode to Creality Hi (#8203) 2025-01-28 15:39:22 +08:00
e57e607cd9 Improvements and fixes for Creality K2 Plus (#8154) 2025-01-23 23:51:53 +08:00
830ab9953f Adding Creality Hi printer (#7964)
* Adding Creality Hi files

* Added Creality Hi profiles

* Fixed profile issues

* Fixed profile

* Fixed profile

* Fixed build plate position

* Fixed build plate position

* Various fixes and optimizations.

* Add ASA and PETG -CF filaments.

* Various fixes/improvements

* Changed default flow for PLA HS

* Various fixes and optimisations.

* Disabled filament ramming
2025-01-22 14:37:42 +08:00
c78cd74ab6 7607 k2plus filament change gcode (#7713)
* added change g-code

* adjusted change_filament_gcode for all k2 profiles

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* removed extra space on new line characters. to exeactly match creality print

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* disabled filamanet ramming and cleared Single Extruder Paramaters

* Merge branch '7607-k2plus-filament-change-gcode' of https://github.com/brandonfhall/OrcaSlicer into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode

* Merge branch 'main' into 7607-k2plus-filament-change-gcode
2025-01-07 22:53:14 +08:00
7569bd090e Update Creality Generic TPU.json
Added Ender 3 S1 series to compatible printers
2024-12-04 15:40:25 +08:00
195c830fc5 Provide reasonable default layer heights (#7384)
Using my Ender 3 V3 SE I noticed weird printing behaviour. Searching for
the cause, I found that the default layer height for a 0.2mm nozzle for
the printer was set to 0.08mm min and 0.32mm max, which are the default
20%/80% values for a 0.4mm nozzle. This commit changes the values for
all Creality printer which had not a reasonable default value for 0.2mm,
0.6mm and 0.8mm nozzles to 20% min and 80% max.

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-12-01 21:18:31 +08:00
edaa674d93 Fix bugs with CR-M4 (#7108) 2024-10-22 22:49:24 +08:00
d8fef48d8c Bug fixes 2024-10-06 15:25:24 -04:00
e72a051a99 Initial add of CR-M4 2024-10-06 15:21:22 -04:00
88118d775a Change acceleration & speed values 2024-10-06 12:29:21 -04:00
3c4cef8dfc Image optimizations 2024-10-05 18:05:16 -04:00
e0b21dce49 Fix wrong max layer for K2 Plus 0.6 & 0.8 2024-10-04 19:48:26 -04:00
96c8d62e79 Revert "Trying something"
This reverts commit 08800dc9e3.
2024-10-03 23:13:05 -04:00
a50319f2fc Trying something 2024-10-03 22:20:17 -04:00
37d8e66cac Hopefully this is the last issue 2024-10-03 22:10:27 -04:00
9a0eddafe3 Another bug fix
Seriously, how do I miss these
2024-10-03 22:04:56 -04:00
e2b3c822ea Some more bug fixes
I have no clue how I missed these
2024-10-03 21:58:58 -04:00
30bfdb0612 Some cleanup & bug fixes 2024-10-03 21:51:52 -04:00