Commit graph

22760 commits

Author SHA1 Message Date
Ocraftyone
cfc67dd411
Merge branch 'main' into enh-update-wxwidgets 2023-11-29 05:17:59 -05:00
Ocraftyone
b86b8ea810
Update BuildLinux.sh (#2919)
getting the value for FOUND_GTK* variables seems to cause an error which prevents using the -u option to install the needed packages. This is fixed by moving the "exit on first error" flag to after setting these vars.
2023-11-29 10:25:00 +08:00
Ioannis Giannakas
4985cc7e67
Fix purging not working for BBL printers (#2912) 2023-11-28 20:44:29 +08:00
Ocraftyone
6a97dfcb58
Merge branch 'main' into enh-update-wxwidgets 2023-11-28 04:36:30 -05:00
Ocraftyone
fbf97cd0a0
delete old wxWidgets patch 2023-11-28 04:28:55 -05:00
andrewboktor
7c3d97c287
Fuzzy skin fixes + on/off for first layer (#2903)
* Fixing fuzzy skin so it doesn't exit the desired geometry at line ends
Adding option to enable/disable fuzzy skin on first layer

* Whitespace + removing extra file
2023-11-28 15:40:26 +08:00
Ocraftyone
03f000a071
remove Apple specific declarations missed during refactor 2023-11-27 23:16:47 -05:00
Ioannis Giannakas
d71eaf958e
Fix crash when closing application (#2904)
* Update GUI_ObjectList.cpp

* Update GUI_ObjectList.cpp
2023-11-27 21:39:16 +08:00
Ocraftyone
07a637d35a
Filament ComboBox editor updates
-Add show drop down feature to ObjectTable
-Call finish editing when ComboBox is closed in ObjectList
2023-11-27 07:34:55 -05:00
Ocraftyone
d13bbb1890
Fix blank DataViewItem being added to objects list 2023-11-27 05:42:01 -05:00
Ocraftyone
8e26df2815
Fix macOS build issue 2023-11-27 04:34:01 -05:00
Ocraftyone
a3d292ff71
Remove duplicate variable from OrcaSlicer.cpp 2023-11-27 02:50:36 -05:00
Ocraftyone
bbf9b5f558
update wxWidgets patch
an attempt to fix macOS build
2023-11-27 02:35:55 -05:00
Ocraftyone
0e2f88d386
Revert "attempt to fix macos deps build"
Mistakenly made change to wrong file

This reverts commit d9c20b5121.
2023-11-27 02:34:08 -05:00
Ioannis Giannakas
ce9a8d7b20
Internal Bridge Flow rate parameter introduction (#2859)
* Internal Bridge Flow rate parameter introduction

* updated incorrect capitalisation

* Updated parameter ordering
2023-11-26 21:43:47 +08:00
Jim Broadus
cd35995402
Fix cmake error (#2871)
Use the correct target name when setting properties on cereal.
2023-11-26 13:17:29 +08:00
Ocraftyone
0944c4254b fix ubuntu build 2023-11-25 23:10:07 +00:00
Ocraftyone
d9c20b5121
attempt to fix macos deps build 2023-11-25 05:05:18 -05:00
Ocraftyone
8a0b3953ed
update ScalableBitmap to use bmp bundles
use wxBitmapBundle by default
add flag to use old scaled bitmap function (specifically to solve issue with advanced toggle)
2023-11-23 05:05:13 -05:00
Noisyfox
a6163a1550
Another fix to the preview shell (#2821) 2023-11-22 23:21:34 +08:00
Ocraftyone
7f83f460e1
fix up some more todos in wxExtensions 2023-11-22 06:00:55 -05:00
Ocraftyone
2b9cb53676
Update ScalableButton
change the signature and remove functions/vars pertaining to a default bmp
fix TODOs in ScalableButton

Original Commit: Prusa3D/PrusaSlicer@066b567
Co-authored-by: YuSanka <yusanka@gmail.com>
2023-11-22 05:43:35 -05:00
Ocraftyone
3a3301b051
update BitmapCache::from_svg
disable finding bundle in the cache to match load_svg
update to match values used in load_svg
2023-11-22 05:35:00 -05:00
Ocraftyone
01398dd848
Update names in wxExtensions
-Rename msw_rescale to sys_color_changed
-Replace GetBmpSize, GetBmpWidth, GetBmpHeight with renamed version (same name without "Bmp")

Both of these changes were also made by PrusaSlicer.

Original Commit: Prusa3D/PrusaSlicer@066b567
Co-authored-by: YuSanka <yusanka@gmail.com>
2023-11-22 04:12:26 -05:00
Ocraftyone
3b5c571b1c
Merge branch 'main' into enh-update-wxwidgets 2023-11-22 00:52:43 -05:00
Ocraftyone
51622326bf
solve ObjectDataViewModel todos
leaving colPrint and colEditing cases alone as it does not seem to impact anything
2023-11-22 00:36:16 -05:00
Ocraftyone
bc21ab61f5
Dim the icon on ComboBox when disabled 2023-11-21 07:38:40 -05:00
Ikko Eltociear Ashimine
a085ac6e32
Update README.md (#2815)
oppened -> opened
2023-11-21 17:17:53 +08:00
Noisyfox
03a9014d3a
Show wireframe in MMU painter gizmo (#2808)
* Remove unused shader files

* Port wireframe shader from BBS

* Enable wireframe in MMU painter

Co-Authored-By: zhou.xu <zhou.xu@bambulab.com>

---------

Co-authored-by: zhou.xu <zhou.xu@bambulab.com>
2023-11-21 17:17:22 +08:00
Ocraftyone
53bc949580
Merge branch 'main' into enh-update-wxwidgets
# Conflicts:
#	src/nanosvg/README.txt
#	src/nanosvg/nanosvg.h
#	src/nanosvg/nanosvgrast.h
#	src/slic3r/GUI/BitmapCache.cpp
#	src/slic3r/GUI/BitmapCache.hpp
#	src/slic3r/GUI/ImGuiWrapper.cpp
2023-11-19 19:34:50 -05:00
Noisyfox
70d86af253
Fix color blending of preview shells (#2799) 2023-11-19 22:20:42 +08:00
Lee Jong Mun
50a9345ddd
kor_translation update (#2794) 2023-11-19 19:10:30 +08:00
SoftFever
5c64a0587a
Fix toolbar rendering on Windows (#2784)
Currently on windows, when you resize the window relatively small, the
end of the toolbar will be clipped like so:

![d95d24afdc47eef04df4a2c755d13494](5f060966-3613-4bd7-8036-e9b27c12ffd3)

This is what it look like on Linux/macOS:

![image](167ab075-1c48-4531-a2ef-3f225874cfbd)

This PR fixes this issue so it behaves like on Linux/macOS:

![60cb540f198c5d680fceaa387302c475](7e1b404b-bdf7-4c3b-bee7-5d2f0a11f91e)
2023-11-19 19:10:01 +08:00
SoftFever
93f62a47f5
Merge pull request #2780 from Noisyfox:bugfix/amd-png
Fix PNG build plate texture not rendering on AMD GPUs
2023-11-19 19:08:04 +08:00
Ioannis Giannakas
cd475f0f94
Add option to "Reverse only internal perimeters" under the reverse on odd feature to reduce part warping (#2722) 2023-11-19 19:02:47 +08:00
Ocraftyone
7b1f49f921
Update NanoSVG.cmake
Update NanoSVG to work with PR #2780
2023-11-19 03:56:50 -05:00
SoftFever
e9f519d092
Port PrusaSlicer's Measure & Cut gizmos (#2603)
Build on top of #2520 and replaces it.

This PR includes:
- Rewrite the opengl rendering code, which now renders (almost)
everything using shaders instead of legacy opengl function calls
- Rewriting the gizmo mouse handling code that moves the mouse handling
coding into each gizmo themselves
- Rewriting the mouse picking code, now it uses ray casting to figure
out what's under the mouse cursor
- Porting of the PrusaSlicer's measure tool
- Replacing existing cuting tool with the better one PrusaSlicer has
- Updating of other gizmos using PrusaSlicer's latest code base

There was a plan to also port PrusaSlicer's emboss & svg tools, but this
PR is already very big and the changes needed for emboss will be even
bigger and might take forever to finish. So I decided to separate them
so we can get something out and start rolling out testing builds for
people to play with as soon as possible.

This was developed mainly using Windows, be prepared it could have
graphic issue under Linux & macOS.

Huge credit to Prusa for their amazing job!


![image](b7ec85d7-1013-4d8e-9914-c2b4d8cb5360)

![image](1e97d744-99c0-402d-9b23-456d95e07bba)

![image](f0a5dbea-677a-43f5-918b-c6817ff659c8)


Fixes #717
Fixes #1150
Fixes #1590
2023-11-19 16:50:32 +08:00
SoftFever
0e6197f0a7 Set openssl osx target properly 2023-11-19 16:45:36 +08:00
SoftFever
df48b05f73
Merge branch 'main' into dev/gizmo 2023-11-19 15:47:47 +08:00
Ocraftyone
6e7dfc54e4
Show dropdown when editing is started 2023-11-19 02:10:15 -05:00
Ocraftyone
3f0083c5a7
Update some todos 2023-11-19 02:04:29 -05:00
SoftFever
ebbe5a4d80 fix secrets were not passed from build_check_cache to build_deps 2023-11-19 12:12:01 +08:00
SoftFever
d7453aa20f Fix CICD: failed to sign Mac build 1. upload PDB 2023-11-19 11:23:36 +08:00
niklasb
8ca0d79b05
Adds overview for custom gcodes like pause, change filament, custom #2191 (#2728)
* Adds overview for custom gcodes like pause, change filament, custom

* Fix: incorrect time display of inserted pauses
2023-11-19 00:04:30 +08:00
SoftFever
07d5a06794 fix windows CICD error 2023-11-18 23:51:55 +08:00
Noisyfox
a590d4cead Fix toolbar rendering on Windows 2023-11-18 17:24:08 +08:00
SoftFever
cc55957070 Zip Windows portable build and PDB before upload artifacts 2023-11-18 16:23:40 +08:00
Ocraftyone
cbb7c3381c
Rework Github Build Actions (#2566)
update workflows from dev branch

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-11-18 15:30:06 +08:00
Noisyfox
5045642de0
Merge branch 'main' into dev/gizmo 2023-11-18 14:51:32 +08:00
Noisyfox
67fe5ee7f5 Bring back anti-aliasing to toolbar icons (#2739) 2023-11-18 14:51:22 +08:00