Commit graph

24729 commits

Author SHA1 Message Date
Arthur
b3be5bb161 ENH: tree support uses accurate lslices
For tree support, use lslices as tree support island when generating brim,
as this is faster and more accurate.
For normal support, still use "support_fills.polygons_covered_by_spacing()" as support island when generating brim;

Jira: studio 4332

Change-Id: Ibfadd3a166606f824e5780b57112fff221470aaf
(cherry picked from commit 64960b19818c7029eaaaf3d8a89804aeaa26f11d)
(cherry picked from commit 181b05c236)
2025-02-08 11:34:22 +08:00
Noisyfox
cc9f29c463 Rename smsOrganic to smsTreeOrganic 2025-02-08 11:34:22 +08:00
Arthur
1c498664a5 FIX: several support bugs
1. interlaced rectilinear interface pattern not working with tree supports
2. infill overlaps with walls when wall count>1
3. support blockers can't block sharp tail detection in normal support
   jira: STUDIO-5663
4. bottom z distance=0 not working for normal support.
   jira: STUDIO-5676
   github: #3203

Change-Id: I025eff2aaad90ad565661aa656c59c82ff969bbf
(cherry picked from commit 5aaf7ead0fd697043f673161e0ede0145ec49f4d)
(cherry picked from commit f3bd5ff87021b5c26794751a1f1da4349b603102)
2025-02-08 11:34:21 +08:00
Arthur
8c51f3e693 FIX: crash when support type and style are inconsistent
jira: STUDIO-5428
Change-Id: Ib1e79c71736810099e15282c30524e55e8f60f34
(cherry picked from commit aefb7fbaf25146c03bd2eb336f58ed2eb0e83ea6)
(cherry picked from commit 697a7bbee3)
2025-02-08 11:34:20 +08:00
Arthur
c443951f30 FIX: organic support not work with raft only
There is no raft generated when only raft enabled but no support needed.
jira: none

Change-Id: Ic0c9269e2f98038d85c9bc54e4a85f892dc5d764
(cherry picked from commit 1106ff8253)
2025-02-08 11:34:20 +08:00
Arthur
e8d4291e02 FIX: adaptive layer height may mess up support layers
We must ensure when independent support layer height is enabled, the
support layers are strictly synced with object layers. Otherwise, the
wipe tower toolchange may be messed up.

Jira: STUDIO-4097
Change-Id: I6208653f9665b15d028940d5e130c9e895629fc2
(cherry picked from commit 41d35c8af152c91cb356a68d88a879a115b44778)
(cherry picked from commit 2b593ce378)
2025-02-08 11:34:19 +08:00
Arthur
5f450923c9 FIX: compiling error on linux
jira: none
Change-Id: I1a4563503b5ddf74a1979cc0cee7a15b8aced904
(cherry picked from commit de52c6ca62c9f3a6314ddf5a856c1d8534329886)
(cherry picked from commit 4bd2b7f96d)
2025-02-08 11:34:18 +08:00
Arthur
14ecfac592 ENH: open support wall count for normal support
1. open support wall count for normal support
  Enabling this option makes normal support stronger and gives
  better overhang quality, but also more difficult to removal.
  Jira: STUDIO-5192
2. fix a bug where tree support (hybrid style) may get overlapped
  extrusions near the walls.
3. fix a bug where raft layers can't be 1 in tree support
  Jira: STUDIO-5261

Change-Id: Iadc0c67a9b50b5b221c8e83d5aa22ed282018cf8
(cherry picked from commit c0bb0084e386cb70ed6e16edf93190e4b38f5b90)
(cherry picked from commit bf93fd02fb)
2025-02-08 11:34:18 +08:00
Arthur
8a7cc79129 ENH: improve first layer tree support
First layer support can't be top interface, and
min brim width of auto mode should be larger
than 0.

Jira: STUDIO-5010
Change-Id: I02f8b017b535f8a47965387e8679f692b1966e04
(cherry picked from commit 3e7d54abe352e8ab5f9d6492b5a86a96f9067f94)
(cherry picked from commit 7efebe6bc6)
2025-02-08 11:34:17 +08:00
Noisyfox
5fb0e01943 ENH: improve auto-arranging objects with tree support
We decide to set brim width of all objects to MAX_BRANCH_RADIUS_FIRST_LAYER if there is an object with tree support after discussion.

Jira: MAK-2009
Change-Id: I4c4940800632c433235966b01c44ac910e33a51c

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

Co-authored-by: Arthur <arthur.tang@bambulab.com>
2025-02-08 11:34:17 +08:00
Noisyfox
70c4961df3 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
2205ad0069 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
1d1df4b0a5 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
51290a853d 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
4034ffea18 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
824f9efb69 Remove duplicated support code 2025-02-08 11:34:13 +08:00
Noisyfox
58d524d75f Remove unused Organic tree code 2025-02-08 11:34:12 +08:00
Russell Cloran
06c809c598
Add Prusa MK4S profiles (#8279)
* Whitespace cleanup in Prusa profile

```
$ diff -u Prusa.json <(jq --indent 4 < Prusa.json) | wc -l
       0
```

* Add Prusa MK4S profiles

There were generated from the PrusaSlicer profiles[0] using some scripts
which try to faithfully convert the profiles[1]. The high flow nozzle
settings have been modeled as a separate printer model.

A few things I'm aware of that haven't been converted:

 - Filament multi-material settings (eg loading speeds)
 - High-flow and abrasive nozzle check in gcode, which, as far as I
   know, isn't available in the current firmware anyways

I've also found that disabling z-hop on layer change in OrcaSlicer seems
more similar to the behavior in PrusaSlicer (which allows travel
distance limitations to override that setting), so I've disabled that.

Fixes #7391

[0]: 0bca90da13/resources/profiles/PrusaResearch.ini
[1]: 20d2881
2025-02-08 00:12:55 +08:00
VOLUMIC
2af5aa56d8
Add new machines (#8274)
* Add new machines

* profils fixes

* Update VS30ULTRA (0.4 nozzle).json

* accelerations removing

* Fixes

* Acceleration fixes

* Update .gitignore

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-02-08 00:10:12 +08:00
Ioannis Giannakas
03a9d3f5ca
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
42577feeba
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
SoftFever
af893267e6 fix wrong retraction value in some printer profiles 2025-02-07 20:20:30 +08:00
Noisyfox
658c4f096e
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
321c209a74
Match text size of advanced toggle text (#8318)
Update ParamsPanel.cpp
2025-02-05 11:22:56 +08:00
Paul
8337db208a
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
Noisyfox
69c3661876
Merge branch 'main' into dbuzz/toolbar-icon-size 2025-02-05 08:57:39 +08:00
SoftFever
b18a24920b
Merge branch 'main' into dev/save-local-machine 2025-02-04 07:59:30 +08:00
SoftFever
532a2d36b5
disable flatpak upload (#8306) 2025-02-04 06:36:53 +08:00
SoftFever
dc83549aa1
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
Dima Buzdyk
7b3e0cc637 glcanvas: scale icons using icon size, not scale factor
Calculate toolbar icon size the same way as it done on windows:
 manipulate icon size, not toolbar scale.

Scaling icons this way makes images sharper since they getting
rasterized to a target size rather than being rasterized for 40px and
scaled to a desired size later.
2025-02-03 21:14:08 +10:00
Jonathan Rascher
0c190860e2
Configure filament change and pause commands for SV06 (Plus) ACE (#8233)
Configure M600, PAUSE for SV06 (Plus) ACE
2025-02-02 21:00:52 +08:00
yw4z
93477bc2ec
Hide delete filament button while only 1 filament exist (#8240)
Update Plater.cpp
2025-02-02 20:59:44 +08:00
Andres Gongora
41236140ca
Fix bold text in Calibration.md (#8239)
* Fix bold text in Calibration.md

* Update doc/Calibration.md

Co-authored-by: discip <53649486+discip@users.noreply.github.com>

---------

Co-authored-by: discip <53649486+discip@users.noreply.github.com>
2025-02-02 20:58:12 +08:00
Codey Whitt
2767f180b6
Addresses #8275 by adding time lapse gcode to the profile (#8278)
Addresses #8275 by adding time lapse gcode

The profile was missing the time lapse gcode. I ported the time lapse gcode from Qidi Studio's layer change for this profile.

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2025-02-02 20:56:57 +08:00
Codey Whitt
dedc3cbae0
Addresses #8093 by using proper placeholder for bed temperature (#8253)
addresses #8093 by using proper placeholder

The original setting was using `hot_plate_temp_initial_layer` which doesn't respect the various build plate temperatures. `bed_temperature_initial_layer_single` does.

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2025-02-02 20:55:40 +08:00
Noisyfox
991802a3a7 Merge branch 'main' into dev/save-local-machine 2025-02-02 15:00:25 +08:00
Noisyfox
3cd8b82dfb Add basic sanity checks for serial number input, to reduce potential crash caused by wrong SN 2025-02-02 14:59:51 +08:00
Thomas
6473a0d2c8
Fix some filaments profiles for Anycubic Kobra S1 (#8262)
* Fix some filaments profiles for Anycubic Kobra S1
2025-02-01 21:24:45 +08:00
Dima Buzdyk
c0533eba6f
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
00418626cb
Fix for about page (#8225)
Update AboutDialog.cpp
2025-02-01 17:51:33 +08:00
Ioannis Giannakas
c7a68b0f26
Fix one wall top surface incorrect spacing when precise wall is enabled (#8230) 2025-02-01 17:50:13 +08:00
Noisyfox
f4acdd775e Implement manual printer setup 2025-01-31 19:18:04 +08:00
Noisyfox
cbc97f4ae7 Add manual printer setup 2025-01-31 18:19:42 +08:00
Noisyfox
fbf4281c36 Ip binding dialog add printer name input 2025-01-31 17:37:41 +08:00
MiguelCruz
a29d535bc4
Update RatRig V-Core 4 500 0.4 nozzle.json WRONG print height (#8238)
* Update RatRig V-Core 4 500 0.4 nozzle.json WRONG print height

Hi! The V-Core 4 500 0.4 machine has the wrong print height defined, limiting it to 300mm.
2025-01-31 16:47:20 +08:00
Thomas
700f6e3841
Fix missing "%" on Sovol profiles fixes #8207 (#8223)
* Fixes missing "%", fixes #8207
2025-01-31 16:46:22 +08:00
blackhead1981
ea99eeb51f
Update to profile version 01.10.00.33 and add new Bambu filaments (#8091)
The following Bambu filaments have been added:
- Bambu PLA Wood
- Bambu PLA Silk+
- Bambu PC FR
- Bambu PETG Translucent

Additional variants for the above filaments have also been added, including versions for different nozzles and printers.

The filament vendor for Fiberon PA612-CF has been corrected from "Bambu Lab" to "Polymaker."
2025-01-31 16:44:56 +08:00
HYzd766
c217b53285
Qidi profile udpates: new filaments etc... (#8121) 2025-01-31 16:41:33 +08:00
Noisyfox
09ee5fbc2c Automatically connect local machine when switch to device tab 2025-01-31 16:33:59 +08:00
Noisyfox
01bc090914 Don't reset access code unless wrong password 2025-01-31 16:33:58 +08:00