Commit Graph

295 Commits

Author SHA1 Message Date
Noisyfox
108a5b8344 Update naming 2025-05-07 16:35:57 +08:00
zhimin.zeng
7c5dee1eda ENH: support auto pa cali for multi_extruder printer
jira: none
Change-Id: I835a0e20de81f9af7c40983e00bdb37ea6c95a68
(cherry picked from commit 4e387d4ace4332a7c2b6c0ab695b80a51597d0c7)
2025-05-07 15:46:24 +08:00
tao wang
319827daec ENH:support parse new print data
jira:[for new print data]

Change-Id: Iac6747e9ade690fcdf3b7b11239fe183bc7c3796
(cherry picked from commit 6c02c7bc8c77a481253e6c574f7bc13ff2cfcbdc)
2025-05-07 15:01:17 +08:00
Noisyfox
dad7320f4b Fix setting AMS calib profile
ENH: calib support multi_extruder

1. backend support multi_extrude data structure
2. Compatible with third-party calibration

(cherry picked from commit bambulab/BambuStudio@21e6271e59)

Co-authored-by: zhimin.zeng <zhimin.zeng@bambulab.com>
2025-05-06 23:04:35 +08:00
Noisyfox
9e304d0743 Merge branch 'main' into dev/bbl-network-upd 2025-05-05 15:21:17 +08:00
SoftFever
a4f35e0291 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
aef4dba512 Support both old and new version of BBL network plugin 2025-05-01 15:54:17 +08:00
Noisyfox
440d44340d Remove outdated bbl network agent functions 2025-05-01 15:53:45 +08:00
Alexandre Folle de Menezes
d37f1b6a81 Fix english strings consistency (#8881)
* "non zero" -> "non-zero"

* "Z hop" -> "Z-hop"

* "works" -> "is working"

* "version at least x" -> "version x or higher"

* "printing job" -> "print job"
"to print on" -> "printing on"

* "is not find" -> "was not found"

* "boundary of plate" -> "plate boundaries"

* "toolchange" -> "tool change"

* "colour" -> "color"

* "cancelled" -> "canceled"

* "can not" -> "cannot"

* "gcode" -> "G-code"
2025-04-26 19:59:49 +08:00
Noisyfox
228b50f858 Ensure bed shape is in correct orientation (SoftFever/OrcaSlicer#9345) 2025-04-15 12:51:01 +08:00
Noisyfox
32efc176d9 Vfa calibs - Input Shaping & Junction Deviation (#9160)
@RF47 and I have been working on a **two-step input shaping
calibration** to help fine-tune print quality and Junction Deviation
Test for Marlin2 printers.
This is based on [Klipper's Resonance
Compensation](https://www.klipper3d.org/Resonance_Compensation.html#resonance-compensation),
[Marlin’s M593 G-code](https://marlinfw.org/docs/gcode/M593.html),
discussions from
[SoftFever/OrcaSlicer#1820](https://github.com/SoftFever/OrcaSlicer/issues/1820),
some elements from the [input_shaping
branch](https://github.com/SoftFever/OrcaSlicer/tree/feature/input_shaping)
and Junction Deviation [Marlin
Documentation](https://marlinfw.org/docs/configuration/configuration.html#junction-deviation-)

This is for Marlin only, but I'm working on a future Klipper-compatible
version here:
[VFA-Calibs+Klipper](https://github.com/ianalexis/OrcaSlicer/tree/VFA-Calibs%2BKlipper).
However, we don't own a Klipper machine, so we're unsure how to improve
it or verify if it works correctly.

### Calibration Steps

1. **Frequency Test** – Helps identify the optimal input shaping
frequency.
2. **Damping Test** – Fine-tunes the damping ratio for smoother prints. 

### Screenshots

![imagen](https://github.com/user-attachments/assets/bfa9ef9c-3a81-499e-b7f8-d60a77952304)

![imagen](https://github.com/user-attachments/assets/df764cfd-85ca-4048-8748-c95a56bc2c8b)

![imagen](https://github.com/user-attachments/assets/cb991d1b-d1f5-489c-81f2-c25d4f9e394c)

![imagen](https://github.com/user-attachments/assets/7da6607c-7644-49af-8c13-97349d7226ef)

![imagen](https://github.com/user-attachments/assets/db8ce73a-6b51-4bcd-ad7e-b654074096e5)

![imagen](https://github.com/user-attachments/assets/5deea699-e5d1-4a09-85f4-809d07395ca1)

![imagen](https://github.com/user-attachments/assets/cc87c756-75a3-40e4-9df3-7437ea78ac4e)

![imagen](https://github.com/user-attachments/assets/de5a8329-3567-473f-bf40-8649d84279b6)

## Tests
- Marlin tested on **Ender 3-class printers** (@RF47 and @ianalexis)
- Klipper tested in Voron 2.4 and an FLSun T1 Pro @ShaneDelmore 
- Tested in Windows and MacOs.
2025-04-06 20:16:12 +08:00
SoftFever
b1de545ff9 Merge branch 'main' into dev/step-import-dialog 2025-04-05 17:47:59 +08:00
Ian Bassi
428cba9a25 Juntion Deviation + Documentation
Junction Deviation Calibration Test
Base documentation
 - VFA
 - Input Shaping
 - Junction Deviation

Co-Authored-By: Rodrigo <162915171+rf47@users.noreply.github.com>
2025-04-03 14:40:25 -03:00
Ian Bassi
1857849cba Input Shaping Damping
Damping
Fix spanish comments
2025-04-03 13:59:07 -03:00
Ian Bassi
19dae83e40 Input Shaping Frequency
Input Shaping calibration based in https://marlinfw.org/docs/gcode/M593.html
2025-04-03 13:59:07 -03:00
SoftFever
df19e91845 fix a bug for OTA updating feature.
Add a help script to pack OTA package
2025-03-31 23:17:02 +08:00
Mack
0bc2444079 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
Asim Siddiqui
2efee60a22 Added TCP Queue Delay + Fixed Flashforge Serial comms (#8905)
* Added TCP Queue Delay + Updated Flashforge Serial comms

- Added TCP Queue Delay parameter to delay TCP messages in queue
- Updated Flashforge Serial comms - Upload/Print to older Flashforge devices (AD3/AD4 etc) now working alongside FF Klipper devices

* Set buffer to 4096 & add 3 sec delay for file save command

* include thread in TCPConsole
2025-03-22 23:38:29 +08:00
Dima Buzdyk
ecc16bfabf pa calib: batch mode for pa pattern (#7199)
* pa calib: batch mode option
2025-03-07 19:26:54 +08:00
Noisyfox
51916ff058 Avoid using auto as type of Eigen expressions. (#8577)
According to https://eigen.tuxfamily.org/dox/TopicPitfalls.html one
should just avoid using `auto` as the type of an Eigen expression.

This PR fixes most of them I could found in the project. There might be
cases that I missed, and I might update those later if I noticed.

This should prevent issues like #7741 and hopefully fix some mysterious
crashes happened inside Eigen calls.
2025-02-26 23:07:23 +08:00
kbondar80
afab94f231 Increase upload timeout for Flashforge printers to 10 minutes (#8536)
Co-authored-by: kbondar80 <no@mail.com>
2025-02-26 19:56:38 +08:00
wujie
00a3e78f8a Add elegoo centauri carbon profile (#8405)
* Added Elegoolink connection

* Set Elegoo CC default bed to btPTE

* Friendly output of some error codes of PrintHost

* feat: Add elegoo centauri carbon profile

* fix: Fix the issue where the bed type in the printer configuration does not match the bed temperature settings when multiple bed types are not supported.

* feat: Modify the elegoo process parameters to disable slowdown_for_curled_perimeters.

* feat: Update comment to clarify plate visibility for multi bed support, BBL printer, and selected bed type.

* fix: Optimize ElegooLink upload; The code is clearer than before.

* feat: Format the ElegooPrintHostSendDialog code.

* fix: Remove the unnecessary instantiation attribute in the Elegoo process.

* fix: Flatpak compilation failed

---------

Co-authored-by: anjis <anjis.zhou@elegoo.com>
2025-02-18 23:08:34 +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
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
tao wang
5f3ff22218 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
gerrit
93f4c2bd4d 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
7a3bafc162 ci: update network module based on commit adbaa57
Change-Id: I34d6ae1a192e3eb629a37a175626da0007208746
(cherry picked from commit 4be224611afaa7d3a113d8f6c62c13061c8946e6)
2025-01-23 11:38:26 +08:00
gerrit
0aea1c0b4e 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
8bb7ea7cfc ENH:optimized the retry of requests
jira:[for network optimized]

Change-Id: Iea43f4a97c7cd568171287278a07689e954d1093
(cherry picked from commit 35d3de8abe63a0cba30948581ed26a8bc7f94162)
(cherry picked from commit 30bad38fb979f5c5a10e4b869ec2e41fa99857f8)
2025-01-23 11:38:20 +08:00
gerrit
569d4e6307 ci: update network module based on commit c4c2707
Change-Id: I7ea8f149fa14d6c3fc2c10ee970b2457f0808c08
(cherry picked from commit a9940b1d5d75d02e6f34159aeeee49b84b7d9b6c)
2025-01-23 11:38:20 +08:00
gerrit
d57cfa2a99 ci: update network module based on commit 8f93dce
Change-Id: I7fb2f5333b05346e4ba48c11fdf66838c5d67f78
(cherry picked from commit 2e4d33b5e19d6254e8f3d8ca9e5e0fdc038a885b)
2025-01-23 11:38:18 +08:00
gerrit
620e857908 ci: update network module based on commit 76ae6aa
Change-Id: I542fa0291c56755373679ad776766c4c3b29da0c
(cherry picked from commit 6aa12e460b18b722b04370e3a36d670c8ffe299d)
2025-01-23 11:38:18 +08:00
gerrit
723df03d74 ci: update network module based on commit ed13d56
Change-Id: Ibef15b6751b99486b0a60e4fb9652955666c0d3b
(cherry picked from commit ccab7b1ef30f9aa076d9837f7101e2a1b5e997cb)
2025-01-23 11:38:16 +08:00
gerrit
4c48b281fd ci: update network module based on commit 89857a1
Change-Id: Id47ec68b439751f6d1459b4325cea56b26ff175b
(cherry picked from commit 2a5c42fdd0d1228f85215ff05e5bca781ea8d663)
2025-01-23 11:38:14 +08:00
gerrit
a2eea5fe2b ci: update network module based on commit 0988159
Change-Id: I28069501e6fb9468d92903a82e3e6839f007ef3d
(cherry picked from commit 6aca03d69a6f5e80d9551b8f192ed8199cec1f1c)
2025-01-23 11:38:11 +08:00
lane.wei
a0c0964b8c ENH: network: refine current path logic
only use the same path as binary for current path

JIRA: STUDIO-7875

Change-Id: I5523e3b7e20b0f24de50c8d295f54b984693165a
(cherry picked from commit 62b98f783dcee8900da034b384167817155a3e59)
2025-01-23 10:32:38 +08:00
lane.wei
a7f58f39cf ENH: network: load dlls from current directory if failed
JIRA: no-jira
Change-Id: I86efafe3aefac85d56879a68f864a52c0e62fca5
(cherry picked from commit cdf0859e78e8d62c2de13f2f9bf56a216a79a12a)
(cherry picked from commit b4cc20ac14298bac2e928d1d598e9d75ca953ba3)
2025-01-23 10:32:21 +08:00
chunmao.guo
6385a4d170 ENH: liveview remote protocols with agora
Change-Id: Id86aa4bfa5f5e09675a6fe627668c63d20c7d1bf
Jira: none
(cherry picked from commit 46eba0048b73f1741b4b7b57f788830c08a8d7f1)
2025-01-23 10:13:24 +08:00
lane.wei
8b33119640 ENH: networking: sync the header files to fix the compile issue
JIRA: no-jira
Change-Id: Ie1d454d4a9256e15a27b294af680a5ed49137f90
(cherry picked from commit 07e4aa213ac4a1b5bda865774a4e3d9e7f866170)
2025-01-23 10:02:30 +08:00
gerrit
fe01886c5c ci: update network module based on commit 4b3f1e5
Change-Id: Ifde48fc6f2d3f4d5bd6e348cc2a09deef83bd090
(cherry picked from commit 620b40c904aca8f7f40cb09f4633bbacfb62a869)
2025-01-23 10:02:18 +08:00
tao wang
9ab3107304 NEW:Support direct connection to LAN printers
jira:[connect printer]

Change-Id: Ifdc25651f4effde8e2a2d2a4e690aa20e0ef7022
(cherry picked from commit 0ec49c3588c1f81c159193de352f8a47d39ffe74)
2025-01-23 09:58:59 +08:00
gerrit
5c11aed655 ci: update network module based on commit ba54563
Change-Id: I587d656e20ed2ee8927ca2f5272ad715bed66740
(cherry picked from commit 20a531733ce240817610c9956af8f16dbe49d426)
2025-01-23 09:46:46 +08:00
gerrit
e9f9cf5c0a ci: update network module based on commit ce3b330
Change-Id: I5700edccc853075ea82118a3b9eed78e5c5f48e8
(cherry picked from commit 553028775ecb8c8338d5d32bff868ae43ac85852)
2025-01-23 09:43:16 +08:00
gerrit
fcd6f3375c ci: update network module based on commit 053c1c1
Change-Id: I88b9699d48ad1e8da53f26ff549b1700bd60247b
(cherry picked from commit 76b5bc626ec1372e869649f35da84c4bbba0ea12)
2025-01-23 09:37:14 +08:00
SoftFever
1df52936f2 Merge branch 'main' into feature/OrcaFilamentLibrary 2025-01-22 21:42:13 +08:00
Noisyfox
64153c7968 Fix flow dynamics calib crash when last bed type is selected (#8014)
Fix flow dynamics calib crash when last bed type is selected (SoftFever/OrcaSlicer#7857)
2025-01-22 10:02:07 +08:00
SoftFever
727a3887c5 Add Orca Filament Library 2025-01-15 22:40:27 +08:00
Marius Wachtler
2b95ef4e3b Fix some errors uncovered via compiler warnings (#7954)
* fix: tray_exist_bits != tray_exist_bits comparison

* fix: title == GetTitle() == title comparison

* fix: possibly dangling reference to a temporary
```
OrcaSlicer/src/libslic3r/calib.cpp:456:17: warning: possibly dangling reference to a temporary [-Wdangling-reference]
  456 |     const auto &w         = bed_ext.size().x();
OrcaSlicer/src/libslic3r/calib.cpp:456:45: note: the temporary was destroyed at the end of the full expression ‘((Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>*)(& Slic3r::BoundingBoxBase<PointClass>::size() const [with PointClass = Eigen::Matrix<double, 2, 1, 2>]()))->Eigen::DenseCoeffsBase<Eigen::Matrix<double, 2, 1, 2>, 1>::x()’
  456 |     const auto &w         = bed_ext.size().x();
```

* fix: mixup of | and ||
in this case I think it actually does not change the semantics it just means that both comparison have to be evaluated.

* fix: multi-character character constants need "

OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: multi-character character constant [-Wmultichar]
  392 |     if (auto n = tunnel.find_first_of('/_'); n != std::string::npos)
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp: In member function ‘void Slic3r::GUI::MediaPlayCtrl::Stop(const wxString&)’:
OrcaSlicer/src/slic3r/GUI/MediaPlayCtrl.cpp:392: warning: overflow in conversion from ‘int’ to ‘char’ changes value from ‘12127’ to ‘95’ [-Woverflow]

* fix: missing paranthesis - skips null check

* NFC: Remove this check it can never be false

* NFC: fix warning: statement has no effect
2025-01-08 13:06:39 +08:00
Noisyfox
661efa733e Fix crash when doing PA calib using pattern method from calib tab (#7248)
* Fix crash when doing PA calib using pattern method from calib tab
2024-10-26 22:13:30 +08:00