Commit Graph

10033 Commits

Author SHA1 Message Date
54c65d183b Fix 3rd party login issue on macOS (#4739)
* Fix use-after-free error

* Ignore http OPTIONS method

* Make sure response has sent before closing the http server
2024-03-28 23:07:10 +08:00
04f4fbd0e5 Fix issue that print host and webui settings are not properly reset (#4734)
Fix issue that print host and webui settings are not properly reset after switching from certain host type
2024-03-28 23:02:20 +08:00
89afa928e4 Add overhang threshold for scarf joint seam (#4725)
add overhang threshold for scarf joint seam
2024-03-27 22:02:20 +08:00
c4264bcdb8 Fix issue that painter sphere is rendered at the wrong position (#4652) 2024-03-23 13:04:24 +08:00
444c9ffd6e Support for SimplyPrint cloud integration (#4525)
* Make httpserver more generic and reusable

* Add OAuthJob

* Fix issue caused by the fact that the backing widget of the `TextCtrl` is no longer `wxTextCtrl`

* Implement login and token refresh

* Implement file upload

* Try fix build error

* Support BBL printers

* Show error message if user hasn't done OAuth

* Fix typo

* Update error message

* Disable unsupported options when SimplyPrint is selected
2024-03-23 10:08:48 +08:00
b3437edc5c Feature/home page improve (#4602)
* Add new MyRRF custom printer

* hide user panel when networking plugin is not installed/used

* Fixed a bug that promption of installing plugin notification was not displayed when trying to switch to Bambu device tab

* replay missing_connection animated image when switching to device tab
2024-03-22 19:30:13 +08:00
ecf0ad51a3 Falashforge 5M network support (#4546)
* build action changes

* Adding flashforge 5M series network support

* Update CMakeLists.txt

* Update Flashforge.cpp

* reverting files for pull request

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-22 19:22:46 +08:00
e8ad0c6be8 Fix crashes caused by self destructed splash screen. 2024-03-19 20:14:24 +08:00
8ad135ffcc log tweak:
1. deprecate severity_level, use log_severity_level config key
2. remove encrytped bbl debug_network log file
2024-03-17 23:06:42 +08:00
f35566e935 set default logging level to warning and make it configurable in .conf file 2024-03-16 21:30:19 +08:00
cc085caf58 Add safety check for seam_slope_start_height 2024-03-16 17:39:14 +08:00
a6f6c78d5d Add bed types WIKI document and link 2024-03-16 00:12:27 +08:00
9ccfd71c4c Fixed an issue that changing printer selection clears out Process overrides (#4506) 2024-03-15 23:59:38 +08:00
d8d583cc04 Fix alternate extra wall warning: change ensure vertical shell thickness to Moderate instead of None (#4463)
* fix warning

* Update locale
2024-03-13 22:15:18 +08:00
4b3c850825 Handle parameter name change properly.
Fix build break and keep compatibility to existing user preset after #4444 changes
2024-03-13 21:57:41 +08:00
2776792b8e chore(slicer): Update copyright year to 2024 (#4428)
Also remove duplicated definition for `MACOSX_BUNDLE_COPYRIGHT`.

Signed-off-by: Dzmitry Neviadomski <nevack.d@gmail.com>
2024-03-13 21:20:39 +08:00
e168352dba Fixed a regression bug that device URL was not reset when changing to a machine don't have connection info 2024-03-11 22:37:15 +08:00
746a1f093b Optimize ensure vertical feature's UX (#4402)
* Change ensure_vertical_shell_thickness to enum value type. Allow users to turn off this feature completely

* add warning to the tooltip for None option
2024-03-10 21:16:02 +08:00
d59e73c907 fix an issue that pressure eq may cause 0 feedrate in vase mode (#4398)
fix an issue that pressure eq may cause 0 feedrate
2024-03-10 09:30:13 +08:00
af5e026ae5 Pressure equalizer documentation (#4334)
* Placeholder file

* doc renaming

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* images

* images

* Spell checking

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Credits

* Credits

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Update Extrusion-rate-smoothing.md

* Add WIKI link for the Extrusion rate smoothing option

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-09 21:43:44 +08:00
926fc801cb Add document for Adaptive Bed Mesh Support 2024-03-09 14:37:04 +08:00
8cc40bb7d5 Scarf joint seam enhancement: conditional scarf joint and slowdown for scarf joint only (#4317)
* Allow apply scarf joint seams to perimeters without sharp corners only

* 1. Fix an error when detect whether a loop is smooth
2. Expose scarf_angle_threshold to UI

* fix linux build error

* minor code changes

* Support slowdown speed for scarf joint only

* update tips

* improve the logic a bit

* Fixed a bug that scarf speed may not respected for overhangs

* Add a new scarf flow ratio option
2024-03-08 23:41:59 +08:00
57b6f00e03 Improve PA tower: 1. support large nozzles 2. remove jerk=1 settings 3. move settings changes to object to avoid accidently saving the profile (#4382)
Improve PA tower: 1. support large nozzles 2. remove jerk=1 settings
2024-03-08 23:38:46 +08:00
e957a45513 update WIKI 2024-03-04 20:26:50 +08:00
a815bef42c Seam: use scarf joint to minimize seam visiblity (#3839)
* Remember z of previous layer

* Support travel to middle of the layer z

* Support sloped extrusion

* Implement sloped seam

* Reduce extra movements

* Don't clip loop if sloped seam is enabled

* Fix wipe

* Ensure `slope_max_segment_length`

* Add options

* Limit slope length to perimeter length

* Fix slope segmentation

* Rename the option to scarf joint seam

* Don't modify the slope option when turning on spiral vase

* Add a few suggestions when turnning on scarf joint

* Add option to add scarf joint to inner walls

* Apply seam gap at the end of the slope

* Add option to explicitly use the entire loop as scarf length

* Fix layer number

* Increase default scarf length to 20mm

* Better way of storing the global scarf state

* Better vase mode layer height recognition

* Move id should exclude seams

* Fix slope height with independent support layer height

* Fix linux build

* Allow controlling the scarf with modifier

* Scarf start height default to 0

* Allow enable scarf seam on contour only

* Fix type error

* Move the creation of sloped loop into ExtrusionEntity.cpp

* Fix error "vector too long"

* Detect seams properly

* The correct way of calculating the rate limit

* The correct way of calculating the rate limit

(cherry picked from commit 05961f7c98803a42871b8df855bfff6a102936c4)

* Add pressure equalizer in print by object mode

* Remove the settings recommendation as it varies a lot depends on printer & filament

* Add a beta suffix

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-02 23:25:02 +08:00
4dcbb9e0e1 Fix some xgettext errors 2024-03-02 11:43:18 +08:00
91b2969a81 Support for Obico cloud integration (#4116)
support obico (#3)

Add printer support for Obico cloud.

---------

Co-authored-by: zzh <anjingxw@126.com>
2024-02-27 22:04:51 +08:00
7b73c7a4c5 ENH: Better Scrolling Over Multiline Fields (#4218)
* Improve scrolling over multiline fields

* Fix text control scrolling
2024-02-27 22:03:59 +08:00
81b5586410 QoL: 3D navigator (#4181)
* Initial integration of ImGuizmo

* Fix mouse capture

* Fix frame update

* Update face color

* Show current camera rotation

* Fix coord mapping

* Update camera rotation from 3d navigator

* Use orthographic

* Render axis

* Make the axis color lighter if at back

* Show axis label

* Fix linux build

* Move to separate method

* Refine

* Add option to show/hide 3d navigator

* Add license info

* Handle dpi scaling

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-02-27 21:57:31 +08:00
80754cc932 Allow exporting filament profiles for non-bbl printers (#4217)
Allow exporting non-bbl profiles
2024-02-25 15:40:55 +08:00
4bfa67809a Fixed a bug that caused bed textures to scale improperly
Fixes #1175
2024-02-24 22:59:14 +08:00
fc5ca01976 Add direct adaptive bed mesh support (#4212)
* Add direct adaptive bed mesh support

* fix Linux build error

* update tooltip
2024-02-24 20:44:00 +08:00
f154e50272 Some tiny UI adjustment 2024-02-24 18:55:24 +08:00
56807dfde4 Allow specify wall directions (#4156)
* Add wall direction option

* Force wall direction if specified

* Format

* Rename default to auto
2024-02-23 20:45:56 +08:00
54b27e3b39 Show a warning dlg when enabling Make overhangs printable option
Fixes #4078
2024-02-22 21:33:37 +08:00
f05ebcca31 Fix object list crash on click (#2823) (#4164) 2024-02-20 22:02:48 +08:00
5f7e0deed9 Fix move gizmo on parts (#4138) 2024-02-18 23:22:09 +08:00
377223f0ee Show dialog when opening 3mf files to choose whether to import settings. (#4110)
* Show dialog when opening 3mf files to choose whether to import settings.

* Merge branch 'main' into main
2024-02-18 22:54:43 +08:00
6eaa6f247e Support profile OTA update for Orca Slicer (#4069)
profile ota support
2024-02-13 23:58:14 +08:00
939c206aa8 Various Emboss improvements from PS (#4039)
* Fix: invalid distance from surface when load from 3mf

Cherry-picked from prusa3d/PrusaSlicer@e1d9393e51

Co-authored-by: YFilip Sykala - NTB T15p <Filip.Sykala@Prusa3D.cz>

* Apply rotation angle given by style for new text object
Turn off feature 'use_surface' for new text object

Cherry-picked from prusa3d/PrusaSlicer@1cb156c815

Co-authored-by: YFilip Sykala - NTB T15p <Filip.Sykala@Prusa3D.cz>

* Store/Load align and per_glyph in Slicer.ini for text style

Cherry-picked from prusa3d/PrusaSlicer@fe16f5bdd1

Co-authored-by: YFilip Sykala - NTB T15p <Filip.Sykala@Prusa3D.cz>

* Store undo/redo snap after stop input-sliding

Cherry-picked from prusa3d/PrusaSlicer@fb4e4710e7

Co-authored-by: YFilip Sykala - NTB T15p <Filip.Sykala@Prusa3D.cz>

* Initialize SvgFile object in optional different way.

Cherry-picked from prusa3d/PrusaSlicer@0ff255eadc

Co-authored-by: YFilip Sykala - NTB T15p <Filip.Sykala@Prusa3D.cz>

* SPE-2103
Make snap-shot to undo/redo stack only on release slider

Connected with attributes:
Text/advanced(char gap, line gap, boldness, skew ratio)
SVG(size)

Also change range for Boldness. VRT font-Ascent.
(different font may have different slider value range)

Fix line gap (it was denied when per glyph was false)

Cherry-picked from prusa3d/PrusaSlicer@ee3546b186

Co-authored-by: YFilip Sykala - NTB T15p <Filip.Sykala@Prusa3D.cz>

---------

Co-authored-by: YFilip Sykala - NTB T15p <Filip.Sykala@Prusa3D.cz>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-02-13 23:56:48 +08:00
f1997ac4cc New Language: Catalan language for OrcaSlicer 1.9.0 (#4036)
* Create OrcaSlicer_ca.po

* New Language: Catalan language for OrcaSlicer 1.9.0

New Language: Catalan language for OrcaSlicer 1.9.0

* Add code changes to support Catalan

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-02-11 12:48:44 +08:00
af32ad2c59 Update HMS.cpp set language code to en by default for PL language (#4034)
* Update HMS.cpp set language code to en by default for PL language
2024-02-11 10:55:10 +08:00
007013e8cc A *lot* of import fixes for flatpak (#3909)
* A *lot* of import fixes for flatpak

Aside, thank you @hadess for the majority of these fixes. You are the
base point for a lot of issues fixed during the creation of this
flatpak.

* Use slic3r::load_string_file

Boost 1.84 removed `boost::fs::load_string_file` so use the func located
in Utils.hpp
2024-01-31 11:23:29 +00:00
3d786b1edb Fix issue with PA pattern test using travel acceleration and jerk for the PA patterns (#3851) 2024-01-30 12:40:07 +00:00
1d2c0a1874 Fix some rotation-related issues (#3890)
* Fix issue with max_z after rotation

* Don't use `object.bounding_box()`, use `bounding_box_exact()` instead.

* Fix auto-orient

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-30 11:45:14 +00:00
32213b9946 Add a new handy model: Orca string hell (#3892)
* add string hell

* tweak message
2024-01-30 00:30:36 +00:00
40a998cb21 Change from "Back" to "Return" in the project tab (#3867) 2024-01-29 15:28:07 +00:00
50570e6d0c Port "No Unsupported Perimeters" feature from SS (#3189)
* first impl

* Properly handle extra bridges in `detect_surfaces_type()`

* Pass `perimeter_spacing` and `ext_perimeter_width` as parameters instead of instance property

* Make `process_no_bridge()` private

* Attempt to run `process_no_bridge()` in arachne

* Update `BridgeDetector::coverage` to give us more precise bridge coverage

Co-authored-by: supermerill <merill@free.fr>

* Fix bridge infill margin scaling

* Rename the option name as well as add tooltip

---------

Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
Co-authored-by: supermerill <merill@free.fr>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-28 10:12:55 +00:00
fdd48c698a Add the Polish language (#3622)
* Update localazy.json

Add localization pl

* Update Preferences.cpp

Add polish language

* OrcaSlicer_pl.po

Add OrcaSlicer_pl.po

* Update text.js

Add pl_PL translate

* Rename OrcaStudio_pl.po to OrcaSlicer_pl.po

* Add files via upload

* Update HMS.cpp

* Add files via upload

Update OrcaSlicer_pl

* Update OrcaSlicer_pl.po

* revert irrelevant change

* fix one misspelling

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-01-27 12:34:51 +08:00
fce61be3ff Fix asserts which would not compile. (#3741) 2024-01-27 10:30:29 +08:00