Commit Graph

10691 Commits

Author SHA1 Message Date
Filip Sykala
cb5e4e29b3 Fix translation issue after cut surface 2022-05-30 22:43:49 +02:00
Filip Sykala
b69653f967 Speed up by skip model triangles out of bounding box
+ skip outward traingles (actualy set to 89 Degree for sure)
2022-05-30 19:30:14 +02:00
Filip Sykala
49467667f8 add clear of conversion map for vertex index between conversions of AOI_cuts to indexed_triangle_set
AOI_cut could share vertex and this vertex has own index in each cut.
2022-05-27 09:40:26 +02:00
Filip Sykala
7295c3470b add assert on uncontinous order of points
add check on toward projection
2022-05-25 15:10:47 +02:00
Filip Sykala
ab58e631ef fix
../src/libslic3r/CutSurface.cpp:879:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
../src/libslic3r/CutSurface.cpp:880:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
../src/libslic3r/CutSurface.cpp:881:72: warning: '&&' within '||' [-Wlogical-op-parentheses]
../src/libslic3r/CutSurface.cpp:877:22: warning: unused variable 'is_positive_type_direction' [-Wunused-variable]
2022-05-25 09:10:29 +02:00
Filip Sykala
ca848b0a14 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Format/3mf.cpp
#	src/slic3r/GUI/Selection.cpp
2022-05-24 23:04:36 +02:00
Filip Sykala
848dbcb9ca Prevent small useless cutted pieces by set requirement for minimal source contour outline points 2022-05-24 16:13:02 +02:00
Filip Sykala
60c2e74207 Filtrate face, which are to close to parallel projection during emboss on surface 2022-05-24 12:20:28 +02:00
enricoturri1966
6047eec609 When, on Windows, the application tries to automatically switch to MESA OpenGL library and the system opengl32.dll is not unloaded, prompt the user with a dialog asking to rerun using the --sw-renderer option 2022-05-24 10:20:02 +02:00
enricoturri1966
6365e54b1f Fixed loading of 3mf files containing single volume instances where the volume is shifted with respect to the instance origin 2022-05-20 10:39:51 +02:00
Lukáš Hejl
1582d019fb Fixed another crash in Lightning infill. 2022-05-19 15:16:30 +02:00
Lukáš Hejl
4bde35cae3 Parallelized DistanceField::DistanceField() and Layer::getBestGroundingLocation() in Lightning infill. 2022-05-19 15:16:30 +02:00
Lukáš Hejl
95041751a1 Refactored Lightning infill before parallelization. 2022-05-19 15:16:30 +02:00
Lukáš Hejl
f82d5c52b3 Refactored Lightning infill to get rid of unnecessary std::list and std::unordered_map, which was slow. 2022-05-19 15:16:30 +02:00
enricoturri1966
910db38ae8 Fixed rotation, using gizmo, for instances whose offset does not match with bounding box center 2022-05-19 12:34:43 +02:00
Filip Sykala
5d7144cf29 Fix
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:656:11: warning: unused variable 'icon_width_with_spacing' [-Wunused-variable]
../src/slic3r/GUI/Jobs/CreateFontNameImageJob.hpp:57:10: warning: 'finalize' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1381:35: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
../src/slic3r/GUI/Jobs/CreateFontNameImageJob.cpp:102:23: warning: unused variable 'border' [-Wunused-variable]
2022-05-18 15:22:37 +02:00
Filip Sykala
8e40501e0e fix ..\src\slic3r\GUI\Jobs\CreateFontNameImageJob.cpp(100): warning C4101: 'tex_id': unreferenced local variable 2022-05-18 15:10:35 +02:00
Filip Sykala
37961c36e8 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/Technologies.hpp
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/GUI_App.cpp
2022-05-18 14:35:48 +02:00
Filip Sykala
1eba4f7c31 Store cut outline 2022-05-18 13:04:34 +02:00
Filip Sykala
3864bb0b1c Filter out opposite triangle to projection during convert object to CGAL model 2022-05-18 11:18:06 +02:00
enricoturri1966
39cefdad89 Tech ENABLE_REMOVE_ASSOCIATION_TO_FILE_FOR_WINDOWS_8_AND_LATER - Disable association to 3mf and stl files if the application is run on Windows 8 or later 2022-05-17 13:19:33 +02:00
tamasmeszaros
e6750a524f Fix collision after arrange when 'complete Individual objects' is ON
fixes #8335
2022-05-17 13:14:13 +02:00
Vojtech Bubnik
cc79a9fe7a Merge branch 'master' of https://github.com/Prusa3D/PrusaSlicer 2022-05-17 12:49:08 +02:00
Lukáš Hejl
6df1b6d074 Fixed an issue that some trees in the Lightning infill weren't connected to perimeters. 2022-05-17 12:41:28 +02:00
Lukas Matena
51211e265a SendSystemInfoDialog: fixed check of internet connection on Windows:
S_FALSE is returned when COM interface is already initialized, it should be considered a success.
2022-05-17 12:14:03 +02:00
Slicer
b27264a8c9 Changed http::ca_file_supported function to return false for OSX. 2022-05-17 11:58:43 +02:00
Vojtech Bubnik
a552a55cce Follow-up to f5ec76c230
Compile-time instantiation of the MutablePriorityQueue
with run-time resetting of indices when removing items from the queue
active in debug mode only.
2022-05-17 11:57:04 +02:00
Filip Sykala
abea5c95f3 Font name in selecetion of font 2022-05-17 11:17:37 +02:00
Vojtech Bubnik
f5ec76c230 Follow-up to dc3931ec1f:
Fix mutable priority queue being wiped when moving out of function
    Without move constructor, the clean() gets called when returning an instance from a function.
The above fix was applied also to MutableSkipHeapPriorityQueue.

Follow-up to 15a082b80b:
Fixed TEST_CASE("Mutable priority queue - first pop", "[MutableSkipHeapPriorityQueue]")
2022-05-16 17:27:10 +02:00
tamasmeszaros
e931800ea8 Merge branch 'tm_curl_new' 2022-05-16 15:26:43 +02:00
tamasmeszaros
1554d6a2c7 Try to fix linking of expat 2022-05-16 14:58:17 +02:00
enricoturri1966
dc3cf1f7b8 #8327 - Fixed gcode window disappearing when selecting volumetric speed in preview 2022-05-16 14:29:33 +02:00
tamasmeszaros
3a7cdeeae4 Revamp CURL integration. Exclude it from APPLE 2022-05-16 14:02:46 +02:00
Vojtech Bubnik
15a082b80b Fix of libslic3r "Mutable priority queue - first pop" test failure #8276
Improved readability by introducing invalid_id() getter.
Made the ResetIndexWhenRemoved flag active in both debug and release mode,
it used to be made active by Vojtech for release mode only for unknown
reason.
2022-05-16 11:34:26 +02:00
tamasmeszaros
fd0579d4a2 Add missing includes to MutablePriorityQueue
Mainly to prevent heuristic error reports inside IDE
2022-05-16 10:30:22 +02:00
David Kocik
ca3df3926e typo in notification text 2022-05-13 16:54:57 +02:00
Lukas Matena
ae14f677c2 Fix of a crash when using selection rectangle with a gizmo open 2022-05-13 15:44:44 +02:00
Filip Sykala
664fb8120c font style combo contain grayed style text 2022-05-13 15:30:22 +02:00
Filip Sykala
1ba66a0e71 Fix delete message for last style 2022-05-13 13:19:22 +02:00
Filip Sykala
872bccb530 Delete button for style delete actual style if it is possible 2022-05-13 13:16:13 +02:00
Filip Sykala
bbbe809cbc cache wxFont 2022-05-13 09:56:27 +02:00
Filip Sykala
0964c074d9 Fix undo changes for italic and bold 2022-05-13 09:23:03 +02:00
Filip Sykala
378e791b82 Fix of load imgui font without glyph in range(symbolic fonts) 2022-05-13 08:33:31 +02:00
Filip Sykala
48420b33d0 Change GUI of emboss 2022-05-12 15:22:27 +02:00
Lukáš Hejl
7b28bdc41f Fixed function lineSegmentPolygonsIntersection() in the Lightning infill that wasn't returns the intersection point.
It fixed the issue that sometimes the Lightning infill produced extrusions that hung in the air without proper support.
2022-05-12 14:30:07 +02:00
Lukáš Hejl
bff32c9cdb Added cancellation to Lightning infill. 2022-05-12 14:30:07 +02:00
tamasmeszaros
e82ef1094b Fix crash when optimizing rotation
probably helps to solve #8319
2022-05-12 13:29:13 +02:00
PavelMikus
d0c08ec5c1 Feature: AABB tree for lines
Small refactoring of AABB tree distance query function, to allow different primitives (apart from triangles)
Implemented Distancer and functions to create AABB tree from lines and use closest point query
Added test for the AABBTree with lines
Added Benchmark comparing EdgeGrid with AABBTree on line contours (Inside AABBTree test file, disabled under compilation flag)
2022-05-12 12:55:10 +02:00
Filip Sykala
f4376273c0 fix for Mac 2022-05-12 12:34:28 +02:00
Filip Sykala
df42cc8101 Fix for Mac OSx 2022-05-12 11:19:00 +02:00