Commit graph

9601 commits

Author SHA1 Message Date
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
1a869cfca9 Merge branch 'main' of github.com:SoftFever/OrcaSlicer 2023-07-27 22:03:45 +08:00
SoftFever
ff7fb51f41 fix sidelable font 2023-07-27 22:03:32 +08:00
ovlach
df819b2778
Use namespaces to link against libcereal >= 1.3.1 (#1596)
0ffcfd8393

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-27 21:58:19 +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
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