Commit Graph

83 Commits

Author SHA1 Message Date
zhimin.zeng
32aac4060a FIX: Command line slice error of filament printable
jira: none
Change-Id: I89724d3934c5c1e5ef75d3e046e84600873516ec
(cherry picked from commit 5f9093dc8e7a222857037016940c43e2ad227eaa)
2025-09-23 09:04:01 +08:00
zhimin.zeng
b38145a291 ENH: add filament_printable and delete unprintable and printable list
jira: none

Change-Id: I643ab11831ceac1fe0793510f64b288cbd16415a
(cherry picked from commit 3dd5a601547485bfcc4188727343a52c30bb6a73)
2025-09-21 13:48:08 +08:00
zhimin.zeng
442e454008 ENH: add printable filament types for extruder
jira: none

Change-Id: Ie6ada223bc11a53b975c8c20b4a41e7cdc2d524c
(cherry picked from commit c64270f506a4d004f66aef3ff31760f793eca489)
2025-09-21 13:48:07 +08:00
Noisyfox
a2ce2695eb Fix build error caused by cyclic include 2025-09-21 13:48:03 +08:00
lane.wei
50ed6100e8 FIX: CLI: process travel_acceleration for old files
jira: no-jira
Change-Id: Ica49d5d9d184a72de450c147c227f5b6e1f288ff
(cherry picked from commit 9d4fafc646849497718c1ca4fe9ff3b0df282928)
2025-09-21 13:47:56 +08:00
lane.wei
82c112648e ENH: CLI: add allow_mix_temp option
jira: no-jira
Change-Id: Idff6ff2f11b4b0a1fb3a4a410fa46c78d38d1a6e
(cherry picked from commit 4ffa7b505a4c1b1f27152c5f5198c9571939de40)
2025-09-20 15:37:12 +08:00
xun.zhang
01cae10bf7 FIX: missing nozzle volume type in old 3mf
jira: NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I95c85b54f13950a0859297dcb28edcb73d841276
(cherry picked from commit cfe3aad3fc0f475a5cd31bb5a25a62a19c872ba5)
2025-09-18 17:05:36 +08:00
xun.zhang
66be72ff65 ENH: update flush data for H2D
1.Alsoe set default flush from support to 700

jira: STUDIO-10595

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I0d0a85cdac5e63b787c16b35ed6c05afc885a715
(cherry picked from commit 5fea5e6696a28d7ec9edcde38c43700cb3b7f596)
2025-09-18 16:49:36 +08:00
lane.wei
fd60dbd1a0 ENH: CLI: check filament mapping error before process
jira: no-jira
Change-Id: Ie82a1faba93a4f80281615c803a45a93206ddf02
(cherry picked from commit 5869d33d519b617dbcee05a74f81fb1951330633)
2025-09-18 16:19:24 +08:00
lane.wei
2d164b8b07 FIX: CLI: use the correct wipe tower width after estimation
jira: STUDIO-10900
Change-Id: Id6ea3c3a7e0c37001a5cc118eea7459ffeb48469
(cherry picked from commit 31fbdd29e7eebb9b12c8204bec3c82f1598367e1)
2025-09-18 16:13:30 +08:00
zhou.xu
a1cd1daa68 ENH:Obj import supports up to 32 colors
jira: STUDIO-10927
Change-Id: I46b2c63a625f91d0caafa78cf47bf0fc8589015b
(cherry picked from commit 9e2bfb7d7e56d886a85c0ee8c0e90dbc6ccfa932)
2025-09-18 16:10:27 +08:00
zhimin.zeng
14a032454d FIX: Remove unprintable_filament_map
jira: none
Change-Id: I30285d0cc98a974e71f16fd9adb57dfcccb39415
(cherry picked from commit 1959fa7d5c213a7720b8f215f1578597278e6920)
2025-09-18 14:13:51 +08:00
lane.wei
c1fc3579e1 ENH: CLI: fix some potential issue under cli
jira: no-jira
Change-Id: I411e7a18b0eacc27f28a4b6d2205cd6460b6cd1a
(cherry picked from commit 84bbf31ab5d4a30afde7c512147fcbe9b85fb57b)
2025-09-18 11:06:36 +08:00
xun.zhang
d64740985c ENH: add default value in extruder info for cli
jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I15fb33c55a8f8e5bf75807ca16b00d50226ee156
(cherry picked from commit bf97aea2e405e41031de7b20eb59054f65b9a0fa)
2025-09-18 10:08:33 +08:00
lane.wei
8f7ac809a2 ENH: CLI: only check filament conflicts before slicing when there is one color
jira: no-jira
Change-Id: I17fc917b624578491170656372e4c4d1b43f0412
(cherry picked from commit 53a551174e682694374e539572e5337791e0a7d8)
2025-09-17 23:31:09 +08:00
lane.wei
ce534972e2 ENH: wipe_tower: use uniform wipe tower logic for cli and gui
jira: no-jira
Change-Id: I179212585871071cd17bd37c2756444a2d7aba1f
(cherry picked from commit 1f3dde94980d3685bb4d1266e8a5448b8f231b9f)
2025-09-17 23:29:14 +08:00
lane.wei
e9ed04cc9e ENH: CLI: keep the params of old version
jira: STUDIO-10695
Change-Id: I4b0a768bc4fc6c856c9c92fa4a05007a3097df35
(cherry picked from commit a44da293ad3a1fbc62e318c20b3ba7c187fc1d25)
2025-09-17 23:09:07 +08:00
zhou.xu
4e51e402a3 FIX:set "ban_light" true for picking_thumbnail in linux
jira: none
Change-Id: I68912a17f6bd3ffb73fc6480e5fd95a690c1c872
(cherry picked from commit 1acfe83fc0c49734996a0e2596856fd7881b4d68)
2025-09-17 21:49:40 +08:00
lane.wei
1d81bef41d FIX: CLI: fix the filament_map incorrect issue
jira: no-jira
Change-Id: I8f389ae1dca2cbe79a2db7a5e9fbb94da430d037
(cherry picked from commit 89308c8676e4f953a69198f706852e8b6d42231c)
2025-09-17 17:53:45 +08:00
lane.wei
68c6c8e994 FIX: CLI: fix the crash issue caused filament_id missing
jira: no-jira
Change-Id: I6256a846cf30f304deda32f61ed5329aacdb5f73
(cherry picked from commit d14e3f42a0a16951651a47d49e05e509ee4696c0)
2025-09-17 10:21:15 +08:00
lane.wei
2d6d07d6f8 FIX: CLI: fix the stl name not correct issue when using export-stl
jira: no-jira
Change-Id: I5cd83c9fb787416d5045470025fa96696d8bfab9
(cherry picked from commit 49b1568877345b1eb9bdfacac19d451569433f3f)
2025-09-16 15:42:48 +08:00
qing.zhang
8c7475eded ENH:instead of prime_volume by filament_prime_volume
Jira: none

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: I96e7d0604da8f90678feed81833e3a634752ffff
(cherry picked from commit be02e769bb49680d6be678fc5fa73a141ca8da1c)
2025-09-16 10:39:19 +08:00
jiangkai.zhao
03998203fb ENH: enhance some functions of the wipe_tower
1.Add automatic calculation of the wipe_tower's brim width by height;
2.modify the min_depth_per_height and the default ridwidth

jira: none
Change-Id: Idd96bc90e8e631aa8481b559e1e9fec24c6b822f
(cherry picked from commit 4dd4e9e12c02d945a0ac3fd2020f75313c5b2cc9)
2025-09-13 18:49:41 +08:00
zhou.xu
96843fc3bd FIX:add error deal:mtl file lost some material
jira: github 5687
Change-Id: I2394d27b027cfe34ac3cb260735aceaee65ff6d9
(cherry picked from commit 58f9c7d0b2800c4b8b67991f5d3e43d57a6cd1eb)
2025-09-09 10:14:19 +08:00
zhou.xu
8d1369d3cf NEW:add "obj preview thumnailData" function
jira: none

Change-Id: I688c2f05bf85fca376418115acddb5066ef980eb
(cherry picked from commit 16f2b2bcb5fd157f25aa7012dabd99a8d31aec07)
(cherry picked from commit 7cc21b5e9745a84d75ea13b66f5653520bb1cba3)
2025-09-09 09:39:43 +08:00
lane.wei
77c05615bb ENH: CLI: add support for colored obj
jira: no-jira
Change-Id: If9e698d60b71e8835a3ae46c75e9c8c2878556a7
(cherry picked from commit a2b2ec9cb80e3bafabd07a377aff9e11188be346)
(cherry picked from commit 201d3b18cc9d482192c9962717527f9e12ed6603)
2025-09-07 23:58:51 +08:00
xun.zhang
7e0c71286c FIX: crash of filament group in cli mode
1. Add protection for building machine filaments.Sometimes we don't
know the info about maahcine filament

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I3198d3a1a8825aa50aa49734f60a32620fc4f890
(cherry picked from commit 0c60cefe5e188ba966f4c254f833ae81bc5da476)
2025-09-07 00:47:24 +08:00
xun.zhang
f5a8c96924 ENH: filament map params switch to global param
1.Add more filament map modes
2.Filament map and mode are set as project config
3.Plate filament map is only valid when plate filament mode is
manual

jira:NONE

Signed-off-by: xun.zhang <xun.zhang@bambulab.com>
Change-Id: I33b2f853e0b77b9d605be1f2f1172b44df43da15
(cherry picked from commit e45f8c6dc2146e1e31a1c21e8aaada540af112d0)
2025-09-06 23:49:11 +08:00
lane.wei
e1a158d69c ENH: CLI: fix an exception in CLI testing
when update filament configs, we need to use the old filament variant count
jira: STUDIO-9201

Change-Id: Ibc0084997c264d8527dc9998018907c8af4b2043
(cherry picked from commit 462bfb0b6e941e2771440d8ee06cea149162b595)
(cherry picked from commit a54abad44c572cee0e39ef60822033739b3c3306)
2025-09-05 17:46:35 +08:00
lane.wei
de0ad1b642 FIX: CLI: fix the crash issues after new print_diff logic
jira: no-jira
Change-Id: I47beb83b96fcbd2322c878fa4edd5675749f0791
(cherry picked from commit c863a8268fea8fe79cbc4522d6642533474d429b)
2025-08-28 11:23:15 +08:00
lane.wei
19a450d910 ENH: version: refine file version process logic
only compare minor version when major equals
jira: no-jira

Change-Id: I0159c1b15db30238ad05b8ff7c83f6668fd11ac2
(cherry picked from commit e50e6985925582b4b686793244cc88bde3515d07)
2025-08-26 21:14:51 +08:00
lane.wei
6957d31c6b ENH: config: refine the object config logic when extruder count changes
1. add logic in CLI
2. add logic to process height range
jira: no-jira

Change-Id: I8a7ba1a78dacad7131cafa3fb8b742027276c7e8
(cherry picked from commit 9a6624653b7b66101f1a74715227a0f2b4588f16)
2025-08-26 10:11:47 +08:00
lane.wei
671dfa5f0c ENH: buildvolume: add logic to support extruder_printable_height
jira: no-jira
Change-Id: I962c4aed8c536c0fd8b89ae090cd0463c5d645db
(cherry picked from commit 43773d77010492453473797e77e83e9a4630c25f)
2025-08-24 23:18:30 +08:00
lane.wei
ec658d0cc6 FIX: CLI: fix the crash issue with no args
jira: no-jira
Change-Id: I21a15d5fee87036fcc4b5d1b6ada47f43c9b43b1
(cherry picked from commit 8d93a26c5b303f662f3ec9f37ebac0b9f792ac5e)
2025-08-24 23:18:29 +08:00
lane.wei
918215590f FIX: config: fix some loading issue with filament_self_index
1. generate filament_self_index for old files in cli
2. set filament_self_index to default for old files using single extruder
jira: no-jira

Change-Id: I6e3f520723ee7f3a75634121604023ba319ff97a
(cherry picked from commit d050aa4d3609e7ccf072b23fbfe820a839e0c3fd)
2025-08-24 23:18:28 +08:00
Noisyfox
1300e608d6 Fix compile error 2025-08-24 23:18:25 +08:00
lane.wei
bba44b1f2b ENH: CLI: support multi-extruder slicing
1. add slicing errors for gcode in unprintable area, also for filament mapping
2. use common area for auto arrange
3. support filament_map/filament_map_mode related params
4. add logic to check the filament maps before slicing
5. uptodate support multi-extruder
6. switch new machine/filament support multi-extruder
7. process config params support transfer between mult-extruder and
   single-extruder
8. improve machine-limit logic support multi-extruder
9. flush-volume support multi-extruder
10. add default params to support auto mapping slicing

jira: no-jira
Change-Id: Ice39a365841322ddb586d39c56ff923626822528
(cherry picked from commit f518d6804a9de69deef81c20cd22005a4bbd0cd4)
2025-08-24 23:18:25 +08:00
Noisyfox
f735227801 Fix build error 2025-08-24 23:18:13 +08:00
lane.wei
8069133261 ENH: dual_extruder: add logic to process extruder_printable_area
JIRA: STUDIO-7498
Change-Id: I1cf53db93acf41b06cb1b9569a0679487c9f1e41
(cherry picked from commit e5be69dedd1ba6dc289a14b89598c9a6101dacb3)
2025-08-24 23:18:12 +08:00
zhimin.zeng
f50a806a59 ENH: flush_volume support multi_extruder and fix bug
Change-Id: Id6b041f71ee6e55e68a6937f24ce791caac8e708
(cherry picked from commit 6fbad9ed33b2868a2fffbebdc3a98926431a1093)
2025-08-24 23:18:01 +08:00
SoftFever
4031b7db11 Refactor folder (#10475)
Move many third-party components' source codes from the src folder to a new folder called deps_src. The goal is to make the code structure clearer and easier to navigate.
2025-08-22 20:02:26 +08:00
SoftFever
19cc5fb9e6 Fixed an issue that Orca won't run if multi-Config generator is used on Linux(Fedora) 2025-07-04 23:02:24 +08:00
SoftFever
c6f5e2e243 Ensure bed shape is in correct orientation (#9350)
Fix #9345

This also fixes deltamaker's plate logo rendering:
![image](https://github.com/user-attachments/assets/517c9b3c-8eee-4081-a2bc-5913fe35328b)

And fix bed rendering issue for custom shaped bed without model:
![image](https://github.com/user-attachments/assets/9643413e-9b1c-4e74-afe8-edf2306e7021)


Also fix rendering of exclusion area that are defined in clockwise:
![image](https://github.com/user-attachments/assets/0949c1c3-6304-4ece-85c7-f3162249bf90)
2025-05-01 17:28:10 +08:00
Noisyfox
cc328270be Fix non-windows build (#9509) 2025-04-29 13:02:22 +08:00
SoftFever
1338c3dc7a Fixed a bug that console window was created when --datadir parameter is used (#9506)
* attach console for Windows when command line is used

* fix version check failer in command line mode

* attach console only when we need to print help info
2025-04-28 23:27:20 +08:00
SoftFever
1f16715025 attach console for Windows when command line is used (#9450)
* attach console for Windows when command line is used

* fix version check failer in command line mode
2025-04-27 22:38:40 +08:00
Noisyfox
697fa4d3cb Ensure bed shape is in correct orientation (SoftFever/OrcaSlicer#9345) 2025-04-15 12:51:01 +08:00
SoftFever
d502e4c179 Merge branch 'main' into dev/step-import-dialog 2025-04-05 17:47:59 +08:00
Noisyfox
b8e659cb7e Use boost::nowide directly from boost (#9037)
* Use `boost::nowide` directly from boost

Cherry-picked from prusa3d/PrusaSlicer@bffa3f8578

Co-authored-by: tamasmeszaros <meszaros.q@gmail.com>

* Replaced all occurrences of boost::nowide::narrow for wxStrings with into_u8

Cherry-picked from prusa3d/PrusaSlicer@8d6497297a

Co-authored-by: tamasmeszaros <meszaros.q@gmail.com>

* Fix flatpak build
2025-03-29 20:14:10 +08:00
Mack
a71f0d29d8 ENH:Add 'Don't show again' to the step mesh
jira: STUDIO-8606
Change-Id: I2382b9052e2c994a458ad36ca61eb94c517927c6
(cherry picked from commit 0cce6619ce12aa8540f6dfca6d9ee79ffba65c19)
2025-03-27 22:17:07 +08:00