Commit graph

9310 commits

Author SHA1 Message Date
maosheng.wei
83cd88d4b8 FIX: [STUDIO-3578] send to sd darkUI not changed
Change-Id: I86d687bedd87222c9c59e6fd4466b57abe867640
2023-07-31 14:29:15 +08:00
maosheng.wei
2515a1adf7 FIX: [STUDIO-3513] the objectlist always enters wxEVT_SIZE
the objectlist always enters wxEVT_SIZE when scaling

Change-Id: I93371cee86437bc0309f041b0d59f28bc3b206aa
2023-07-31 14:29:15 +08:00
chunmao.guo
73c64535c7 FIX: not track dup error for user triggered liveview
Change-Id: I4b744caf14deca3cb6372f44e95aea131a45ec6a
2023-07-31 14:29:15 +08:00
chunmao.guo
1797f4ac8e FIX: WebView: not wrap javascript
Change-Id: If2b1fe8163599ebbfd97334115a786a8985bf876
2023-07-31 14:29:15 +08:00
zhimin.zeng
e010fad242 FIX: k value of ams control is not correct
modify the method for using printer type

Change-Id: Ica864c19f4ad3e58e4f478e078b55fc11485901a
2023-07-31 14:29:15 +08:00
Arthur
44fdfe8fff FIX: tree(manual) didn't support well
1. We have a logic to add supports at corners for tree(auto), now I extend
it to tree(manual) also.
2. Only show support_critical_regions_only option to tree(auto).

Github: #2008
Change-Id: I161444da93464fd2ef0e0f3b40a0c5852beba351
(cherry picked from commit af4efb4aadc2a4d16de3eea881c6610955985fff)
2023-07-31 14:29:15 +08:00
zhimin.zeng
24bd494ad9 FIX: X1 low version firmware does not display k value
Change-Id: I7539f0f09d3ddbaf7d1b616ae98ff5a3c1462f37
2023-07-31 14:29:15 +08:00
maosheng.wei
53f9d89a5a FIX: [STUDIO-3561] Import Gcode and send all plate
Change-Id: Ic1db0d90e08dba24cde12cdfaa6f1227d5d602cf
2023-07-31 14:29:15 +08:00
liz.li
3a9b49abeb ENH: add restriction of selecting preset [STUDIO-3715]
1.forbid PEI Plate when PA Auto-Calibration
2.add ams black list
3.TPU cannot use when PA Auto-Calibration

Change-Id: I6a7d0438ba136f5685e5f3b868d5c063ed8ca9ef
2023-07-31 14:29:15 +08:00
liz.li
04c6964de4 FIX: calibration history dialog flickering
Change-Id: Ife2720553f1e67292d7e222bda89b0d7f417e382
2023-07-31 14:29:15 +08:00
liz.li
3c29f34e73 ENH: show calibration result failed info
Change-Id: I07b8d2d5065ea7e77084d6eae8988e5ab7008172
2023-07-31 14:29:15 +08:00
maosheng.wei
619cb8eeff NEW: [STUDIO-3710] add Bambu Cube V2
Thank you very much to Thrutheframe for providing us with a very
valuable model for our software. We sincerely appreciate your time and
effort in helping us improve the project. Here is the model address:
https://www.printables.com/model/222285-bambu-lab-xyz-calibration-cube.
Thank you again, Thrutheframe.

Change-Id: I200fd23ab7a09683b2610664c8e09ae53fc42133
2023-07-31 14:29:15 +08:00
maosheng.wei
9d552ddb10 FIX: [STUDIO-3564] Select an object display quantity 1
Select an object with multiple parts and display quantity 1.
Simultaneously fixing that when all parts under an object are selected,
only the information of that object is displayed.

Change-Id: I7fd68615aed75f4b0592c61f4b916783e7c4182a
2023-07-31 14:29:15 +08:00
maosheng.wei
8ee1109746 FIX: encoding of mesh boolean text
Change-Id: I3d21f10d9f4e3022c702ff2b5493cf8bb94c881c
2023-07-31 14:29:15 +08:00
chunmao.guo
3f924b79d6 FIX: param page scroll field position
Change-Id: Iefb363073d79b3f69022f555e99193a1ba2a2e07
2023-07-31 14:29:15 +08:00
chunmao.guo
282c785304 FIX: [STUDIO-3551] pass worker thread id to DirectShow
Change-Id: If55e39768ec1e43103c59168b139bb115db6b092
2023-07-31 14:29:15 +08:00
tao wang
53890cf106 ENH:use user settings when not using PEI bed
fixed https://github.com/bambulab/BambuStudio/issues/2014
1. Disable flow calibration when using PEI bed
2. Use user settings when PEI bed is not in use

Change-Id: Ie4f81f0d4649c69255f97355af14cacedf8b2bbf
2023-07-31 14:29:15 +08:00
tao wang
386607a6a7 ENH:actively select a printer on the calibration page
fixed:https://github.com/bambulab/BambuStudio/issues/2054

Change-Id: I087eebcda934c4f2447f2dc6e473a8389e9d4a25
2023-07-31 14:29:15 +08:00
tao wang
5f8e285624 ENH:add an error that requires a done operation
Change-Id: I9824658ee3a847e70e979640c51a34d812fe284d
2023-07-31 14:29:15 +08:00
lane.wei
ce051c34d2 FIX: CLI: fix the crash caused by plate name snapshot
Change-Id: I757597609c05c8eeabcb3011c9638ba5adee4904
2023-07-31 14:29:15 +08:00
tao wang
8f67181fd9 FIX:fixed the style of the retry button
Change-Id: I915a71d6b9891041feadc8e0fbd719c7e4d87a2d
2023-07-31 14:29:15 +08:00
lane.wei
a2da7e391b ENH: thumbnail: optimize the thumbnail
1. set background to transparent
2. set the view to iso

Change-Id: Ib3371e60bea743ade55430a5d39b58f9b9acf050
2023-07-31 14:29:15 +08:00
liz.li
53787b4c9e ENH: refine calibration UI layout
1. adjust layout of every cali page
2. add tips panel about how to use PA result factor
3. modify PA start page text

Change-Id: I5e9d4f9ab63e231289ac2b0db5efee158ddee7f5
2023-07-31 14:29:15 +08:00
zhou.xu
1f30783f11 FIX: undo/redo plate name
Change-Id: Ic47d399ecce25db4a5b6cbd1f58b821c6cb36136
(cherry picked from commit 0c11d73777d507381419d928549143c9ee56682d)
2023-07-31 14:29:15 +08:00
manch1n
19525b6564 FIX: let independent support layer height option show all time.
STUDIO-3703

Change-Id: Ib67f9a9894cca8cb391bcceae087f026c0060f4d
(cherry picked from commit 6c4bdcf1b7dbf8f55ec7bf5186ba3ccdde75e611)
2023-07-31 14:29:15 +08:00
SoftFever
92b1ff824a Miscellaneous changes for PA calib:
1. Changed printing speed for all PA tests, where the speed will be calculated by max(100, outer_wall_speed) with consideration of max_volumetric_speed.
2. PA tower now uses the classic wall generator.
#1616
2023-07-30 23:03:36 +08:00
Noisyfox
b571318be8
Make Overhang Printable (#1615)
* First working conical overhang impl

* Add settings for Make overhang printable

* Added an Advanced setting to the Quality menu for Make overhang printable
* Allow toggling the feature and adjusting the angle threshold

* Retain recesses in the bottom of the model when "Make Overhangs Printable" is turned on

* Add settings for Make overhang printable hole size

* Allow disabling conical overhang per modifier

* Should check upper layer instead

* Skip unnecessary layers

* Apply conical overhang before any size compensation
which fixs the `lslices` not being updated issue and also the elephant foot compensation

* 1. Fix an issue that changing make_overhang_printable related parameters won't clear caches properly.
2. Tweak the logic of make_overhang_printable parameter so that it works for per region/object/print level. Remove make_overhang_printable_disable parameter.

* Change default make_overhang_printable_angle to 55

* One more missing commit

* 1. Skip checking default_region_config()->make_overhang_printable
2. Handle make_overhang_printable_angle and make_overhang_printable_hole_size value change

---------

Co-authored-by: David Bern <odie5533@users.noreply.github.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-30 20:20:43 +08:00
SoftFever
71b76d74d7 Fixed a regression where print settings set by calibration features were not applied properly #1614 2023-07-30 19:25:02 +08:00
ovlach
a329497f49
fix: ambiguous call _check_convertible_to_path_source(const wxCStrData&) (#1597)
* fix: ambiguous call _check_convertible_to_path_source(const wxCStrData&)

* change to ToStdWstring() per discussion

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-30 09:46:50 +08:00
djperya
979b17fab7
compilation errors fixed of Ukrainian localizalion (#1610)
* compilation errors fixed of Ukrainian localizalion

* add UKRAINIAN lang option in UI

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-29 10:13:17 +08:00
Jason M-H
be54f6bc99
Calculate extrusion width %s as a function of nozzle width, not layer height (#1578)
* Calculate extrusion width %s as a function of nozzle width, not layer height

* handled more width conversions

* more missing percent handling

* even more missed percent handling

* even more more extrusion % handling

* some fixes

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-27 23:37:47 +08:00
SoftFever
ff7fb51f41 fix sidelable font 2023-07-27 22:03:32 +08:00
thewildmage
910d79ae6f
Fix overly persistent pressure advance pattern (#1591)
* Reset model's calib_pa_pattern as needed

* Add initial config for skirt and brim in PA pattern
2023-07-26 19:23:41 +08:00
SoftFever
7f6f01c4c9
QoL: remember each printer's filament/bed/process settings (#1592)
* init work
TODO:
1. support multi filament
2. support project

* Properly handle filament number change when switching printers
2023-07-25 21:54:34 +08:00
SoftFever
6aa3e400d1 reduce AppConfig::Save() calls 2023-07-25 19:19:49 +08:00
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