Commit Graph

16946 Commits

Author SHA1 Message Date
SoftFever
9ae3001eb0 reduce AppConfig::Save() calls 2023-07-25 19:19:49 +08:00
Jason M-H
c033720435 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
e339ed2a47 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 0aa1206886d57820799beaf62dc28b9b8e02545b.

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-22 20:48:56 +08:00
ZdDroid
9156b97781 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
bac8d5256f 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
af7c81ccb2 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
SoftFever
52c6caea49 fix vs2022 deps 2023-07-16 10:58:18 +08:00
战马
1a414a29e6 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
53a0bd581a FIX: add filament type for flow rate slice info
Change-Id: I21cee225cc4349774216eda730ba086bf3697b00
2023-07-13 10:35:05 +08:00
chunmao.guo
3e8bef006a FIX: ModelMetadata is zipped without subpath, not substract it
Change-Id: I5af608b1aa312bfab79bbdea09e99f8b4b2de5de
2023-07-13 10:35:05 +08:00
chunmao.guo
e20d6236c4 FIX: pass error from gstreamer to wxMediaCtrl
Change-Id: If275d0ebeb7089f67ad366811dc48009b86af564
2023-07-13 10:35:05 +08:00
zhimin.zeng
779955cc41 FIX: crash when save P1P pa cali result
Change-Id: I28cebba490210a998d07ed779f04adea89a83191
2023-07-13 10:35:05 +08:00
qing.zhang
937aa01ffb FIX: pressure advance unrecogized
while the newer version of 3mf be load to older software
pressure_advance be unrecogized

Signed-off-by: qing.zhang <qing.zhang@bambulab.com>
Change-Id: Ie160759f58e573f8ad01a2941763016e9b070e9e
2023-07-13 10:35:05 +08:00
zhimin.zeng
87caaf5c5e FIX: selected preset is not correct when switch printer
Change-Id: I82d5155a279e36e02f439475839f79cdb738063c
2023-07-13 10:35:05 +08:00
tao wang
26d856361c FIX:ip address dlg&no help images displayed
Change-Id: I8c55ab3e8d466499a7a790938f41151690bc0d65
2023-07-13 10:35:05 +08:00
tao wang
8f76563cba ENH:SidePopup actively destroys the window after closing
fixed STUDIO-3525

Change-Id: I6ae33e8c73694c574a26126abbcf1074807abdd8
2023-07-13 10:35:05 +08:00
tao wang
65048d3737 FIX:fixed error msg cannot be displayed in the bind dialog
Change-Id: Id64a755c91eed08dc5c9beeea17959b16ea4f4f0
2023-07-13 10:35:05 +08:00
zhimin.zeng
3456e29644 FIX: select preset in modifying, the preset is null
Change-Id: If002b614af542c351c26b12a77123e3ce26f8301
2023-07-13 10:35:05 +08:00
zhimin.zeng
b54c802954 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
350d69937e FIX: replace user preset name with sys preset name
Change-Id: I8469224c9443049bb8b2b1c0feee3bdc4335a7ea
2023-07-13 10:35:05 +08:00
梨子
fb35b77e85 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
cc166a6bcb FIX: add validation when save calibration result
Change-Id: I694c038f98ea6cbd2fe44dfe624c8afdf56cc9ac
2023-07-13 10:35:05 +08:00
zhimin.zeng
1db11bf267 FIX: P1P PA save value to error tray when switch printer
Change-Id: I2b136e47f99ecd98cf4d89865f48f360a9ee03dc
2023-07-13 10:35:05 +08:00
chunmao.guo
90fead29ae FIX: delay start tunnel mqtt when deivce is busy
Change-Id: Ied28a74a35d9be54aa55f157aff8352160d85535
2023-07-13 10:35:05 +08:00
Stone Li
aba6fb9868 ENH: fix track record logic
Change-Id: If2953bd3ed9ce1c156f805e551dbe4d99b895737
2023-07-13 10:35:05 +08:00
zhimin.zeng
b9a745eae1 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
535adbc04d FIX: calibrate button layout [STUDIO-3595]
Change-Id: I98f6d6a1d9607b9b1e3db343da854d09ce3c5336
2023-07-13 10:35:05 +08:00
liz.li
56d41c374a FIX: string_to_float not work as expected in some language
Change-Id: I2ea4e5547d48167f066638378417a30b1b0c82ac
2023-07-13 10:35:05 +08:00
zhou.xu
2a5dbdd800 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
38cb7c9070 FIX: didn't update ext spool comboBox filaments
Change-Id: I5c2d12952b1b3a4f12e1110ff2635eb17e4eccef
2023-07-13 10:35:05 +08:00
chunmao.guo
7df14ec4df FIX: flush logs on crash
Change-Id: Ifc3a9c087dfe4d437b658e305db6f986fa181fab
2023-07-13 10:35:05 +08:00
chunmao.guo
3ac7715bda FIX: big thumbnail send by multi-frame
Change-Id: Ia3a88fb53b8cc27d20fa976822c91c09b4442d71
2023-07-13 10:35:05 +08:00
liz.li
ceb9cf8967 FIX: flush menu item crash
Change-Id: I632da563eb6be000c7eb9238fd25d3fa07ecce0e
2023-07-13 10:35:05 +08:00
chunmao.guo
fdb5d7414b FIX: [STUDIO-3619] avoid quick play/stop when switch to device
Change-Id: I957dc1e06e227a721824fe1448bdb5b6a57cbe7e
2023-07-13 10:35:05 +08:00
chunmao.guo
95448d15a9 FIX: [STUDIO-3621] release note title label size
Change-Id: I78a039f3ff656f02b43666fbb05f18459568f9ab
2023-07-13 10:35:05 +08:00
chunmao.guo
a1c5da4405 FIX: c12 version parse
Change-Id: I30461a306adbc2ddc5f3b9ee460369b655755d4e
2023-07-13 10:35:05 +08:00
zhimin.zeng
a2e5937d15 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
39a9d74835 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
54eb0273cd 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
Arsalan Afzal
e068fd4cb3 Fix mcut for GCC 13
GCC 13 requires an explicit #include <cstdint> for the std::uint32_t  data type used by this file. Adding this include allows for the whole project to successfully be compiled on GCC 13
2023-07-10 12:02:11 +08:00
SoftFever
b92689de26 use smaller font for codes 2023-07-08 14:48:07 +08:00
zhimin.zeng
816b0cec1a 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
417d3a24a1 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
9ffd2d1cbb 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
45b910b54c FIX: wrong pop dialog when all results are failed
Change-Id: I50acb15ea7541b619472622a1715b99396fcad69
2023-07-07 21:17:48 +08:00
liz.li
b176064498 FIX: operator priority error
Change-Id: Ie3abc4e2a307b3cfc31cecbf8fb151115dde4021
2023-07-07 17:52:43 +08:00
liz.li
9b9b12acb8 FIX: ext spool name display
Change-Id: I4b5af5814f1f5cb46262725cb63d7d7597e0f8b7
2023-07-07 17:52:43 +08:00
zhimin.zeng
d1ccc1bdcd FIX: modify the disable next button type
Change-Id: If9f6635bb2921bc0479ac51c409181dbcddb0741
2023-07-07 17:52:43 +08:00
liz.li
a3049479f5 FIX: typo
Change-Id: I8171a2d405a4853fa492fdf92b5c4744958d3762
2023-07-07 17:52:43 +08:00
salt.wei
8e4a16ac75 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