Commit graph

21795 commits

Author SHA1 Message Date
enricoturri1966
bf0cef30e0 Fixed build when tech ENABLE_WORLD_COORDINATE is disabled 2023-01-04 15:56:41 +01:00
Vojtech Bubnik
f5662458a2 Removed polygon simplification "hole in square" unit test,
simplification of CW contours is no more enabled by assert.
2023-01-04 13:38:59 +01:00
Vojtech Bubnik
1a5533d571 PlaceholderParser:
1) Implemented access to coEnum values, they are returned as strings.
2) Fixed some possible memory leaks.
3) Fixed some possible union type punning issues.
2023-01-04 13:38:18 +01:00
Vojtech Bubnik
9960c6e4ab Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-01-03 17:42:51 +01:00
Vojtech Bubnik
60f6766aab Apply FillBoundedRectilinear on narrow internal solid infills
to reduce zig-zag movements of the print head on overhangs.
Always use thick bridges on internal bridges.
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-01-03 17:42:10 +01:00
Vojtech Bubnik
398222a49f Cherry picked FillBoundedRectilinear
Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2023-01-03 17:28:44 +01:00
YuSanka
32d5d2e8ce Folllow-up 8c36ea00f4: Code refactoring for other related places 2023-01-03 13:43:50 +01:00
Vojtech Bubnik
b255278339 Fixed missing includes 2023-01-03 13:39:59 +01:00
Filip Sykala - NTB T15p
d6e9b2909b Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2023-01-03 13:24:09 +01:00
Filip Sykala - NTB T15p
550ef48fe1 Add function for check whether transformation contain reflection
Extend RayCast hit by square distance
Use distance to distiguish closest place on surface when move origin
Move origin after job (only on success)
2023-01-03 13:24:01 +01:00
Vojtech Bubnik
4f24945727 Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-01-03 12:58:25 +01:00
Vojtech Bubnik
62771bf9c1 Fixed compilation issues and warnings. 2023-01-03 12:57:58 +01:00
YuSanka
8c36ea00f4 UnsavedChangesDialog: Code refactoring to get types list in respect to the printer technology.
Note: using of the initializer_list without a container definition causes a crash under GTK
2023-01-03 11:04:03 +01:00
Vojtech Bubnik
fbed29e209 WIP Ensure vertical wall thickness rework: bugfixes 2023-01-03 10:06:52 +01:00
YuSanka
d39768fc9c Improvements for printer selection: Revert to the previously selected physical printer instead of related system preset,
when we had selected FFF physical printer and can't to switch to the SLA preset.
2023-01-02 17:27:19 +01:00
Vojtech Bubnik
785ef08656 WIP ensure vertical wall thickness: Reduced amount of shell region
expansion, added filling in of narrow regions between solid infills
(for example created by propagating shell from the side and from
the top at the same time).
2023-01-02 14:59:40 +01:00
YuSanka
6657369db2 Tab: Clear description lines pointer ob clear pages 2023-01-02 14:57:01 +01:00
tamasmeszaros
39197ecd2d Caching of cgal data instead of voxel grid 2023-01-02 14:36:34 +01:00
enricoturri1966
1eeb658b0e Tech ENABLE_WORLD_COORDINATE - Fixed function contains_skew() for matrices containing mirror 2023-01-02 14:09:03 +01:00
tamasmeszaros
159fc4e28e Minor improvements
Fix bad function call exception with empty interrupter (OpenVDB)
2023-01-02 13:40:04 +01:00
Vojtech Bubnik
f828cba5f0 Merge remote-tracking branch 'remotes/origin/master' into vb_ensurovani 2023-01-02 13:19:48 +01:00
Vojtech Bubnik
fde0d68c40 WIP Reworking of "ensure vertical wall thickness".
1) Flipped the order of "discover_vertical_shells" and "process_external_surfaces",
   now the external surfaces are expanded after "discover_vertical_shells"
   aka "ensure vertical wall thickness" is solved.
2) Reworked LayerRegion::process_external_surfaces() to only expand into
   "ensure vertical wall thickness" regions, also the expansion is done
   in small steps to avoid overflowing into neighbor regions.

also:
Utility functions reserve_more(), reserve_power_of_2(), reserve_more_power_of_2()
Various SurfaceCollecion::filter_xxx() modified to accept an initializer list of surface types.
New bridges detector refactored to accept overhang boundaries.
BoundingBoxWrapper was moved from RetractCrossingPerimeters to AABBTreeIndirect.
2023-01-02 13:19:27 +01:00
enricoturri1966
0b1e1aedf6 Tech ENABLE_WORLD_COORDINATE - A bunch of fixes and improvements in objects/volumes manipulation/transformations 2023-01-02 11:30:07 +01:00
tamasmeszaros
bfb1ec073d Comments for CSG stack ops 2023-01-02 11:07:15 +01:00
YuSanka
b899d51aba Sidebar: Fixed update of the action buttons when switch between physical printers with the same printer preset, but print has a invalid data.
Related to #8800.
2022-12-27 21:09:13 +01:00
YuSanka
529c126e6d Updated splashscreens 2022-12-27 10:37:45 +01:00
Vojtech Bubnik
fb85baf889 Ported shells.t unit tests from Perl. 2022-12-23 16:07:09 +01:00
YuSanka
624c4d5aa1 Linux specific: KBShortcutsDialog: Added workaround to correct pages layout
#SPE-1372
2022-12-22 17:12:06 +01:00
YuSanka
2047002e3c Hot-fix for 82b720eba1 2022-12-22 14:10:26 +01:00
YuSanka
82b720eba1 Config Wizard: Added check of the profile name for the custom printer.
#SPE-1344
2022-12-22 13:29:42 +01:00
tamasmeszaros
1efc8191a2 Full support of csg op stack. Preferring cgal in preview if feasible 2022-12-21 18:09:31 +01:00
tamasmeszaros
d75b951c39 FInish csg operation stacking in cgal side
Broken slicing
2022-12-21 13:53:33 +01:00
YuSanka
dffca9c54a SavePresetDialog: Check max path length for input preset name
+ Add default suffix for "Palette 1" for mode markers
2022-12-21 12:59:50 +01:00
Filip Sykala - NTB T15p
b90e109b41 Fix:
../src/slic3r/GUI/GLCanvas3D.cpp:3474:46: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/GLCanvas3D.cpp:3477:58: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelVolume*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:249:62: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:3603:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<Slic3r::ModelObject*>::size_type’ {aka ‘unsigned int’} [-Wsign-compare]
2022-12-21 10:51:02 +01:00
Filip Sykala - NTB T15p
4c63d660d1 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate 2022-12-21 09:02:17 +01:00
Filip Sykala - NTB T15p
1896dd5761 Disable italic font check for RaspberryPi(aka linux) 2022-12-21 09:02:10 +01:00
tamasmeszaros
25ca46e3eb Add support for csg operation stacking 2022-12-20 17:38:46 +01:00
YuSanka
033af199a3 Implemented palettes for mode markers 2022-12-20 15:50:13 +01:00
YuSanka
12ec008950 OG_CustomCtrl: Fixed layout of the multi-option line 2022-12-20 14:43:56 +01:00
YuSanka
b11e651649 ObjectList Improvements: Show object manipulation panel, when all object's parts are selected 2022-12-20 14:43:56 +01:00
Filip Sykala - NTB T15p
a080e83e88 Put origin on surface when change style 2022-12-20 14:29:42 +01:00
tamasmeszaros
4fabd0b307 Delete hollowing interior grid after the mesh is extracted
It was needed for the triangle trimming but that is gone now
2022-12-20 12:51:55 +01:00
tamasmeszaros
d3a4edd37f Skip voxelization for csg meshes with positive parts only. 2022-12-20 12:51:04 +01:00
tamasmeszaros
495a3f3557 Fix unshifted cut slices in sla gizmos 2022-12-20 11:25:48 +01:00
Vojtech Bubnik
11c0e567a6 WIP "ensure verticall wall thickness" rework:
1) New region expansion code to propagate wave from a boundary
   of a region inside of it.
2) get_extents() extended with a template attribute to work with
   zero area data sets.
3) ClipperZUtils.hpp for handling Clipper operation with Z coordinate
   (for source contour identification)
2022-12-20 09:09:10 +01:00
Vojtech Bubnik
d3734aa5ae OSX specific: Setting the QoS level to the highest level for TBB
worker threads: QOS_CLASS_USER_INTERACTIVE.
The one level lower QOS_CLASS_USER_INITIATED makes our tester Filip
unhappy, because when slicing tree supports Filip switches to a browser
on another display wating for the slicer to finish, while OSX moves
the slicing threads to high efficiency low coal burning cores.
2022-12-20 08:40:49 +01:00
tamasmeszaros
8470d4594d Fix crash in debug mode with empty preview 2022-12-19 18:50:16 +01:00
tamasmeszaros
faf4d8e6b0 Fix triangle orientation after openvdb mesh generation 2022-12-19 18:49:53 +01:00
David Kocik
5f75d61d49 fix of compilation warnings 2022-12-19 15:56:58 +01:00
YuSanka
0e55ffc07f Implementation for FR #8720 - Copy extruder settings to all extruders 2022-12-19 14:57:24 +01:00