Commit graph

22743 commits

Author SHA1 Message Date
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
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
Jason Pell
b3db0a560a
the layer height should be 0.24 not 0.2 (#2779) 2023-11-18 13:43:57 +08:00
enricoturri1966
8c0cf34a6c Fixed generation of texture mipmap using glGenerateMipMap (added also for png)
Fix mipmap of compressed textures on AMD Radeon graphics cards by forcing the use of squared power of two textures

(cherry picked from commit prusa3d/PrusaSlicer@971f2a08e2)
(cherry picked from commit prusa3d/PrusaSlicer@eee4453993)
2023-11-18 10:21:41 +08:00
Ocraftyone
c0386d786c
Fix macOS deps build issues (#2541)
update deps/CMakeLists.txt and MPFR.cmake
2023-11-17 21:59:18 +08:00
SoftFever
f5ec607b6a update WIKI 2023-11-17 20:00:12 +08:00
SoftFever
cb038d0469 fix Prusa MK3S and Mini profile issues
Fixed #2768
2023-11-17 20:00:05 +08:00
mariuske
698440d5a4
Removed print_flow_ratio from Flashforge process (#2769)
For some reason this value stayed in this profile file after a recent merge and it's now been removed again.
2023-11-17 19:40:03 +08:00
Noisyfox
b2642039c7
Fix creality k1/max default materials (#2609) (#2767) 2023-11-17 14:28:48 +08:00
Lukas Matena
67c1f40eae Fixed a crash when deleting the last object with autocenter enabled (prusa3d/PrusaSlicer#11186).
(cherry picked from commit prusa3d/PrusaSlicer@926af1ab8d)
2023-11-17 09:32:45 +08:00
Noisyfox
f6e4c48fe7
Merge branch 'main' into dev/gizmo 2023-11-17 09:18:31 +08:00
SVNMLR
4dcfd97181
[Multi Material] Fix first layers of prime tower when using "no sparse layers" (#2764)
* MM - Add check for first layer

* Change: If no sparse layer is on -> Respect the toolchange in the first-layer checkup, to use a brim and slow down printspeed if using a primetower

* Fix comment
2023-11-17 08:01:52 +08:00
SoftFever
9505f93717 fix thumbnails regression 2023-11-17 07:54:59 +08:00
SoftFever
bc05653a72 orca bot: processing issues in ascending order 2023-11-16 23:25:28 +08:00
SoftFever
9af22da7d1 bump version to 1.8 2023-11-16 23:17:59 +08:00
SoftFever
09c77c45da update profile version to 1.08.00.00 2023-11-16 23:02:10 +08:00
mariuske
6c957d40d0
Restructured Flashforge process profiles (#2718)
* Restructured Flashforge process profiles

* Fixed typo in machine profiles

* Changed skirt loops to 2

Based on best practise (other profiles), I have changed the number of skirt loops from 1 to 2
2023-11-16 22:07:02 +08:00
Andy
75c019a1a9
Russian translation update (#2760)
Russian translation update
2023-11-16 22:02:13 +08:00
SoftFever
7566df566d fix snapmaker J1 not displaying bug
fixed #2750
2023-11-16 19:42:40 +08:00