Commit Graph

182 Commits

Author SHA1 Message Date
Arthur 2fd184f754 FIX: auto arranging crash
1. Use map<int, std::string> extrude_id_filament_types to avoid mismatching of extruder ids and filament types.
  jira: STUDIO-10708
2. fix plate level arranging not working
  jira: STUDIO-10733, STUDIO-10721
3. fix auto arranging may put objects overlapping with fixed ones when
  changing printer profile.
3. fix auto arranging puts large objects overlapping with occlusion area
4. add alt+a to trigger auto arranging for out of plate objects
4. fix several texts not translated.

Change-Id: Ie43624cb20304f27649d3ce24efa01394f30188e
2025-03-24 09:12:13 +08:00
lane.wei 1f3dde9498 ENH: wipe_tower: use uniform wipe tower logic for cli and gui
jira: no-jira
Change-Id: I179212585871071cd17bd37c2756444a2d7aba1f
2025-03-24 09:12:13 +08:00
zhou.xu 43617a96df FIX:add "Slic3r::Emboss::union_with_delta" api for single ExPolygons
and add_indice api
jira: STUDIO-10576

Change-Id: I85086552bb7eec0118e00299d4c07fbde7cc4aed
2025-03-24 09:04:47 +08:00
Arthur 2dfb9a15f4 ENH: auto arrange wipe tower when changing bed
Allow wipe tower to be arranged with highest priority.

jira: STUDIO-10225
Change-Id: Ia88374666906afd226bf8580d28fe788dad5f4c0
2025-03-24 09:03:27 +08:00
Arthur c414e51999 FIX: several auto arranging bugs
1. fill bed crash (jira: STUDIO-10350)
2. reset arranging settings gives wrong sequential printing order (jira: STUDIO-10346)
3. do not show "arranging done" message when there is no model

Change-Id: Ic1c7eac75e3917b9f1d87ab6acc403f78e0c9f7c
2025-03-24 08:34:27 +08:00
xin.zhang edaaa0b705 FIX: the json val could be long long or string
jira: [none]
Change-Id: Ic06276adf5e7663d57ba1c4b6f9a57e897a9075d
2025-03-24 08:29:26 +08:00
zhou.xu 0b24359f59 FIX:The extruder index defaults from 1
jira: github 5916
Change-Id: Icae2c4c272b80de8055cc3aeb91584df621fc436
2025-03-24 08:26:47 +08:00
Arthur 02b8a79285 ENH: auto arranging won't put more than 1 TPU filament on the same plate
jira: none
Change-Id: I0ac0968ac56f9969f94b73cfacaac3a97a814b2d
2025-03-24 08:24:22 +08:00
Arthur f9a1ed7b24 ENH: rewrite ModelInstance::rotate with rotation matrix
1. Rotation operation should always work on rotation matrix. Euler angles are not reliable.
2. Remove the ambiguous set_rotation on single euler angle.
3. Fix the bug that the rotation of the mirrored object is not correct.
jira: STUDIO-8752

Change-Id: I25d661b732a872b8378af87c0ba52d75afd75c1f
2025-03-24 08:24:22 +08:00
xin.zhang 954a270169 FIX: update HMS to support multi-type machines
jira: [STUDIO-9582]
Change-Id: I5ad4083d666db4237d355ac8bd8160afb8e8a35f
2025-03-23 20:18:03 +08:00
tao wang 6c7b61fcd8 ENH:change SD card to external storage
jira:[none ]

Change-Id: Ia8fb38151f75433344a085196728752d2fe6f159
2025-03-22 21:54:21 +08:00
Stone Li 993228d3e9 NEW: add more info for multi-nozzles printers
JIRA: STUDIO-9111

Change-Id: I5ed619d57b6857f5d4a1e38662d2fe03640222a3
Signed-off-by: Stone Li <stone.li@bambulab.com>
2025-03-22 21:35:57 +08:00
tao wang 9afe123026 ENH:optimization of select machine page
jira:[for new selectmachine page]

Change-Id: I003889f6f675e08403160e410498b065cdfaf59e
2025-03-22 21:09:54 +08:00
tao wang 0848c26da9 ENH:support new amsmapping data
jira:[for 2 extruder]

Change-Id: Ie03eae17d600bc68451511a0179f20d1919ff6ea
2025-03-22 20:27:35 +08:00
Stone Li 5f0945772c ENH: add studio unsigned msg dialog
JIRA: no-jira

Change-Id: I3a4cd03a58d52a725fc5b29c8da7c6d74a00b227
Signed-off-by: Stone Li <stone.li@bambulab.com>
2025-02-18 17:19:01 +08:00
Stone Li bcdbf267fb ENH: add more tips dialog
JIRA: STUDIO-7801

Change-Id: I672082d97c5afa144f704959c0c56d70fddd3a6a
Signed-off-by: Stone Li <stone.li@bambulab.com>
2025-01-09 19:32:26 +08:00
zhou.xu 0e84f6acc7 FIX:import single_svg and split it(default)
jira: none
Change-Id: I1d59a41fa7392fa3659ceae36c81a92d5f9dd5c6
2025-01-09 19:32:26 +08:00
lane.wei fdacd1a573 ENH: keep the position of these objects not in plate
JIRA: STUDIO-8554
Change-Id: Ic546737d438754acd9a516b52ceb1944fe72cc44
2024-11-12 15:35:32 +08:00
Arthur 9c799cc986 ENH: translation
jira: STUDIO-8530
Change-Id: I43aeda64251165eaa2fc7f26b6dbaf548bc62057
2024-10-28 20:51:35 +08:00
zhou.xu 1a73f72d6b ENH:adjust busy cursor position for job
jira: none
Change-Id: I76b194ce2ca1669574427109dbb166b229a1f8a0
2024-10-15 15:50:26 +08:00
lane.wei af46bcdc5f FIX: arrange: fix the arranging issue when switching machine preset
JIRA: STUDIO-8242
Change-Id: I5e364f3ddacdc4209f3bf9723b13f1946c1c8933
2024-10-15 15:50:26 +08:00
zhou.xu 20547f58c1 NEW:Unified SVG import entrance
jira: none

Change-Id: Ieabad4379765202383b09af905ad59a53d9abd5a
2024-10-15 15:50:26 +08:00
Arthur 26a0213a1c ENH: [auto arranging] pop message for skipped plates
jira: STUDIO-5652
Change-Id: I1ecc191e333cc837ff71163ffcc47d4bc6116a86
(cherry picked from commit b250e3dba4c897c5bb36f52e2ddbabfe8578b32f)
2024-10-15 15:50:26 +08:00
Arthur 1fa7359913 ENH: improve auto arranging after bed changes
1. fix that the arranging results may collide with wipe tower
2. remove unnecessary empty plates
Note: there may still be empty plates due to large objects
put outside. This is normal.

jira: STUDIO-8090, STUDIO-8091
Change-Id: Id8be1ede8794a8ef69bd882a663652d8efc9eeda
(cherry picked from commit 393bfe0602d6b7c4d352965c9c6011d129e12141)
2024-10-15 15:50:26 +08:00
zhou.xu 070973e2ce FIX:delete useless assert code
jira: none
Change-Id: I09f5299a67e2907dca9be0eb64ad3a3cc2d41b98
2024-10-15 15:50:26 +08:00
zhou.xu 811e257936 FIX:delete useless code
jira: none
Change-Id: I036cc0d18ad67a46db159537680943dfa1236538
2024-10-15 15:50:26 +08:00
zhou.xu 9541e2d05e NEW:add interactive function after importing SVG
jira:STUDIO-7406

most of code is from PrusaSlicer and OrcaSlicer,thanks for  Filip Sykala - NTB T15p(PrusaSlicer) and Noisyfox(OrcaSlicer)
 Port Emboss & SVG gizmo from PrusaSlicer (#2819)
* Rework UI jobs to make them more understandable and flexible.

Change-Id: I765c7658b0881869754bdb161d720e4cbb180c92
(cherry picked from commit 3cef4611793899fa0ac39cb4d3a3abed7270a8e9)
2024-10-15 15:50:26 +08:00
Arthur 45386c862f NEW: auto arrange after bed size changes
1. auto arrange after bed size changes
When the bed size changes from big to small, auto arrange items outside
beds, while keeping the inside ones still.
This action can be undoed with ctrl+z.
2. Fix the issue that double clicking the orient button of plate causes
a never disappearing busy cursor.
jira: STUDIO-7978

Change-Id: I5ee1f73b80735777c21438a01cbc4649d8cce3fa
(cherry picked from commit f67fd877ea7b07148dc9539938ba319a4f960d0e)
2024-10-15 15:50:26 +08:00
Kunlong Ma 777c16fef0 ENH: Optimize the presentation of error code dialog
JIRA: STUDIO-7469 STUDIO-7477 STUDIO-7613

Change-Id: I6689dc375a51a1d690b82f9dbaa79d1555f7816f
2024-10-15 15:50:26 +08:00
Arthur 98e9be4eb8 ENH: better way to rotate items in auto arranging
This helps stabilize "auto rotate" and "align to Y axis" functions.

jira: STUDIO-7775, STUDIO-7036
Change-Id: I3c35fa1d6c5e033915584213cdf79f3aac4dc099
2024-10-15 15:50:26 +08:00
Arthur 4542c8eaff FIX: skirt distance was incorrect in auto arranging
Can't use plater->config(),have to use full_config instead.

jira: STUDIO-7588
Change-Id: I1677ff615a7ed99ad439c6bfe3fac9bdf1e3434b
2024-10-15 15:50:26 +08:00
tao wang d652deda1d NEW:online printing add a field for desginID
jira:[desgin ID]

Change-Id: Idc482f961a95d753b570bdda129b62b76bb6eaf8
2024-06-21 09:15:34 +08:00
tao wang 20b0cba046 ENH:SD card printing using cloud service
jira:[for sdcard print]

Change-Id: I9b3f3cc5db1b5c1c63d4e9e016cdd81db6893b65
2024-06-11 18:17:08 +08:00
Bastien Nocera e297122ec2 slic3r: Fix std::regex declaration
/run/build/BambuStudio/src/slic3r/GUI/Jobs/PrintJob.cpp: In member function ‘virtual void Slic3r::GUI::PrintJob::process()’:
/run/build/BambuStudio/src/slic3r/GUI/Jobs/PrintJob.cpp:291:22: error: ‘regex’ is not a member of ‘std’; did you mean ‘boost::regex’?
  291 |                 std::regex pattern("_+");
      |                      ^~~~~
2024-05-14 15:57:23 +08:00
tao wang 1bcf30c39c FIX:filter the characters of model names in the model mall
jira:[STUDIO-6649]
If the model comes from model mall, the name from the mall will be used when sending and printing. When there are special characters in the name, it will cause the sending to fail.

Change-Id: I324441cc7177e7062b79280c5d23afe9eeb5e4c2
2024-05-13 09:20:46 +08:00
tao wang b424de749c NEW:support pin code binding
Change-Id: Ida5d47881fbd83f3ffedc80369cfe377114d7f13
2024-04-23 20:07:49 +08:00
Arthur eb50f3ee58 FIX: auto arranging gets wrong object height
obj->bounding_box().size() is not the real object size if the object has been rotated.

jira: STUDIO-5999
Change-Id: I6553d4c990696efd674e3e57063802127d5d5282
(cherry picked from commit 479ea9fb02f55d24f27c94633f3d852bd5c62c83)
2024-04-08 19:50:03 +08:00
Kunlong Ma 8c4773d7fc FIX: filling bed fails if the bed is already full
JIRA: STUDIO-6490

Signed-off-by: Kunlong Ma <kunlong.ma@bambulab.com>
Change-Id: I71b5a01a95cdffef7c0750e6347fa8911dcd781d
2024-03-25 20:30:57 +08:00
Arthur ceaf008dd4 FIX: auto-aranging can't restart with context button if canceled
jira: STUDIO-6027
Change-Id: Ie87caa205f98a40099c615d89a22000a378bef5c
(cherry picked from commit 03e48ec5d9ac4e93c533390247a6a4a6f4ae31e8)
2024-03-25 15:29:19 +08:00
Arthur bba3d979f1 FIX: auto-arranging unprintable items may crash
github: #3676
Change-Id: I68eb87c73ad2c0c269f60e661136fd1a72ee5e2f
(cherry picked from commit 7e3c57eaa811424935fe8db6a4e77dd142ee2b58)
2024-03-25 15:29:19 +08:00
tao wang d871339f0d ENH:STL tracking restricted area
jira:[STUDIO-6155]

Change-Id: I289c8b8aa8f62f0e5cc7004fb60437aa3337ca85
2024-03-25 15:29:19 +08:00
Arthur 2839439cb3 ENH: find grid empty cells for fill bed if the item is too small
jira: STUDIO-6015
Change-Id: I4e5eafdadd77482a27a8903d32bb83325283088d
(cherry picked from commit 8df4da4a863cdc42c790a9d5da37f8633423e406)
2024-03-25 15:29:19 +08:00
Arthur 5145f39f57 FIX: low-level NFP bug with auto-arranging
1. FIX low-level NFP bug with auto-arranging due to correctNfpPosition's
  bug.
    jira: STUDIO-5756, STUDIO-4874
2. FIX large items may not be able to be packed due to a too large inflation
    jira: STUDIO-5566, STUDIO-5716
    github: #3194

Change-Id: Id63fb3a5f5fe7ce3a5675c86a3d1440f46866ca3
(cherry picked from commit 9a789262cee4e14f10b673a4f00126d27bcf071b)
2024-03-25 10:42:29 +08:00
Arthur fde4d41821 ENH: improve auto-arranging
1. add a translation
   jira: STUDIO-5758
2. fix by-object arranging failing issue due to wrong exclusion_gap
  jira: STUDIO-5941

Change-Id: Icbdbdf7d8ba91be7f355d31a5f81a9f79356dc7e
(cherry picked from commit eed212e3550cb2256625a6fd09fc3d69d66659c4)
2024-03-25 10:42:29 +08:00
Kunlong Ma 8cba6a3566 FIX: Copywriting updates
JIRA: NONE

Change-Id: I6df034f95b4e6d517c57286dd6f564510b9fa4ab
2024-03-25 10:42:29 +08:00
Arthur 472640c1f1 NEW: add nozzle_height to machine profile and do not detect conflict
Jira: request from 1.9

1. add nozzle_height to machine profile
2. auto arranging and sequential_print_clearance_valid don't consider objects conflicting if they are all shorter than nozzle_height and close.
3. do not detect conflict when all models are short.

Change-Id: I8d1eebb15d5bfa8c40d7491e033149e360531b89
(cherry picked from commit 6b4b52653db5f08d724a556c5c766c0bfa00f34d)
2024-03-25 10:42:29 +08:00
Stone Li 557d587bfa ENH: add dev_ota_version in ssdp
JIRA: STUDIO-5740

Change-Id: Ic80e6d4b9bf82813fdc4a76604a3d36213d12b03
Signed-off-by: Stone Li <stone.li@bambulab.com>
2024-03-25 10:42:29 +08:00
Arthur 6c6934bf81 FIX: crash of "filling bed"
"get_arrange_settings() const" gets trapped in infinite recursive calling.
Now we delete this function.

jira: STUDIO-5688
Change-Id: Ia39974734bb37b2a2f06b5bf78185f01be726872
(cherry picked from commit 631365822319139ae84e8cd8cbad5f10d9a10c4a)
2024-03-25 10:42:29 +08:00
tao wang 594a189108 NEW:limit the length of project name
jira:[project name]

Change-Id: I955620f7073b3b7fda280d1118524f561d047751
2024-03-25 10:42:29 +08:00
Arthur e98caffab1 FIX: auto arranging skip unprintable high items
Jira: STUDIO-5646
Change-Id: I72dc3d8c71a075bab8204f4418e869a7a34c0c8e
(cherry picked from commit 0afdf8361493485da2254c426719594fd9a982ed)
2024-03-25 10:42:29 +08:00