Commit graph

9136 commits

Author SHA1 Message Date
Jason M-H
7a3971eca5
Add Lift Z only Above/Below, On Surface (e.g. Only on Top) (#1562)
* Added config options for Enforce Lift Z (from SS, doesn't affect Gcode
yet)

* working, minus first layer override; also fixed m_last_extrusion_role not being set

* fixed logic to match SS

* minimize to just one config

* removed first layer override

* Cleaned up logic, working as intended

* added lift above z, lift below z; somehow broke filament overrides

* fixed overrides not working, but lift above/below and enforce don't override

* fixed filament overrides

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-22 21:07:13 +08:00
thewildmage
777c7c68f9
Add Ellis' pattern method for pressure advance calibration (#1547)
* Add pattern method to Pressure Advance dialog

* Convert calib_pressure_advance to more unique calib_pressure_advance_line

* Share move_to function with PA lines and patterns

* Add PA pattern to calib.hpp

* Implement move_to(Vec3d). Combine with Vec2d version

* Add call to PA pattern in GCode.cpp

* Add helper functions

* Add directionality to draw_digit

* Extract shared number drawing variables

* Extract convert_number_to_string function

* Use in-class initializers for pattern variables

* Add max_numbering_height function

* Add helper functions

* Extract shared delta helper functions

* Add pattern generate_test() and associated helpers

* Clarify use of math functions

* Remove unused move_to overload, accept move_to comments

* Add get_distance() and draw_line()

* Extract set_nozzle_diameter()

* Clean up and simplify

* Rearrange and clean up

* Start work on print_pa_pattern

* Complete basic draw_box function

* Add more helper functions

* Add struct for pattern config, more helpers

* Rearrange

* Add encroachment member variable

* Add structs to manage optional arguments

* Simplify optional arguments structs

* Update opt args usage. Finish draw_box function

* Complete print_pa_pattern function

* Reuse PA Line STL

* Fix forward declaration error

* Fix invalid comparison

* Fixing complier errors

* Make DrawDigitMode options more clear

* More compilation error fixes

* Yet more compile error fixes

* Fix incorrect default step value

* Handle top-level dialog changes, consolidate params definitions

* Add layer change G-code, set more print variables

* Simplify optArgs constructors

* Fix pattern drawing, minor misc. clean up

* Make draw_box() G-code comments more helpful

* Make more of draw_line() const

* Fix sequential number draw direction

* Extract shared e_per_mm function

* Fix misplaced decimal in PA Line

* Move short constructor into .hpp

* Fix inverted Y direction in pattern digit drawing

* Use placeholder STL to create needed layers

* Rearrange and clean up

* Proof of concept: Adding custom G-Code at layer

* Use new scaling method

* Reorganize Plater::calib_pa()

* Restructure calib

* New strategy for adding custom G-code

* Remove redundant invocation

* Use cube primitive as positioning handle

* Move logic to Plater

Modifications to model in GCode cancelled _do_export from within itself

* Consolidate m_starting_point and pattern_start functions

* Replace bed_center() with m_starting_point

* Fix and consolidate number tab creation

* Fix off by one layer bug

* Use correct bounding box

* Use Vec3d instead of Vec2d for m_starting_point and m_last_pos

* Add translate_starting_point function

* Vec3d fix

* Store CalibPressureAdvancePattern with model

* Formatting adjustments

* Move pattern when handle moves

* Improve const correctness

* Improve/fix pattern writer and config

* Fix speed setting bug

* Pass model into generate_gcodes to improve consistency

* Re-generate pattern on reslice

* Make pattern actually move with handle

* Fix overzealous m_last_pos initialization

* Use clearer function names

* Use correct model

* Remove unused member variable

* Don't hard-code print config settings

* Remove unused lines, formatting clean up

* Make sure set_key_value operates on existing keys

* Remove asserts which limited life of key/value set

* Update Calibration.md

* Update licensing info

* Actually use speed in draw_line

* Don't speed_adjust twice

* doc: Make width and speed settings used more clear

* Bugfix: Shouldn't need to move handle to see pattern

* Clean up

* Move mp_gcodegen into line method alone

* Fix wrong number thickness in PA Line

* Remove unnecessary middleman PatternSettings

* Give value of config to const m_initial_config, not ref

* Fix incorrect DrawBoxOptArg default

* Use line_width_anchor() for all of initial layer

* Use clearer function name

* Replace "anchor" with "first_layer" for better consistency

* Update Calibration.md

* Update Calibration.md

* Make number tab infill explanation more clear

* (Hopefully) fix missing origin

* Add GCodeProcessor tags

* Fully refresh config

* Don't store is_bbl_printer

* Move set_starting_point to private

* Don't constantly recreate GCodeWriter

* Use different step value for pattern test

* Remove redundant processor tags

* Label glyph G-code

* Fix comparison typo

* Set number print speed

* Fix mixed up draw_number parameter

* Don't use line_width_first_layer for pattern

* (Hopefully) fix temp tower generating PA pattern

* Start with pattern centered on plate

* Add gap between pattern and handle

* Fix overly persistent pattern

* Revert "(Hopefully) fix temp tower generating PA pattern"

This reverts commit 0aa1206886.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-22 20:48:56 +08:00
ZdDroid
87f6c43784
Display print end time for in BL device page (#1568)
Show progress increase end time
Supplementary translation

Co-authored-by: ZdDroid <601865048@qq.com>
2023-07-22 10:40:15 +08:00
Hotsolidinfill
224e1ea2de
Add Korean translation + Font problem (need help) (#1553)
* add ko_KR

* add

* additional translation
"Tip of the Day"

* add korean to language list

* -Fix Korean translation
-Add Russian to language list
2023-07-20 22:59:11 +08:00
SoftFever
f5b824eaa2 1. temp fix for Korean font
2. fix crashes when cjk language is use but the system don't have unicode support enabled on Windows
2023-07-19 18:17:21 +08:00
战马
a5506576fd ENH: Revert "SidePopup actively destroys the window after closing"
This reverts commit 4e1ac98a089b4391699a333185150f468ddc42a1.

Reason for revert: bug

Change-Id: Ifc5c0596b0993d4e20f5b9e167e0ad5aaed92020
2023-07-13 18:34:17 +08:00
zhimin.zeng
f03d28c13b FIX: add filament type for flow rate slice info
Change-Id: I21cee225cc4349774216eda730ba086bf3697b00
2023-07-13 10:35:05 +08:00
chunmao.guo
031a678ea0 FIX: ModelMetadata is zipped without subpath, not substract it
Change-Id: I5af608b1aa312bfab79bbdea09e99f8b4b2de5de
2023-07-13 10:35:05 +08:00
chunmao.guo
02f2e51c2e FIX: pass error from gstreamer to wxMediaCtrl
Change-Id: If275d0ebeb7089f67ad366811dc48009b86af564
2023-07-13 10:35:05 +08:00
zhimin.zeng
34ba0612c4 FIX: crash when save P1P pa cali result
Change-Id: I28cebba490210a998d07ed779f04adea89a83191
2023-07-13 10:35:05 +08:00
zhimin.zeng
a85e817e15 FIX: selected preset is not correct when switch printer
Change-Id: I82d5155a279e36e02f439475839f79cdb738063c
2023-07-13 10:35:05 +08:00
tao wang
e9e7873b5c FIX:ip address dlg&no help images displayed
Change-Id: I8c55ab3e8d466499a7a790938f41151690bc0d65
2023-07-13 10:35:05 +08:00
tao wang
dbc7e3a856 ENH:SidePopup actively destroys the window after closing
fixed STUDIO-3525

Change-Id: I6ae33e8c73694c574a26126abbcf1074807abdd8
2023-07-13 10:35:05 +08:00
tao wang
69f69b8eb3 FIX:fixed error msg cannot be displayed in the bind dialog
Change-Id: Id64a755c91eed08dc5c9beeea17959b16ea4f4f0
2023-07-13 10:35:05 +08:00
zhimin.zeng
8ebe2fb4d3 FIX: select preset in modifying, the preset is null
Change-Id: If002b614af542c351c26b12a77123e3ce26f8301
2023-07-13 10:35:05 +08:00
zhimin.zeng
6a3f7e5cbe FIX: probabilistic errors occur when flow rate cali(manual)
Probabilistic errors occur during the calibration process, resulting in the inability to continue the flow rate calibration

Change-Id: I132b08755383f358c5573610a51f91aacf912ca9
2023-07-13 10:35:05 +08:00
liz.li
3e322d53fc FIX: replace user preset name with sys preset name
Change-Id: I8469224c9443049bb8b2b1c0feee3bdc4335a7ea
2023-07-13 10:35:05 +08:00
梨子
bc469bdcb6 NEW:Revert "add pause print message"
This reverts commit f24178896e2e9701165a3a5df8e711489beb34e5.

Reason for revert: pause

Change-Id: Ie55d14143a9e5ea9d593cb2ff0196688f3b0345e
2023-07-13 10:35:05 +08:00
liz.li
28ed757701 FIX: add validation when save calibration result
Change-Id: I694c038f98ea6cbd2fe44dfe624c8afdf56cc9ac
2023-07-13 10:35:05 +08:00
zhimin.zeng
cbd67c17d9 FIX: P1P PA save value to error tray when switch printer
Change-Id: I2b136e47f99ecd98cf4d89865f48f360a9ee03dc
2023-07-13 10:35:05 +08:00
chunmao.guo
1520215d99 FIX: delay start tunnel mqtt when deivce is busy
Change-Id: Ied28a74a35d9be54aa55f157aff8352160d85535
2023-07-13 10:35:05 +08:00
Stone Li
7b6bb82d6b ENH: fix track record logic
Change-Id: If2953bd3ed9ce1c156f805e551dbe4d99b895737
2023-07-13 10:35:05 +08:00
zhimin.zeng
44b232bcae FIX: fix some display problem
1. check the flow rate save name valid
2. fix the crash when saving with Chinese symbols
3. handle the display of Chinese symbols

Change-Id: I3abe99ba17b2cc5893431d48de11a9597bf489a6
2023-07-13 10:35:05 +08:00
liz.li
0366e52d86 FIX: calibrate button layout [STUDIO-3595]
Change-Id: I98f6d6a1d9607b9b1e3db343da854d09ce3c5336
2023-07-13 10:35:05 +08:00
liz.li
9b797fa985 FIX: string_to_float not work as expected in some language
Change-Id: I2ea4e5547d48167f066638378417a30b1b0c82ac
2023-07-13 10:35:05 +08:00
zhou.xu
43b1464bf3 FIX: deleted plate name donot update
fix the issue of deleting plate name after entering some character

Change-Id: I572a922b05b3f5e83ad956a7b4fb197430f13df5
(cherry picked from commit bfb5f58e1d29a6f518915882736453fe425ad984)
2023-07-13 10:35:05 +08:00
liz.li
ba882b8ca2 FIX: didn't update ext spool comboBox filaments
Change-Id: I5c2d12952b1b3a4f12e1110ff2635eb17e4eccef
2023-07-13 10:35:05 +08:00
chunmao.guo
fefd13a4ac FIX: big thumbnail send by multi-frame
Change-Id: Ia3a88fb53b8cc27d20fa976822c91c09b4442d71
2023-07-13 10:35:05 +08:00
liz.li
86a7de4557 FIX: flush menu item crash
Change-Id: I632da563eb6be000c7eb9238fd25d3fa07ecce0e
2023-07-13 10:35:05 +08:00
chunmao.guo
86bd65f096 FIX: [STUDIO-3619] avoid quick play/stop when switch to device
Change-Id: I957dc1e06e227a721824fe1448bdb5b6a57cbe7e
2023-07-13 10:35:05 +08:00
chunmao.guo
3f71c21771 FIX: [STUDIO-3621] release note title label size
Change-Id: I78a039f3ff656f02b43666fbb05f18459568f9ab
2023-07-13 10:35:05 +08:00
chunmao.guo
9bc72ce339 FIX: c12 version parse
Change-Id: I30461a306adbc2ddc5f3b9ee460369b655755d4e
2023-07-13 10:35:05 +08:00
zhimin.zeng
d3cc111bd8 FIX: the bed temp always use cool plater for manual cali
github-1994

Change-Id: Ic28a42897a889e91f1c5003a231aca375a23e1d8
2023-07-13 10:35:05 +08:00
zhimin.zeng
7123bac72a FIX: Prompts version incompatibility when start cali
STUDIO-3616 Switching from U4 firmware to U6 firmware, calibration prompts version incompatibility

Change-Id: I42cbc5057765b9a3b06bb100763995c14f5f1e69
2023-07-13 10:35:05 +08:00
Stone Li
b19c42ad4d NEW: add config for C12
Change-Id: I80d8ce0a31a18f87cf72823a1a90c351b43c88e4
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-13 10:35:05 +08:00
SoftFever
e3a85e2b33 use smaller font for codes 2023-07-08 14:48:07 +08:00
zhimin.zeng
d304ee8717 FIX: modify the flow rate cali button type
Change-Id: I7aa1254564c120e93a104065971e7c1626785411
(cherry picked from commit 29385e71d00d264e2aaf6cf6181156d6ed9f6bc1)
2023-07-07 21:17:48 +08:00
tao wang
a93d09cc30 FIX:fixed wrong dev_id of printer object
The current printer object was not determined when restoring calibration data from appconfig

Change-Id: I2b74ee5911aef27e91136b8f6051a66199419d56
2023-07-07 21:17:48 +08:00
Stone Li
225095d938 FIX: fix bed type error when loading from project
Change-Id: I13a6f46e4516f5237b006fff848ef5e75bbb30de
Signed-off-by: Stone Li <stone.li@bambulab.com>
2023-07-07 21:17:48 +08:00
liz.li
6929e1ea45 FIX: wrong pop dialog when all results are failed
Change-Id: I50acb15ea7541b619472622a1715b99396fcad69
2023-07-07 21:17:48 +08:00
liz.li
07ee63d940 FIX: operator priority error
Change-Id: Ie3abc4e2a307b3cfc31cecbf8fb151115dde4021
2023-07-07 17:52:43 +08:00
liz.li
85a43216d6 FIX: ext spool name display
Change-Id: I4b5af5814f1f5cb46262725cb63d7d7597e0f8b7
2023-07-07 17:52:43 +08:00
zhimin.zeng
35f0a550ad FIX: modify the disable next button type
Change-Id: If9f6635bb2921bc0479ac51c409181dbcddb0741
2023-07-07 17:52:43 +08:00
liz.li
5790c82597 FIX: typo
Change-Id: I8171a2d405a4853fa492fdf92b5c4744958d3762
2023-07-07 17:52:43 +08:00
salt.wei
89a7cc4ab0 ENH: model with a volume but multi-mesh should can be mesh union
As title

Signed-off-by: salt.wei <salt.wei@bambulab.com>
Change-Id: I4cf12198980a9a5a7d8dbbfc49fd5d807ca97902
2023-07-07 17:52:43 +08:00
tao wang
f1ef4476dd ENH:only one subscription check is supported
Change-Id: I94e2cb9619f7292b7836b47cfceaf7f4ed26f2c4
2023-07-07 17:52:43 +08:00
tao wang
6c8f82334e ENH:rry again after subscription failure
Change-Id: Ieedc4059834561ed77f2e66dbf93be21a2d62b61
2023-07-07 17:52:43 +08:00
tao wang
7ffeb1a432 ENH:periodic request full push
when the printer does not push any data packets,
request data from the printer at intervals

Change-Id: I4c84586301588f6a14f65d7a732d22f57bce59c9
2023-07-07 17:52:43 +08:00
liz.li
18a5575bbc FIX: didn't pass ams_id
Change-Id: If39cb7704ec83944ef35a97509254aae6a9c8598
2023-07-07 17:52:43 +08:00
lane.wei
cae86ad38c ENH: text: refine the text descriptions of calibrations
Change-Id: Ic4fd345410a2d34120c018e5b72182aaeb0b1425
2023-07-07 17:52:43 +08:00