Commit graph

13817 commits

Author SHA1 Message Date
SoftFever
a4e37d428e Hide the dependencies tab for process. The UI is not ready yet. 2025-02-16 18:26:01 +08:00
SoftFever
ad5fcb704b
Revert "Fix strange M73 behaviour, where M73 is still present, even if disabled" (#8423)
Revert "Fix strange M73 behaviour, where M73 is still present, even if disabl…"

This reverts commit 740f115790.
2025-02-16 16:23:30 +08:00
Schildkroet
740f115790
Fix strange M73 behaviour, where M73 is still present, even if disabled (#8388)
Fix strange M73 behaviour, where M73 is still present, even if disabled or reporting wrong progress
fix #8369
2025-02-16 15:44:37 +08:00
SoftFever
85bbbee8bc
Expose interface_shells option (#8411) 2025-02-15 23:26:52 +08:00
Noisyfox
ccbda78477
Fix Fan mover when absolute E is used (#8359)
Make sure the GCodeReader is initialized properly, so the relative e config is correct (SoftFever/OrcaSlicer#8221)
2025-02-15 13:08:01 +08:00
Noisyfox
a359c05b8d
FIX:filter the characters of model names in the model mall (#8407)
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
(cherry picked from commit 1bcf30c39c648763952703c9060573baa2782f87)

Co-authored-by: tao wang <tao.wang@bambulab.com>
2025-02-15 12:31:41 +08:00
SoftFever
2e4a2a26e6 Update locale 2025-02-14 23:42:43 +08:00
SoftFever
12fb6db8ef
Fixed a bug that flash matrix affects multi tool's wipe tower (#8408)
disable/ignore purge_in_prime_tower for multi tool machine
2025-02-14 23:38:51 +08:00
SoftFever
fcc5489911
Fixed an bug that filament_minimal_purge_on_wipe_tower option doesn't work for soluable filament (#8397) 2025-02-14 23:38:18 +08:00
Ioannis Giannakas
b4a7721cc0
Enhancement: Additional controls over bridges (#8263)
* Additional control over bridges

* Label updates

* Detect and handle layers over external bridges

* Label updates

* To-Do placeholders

* Filter out small external bridges

* Apply safety offset for internal bridge polygon intersections

* code comments

* Increase bridge offsets to 3 perimeters total (1.5 perimeter in each dimension)

* Filter out bridges based on perimeter counts to focus bridge on areas where bridge infill is actually generated in the end.

* Fixing bugs

* Convert tick boxes to drop down menu

* Additional geometry checks for second internal bridge to ensure no small polygons are left over.

* Minor code refactor for clarity

* Further refinements in polygon logic

* Polygon logic refinements pt3

* Further union operations to ensure clean geometry

* Fix compile error

* Clean up constructors

* Only create bridges on stInternalSolid areas, not sparse infill.

* Refactor internal second bridge logic to stand alone parallel for loop to avoid thread deadlocks

* Revert change to only consider stInternalSolid areas for second internal bridge layer.

This resulted in partly unsupported solid infill areas above as the remainder was too narrow to generate sparse infill

* Updated beta statements and tooltip changes

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2025-02-12 22:10:57 +08:00
hadess
589340c8ff
unix: Fix "Open in Orca Slicer" button on Thingiverse (#8377)
Make the "Open in Orca Slicer" button on Thingiverse work by informing
the system that Orca Slicer is the application to handle URLs with the
orcaslicer scheme.

This fixes this error message visible in Firefox' console when clicking
the button on the website:
Prevented navigation to “orcaslicer://open?file=https%3A%2F%2Fwww.thingiverse.com%2Fdownload%3A14134689” due to an unknown protocol.

See https://github.com/bambulab/BambuStudio/commit/62006bba30f39
2025-02-12 09:54:37 +08:00
Eric Maglio
5145707801
Add "2D Lattice" fill pattern for lightweight aircraft structures (#8293)
* Add 2D lattice infill pattern

* Add state invalidation behavior for lattice infill angles

* Update SurfaceFillParams methods to account for lattice infill angles

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2025-02-12 08:39:29 +08:00
Eldenroot
c21b044a9c
Fix "Enable AMS" checkbox font inconsistency (#8363)
backported https://github.com/bambulab/BambuStudio/pull/5751
2025-02-10 09:13:58 +08:00
Ioannis Giannakas
229a826aa7
Enhancement: Internal Bridge angle override (#7908)
Internal Bridge angle override
2025-02-09 22:00:16 +08:00
Ioannis Giannakas
4e74aaf144
Enhancement: Enable separate internal bridge fan speed control (#7906)
* Separate internal bridge fan speed control

* Merge branch 'SoftFever:main' into Allow-separate-internal-bridge-fan-control

* Merge branch 'main' into Allow-separate-internal-bridge-fan-control

* Merge branch 'SoftFever:main' into Allow-separate-internal-bridge-fan-control

* Merge branch 'main' into Allow-separate-internal-bridge-fan-control

* Merge remote-tracking branch 'upstream/main' into Allow-separate-internal-bridge-fan-control

* Merge branch 'main' into Allow-separate-internal-bridge-fan-control

* Merge branch 'main' into Allow-separate-internal-bridge-fan-control

* Merge branch 'main' into Allow-separate-internal-bridge-fan-control

* Merge branch 'main' into Allow-separate-internal-bridge-fan-control
2025-02-09 21:53:57 +08:00
Ioannis Giannakas
2eed82ed81
Fix 10-25% overhang slowdown not working as expected (#8080)
* Fix 10-25% overhang slowdown not working as expected

* Merge branch 'main' into Fix-10-25%-overhang-slowdown-not-working-as-expected

* Merge remote-tracking branch 'upstream/main' into Fix-10-25%-overhang-slowdown-not-working-as-expected

* Merge branch 'main' into Fix-10-25%-overhang-slowdown-not-working-as-expected

* Merge branch 'main' into Fix-10-25%-overhang-slowdown-not-working-as-expected

* Merge branch 'main' into Fix-10-25%-overhang-slowdown-not-working-as-expected

* Merge branch 'main' into Fix-10-25%-overhang-slowdown-not-working-as-expected
2025-02-09 21:12:02 +08:00
SoftFever
107cd3edb0
fix a crash bug when generating support (#8357) 2025-02-09 19:59:30 +08:00
Sims
cc92abf8b5
Implement #8106: Add setting to prevent loading printer information/project settings from .3mf (#8268)
* Initial implementation

* Add remember option to open project/load geometry only popup

* PR Feedback
2025-02-09 09:51:36 +08:00
Noisyfox
d1161ea0e7
Update color palette for new filaments (#8178)
PROBLEM
• Current color palette has many repeating or very similar colors
• Colors looks came from 80s and all raw colors like rgb(0,255,255)
• Black and White colors shows less details on surfaces due to shadows
and highlights
 
SOLUTION
• Picked more specific color tones. Tried to make every alternative to
easily identifiable
• Didnt used black, white or gray

QUESTIONABLE
• New colors follows given order and i used orca color as first. Maybe
orange one is better pick
• I can add, remove, or change order of colors

COMPARISON
before

![Screenshot-20250125041332](https://github.com/user-attachments/assets/68274b67-311d-47dc-a3b2-b4ceccbdcf9b)
after

![Screenshot-20250125042325](https://github.com/user-attachments/assets/fd2e1061-1075-4586-b5c6-d51311312766)

old color set

![Screenshot-20250125044859](https://github.com/user-attachments/assets/4ded5fd0-b514-47de-b09c-9fb24195020f)

new color set

![Screenshot-20250125043210](https://github.com/user-attachments/assets/137fa019-1f81-48bc-a6a2-578d0bed22cb)

as text if you want to experiment
`
        wxColour("#00C1AE"),
        wxColour("#F4E2C1"),
        wxColour("#ED1C24"),
        wxColour("#00FF7F"),
        wxColour("#F26722"),
        wxColour("#FFEB31"),
        wxColour("#7841CE"),
        wxColour("#115877"),
        wxColour("#ED1E79"),
        wxColour("#2EBDEF"),
        wxColour("#345B2F"),
        wxColour("#800080"),
        wxColour("#FA8173"),
        wxColour("#800000"),
        wxColour("#F7B763"),
        wxColour("#A4C41E"),
`
2025-02-08 23:15:35 +08:00
Noisyfox
b29edeb282
glcanvas: scale icons using icon size, not scale factor (#8301)
# Description

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.

# Screenshots/Recordings/Graphs

Test samples with different toolbar scaling/app window width (top one is
original, bottom one - updated)

![Screenshot from 2025-02-03
21-12-23](https://github.com/user-attachments/assets/9fdf810e-9479-4932-b6fd-1124f33fa335)

![Screenshot from 2025-02-03
21-12-40](https://github.com/user-attachments/assets/301306f2-eab2-4770-9a75-19131501342c)

![Screenshot from 2025-02-03
21-13-10](https://github.com/user-attachments/assets/6138958d-0aa9-4e35-af10-643668760f6a)

![Screenshot from 2025-02-03
21-13-26](https://github.com/user-attachments/assets/e1988f20-eac4-4696-98b9-8483a16dcdfd)


## Tests

Tested on Linux only.
2025-02-08 23:12:40 +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
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
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
yw4z
93477bc2ec
Hide delete filament button while only 1 filament exist (#8240)
Update Plater.cpp
2025-02-02 20:59:44 +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
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
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
Noisyfox
2e64cc2f7e Save binded local machines 2025-01-31 16:33:57 +08:00
SoftFever
2e86306118
Merge branch 'main' into dev/update-bbs-network 2025-01-28 21:57:04 +08:00
Toure Dunnon
f620879eb5
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
6ed68342e0
fix build errors (#8210)
* fix build errors

* fix windows

* fix flatpak
2025-01-28 01:07:27 +08:00
Nick Johnson
fd0b2547f2
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
118e14d788
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
b342cc6e20
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
592402ea46
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
4a4f27e599
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
yw4z
fd933a8d8a Update color palette 2025-01-25 04:52:01 +03:00