Commit graph

13976 commits

Author SHA1 Message Date
Dima Buzdyk
5d45770745
gui: fix zoom-to-mouse (#4844)
gui: fix zoom-to-mouse

Plater disappeared when zoom-to-mouse enabled and user tries to zoom
with a side view enabled (Ctrl+<3..6>).

Mouse/screen center position estimation in 3D is made by calculating
intersection of a mouse vector which comes 'through' the screen with an
XY plane. However, when screen is parallel to Z axis, intersection point
located at infinite which results in infinite camera translation vector.

This change switches mouse position estimation to use of projection
matrix like its done for camera panning.
2024-04-14 17:49:44 +08:00
discip
b0abb4c5a6
Rename tab_auxiliary_avtice.svg to tab_auxiliary_active.svg (#4390)
* Rename tab_auxiliary_avtice.svg to tab_auxiliary_active.svg

* Update MainFrame.cpp
2024-04-14 16:21:03 +08:00
Noisyfox
38d4881643
Do layer height recognition on G3 moves as well (#4843)
* Do layer height recognition on G3 moves as well

* Merge branch 'main' into bugfox/scarf-joint-g3
2024-04-11 22:12:06 +08:00
Alex Boyd
ec8d91e14f
Display filament labels in "change filament" context menus (#4921)
* ENH: display filament labels in "change filament" context menus
2024-04-10 21:54:46 +08:00
yw4z
eef66022a0
Small change on Toolbar order (#4581)
* Update GLGizmosManager.cpp

* Update GLGizmosManager.hpp
2024-04-10 21:42:39 +08:00
SoftFever
58ee918db3
fix wrong overhang slowdown value (#4940) 2024-04-09 19:53:32 +08:00
SoftFever
2122fcfc16
Add an option to allow user disable printer configuration (#4930)
Add an option to allow user diable printer configuration
2024-04-09 18:06:54 +08:00
SoftFever
ba414bb74a
Wrong bridge detection result (FOR TESTING ONLY) (#4678)
Fixed an issue that top surface was treated as internal bridge
2024-04-07 22:43:00 +08:00
Dima Buzdyk
ff5035ffae
Fix go-to-layer dialog in gcode preview (#4816)
gcode-preview: fix go-to-layer dialog
2024-04-07 22:12:28 +08:00
Asoka Wotulo
fe914e82f3
Fix segmentation fault when running CLI (#4702)
* fix: replace extruder_clearance_max_radius with extruder_clearance_radius

* fix: add if m_plater before accessing preset_bundle

* fix: generate thumbnail only when callback is defined

* fix: change default gcode thumbnail format to png
2024-04-07 12:07:44 +08:00
Dima Buzdyk
14fc48ffbd
gui: reverse mouse zoom option (#4668) (#4677)
* gui: reverse mouse zoom option (#4668)

Add configuration entry for reverse mouse zoom option
Define SUPPORT_REVERSE_MOUSE_ZOOM macro to enable feature code.

* remove SUPPORT_REVERSE_MOUSE_ZOOM macro

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-04-04 21:52:07 +08:00
Dima Buzdyk
ff7faca943
Fix model load in debug build (#4656)
* Fix model load in debug build

Debug build exit with error on model load due to failed assertion (file
path redacted):

    orca-slicer: <...>/OrcaSlicer/src/libslic3r/Model.cpp:1361: void Slic3r::ModelObject::update_min_max_z(): Assertion `! this->instances.empty()' failed.

Assertion failed due to model->ensure_on_bed() being called for object
which yet to be load from file.

Do not call ensure_on_bed() for models read from file since they may be
read with no default instance.

ensure_on_bed() called later within withing Plater::load_model_objects()
for each object added.

* Rework according to code review comment
2024-04-04 21:47:42 +08:00
Dima Buzdyk
9d81245eff
Touchpad-friently 3d navigation (#4598)
* gui: camera navigation style option

Add camera navigation style config option as a preparation for
introduction of touchpad style navigation

* gui: touchpa-friently 3d navigation

Implement FreeCAD-inspired touchpad-friendly camera operation mode:
- Shift+move: panning
- Alt+move: rotation

Set "Camera mode" to "Touchpad" in settings menu to activate this mode.

* cache current navigation style in class member variable

Cache current navigation style on canvas focus, do not
request settings value each mouse event.

* force focuse 3d preview on preferences window close

Explicitly force focus 3D preview pane on closing preferences window.
This allows preferences be updated only once without checking current
value each input event.
Another benefit is to have 3D view in focus is that user could
immediatelly use 3d-view shortcuts like Ctrl+<1..7> without clicking to
the 3D view first.
2024-04-04 21:46:14 +08:00
GrannyShifting
1dc9caf19d
Add z offset to pressure advance calibration (line and pattern) (#4434) 2024-04-04 21:41:05 +08:00
vgdh
3f411e26fd
Lowering wipe tower margin (#4661)
lower wipe tower margin
2024-04-03 22:52:13 +08:00
SoftFever
7a0c701dea update locale for "Conditional overhang threshold" 2024-03-29 21:12:22 +08:00
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
KrisMorr
6c4ba5c794
Update list.txt for gettext+OrcaSlicer.pot+update_Polish translations (#4663)
* Update_list.txt+OrcaSlicer.pot

I have added missing files for gettext. These files fill in the missing translation strings for Connection / Physical Printer (Obico, SimplyPrint, Flashforge)

src/slic3r/Utils/Obico.cpp
src/slic3r/Utils/SimplyPrint.cpp
src/slic3r/Utils/Flashforge.cpp
src/slic3r/Utils/NetworkAgent.cpp
src/slic3r/GUI/Jobs/OAuthJob.cpp
src/slic3r/GUI/BackgroundSlicingProcess.cpp

* Update Polish translations

* Update OrcaSlicer_pl.po

* Fixing a string_update PrintConfig.cpp

Fixing a string in the PrintConfig.cpp file
The string that hasn't been translated in printer settings
"Disable generating of the M73: Set remaining print time in the final gcode"

* fix_upd

* update_OrcaSlicer_pl.po
2024-03-25 22:25:37 +08:00
SoftFever
2841476e86 Revert "Wrong bridge detection result (#4651)"
This reverts commit f626e4dd27.
2024-03-23 20:33:35 +08:00
SoftFever
f626e4dd27
Wrong bridge detection result (#4651)
process_external_surfaces before discover_horizontal_shells
2024-03-23 13:19:23 +08:00
Noisyfox
d601e9d544
Fix issue that painter sphere is rendered at the wrong position (#4652) 2024-03-23 13:04:24 +08:00
Ioannis Giannakas
143087bb2a
Revert automatic application of reduced internal bridge filtering for lightning infill (#4639) 2024-03-23 10:11:13 +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
Ioannis Giannakas
b736a0bc38
Revised Inner Outer Inner mode for Classic mode (#4417) 2024-03-18 23:16:12 +08:00
Ioannis Giannakas
28533dd175
Inner Outer Inner mode - arachne bug fix (#4416)
* Inner Outer Inner mode - arachne bug fix

* Update PerimeterGenerator.cpp
2024-03-18 23:14:40 +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
d88dda8131 Prevent crashes from edge cases when slicing complex small model with "big" fuzzy skin is used 2024-03-17 20:34:58 +08:00
SoftFever
afabd955ac Properly handle "dev" version 2024-03-17 17:33:31 +08:00
SoftFever
e76ca8febf Minor tweak: avoid exceptions 2024-03-17 11:22:52 +08:00
David Eccles (gringer)
587fab285c
3D Honeycomb - switch direction at smallest bridge point, rather than every layer (#4425)
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-03-16 22:53:36 +08:00
SoftFever
350a2e4c4a fix a crash issue when check machine limits 2024-03-16 21:30:31 +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
1943259ac3 disable speed check 2024-03-16 12:33:49 +08:00
SoftFever
cca218039c Handle travel acceleration warning properly for different firmwares 2024-03-16 12:04:30 +08:00
SoftFever
56524b6c0a fix build break error for multiconfig generator on Mac 2024-03-16 11:32:41 +08:00
SoftFever
1471ac4204
Fix an issue that only 1 bottom/top will be generated when ensure vertical thickness is set to None (#4504) 2024-03-16 00:24:57 +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
bfb4a897f6 Fixed an issue that in some cases, the OrcaSlicer_profile_validator didn't report errors properly 2024-03-14 20:09:27 +08:00
rodriguezst
db2f50b844
Allow AppImage generation in aarch64 build hosts (#4410)
Get arch from build host

It was harcoded to x86_64 and was failing to generate AppImage files on aarch64 build hosts
2024-03-13 23:13:31 +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