Commit Graph

22619 Commits

Author SHA1 Message Date
Vojtech Bubnik
fd437dcaf5 Little refactoring of douglas_peucker() 2023-05-04 15:27:32 +02:00
Vojtech Bubnik
6d0ceeb886 ClipperLib: Further optimization of memory allocation using scalable_allocator.
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
      added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter
2023-05-04 15:27:32 +02:00
PavelMikus
34015349c1 Fix a rounded extrusion model when the new width is smaller than layer height - the code used radius in place of diameter 2023-05-04 14:59:50 +02:00
Lukas Matena
a039391131 Fixed rendering of horizontal ellipsis in ImGui controls 2023-05-04 13:56:46 +02:00
YuSanka
234956dfda Fix for SPE-1686 : Bug with instance rotation around X or Y
Steps to repro:
1. Add object
2. Increase instances
3. Select some instance
4. Rotate around X or Y
5. After MouseUp:
OSX -> hard crash
MSW and Linux -> object and instance are selected at a same time
2023-05-03 14:26:06 +02:00
tamasmeszaros
49fbf4ccce Avoid garbage error message when generating sla preview 2023-05-03 09:45:11 +02:00
tamasmeszaros
9eed8e4892 Merge branch 'tm_arrange_crash_SPE-1607' 2023-05-03 09:22:22 +02:00
tamasmeszaros
362267431b Fix transformation assembly problem for arrange polyogon 2023-05-03 09:21:57 +02:00
tamasmeszaros
6831b7094a Trying to fix transformation assembly problem for arrange polyogon 2023-05-03 09:21:57 +02:00
enricoturri1966
03608580c0 Do not allow to change selection or printable state, using the right panel, while the SLA supports gizmo is open and in editing mode. 2023-05-02 08:49:11 +02:00
YuSanka
4b68fbd973 Follow-up 88f4fa20df - Fixed next Linux specific issue : Select any instance in place where is active a gizmo space on instance 2023-04-27 15:55:07 +02:00
PavelMikus
4c872b0352 Paralellize SupportSpotGenerator!
Fix extra perimeters crash - problem with new ankerl hash map
Fix progress bar
2023-04-27 15:37:25 +02:00
enricoturri1966
cdf8cd83d5 Follow-up of 6e7fefbabf - Force using glGeneratedMipmap() function on AMD Custom cards, no matter what's the installed driver (Windows only) 2023-04-26 12:31:59 +02:00
YuSanka
cde530901a Follow up e3a868202d - fixed assert 2023-04-26 10:26:27 +02:00
YuSanka
e3a868202d Fix for SPE-1681 - Sidebar: Text in support field can be deleted 2023-04-26 09:57:35 +02:00
enricoturri1966
4986afe94f Tech ENABLE_GCODE_POSTPROCESS_BACKTRACE set as default 2023-04-26 09:34:02 +02:00
enricoturri1966
f1c5ffddfa Fixed typo 2023-04-26 09:06:17 +02:00
enricoturri1966
f9c1abbd50 SPE-1677 - Disable SLA supports and Hollow gizmos when the selected object is non-printable. Do not allow to set to non-printable an object while the SLA supports and Hollow gizmos are active. 2023-04-25 10:51:03 +02:00
enricoturri1966
bbea397aa6 SPE-1675 - Do not update layer editing when the mouse cursor is moved outside of the 3D scene while dragging 2023-04-25 10:02:50 +02:00
Vojtech Bubnik
9de269889c Improved parallel_foor grain size for ensuring 2023-04-24 11:34:37 +02:00
David Kocik
003350a4e2 Fix of version notification message. 2023-04-24 11:22:43 +02:00
enricoturri1966
b37d4e5b6c SPE-1674 - Follow-up of 9efed4be22 - More robust fix 2023-04-24 10:01:32 +02:00
Vojtech Bubnik
c9a55c2c01 Merge remote-tracking branch 'remotes/origin/vb_scalable_alloc' 2023-04-21 16:28:39 +02:00
Vojtech Bubnik
0d1522791d Refactored Arachne to use ankerl::unordered_dense hash tables
instead of std::unordered_set/map
The code is now generic enough to enable experiments with various
hash maps in the future.
2023-04-21 15:41:00 +02:00
Vojtech Bubnik
29719a7ab9 ClipperLib sometimes hangs forever on a single union / diff / offset task.
Implemented optional time limit on ClipperLib execution.
2023-04-21 15:38:23 +02:00
enricoturri1966
8a959883b4 Hide supports when Manual editing mode is active in SLA supports gizmo 2023-04-21 10:50:03 +02:00
PavelMikus
a65a68ad93 fix missing include 2023-04-21 10:04:45 +02:00
PavelMikus
13c7744443 Disable debug data output 2023-04-21 10:04:45 +02:00
PavelMikus
f6c38fb7f9 Smoothen the results, fix some issues. 2023-04-21 10:04:45 +02:00
PavelMikus
3e3ccc200e Fixed artefacts, made the new slowdown enabled with dynamic overhang speed at all times 2023-04-21 10:04:45 +02:00
PavelMikus
798396d918 Fixed several issues with smoothening of the slowdown, but there are still artefacts in the preview, on curved into flat srufaces 2023-04-21 10:04:45 +02:00
PavelMikus
aa0e21eed1 Center estiamted curvature values,
Center esimtated curling - transfering data by nearest line caused CCW or CW shift, based on which point of the current line was used. By switching the points on layer basis, this problem disapeared
2023-04-21 10:04:45 +02:00
PavelMikus
da6b972a79 Smoothen the curled height estimations and slowdown 2023-04-21 10:04:45 +02:00
PavelMikus
6e40e061f6 Finish rough implementation of slowdown over curled filament 2023-04-21 10:04:45 +02:00
PavelMikus
6ee674316d Finally some working curling model 2023-04-21 10:04:45 +02:00
PavelMikus
4ade7d6e8c Some improvements of the algortihm for curled height estim 2023-04-21 10:04:45 +02:00
Pavel Mikus
3e42d16f62 minor parameter changes 2023-04-21 10:04:45 +02:00
Pavel Mikus
b04e3bc25e Initial implementation, requieres both dynamic speed and avoid curled overhangs options to be enabled
Also implements new, probably far better estimation of curled height of filament
2023-04-21 10:04:45 +02:00
enricoturri1966
69b69cb9a2 Follow-up of 85dd2e486a - Fixed Zoom to mouse cursor for orthograpic camera 2023-04-21 09:09:04 +02:00
Vojtech Bubnik
b3b44681a9 Follow-up after 9cde96993e
b67ad6434d
Fixed compilation on GCC and CLang
2023-04-21 08:31:16 +02:00
Vojtech Bubnik
ed65cdd955 Fix compilation of Perl bindings. 2023-04-20 18:31:34 +02:00
tamasmeszaros
5bb3f2f9da Merge branch 'tm_bigobj_arrange_crash_SPE-1652' 2023-04-20 15:13:09 +02:00
Vojtech Bubnik
b67ad6434d Follow-up to 9cde96993e
use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads
2023-04-20 14:30:52 +02:00
enricoturri1966
bc2e681932 SPE-1669 and follow-up of c1e145b86c - Fixed crash introduced with the previous commit and extend the new functionality to multi-objects selections 2023-04-20 14:00:19 +02:00
Vojtech Bubnik
9cde96993e Reworked the ClipperLib / Polygon types to use
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
enricoturri1966
5c581e3998 Fixed warnings 2023-04-20 08:42:09 +02:00
enricoturri1966
9efed4be22 SPE-1438 - Reset mouse dragging state when entering the 3D scene after the user released the mouse buttons outside of it 2023-04-20 08:08:02 +02:00
YuSanka
88f4fa20df Fix for SPE-1618 - Place on face gizmo doesn't work correctly with instances 2023-04-19 18:49:39 +02:00
enricoturri1966
b0cc0e98fa Use the same colors as in 3D view when generating thumbnails 2023-04-19 13:12:27 +02:00
David Kocik
fb2448fbe3 Fix of missing AppConfig::has_section before get_section in ConfigWizard. 2023-04-19 13:10:39 +02:00