Commit Graph

26 Commits

Author SHA1 Message Date
Ian Bassi
3db37d004a Fix + Support 'Default' filament option (index 0) (#13887)
* Support 'Default' filament option (index 0)

Treat filament index 0 as the new "Default" (use active object/part filament) instead of using 1. Update config defaults and tooltips for wall/sparse/solid infill filament options (min/default -> 0, tooltip explains "Default"). Adjust normalization and propagation logic to respect explicit feature overrides and only apply base extruder when feature values are zero; only copy sparse->solid infill when sparse > 0. Introduce FeatureFilamentOverrideMask and clamp_feature_filament_to_valid to resolve and clamp feature filaments. Update UI lists and selection behavior to expose a "Default" entry and handle zero-based indices in PartPlate and Plater.

* enable_filament_for_features option

Co-Authored-By: LixNix <105106115+lixnix@users.noreply.github.com>

* \n

* Allow wipe_tower_filament to equal nozzle count

Relax the assertion in Print::extruders to permit wipe_tower_filament == config().nozzle_diameter.size(). The configuration value is 1-based and the code subtracts 1 when pushing the extruder index, so equality should be valid and selecting the last nozzle should not trigger an assertion.

* Revert "Allow wipe_tower_filament to equal nozzle count"

This reverts commit 2c976574327a8bcdc74a1b296bf1aaff7752a94e.

* Revert "enable_filament_for_features option"

This reverts commit 01c13baeddb8e26793f752deab788ee4d086975b.

* Migrate legacy feature filament defaults

Add migration logic to convert legacy feature filament selections from 1 to 0 for older 3mf files. Introduces a local migrate_legacy_feature_filament_defaults lambda in src/OrcaSlicer.cpp and src/slic3r/GUI/Plater.cpp that scans keys (wall_filament, sparse_infill_filament, solid_infill_filament, support_filament, support_interface_filament) on configs/objects/volumes, updates values, counts conversions and logs the result. Also adds a Semver check for "2.4.0-dev" in OrcaSlicer to trigger the migration for files older than that version. This preserves expected default filament selections when loading older project files.

* Update OrcaSlicer.cpp

* Extract migration helper to ConfigMigrations

Centralize legacy feature-filament default migration by moving the duplicated lambda into ConfigMigrations::migrate_legacy_feature_filament_defaults (src/libslic3r/Config.cpp) and declaring it in Config.hpp. Update OrcaSlicer.cpp and slic3r/GUI/Plater.cpp to call the new function instead of inline lambdas. The helper converts specific feature filament keys (wall_filament, sparse_infill_filament, solid_infill_filament, support_filament, support_interface_filament) from int 1 to 0 and returns the count of conversions to avoid duplicated migration logic.

* Remove DynamicFilamentList1Based and consolidate lists

Delete the specialized DynamicFilamentList1Based struct and its global instance. Update Choice registrations to use the single dynamic_filament_list for wall, sparse_infill and solid_infill filaments, and remove the extra update call for the removed instance. This consolidates filament choice handling and removes duplicated logic in Plater.cpp.

* move it

* fix objects

* Update Config.hpp

* Update profiles
2026-05-29 10:54:26 +08:00
Ian Bassi
16727644bb 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
SoftFever
f4224e9780 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
liuyingmo
3d4aff5ea8 Optimised for the Artillery M1 Pro printer (#12885)
* Optimised for the Artillery M1 Pro printer

* tidy up

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2026-03-22 23:58:34 +08:00
artillerylab
f3e486c1a9 Update printer profiles for Artillery (#11284)
* Update printer profiles for Artillery

* Revert "Update printer profiles for Artillery"

This reverts commit 5dc7083089.

* Update printer profiles for Artillery

* Update printer profiles for Artillery

* resolve workflow failures in profile validation

* resolve workflow failures in profile validation
2025-11-25 13:27:35 +00:00
Anson Liu
fcb640bee1 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
SoftFever
4f50fdc94e Fixed many profile issues and cleaned up some messes. (#10686) 2025-09-11 17:50:53 +08:00
Pierre Poissinger
7dfce56fbb Imported Artillery M1 Pro profiles from ArtilleryStudio (#10383)
* Imported Artillery M1 Pro profiles from ArtilleryStudio

* Removed duplicate overhang_fan_speed - keeping 90 as other profiles

* Replace by octo/klipper as it seems Artillery made a custom host_type on ArtilleryStudio...

* Changed sparse_infill_pattern to gyroid for M1 profile, as suggested
2025-08-24 00:42:20 +08:00
Thomas
83f8b6b625 Set Crosshatch as default infill pattern instead of grid (#8952) 2025-03-18 19:53:10 +08:00
artillery3dlab
364d91bd56 Artillery proflies update (#6457)
* Artillery proflies update
2024-08-18 11:37:11 +08:00
SoftFever
c36d4ad7c9 Fix misc bugs 2024-07-23 00:12:54 +08:00
artillery3dlab
03180bbde7 Add Artillery's new machine config (#6068)
* Add Artillery's new machine config

* Merge branch 'main' into master

* Merge branch 'main' into master
2024-07-11 23:51:38 +08:00
SoftFever
0459c28596 Tweak default parameters
1.  Change default ensure_vertical_shell_thickness value back to ensure_all as suggested by @igiannakas
2.  Change default sparse_infill_pattern vaule to ipCrossHatch
2024-05-29 23:07:29 +08:00
SoftFever
f13dc1fdcd bump profiles version to 2.1, change most profiles' top_surface_pattern to monotonicline as default pattern 2024-05-22 22:54:56 +08:00
Mr-PBH
c8f4895373 Add Artillery Genius Pro Profile (#3742)
* add photos required for genius pro

* add genius pro

* add genius pro

* add genius pro

* added genius pro, changed bed temp to 60c, nozzle temp 200c

* add genius pro, changed bed temp 60c, nozzle temp 200c

* add genius pro

* add genius pro and 0.4mm nozzle

* elafant foot to 0.15mm, 2 walls

* add genius pro print settings

* add genius pro paths
2024-01-27 11:45:17 +08:00
SoftFever
5213fbfa86 Support initial_tool variable for filename format 2023-11-13 22:25:32 +08:00
SoftFever
e624632969 semm 2023-09-09 13:19:59 +08:00
SoftFever
61db1ef369 misc profile fixes 2023-08-11 21:13:53 +08:00
SoftFever
aaefc400e1 Tweak profiles
1. Fix Voron Trident printable height issue #1641
2. Revamp Qidi X3 printer profiles
3. Turn on accel_to_decel_enable for klipper machine by default
4. Many other profiles tweaks
2023-07-31 19:52:56 +08:00
SoftFever
3d7c45c6dc fix wrong default support_threshold_angle value 2023-07-07 10:38:55 +08:00
fr3ak2402
37e105c1e8 Improvement Artillery Sidewinder X2 Profile & other small changes (#1053)
* Add & revise FLSun Profile

FLSun Q5
FLSun QQ-S Pro

* Patch Artillery Sidewinder X2 profile

revision speed parameters
revision start & end code

* change Anycubic 4Max Pro image

* Adjustments to the profile of the Anycubic 4Max Pro

Preparation for adding more Anycubic printers

* add more Anycubic profiles
2023-05-14 09:18:02 +08:00
fr3ak2402
507db8c301 add more printer profiles (#1038)
* Delete SW-x2.png

* Add Artillery Sidewinder X1 profile

* add Elegoo Neptune profile

* Update Elegoo Neptune 2S 0.4 nozzle.json

* Change start code parameters
2023-05-12 18:45:14 +08:00
fr3ak2402
93eff233d5 Adds printer profile for Artillery printers (#923)
* Adding the Qidi X-Plus

Qidi X-Plus profile
Qidi X-Plus image

* Revision of the pressure plate model

Qidi X-Plus

* Add Artillery Profiles

Artillery Genius
Artillery Hornet
2023-05-03 21:11:10 +08:00
Heiko Liebscher
d9cdafbaa0 fix filename 2023-04-06 08:47:53 +02:00
SoftFever
e9613e971d 1.4.5 features (#319)
* Changes:
Improve precise wall
Port PS2.6 overhang slowdown feature
Implement overhang fan for new overhang slowdown algo
Add option to switch between classic/new overhang slowdown implementation
Set Arachne as default engine
Small adjustment of temp calibration range
turn off small perimeter by default
Small UI tweaks
Change default top_surface_pattern to monotonic
Fine tune jerk

Signed-off-by: SoftFever <softfeverever@gmail.com>

* Disable optimizations for RelWithDebInfo

Signed-off-by: SoftFever <softfeverever@gmail.com>

* fix an issue that max volumetirc/vfa calibration can't send to print

Signed-off-by: SoftFever <softfeverever@gmail.com>
#322

* fix build errors

Signed-off-by: SoftFever <softfeverever@gmail.com>

---------

Signed-off-by: SoftFever <softfeverever@gmail.com>
2023-02-17 23:09:18 +08:00
GP3D
7c6418e323 Artillery Sidewinder X2 (#84)
* Fixed deps "directory not found"

* Added Artillery Sidewinder X2

* typo

* forgotten rename

Co-authored-by: GiaPag <120025021+GiaPag@users.noreply.github.com>
2023-01-03 10:02:32 +08:00