Commit Graph

9485 Commits

Author SHA1 Message Date
Noisyfox
ed14598eb1 Fix utf8 string on physical printer dialog (#4765) 2024-03-29 20:59:54 +08:00
Dima Buzdyk
45ef4ae790 gui: fix media eject on linux (#4700) (#4701)
* gui: fix media eject on linux (#4700)

Removable media is not ejected on linux platform

Make get_removable_drive_from_path() check if path is a dir or not.
Trim last component in latter case only.

* Revert unnecessary style changes
2024-03-29 11:12:37 +08:00
Noisyfox
9f3bafb04e 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
Noisyfox
f36c22385b 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
SoftFever
dcb8d09af6 Add overhang threshold for scarf joint seam (#4725)
add overhang threshold for scarf joint seam
2024-03-27 22:02:20 +08:00
Noisyfox
d601e9d544 Fix issue that painter sphere is rendered at the wrong position (#4652) 2024-03-23 13:04:24 +08:00
Noisyfox
e29bbac193 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
SoftFever
1e08b855df 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
iherbak
f1c91dc551 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
SoftFever
3b34c5df8f Fix crashes caused by self destructed splash screen. 2024-03-19 20:14:24 +08:00
SoftFever
8d34e22d7f 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
SoftFever
6ab5bc8bef set default logging level to warning and make it configurable in .conf file 2024-03-16 21:30:19 +08:00
SoftFever
550c4d6ca1 Add safety check for seam_slope_start_height 2024-03-16 17:39:14 +08:00
SoftFever
f0a193c476 Add bed types WIKI document and link 2024-03-16 00:12:27 +08:00
SoftFever
5203173418 Fixed an issue that changing printer selection clears out Process overrides (#4506) 2024-03-15 23:59:38 +08:00
SoftFever
5d19385564 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
SoftFever
cab5fe715d 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
Dzmitry Neviadomski
242ad33eb4 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
SoftFever
f83a3377ab 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
SoftFever
879c3924c9 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
SoftFever
849fe44bf9 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
Ioannis Giannakas
89f51031eb 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
SoftFever
697fc38275 Add document for Adaptive Bed Mesh Support 2024-03-09 14:37:04 +08:00
SoftFever
a4bf3dabb4 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
SoftFever
99a090b83c 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
SoftFever
5cbbd053d1 update WIKI 2024-03-04 20:26:50 +08:00
Noisyfox
924a2b4551 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 05961f7c98)

* 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
SoftFever
9f7cec3f44 Fix some xgettext errors 2024-03-02 11:43:18 +08:00
Kenneth Jiang
8c941df4e8 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
Ocraftyone
047b889ba6 ENH: Better Scrolling Over Multiline Fields (#4218)
* Improve scrolling over multiline fields

* Fix text control scrolling
2024-02-27 22:03:59 +08:00
Noisyfox
bf4d59a676 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
Noisyfox
7e3b8007cb Allow exporting filament profiles for non-bbl printers (#4217)
Allow exporting non-bbl profiles
2024-02-25 15:40:55 +08:00
SoftFever
d3309b978f Fixed a bug that caused bed textures to scale improperly
Fixes #1175
2024-02-24 22:59:14 +08:00
SoftFever
2c279c5648 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
SoftFever
ab2aaefe42 Some tiny UI adjustment 2024-02-24 18:55:24 +08:00
Noisyfox
e4255b3c01 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
SoftFever
558510c5f1 Show a warning dlg when enabling Make overhangs printable option
Fixes #4078
2024-02-22 21:33:37 +08:00
Noisyfox
a74a1d26fd Fix object list crash on click (#2823) (#4164) 2024-02-20 22:02:48 +08:00
Noisyfox
7e78f0d64f Fix move gizmo on parts (#4138) 2024-02-18 23:22:09 +08:00
markleaf131313
8ce07d3e8e 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
SoftFever
73bb37b7c9 Support profile OTA update for Orca Slicer (#4069)
profile ota support
2024-02-13 23:58:14 +08:00
Noisyfox
2d140f92ff 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
davidjuanesb
38409359a8 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
KrisMorr
174ee050ea 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
Aidan
951fc8e98a 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
Ioannis Giannakas
10cba023e6 Fix issue with PA pattern test using travel acceleration and jerk for the PA patterns (#3851) 2024-01-30 12:40:07 +00:00
Noisyfox
73ab032e82 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
SoftFever
d1eea4c677 Add a new handy model: Orca string hell (#3892)
* add string hell

* tweak message
2024-01-30 00:30:36 +00:00
KrisMorr
da349202d2 Change from "Back" to "Return" in the project tab (#3867) 2024-01-29 15:28:07 +00:00
Ocraftyone
3b7b10f72f 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