Commit Graph

13801 Commits

Author SHA1 Message Date
Noisyfox
85494dd2b3 FIX: tree support generates floating hybrid supports
Jira: STUDIO-4763
Github: #2660

Change-Id: I13d5a1443af8bc82f0cadd177e0db3fc3db971f1

(cherry picked from commit bambulab/BambuStudio@0964b5bb0a)

Co-authored-by: Arthur <arthur.tang@bambulab.com>
2025-02-08 11:34:16 +08:00
Noisyfox
dc7668742e FIX: improve tree support generation speed
1. Improve generation speed by removing unnecessary get_avoidance.
2. Fix a bug of hybrid support's interface (Jira: STUDIO-4878,
   STUDIO-4726, Github#2614)
3. Fix a bug of tree support pass through objects (Jira: STUDIO-4252, STUDIO-4608
STUDIO-4298)
4. Fix a bug with first layer + Arachne (Jira: STUDIO-4281, Github #2423)

Change-Id: I40978c93ab93fa6964483514dad552d73a66c710
(cherry picked from commit 2ccbbe49c74d4aab4f086e79a6f8262b7fc80f15)

(cherry picked from commit bambulab/BambuStudio@d7a4623380)

Co-authored-by: Arthur <arthur.tang@bambulab.com>
2025-02-08 11:34:15 +08:00
Noisyfox
3fb9a0e54e ENH: improve tree support
1. add a hook inside tree branches for improved strength
2. fix the issue that interface may fly as a mess (delete the logic
  where gap nodes can skip dropping down)
3. fix the issue that base nodes may fly as a mess (smoothing should
  skip polygon nodes, see Jira:STUDIO-4403)

Change-Id: Ie9f2039813c2ca3127ed8913304cc455fec8e7ee
(cherry picked from commit 83cef5f91d49ff3d275a89ec3df8b5f0fd573f8c)

(cherry picked from commit bambulab/BambuStudio@76f876a3c6)

Co-authored-by: Arthur <arthur.tang@bambulab.com>
2025-02-08 11:34:15 +08:00
Noisyfox
2cac573f2e Clean up tree support code
(cherry picked from commit bambulab/BambuStudio@39ae64fc53)

Co-authored-by: Arthur <arthur.tang@bambulab.com>
2025-02-08 11:34:14 +08:00
Noisyfox
3b756b6c2c Replace TreeSupport::SupportParams with SupportParameters
(cherry picked from commit bambulab/BambuStudio@39ae64fc53)

Co-authored-by: Arthur <arthur.tang@bambulab.com>
2025-02-08 11:34:14 +08:00
Noisyfox
6c9b06a40c Remove duplicated support code 2025-02-08 11:34:13 +08:00
Noisyfox
85fe9a977d Remove unused Organic tree code 2025-02-08 11:34:12 +08:00
Ioannis Giannakas
59a1b60a03 Precise wall enabled for all wall ordering types (#8247)
* Allow presice outer wall irrespective of wall ordering

* Fix precise wall IOI ordering spacing

* Enable for classic mode
2025-02-07 23:34:27 +08:00
Noisyfox
e0c51575c6 Clip the organic supports outside bed (#8195)
Clip the organic supports outside bed. (SoftFever/OrcaSlicer#7922)

(cherry picked from commit bambulab/BambuStudio@2c6a6ae5f4)

Co-authored-by: Arthur <arthur.tang@bambulab.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-02-07 23:18:58 +08:00
Noisyfox
2e46a4b82c Proper support of Bambu LAN printers (#8256)
**The latest download link can be found from the "Checks" tab above or
[here](https://github.com/SoftFever/OrcaSlicer/pull/8256/checks). There
should be an "artifact" dropdown on top of that page once the build is
completed.**

This PR solves the following problems:

- Bind printers in different subnet
- Binded LAN printers are not automatically connected when switching to
Device tab


![32217e0ea2ed5434d8916ad5c46e69c4](https://github.com/user-attachments/assets/a9189d74-c9b4-466c-9839-15cb79cf89bc)

![2fc422ddd3a89ae675de426953e44c1b](https://github.com/user-attachments/assets/2768c46c-c992-46a5-bb32-caa3aacfa62b)

![image](https://github.com/user-attachments/assets/0a65fffa-401a-4aa4-ba46-7681b642f1d1)


Few improtant things to know:

The automatic printer info detection (ie, the step in the first image)
doesn't work on MacOS, when you click "Connect" you will immediately be
prompted to the second image to enter the printer details. (I don't know
why but Bambu does not provide this capability on MacOS for their
network plugin)

AFAIK, P1 series do not support automatic printer info detection (as
tested by @SoftFever and myself), so the first step is gauranteed to
fail, which is unfortunate but expected. Simply click the "Manual Setup"
button (which will appear after clicking the "Connect" button then wait
for a while) and enter the printer detail and you should be good to go.
If anything entered wrong, you could simply unbind the printer and do it
all over again.

I know current binding flow is not very user-friendly, but consider how
rare this will be used, I think it's OK. Given the current situation
this is the best I could do with the closed-source Bambu network plugin.

I only have a P1 so I couldn't throughly test this PR. Please if you
have different printers and home network configurations, your feedback
are valuable to help validating and improving this PR, thanks in
advance!

Fix #6169
Fix #8097
2025-02-05 12:42:35 +08:00
yw4z
1b1b280dfd Match text size of advanced toggle text (#8318)
Update ParamsPanel.cpp
2025-02-05 11:22:56 +08:00
Paul
92a4cec2a9 use orca color for "can't find device" link (#8298)
Co-authored-by: Paul Mineev <paul@mineev.me>
2025-02-05 09:00:05 +08:00
SoftFever
f7fa478045 Merge branch 'main' into dev/save-local-machine 2025-02-04 07:59:30 +08:00
SoftFever
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
yw4z
4804ffb793 Hide delete filament button while only 1 filament exist (#8240)
Update Plater.cpp
2025-02-02 20:59:44 +08:00
Noisyfox
4c07e7111f Merge branch 'main' into dev/save-local-machine 2025-02-02 15:00:25 +08:00
Noisyfox
48075d26fe Add basic sanity checks for serial number input, to reduce potential crash caused by wrong SN 2025-02-02 14:59:51 +08:00
Dima Buzdyk
6a4224626d Fix sticky camera rotate for touchpad navigation style on Windows (#8249)
* glcanvas: add modifiers to mouse events logging

* glcanvas: workaround for touchpad nav on Win

Releasing ALT on windows platform result in GLCanvas losing focus.
Because of this mouse movements not being processed by on_mouse() event
handler and camera rotation have not cleaned up.

Make a workaround for Windows to cleanup camera rotate state on
releasing ALT modifier.
2025-02-01 18:02:10 +08:00
yw4z
aae50912bd Fix for about page (#8225)
Update AboutDialog.cpp
2025-02-01 17:51:33 +08:00
Ioannis Giannakas
432a8e7ed1 Fix one wall top surface incorrect spacing when precise wall is enabled (#8230) 2025-02-01 17:50:13 +08:00
Noisyfox
88f0a232dc Implement manual printer setup 2025-01-31 19:18:04 +08:00
Noisyfox
2321276248 Add manual printer setup 2025-01-31 18:19:42 +08:00
Noisyfox
623a8e3f09 Ip binding dialog add printer name input 2025-01-31 17:37:41 +08:00
Noisyfox
45d8ea6115 Automatically connect local machine when switch to device tab 2025-01-31 16:33:59 +08:00
Noisyfox
d198f610d7 Don't reset access code unless wrong password 2025-01-31 16:33:58 +08:00
Noisyfox
5a404bd4b6 Save binded local machines 2025-01-31 16:33:57 +08:00
SoftFever
a23d28787c Merge branch 'main' into dev/update-bbs-network 2025-01-28 21:57:04 +08:00
Toure Dunnon
fb5d5d616c Fix: URL-encode password in Duet::get_connect_url (#8215)
Signed-off-by: Toure Dunnon <tdunnon@gmail.com>
2025-01-28 15:34:29 +08:00
SoftFever
b348c4820f fix build errors (#8210)
* fix build errors

* fix windows

* fix flatpak
2025-01-28 01:07:27 +08:00
Nick Johnson
e7abd7e118 Add support for structured noise (perlin) fuzzy skin (#7678)
* Add support for perlin noise fuzzy skin

* Support multiple types of coherent noise

* Updated tooltips for more clarity.

* Reorder options as suggested by @discip

* Fix accidental removal of &

* Move libnoise to deps

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-01-27 22:45:16 +08:00
andrewleek
f3f3e4701b Gcode Statistics Panel Fixes (#8172)
* Gcode Statistics Panel - Persist open/close state

Bug: On slicing a model, the Statistics Panel would be reset to being open (regardless of if the user had shut it earlier)

Fix: Now on app open the Statistics Panel will be open, but if the user closes it, its state will persist (regardless of slicing again)

https://github.com/SoftFever/OrcaSlicer/discussions/6021

* Gcode Statistics Panel - fold/unfold button width fix

Issue: The fold/unfold button width is too wide (It seems CalcTextSize is making the button wider than necessary)

Fix: Set the width to a correct fixed value
2025-01-26 08:58:38 +08:00
yw4z
5009540d80 Update logo usages on splash screen and about page (#8189)
* Splash Logo

* Update about page

* remove comment
2025-01-26 08:53:28 +08:00
Noisyfox
efbce37cbb Fix custom profiles added/removed each other run (#8179)
* Avoid updating same vendor multiple times and unnecessary version checks

* Fix custom profiles added/removed each other run (SoftFever/OrcaSlicer#8094)

Co-authored-by: Dima Buzdyk <46728448+buzzhuzz@users.noreply.github.com>

---------

Co-authored-by: Dima Buzdyk <46728448+buzzhuzz@users.noreply.github.com>
2025-01-25 23:50:16 +08:00
Noisyfox
ff72b7ddcc Fix wrong plate y possition after switching profiles with different bed size (#7923)
* FIX:update custom_texture when new_shape=false

Jira: STUDIO-5287
Change-Id: I3add95f9f9345c14a48cc7467513d1b3ce95f4c9
(cherry picked from commit 9ce7de10f4a5f1723439fbefea98595fcf678d69)

* FIX: correct the bed model to the print area origin point

Change-Id: Ieb856dff421d39694966e3c13c519f4ffa3da5c2
(cherry picked from commit 32892514ff)

* Avoid unnecessary copy of `position` parameter

* Merge branch 'main' into bugfox/plater-y
2025-01-25 11:50:30 +08:00
SoftFever
48ef0c038f Merge branch 'main' into feature/OrcaFilamentLibrary 2025-01-24 22:12:38 +08:00
Noisyfox
6c80235ca0 Merge branch 'main' into dev/update-bbs-network 2025-01-23 23:53:21 +08:00
Vovodroid
49a25a75c8 Support threshold overlap (#6606)
* Support threshold overlap

* Update tooltip
2025-01-23 18:01:38 +08:00
Noisyfox
95ff50acd6 Fix stop button 2025-01-23 14:43:24 +08:00
Noisyfox
c8f190b5ce Sync with bbs 2025-01-23 13:29:27 +08:00
tao wang
0af769496c NEW:clear token when account logs out
jira:[for logout]

Change-Id: Iafbdc9244419bb689a9626251064517ec5544c3d
(cherry picked from commit 6472fbdc6a7e7380538b6e2da29f802831a93157)
2025-01-23 13:05:42 +08:00
Noisyfox
3fba0a8937 Fix flatpack build 2025-01-23 12:51:05 +08:00
Noisyfox
d7b8ce0a08 Fix build 2025-01-23 11:38:50 +08:00
gerrit
8627d45117 ci: update network module based on commit bf743ea
Change-Id: Ic6104cad06da962e61834d7b072f2155ae729928
(cherry picked from commit 5f8b68601b1766568ec604a5b75d8a68efb24ade)
2025-01-23 11:38:27 +08:00
gerrit
d110c90a52 ci: update network module based on commit adbaa57
Change-Id: I34d6ae1a192e3eb629a37a175626da0007208746
(cherry picked from commit 4be224611afaa7d3a113d8f6c62c13061c8946e6)
2025-01-23 11:38:26 +08:00
tao wang
4464d3c6b2 FIX:Fixed printer name display error
jira:[STUDIO-8619]

Change-Id: Ie9ce0cb39623eefa3973a342b447ab2f2a765d28
(cherry picked from commit c41eb657818bb29abb3a2e7c6df7b7d489c80592)
2025-01-23 11:38:25 +08:00
tao wang
dc544d56f7 FIX:fixed that macOS will hang up as direct connected device
jira:[STUDIO-8630]

Change-Id: I96562bd11de807435fc6a2d81501800b0cf110b1
(cherry picked from commit c8a8d9f19758a33d713054eb93cd5084b38ac26a)
2025-01-23 11:38:25 +08:00
tao wang
ff29b67a00 FIX:Fixed the use of wxwidget method in other threads
jira:[for thread issue]

Change-Id: I62f5b6913d9bc25ac6c81517ef20f28fa34d0124
(cherry picked from commit b5a6fe52b5fd2f3a07a51c05e21c6315af147f9e)
2025-01-23 11:38:24 +08:00
chunmao.guo
4bbbf9c023 FIX: Force load ams list when click sync button
Change-Id: I579adc9586e0bca85c20be2784b7513361b38f7e
Jira: none
(cherry picked from commit 9c1afdc63c3b1f451d0c8e344eb476e490d1988d)
2025-01-23 11:38:23 +08:00
gerrit
ae8d1d90ac ci: update network module based on commit d2e9254
Change-Id: I9d4a7c1036b0dc3ad7fe49cac5d1a225e700ca9e
(cherry picked from commit 81f1ea9b03fd36865f6da4366d89fdee0692d321)
2025-01-23 11:38:23 +08:00
tao wang
8859248407 FIX:will not display 500 error dialog when sending print
jira:[for network error]

Change-Id: Id5fbd2182d3c1948f67382d81f8bf558daffa1c6
(cherry picked from commit 5b7cc2495cdfe8889cbddc9390bf096f72e52604)
2025-01-23 11:38:22 +08:00