Commit graph

22590 commits

Author SHA1 Message Date
Carlos Caruncho
e78a6d964b
Kingroon profiles improves (#1599)
* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

More strings!

* Update OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* Update Orcaslicer spanish

* Merge

* Corregidos duplicados

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po
	modified:   bbl/i18n/es/OrcaSlicer_es.mo

* modified:   bbl/i18n/es/OrcaSlicer_es.mo

* Update Orca es

* FIX:orcaslicer_es.po  some strings

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po
	modified:   resources/i18n/es/OrcaSlicer.mo

* Update text.js

Added es_ES to text.js (spanish strings)

* Kingroon profiles added

Added Kp3s and kp5l printers

* Update OrcaSlicer_es.po

CAMBIOS EN CUARTEL

* Update OrcaSlicer_es.po

* [FIX] Fixed some spanish strings

Improved translation

* More spanish string fixes

More fixes

* Fix More Spanish Strings

* add kingoon profiles

* Last mo update

* Fix KP3S PRO S1 profile

* Kingroon printers fixes

* Update OrcaSlicer.mo

* Added plate bed

* [FIX] Some Kingroon profiles fixes

* Kingroon profile improves

Brong start gcode

* Kingroon profile improves

Deleted some profiles

* Some fixes

* More fixes
2023-07-30 13:58:43 +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
SoftFever
2dfb4f1a68 Optimized gcode generation. Reduce set fan speed commands #804 2023-07-30 00:16:09 +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
Noisyfox
d7a1241550
Port single wall on top surface from classic wall generator to Arachne (#1583)
* Port single wall on top surface from classic wall generator to Arachne

* Move the surface split code into a separate function to be shared between classic and Arachne. This also adds bridge detection to Arachne as well.

* Remove unwanted infills

* Fix insets calculating

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-29 10:12:47 +08:00
Carlos Caruncho
c13a2e57e2
Spanish translation improves and compiled MO (#1607)
* Some Spanish string fixes

PO updated

* More spanish strings fixes

* Compiled MO
2023-07-28 22:20:58 +08:00
SoftFever
0657ad9e58 Overhang tweaks:
1. Revert back to classic overhang
2. Support percent for overhang speed
2023-07-28 00:19:08 +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
71ddef9724 fix misspelling in the tooltip of Filter out tiny gaps option #1606 2023-07-27 22:21:10 +08:00
SoftFever
5c71994c83 update locale 2023-07-27 22:10:39 +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
SoftFever
53688791af skip overhang degree check in PerimeterGenerator when overhang_speed_classic is not enabled 2023-07-27 22:03:12 +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
djperya
c0cb91bb8a
Create OrcaSlicer_uk.po (#1601)
Add Ukrainian translation
2023-07-26 19:16:07 +08:00
Carlos Caruncho
9368ca46ed
Some Spanish string fixes (#1600)
PO updated
2023-07-26 19:14:34 +08:00
Morton Jonuschat
b5d5b972fc
[BUGFIX] Fix emitting Klipper SET_VELOCITY_LIMIT commands (#1598)
[BUGFIX] Fix Klipper SET_VELOCITY_LIMIT code

- Always write out SET_VELOCITY_LIMTIT ACCEL=<acceleration> independently of the accel_to_decel setting
- Append the ACCEL_TO_DECEL fragment if enabled in config
2023-07-26 19:11:47 +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
Carlos Caruncho
cccc857f6f
Fixed spanish translation and kingroon profiles added (#1572)
* Update OrcaSlicer_es.po

* Update OrcaSlicer_es.po

More strings!

* Update OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* Update Orcaslicer spanish

* Merge

* Corregidos duplicados

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po
	modified:   bbl/i18n/es/OrcaSlicer_es.mo

* modified:   bbl/i18n/es/OrcaSlicer_es.mo

* Update Orca es

* FIX:orcaslicer_es.po  some strings

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po

* modified:   bbl/i18n/es/OrcaSlicer_es.po
	modified:   resources/i18n/es/OrcaSlicer.mo

* Update text.js

Added es_ES to text.js (spanish strings)

* Kingroon profiles added

Added Kp3s and kp5l printers

* Update OrcaSlicer_es.po

CAMBIOS EN CUARTEL

* Update OrcaSlicer_es.po

* [FIX] Fixed some spanish strings

Improved translation

* More spanish string fixes

More fixes

* Fix More Spanish Strings

* add kingoon profiles

* Last mo update

* Fix KP3S PRO S1 profile

* Kingroon printers fixes

* Update OrcaSlicer.mo

* Added plate bed
2023-07-23 12:03:53 +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
lane.wei
e9e44225f9 ENH: linux: set the two buildings to different names
current the name are the same
just add some string to different them

Change-Id: Ie90c0595a1240e7739a7fc0b0c45f0db1341314b
2023-07-22 14:53:49 +08:00
Abhijit Majumdar
c032663fd2 added commands to free up space before building as per https://github.com/actions/runner-images/issues/2840#issuecomment-1540506686 2023-07-22 14:48:51 +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
adripo
dfdd335307 fix: missing newlines 2023-07-21 19:51:38 +08:00
Kyle Harrity
dd24d10263 Update Dockerfile
add -f option to groupadd command. This fixed an issue for me where the group in $GID already existed, preventing me from completing DockerBuild.sh on Linux Mint 19
2023-07-21 19:41:50 +08:00
thewildmage
37c230c499 Update Mac Compile Guide formatting 2023-07-21 10:11:52 +08:00
thewildmage
436009b3c7 Add missing make step for arm64 2023-07-21 10:11:52 +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
lane.wei
eca0d78dbe FIX: CURL: don't build curl.exe
on ubuntu 20.04, link curl.exe will cause an error

Change-Id: Ic854abdf020d36148394552eccc76dd7be19208f
2023-07-20 21:08:36 +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
SoftFever
b5cbb42e62 fix build errors for relwithdebinfo 2023-07-19 18:16:35 +08:00
SoftFever
fda21497fc revert back to 2019 runner 2023-07-18 01:07:25 +08:00
SoftFever
ed156c1fc9 fix win cicd, revert back to vs2019 2023-07-18 01:02:42 +08:00
Heiko Liebscher
3725ef1e1b
fix lang files (gettext tool) (#1550) 2023-07-17 20:38:18 +08:00
SoftFever
40a17695c5 fix vs2022 deps 2023-07-16 10:58:18 +08:00
SoftFever
9253fed401 add vs2022 bat 2023-07-15 00:10:03 +08:00
SoftFever
b76be35d5a fix OCCT patch failure 2023-07-15 00:10:03 +08:00
lane.wei
e39fca1923 ENH: deps: fix the compiling issue caused by gmp downloading fail
download GMP from github directly for gmp blocking the access from
github

Change-Id: I344f14dded450c5a7549b2a94cafe46c25db9448
2023-07-14 18:04:21 +08:00
gerrit
ca97500e6f ci: update build version to 01.07.00.65
Change-Id: I4c98f8e415923ab49363dfd19389d1e93d4bbf35
2023-07-13 18:34:17 +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
gerrit
63dbbe39b9 ci: update build version to 01.07.00.64
Change-Id: I4bc4621e614342e71f5bc04ef59296c9bfd58095
2023-07-13 16:15:09 +08:00
gerrit
084ba58cb8 ci: update build version to 01.07.00.63
Change-Id: I46d1ac539cbc0b2b25555dff437e753f523b2bec
2023-07-13 16:15:09 +08:00
gerrit
e87e44fb76 ci: update build version to 01.07.00.62
Change-Id: I4125d836a20bd87d4f687a592c2dc591049475fb
2023-07-13 10:35:05 +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