Commit Graph

15 Commits

Author SHA1 Message Date
SoftFever
9aa90fa6a8 update BBL H2D and X2D profiles 2026-07-14 00:52:54 +08:00
SoftFever
83d2d4179d feat(profiles): enable cooling filter on H2D, H2D Pro, and H2S
Declare support_cooling_filter=1 on the three profiles (0.2/0.6/0.8
variants inherit from 0.4) and insert the cooling-filter conditional
into the H2D and H2S machine start g-code, inside the low-chamber-temp
airduct branch:

  {if(cooling_filter_enabled)} M145.2 P0 F0 {else} M145.2 P0 F1 {endif}

H2D Pro intentionally gets no g-code edit: its duct firmware takes the
filter mode over the device channel only, so the flag merely enables
the toggle.

Impact on existing users at default settings: H2D/H2S start g-code gains
exactly one line (M145.2 P0 F1, filter off) in the cool-chamber branch;
nothing is removed or reordered. The existing support_air_filtration=1
overrides are deliberately kept so exhaust-fan behavior for ABS-class
filaments is unchanged, even though the machine-tab row is hidden while
the cooling-filter toggle is shown.
2026-07-10 16:49:22 +08:00
SoftFever
b12aad6a8c feat(orient): auto-orient the largest overhang toward the cooling fan
New printer option fan_direction (undefine/left/right/both, default
undefine) declares which side the auxiliary part-cooling airflow comes
from. When set and the printer has an auxiliary fan, auto-orient adds a
yaw rotation so the dominant overhang area faces the airflow, and newly
added primitive shapes are pre-oriented the same way (except the Cube,
whose axis-aligned bounding box the pressure-advance pattern calibration
depends on).

- FanDirection enum + fan_direction printer option (Accessory group,
  enabled only with auxiliary_fan)
- orient engine: weighted overhang areas per candidate, yaw-direction
  search, vertical rotation applied on top of the primary orientation;
  the cooling weights are taken from the candidate actually chosen,
  including the flat-bottom tie-break
- orient_for_cooling() for primitive placement
- set fan_direction=left on H2C/H2D/H2D Pro/X1/X1E/P1S 0.4 profiles
  (X1C/H2S/P2S/X2D/Qidi X-Max 4 already carried the key, which now
  takes effect)

With fan_direction unset or no auxiliary fan the vertical rotation stays
identity and auto-orient results are unchanged; slicing and g-code are
never affected.
2026-07-10 16:21:48 +08:00
SoftFever
15412cd812 feat(profiles): Bambu Lab H2C and A2L profiles and resources
Machine models and presets, process and filament presets, plus bed models, covers, previews and device images for the H2C and A2L.
2026-07-09 01:16:25 +08:00
Kiss Lorand
d14819e58f Fix air filtration settings hidden on printers that support that feature (#13384)
Enable air filtration support in affected system printer profiles

Some system printer profiles that support air filtration had the feature
incorrectly disabled in the printer settings.

This caused the related filament settings to be hidden, making the feature
unavailable to users even though it is supported by the printer.

Enable "support_air_filtration" in affected system printer profiles and
bump profile version thus forcing Orca to refresh cached settings.

This ensures air filtration settings are visible and usable on printers
that support the feature.
2026-05-15 00:59:19 +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
weizhen.xie
ca34800cad ENH:Object skipping supports skipping flushing of filament change
Jira:[STUDIO-12781]

Change-Id: Ia21d07b0ef107867cce55631d99bd03caebd6387
(cherry picked from commit d74849d499078f87d14282e92f48b2c02355d96c)
2025-10-28 15:30:05 +08:00
Noisyfox
2fa386cbdb 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
shsst
093367a58e ENH:[Process/Filament] MOD:[H2D/H2DP][start] increase z avoid distance to avoid impact Profile Edited by xuanquan.liang
Change-Id: I8f8b5d9d27e204615c9380898da86d4d7ae4b132
(cherry picked from commit 0c6e34feec768e9a00aebf54d4b2d9f75773607f)
2025-10-04 23:59:20 +08:00
songwei.li
1a34765856 ENH: Improved safe position calculation for delayed photography
In the safe position calculation for time-lapse photography in traditional mode of piece-by-piece printing, for parts not currently being printed, the maximum expansion radius is used for parts higher than the current layer, and half of the expansion radius is used for parts lower than the current layer height; half of the expansion radius is used for the parts themselves. This reduces unnecessary avoidance.

jira: STUDIO-13194
Change-Id: Id6ce03af29c9ebba974ea57ec41cca757067027a
(cherry picked from commit 68c7f41900049e64d37d792503653ce5302759d8)
2025-10-03 22:19:23 +08:00
qian.wang
6d6969a315 ENH:[filament/process]Synchronize parameters of O1E with those of O1D
Change-Id: I194543fb38e975aa56592b8dda2e29bde01d949e
(cherry picked from commit c03812c36c47ca2edde3280b2fda4072c65deac6)
2025-10-02 17:59:51 +08:00
zhimin.zeng
60bf21ad8c FIX: add wrapping detect area for H2D Pro
jira: none
Change-Id: I53efc7c89f67b0ba837a828b6c20a983820aa7b3
(cherry picked from commit 01f29bbf0981c7a19961edfd148c77e3fae99f88)
2025-10-02 17:49:03 +08:00
shsst
b9601f666a ENH:[Process/Filament] MOD: align H2DP with H2D (custom gcodes) Profile Edited by xuanquan.liang
Change-Id: I73c97626d12ae14c6650a758001254d013771358
(cherry picked from commit 46affb67f5d7e57850b38e8e2e89cc4c07db1e49)
2025-10-02 17:07:21 +08:00
qian.wang
2ed08353ca ENH:[filament/process]modify upward_compatible_machine
Change-Id: I8a6b38d3ab1f1711eddb0a4190197f87129fec70
(cherry picked from commit 624914dcdd1e5a931a8eb5d3126c9bde32f4d705)
2025-10-02 17:07:20 +08:00
xun.zhang
1fd88842d9 ENH: add code for bambu lab h2d pro
jira:STUDIO-12107

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I4a8132515ad947f68212d8002c0f365badf8ca71
(cherry picked from commit 76f50132fcae7ca91c689ceb484006db1e4f3dbd)
2025-10-02 17:07:20 +08:00