Commit graph

9310 commits

Author SHA1 Message Date
lane.wei
6d5fad236e ENH: refine the logic of extruder_clearance_radius
1. use extruder_clearance_max_radius instead
2. set the value of P1P/P1S to the same value of X1C
JIRA: STUDIO-4214

Change-Id: I1ae5e4203db0933854b4388b5505dbf34b40edae
(cherry picked from commit 19cb6a0fbad0192d39813e449baed090baa163c5)
2023-09-22 16:21:26 +08:00
Stone Li
f5f650eac4 ENH: get thumbnail from task info
JIRA: STUDIO-3975

Change-Id: Ic9ae120673098a4b62c4a00b515558fbef630890
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-09-22 16:21:26 +08:00
lane.wei
d5b9dcfbbe FIX: CLI: fix the brim related issues
1. move the global functions to Model
2. set brim automation paremeters before process
JIRA: STUDIO-4208

Change-Id: I3f75175ec74d214ca2a6d5f3ade56d08e0ecd4f3
(cherry picked from commit bcc88bc01ec396e8fb8af1186b47a75cd5116f3c)
2023-09-22 16:21:26 +08:00
Stone Li
353c962c21 ENH: add a device id parameter for hms wiki
JIRA: STUDIO-4177

different printer may have different hms wiki page

Change-Id: I0f4443580466ab1afc1fe16da6f5ed924e5d201d
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-09-22 16:21:26 +08:00
wenjie.guo
c97a88069b NEW: Z hop restriction
Z hop will only come into effect when it is between retract_lift_above and retract_lift_below.
Signed-off-by: wenjie.guo <wenjie.guo@bambulab.com>
Change-Id: If43aea7024018eb8f532c6af5d8000973f2edee3
2023-09-22 16:21:26 +08:00
Arthur
064f3ee0aa FIX: unify cli and GUI auto-arrange
Make sure cli uses same params as GUI's auto-arrange.
Previously cli uses wrong skirt_distance.

Jira: BLPIOT-255
Change-Id: Iaccfb76acf7413ec614fff006feb770dcd6783cf
2023-09-22 16:21:26 +08:00
lane.wei
f6ac8b60b7 FIX: CLI: fix serveral issues of CLI
1. duplicate id issue, MAK-1702
2. shrink issue, STUDIO-4048

Change-Id: Ie952f1ecc5267a60f0ce3220c4a5ea31cf7199ff
2023-09-22 16:21:26 +08:00
lane.wei
db5ed65577 ENH: CLI: add more logic to support repetitions
1. add identify_id for those clone objects
2. ensure succuss when copy multiple objects

Change-Id: I8a92f485442577ce70b1f5c46449dae1ae07b713
2023-09-22 16:21:26 +08:00
maosheng.wei
4bffab0ef8 FIX: add small disc stl
Change-Id: I5c6c8ca1d4a15fc1462fe47d2e5e37b459f9a9a6
(cherry picked from commit b240831ee664c825e0f7df08d3181263dc135606)
2023-09-22 16:21:26 +08:00
maosheng.wei
53240ddc66 FIX: [github 2259] Maintain development mode when reopening BBS
Change-Id: I9cd6bddbc58f7841499665e21dc606b35c706afc
(cherry picked from commit b0c313dc367c978b85853bb1317fb8f36f228034)
2023-09-22 16:21:26 +08:00
Noisyfox
a73e533bdb
Fix gcode viewer on linux (#2110) 2023-09-16 22:26:20 +08:00
igiannakas
61437b2c76
Detection of curled edges to enhance slowdown for overhangs algorithm (#2056)
* Overhang perimeter handling

Updated code to handle overhang perimeters as an overhang and not as a bridge.

* Preparing to add curled extrusions identification

* Porting curling calculations from Prusa Slier 2.6.1

* Prototype 1 - slowdown extended to detect curled edges and further reduce speed

First prototype of the code submitted.

* Working prototype - 2

Code is now finally working - external perimeters are slowed down as needed when there is likelyhood of curling up.

ToDo:
1. Reslicing the model causes the algorithm not to run - need to find where this fails to trigger the call for this.
2. Slowdown of internal perimeters not working yet.

* Updated to use overhang wall speed instead of bridging speed for this algorithm

* Fixed bug in speed calculation and tweaked parameters for high speed printer

Fixed bug in speed calculation and tweaked parameters for high speed printer

* Attempting to fix "set started" not being set

* Parameter tweak after print tests

* Fixed estimation not running when model is re-sliced.

* Removing debug printf statements and fixed threading flag.

* Fixed threading

* Parameter tweaks following print tests

* Made this as an option in the GUI

* Reintroduced handling of bridges as per original design

* UI line toggling when option makes sense to be visible.

* Fixed bug in field visibility & made it default to off

* Code optimisation

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-09-16 22:24:18 +08:00
SoftFever
4a7d298786 disable prime tower preview 2023-09-14 00:11:43 +08:00
SoftFever
89efa44388 tweak prime tower display 2023-09-13 21:49:40 +08:00
SoftFever
e6269dd852 tweak default organic tree settings. 2023-09-13 20:10:33 +08:00
SoftFever
a149680eba consider windows DPI for slider 2023-09-12 22:19:45 +08:00
SoftFever
303a722795 fix regression that print end time is not missing 2023-09-10 00:07:35 +08:00
SoftFever
165a183c1f Display export gcode btn if pinter don't network setup 2023-09-10 00:07:18 +08:00
SoftFever
e95ec070c1 fix ramming ui 2023-09-09 23:05:45 +08:00
SoftFever
10ea35b87c update locale 2023-09-09 14:16:02 +08:00
SoftFever
e624632969 semm 2023-09-09 13:19:59 +08:00
SoftFever
cd3bbdb5f5 estimate tower size 2023-09-09 13:19:43 +08:00
SoftFever
6ff9ff03db wip 2023-09-09 13:19:43 +08:00
SoftFever
df302efa84 fix calibration menu 2023-09-08 01:29:09 +08:00
SoftFever
bb82482559 temp 170 2023-09-08 01:24:18 +08:00
SoftFever
d4c70f5528 Add Turkish language option 2023-09-05 20:34:38 +08:00
SoftFever
e97ab55e83 Fix webview freezing issue 2023-09-04 20:02:26 +08:00
SoftFever
f3e4016795 fix slider 2023-09-04 19:52:26 +08:00
xxxcq
9e0dbd91ff
Add option to enforce first layer min wall width (#1974)
Add option to set first layer min wall width
2023-09-04 00:07:40 +08:00
SoftFever
c54386d958 tweak gcodeviewer 2023-09-03 10:17:42 +08:00
SoftFever
0feea859c5 Fix printer connection regression 2023-09-03 10:17:22 +08:00
Noisyfox
1fdfc2fa45
Fix raft size when non-organic tree support is enabled (#1973) 2023-09-03 00:43:28 +08:00
Noisyfox
a1464735ce
Initial port of organic tree support from PrusaSlicer (#1938)
* Initial port of organic tree support from PrusaSlicer

* Port missing Organic support parameters from PrusaSlicer

* Update parameter naming

* Reorganize the `raft_first_layer_expansion` and `raft_first_layer_density` parameters as they are not only used by rafts

* Reset support style only in simple mode

* Sync latest update from PrusaSlicer & copyrights

* Fix organic tree support crash with invalid parameters

---------

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-02 17:29:43 +08:00
Hotsolidinfill
b50dfb69a2
Change NotoSansKR to NanumGothic for Korean font (#1957)
* Update Korean translation

* 1. Fix blank button text after translation
2. Fix some mistranslated korean

* -fix bottom surface in gcode viewer
-update korean translation

* - Fixed UI being broken 'cause "display" text size could not be calculated when cjk language is use

* Change NotoSansKR to NanumGothic, which has a height similar to the main font.
2023-09-02 10:59:31 +08:00
ZdDroid
51eae690bd
启动时进行 WebView2 运行时检查 (#1944)
* 启动时进行 WebView2 运行时检查

* 启动时进行 WebView2 运行时检查

* skip code sign for PR build

* Russian translation for OrcaSlicer V1.6.4 (#1900)

* Russian translation for OrcaSlicer V1.6.4

Please replace the existing translation with my translation.

Advantages of this translation:
-A normal translation based on the Prusa slicer translation (the translation of which I have been supporting for a long time). The translation that is used now is crude, there are a lot of errors and typos.
-Added missing lines

I also made a pull request for this translation for Bambu Studio (with small edits and add lines)

* file name and location updates

* update

rename Russian.po in OrcaSlicer_ru.po

* update

* move OrcaSlicer_ru.po to correct location

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>

* Fixed viewer resize malfunction when cjk language is use (#1909)

* Update Korean translation

* 1. Fix blank button text after translation
2. Fix some mistranslated korean

* -fix bottom surface in gcode viewer
-update korean translation

* - Fixed UI being broken 'cause "display" text size could not be calculated when cjk language is use

* Port overhang extra perimeters from PrusaSlicer (#1939)

* Port overhang extra perimeters from PrusaSlicer

* Reduce duplicated code

* Add credits

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: PavelMikus <pavel.mikus.mail@seznam.cz>

* Create OrcaSlicer_zh_TW.po for traditional Chinese translate (#1952)

Create OrcaSlicer_zh_TW.po

* update czech translate (#1949)

* QoL: make slider thinner

* QoL: show transparent shell in gcode preview and truncate long gcode line caused by native Klipper commands

* PlaceholderParser: new interpolate_table() "function"
interpolate_table(x, (x0, y0), (x1, y1), (x2, y2), ...)
interpolates a table at position x.

* GCodeGenerator / custom G-codes: Added new read/only options providing
the amount of total extruded material and per extruder extruded material
up to the point the value is evaluated:
"extruded_volume", "extruded_weight",
"extruded_volume_total", "extruded_weight_total"

* support profile notes

* Add support for PrusaLink webview

* update Prusa profiles

* Support Marlin 2

* tweak MK4IS

* Fix Linux build errors

* Add Tranditional Chinese

* Fix *nix build error and some other fixes

---------

Co-authored-by: ZdDroid <601865048@qq.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: Andy <andylg@yandex.ru>
Co-authored-by: Hotsolidinfill <138652683+Hotsolidinfill@users.noreply.github.com>
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
Co-authored-by: PavelMikus <pavel.mikus.mail@seznam.cz>
Co-authored-by: ablegods <85563455+ablegods@users.noreply.github.com>
Co-authored-by: renemosner <99507763+renemosner@users.noreply.github.com>
Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-08-31 21:36:57 +08:00
SoftFever
0b7b606881 Add Tranditional Chinese 2023-08-31 20:35:43 +08:00
SoftFever
33ac24d35a Support Marlin 2 2023-08-30 23:39:00 +08:00
SoftFever
80082464cb Add support for PrusaLink webview 2023-08-30 23:38:33 +08:00
SoftFever
4564945b48 support profile notes 2023-08-30 23:38:09 +08:00
SoftFever
95d12c24f6 QoL: show transparent shell in gcode preview and truncate long gcode line caused by native Klipper commands 2023-08-29 23:17:48 +08:00
SoftFever
40b08bb0e1 QoL: make slider thinner 2023-08-29 21:25:26 +08:00
Noisyfox
b9ca1c8720
Port overhang extra perimeters from PrusaSlicer (#1939)
* Port overhang extra perimeters from PrusaSlicer

* Reduce duplicated code

* Add credits

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: PavelMikus <pavel.mikus.mail@seznam.cz>
2023-08-28 19:56:09 +08:00
Hotsolidinfill
6710d1845d
Fixed viewer resize malfunction when cjk language is use (#1909)
* Update Korean translation

* 1. Fix blank button text after translation
2. Fix some mistranslated korean

* -fix bottom surface in gcode viewer
-update korean translation

* - Fixed UI being broken 'cause "display" text size could not be calculated when cjk language is use
2023-08-28 19:39:19 +08:00
SoftFever
9bab2e2efa fix errors after cherry picking commits 2023-08-27 22:44:37 +08:00
David Kocik
9df97e004d Upload changes
PrusaLink: Use PUT or POST based on information read during test connection (upload-by-put). If put - do additional GET for storage_list and let user to choose where to upload or show name if only 1 is possible. Allow PrusaLink for MK2.5 and MK2.5S.
PrusaConnect: New host type PrusaConnect inherited from PrusaLink class with filled host address, disabled http diggest. After upload read header information - status message and pass it to notification and Printhost upload dialog via events, this message can be shown as warning notification and is recieved in localized lang. Pass accept-language shortcut in upload header. 3 option to upload. (upload, to queue, to print)
Upload Notification: Showing status text, changes in text, not showing close button, Completed state on special call (not 100%) and other design changes.
Right panel: Open URL button.
2023-08-27 18:07:48 +08:00
SoftFever
ea46af82d6 Minor fixes continued 2023-08-27 16:35:50 +08:00
Stephen Hurd
17811c997b
Add option in the CTRL-M dialog to invert axes (#1928)
Some people prefer their axes inverted when using a spacemouse.
This this, you can invert any set of axes you want.
2023-08-27 11:29:46 +08:00
SoftFever
012f113eae misc fixes 2023-08-27 11:28:01 +08:00
SoftFever
aa4c042855 micro refactor vender type 2023-08-27 11:01:52 +08:00
SoftFever
e6fcbfae07 fix 2023-08-26 20:55:44 +08:00