Commit Graph

15796 Commits

Author SHA1 Message Date
Vojtech Bubnik
ced430d5e5 Extracting its_collect_mesh_projection_points_above() out of
its_convex_hull_2d_above(), so that the projected points may get
collected over multiple volumes before applying Geometry::convex_hull()
2021-05-19 13:39:56 +02:00
Vojtech Bubnik
3b388024f1 Factored out convex hull calculation from ModelObject::convex_hull_2d()
to Geometry::convex_hull().
Update Geometry::convex_hull() to handle duplicate points.
2021-05-19 13:23:19 +02:00
Vojtech Bubnik
4d64c11811 Point::ccw() optimization: Calculate with int64, not doubles. 2021-05-19 12:01:30 +02:00
Vojtech Bubnik
6a3ce5b0eb New functions: its_convex_hull_2d_above() 2021-05-19 11:35:42 +02:00
tamasmeszaros
d4ceb928ba Fix warning of ignored variable in structured binding 2021-05-19 10:08:41 +02:00
enricoturri1966
037dc96b4e Follow-up of c37d18f046 -> Removed assert 2021-05-19 08:39:04 +02:00
Vojtech Bubnik
25626f1c0a New utility function its_merge_vertices().
Implemented contour simplification inside slice_mesh_ex().
2021-05-18 17:57:55 +02:00
YuSanka
35f4e47afd Fixed update of the ObjectManipulation when "autocenter" is on 2021-05-18 17:06:41 +02:00
Vojtech Bubnik
94abebdfb0 Fixed missing include 2021-05-18 16:15:54 +02:00
Vojtech Bubnik
b45e91e69b TriangleMeshSlicer: Optimized out unnecessary transformations. 2021-05-18 16:12:49 +02:00
Vojtech Bubnik
39e17fd6b9 TriangleMeshSlicer: Got rid of admesh! 2021-05-18 15:05:30 +02:00
YuSanka
31cb4afb65 Fix of some warnings 2021-05-18 12:58:14 +02:00
YuSanka
750ea7876f Follow-up of a5d5ceb30d - Fixed run on Windows 2021-05-18 12:32:37 +02:00
YuSanka
e72ece183b DoubleSlider: Fixed ruler for sequential print of the object with different heights 2021-05-17 21:12:19 +02:00
Vojtech Bubnik
499d8405e9 WIP: Reworked slicing
1) Slicing code moved to TriangleMeshSlicer.cpp,hpp from TriangleMesh.cpp,hpp
2) Refactored to use as little as possible of admesh.
2021-05-17 20:25:59 +02:00
tamasmeszaros
6df8b09e84 Fix marching squares test crash in debug builds 2021-05-17 14:54:47 +02:00
enricoturri1966
f95126c0b4 Faster ModelObject::convex_hull_2d() by using ModelVolume 3D convex hulls 2021-05-17 13:02:38 +02:00
enricoturri1966
2872b3c647 Follow-up of ca14ea4c33 -> Fixed arrange with sinking objects 2021-05-17 12:53:05 +02:00
enricoturri1966
1332594903 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-05-14 15:03:51 +02:00
enricoturri1966
33c0094210 Tech ENABLE_ALLOW_NEGATIVE_Z -> ModelObject::convex_hull_2d() and sequential_print_horizontal_clearance_valid() modified to take in account for sinking instances 2021-05-14 15:02:54 +02:00
Vojtech Bubnik
e36283ee97 Fix of a special case in auto color print feature, which crashed with
single layer PrintObjects.
Fixes Segmentation fault (GLib-GObject null pointer) #6516
2021-05-14 14:57:41 +02:00
Vojtech Bubnik
0bd041e9d8 Fixed update of PrintRegions after removing an object.
The bug has been introduced during recent PrintRegion refactoring.
2021-05-14 11:52:33 +02:00
enricoturri1966
f794e9a5f8 Removed obsolete method from GLVolumeCollection 2021-05-13 14:56:35 +02:00
enricoturri1966
c7536f0eb3 Fixed imgui out of synch with mouse after switching between preview and 3D view 2021-05-13 10:59:13 +02:00
YuSanka
1587963354 Fixed "Extruder sequence", when extruder changes are per mm 2021-05-13 09:50:09 +02:00
Lukas Matena
9cc7a2bebe Added a missing include (gcc) 2021-05-12 17:04:36 +02:00
YuSanka
f2fd54591f Fixed update of the "Supports" in frequently used parameters when Vase mode is selected 2021-05-12 15:54:20 +02:00
enricoturri1966
cdd9bcf224 Removed obsolete member variable from Canvas3D::Slope 2021-05-12 14:25:13 +02:00
YuSanka
019bbebd39 Code cleaning: Delete workaround code 2021-05-12 11:43:36 +02:00
enricoturri1966
3f558b878a Add estimated printing time for first layer in legend 2021-05-12 11:21:18 +02:00
YuSanka
a5c34ce632 Probably fix for #6270 - Segfault during startup in prusa-slicer-git 2.3.0.r24.gd06aa6069-1 2021-05-11 18:03:57 +02:00
enricoturri1966
09621dc9e3 Fixed project dirty state after changing language 2021-05-11 15:01:33 +02:00
Oleksandra Yushchenko
e1ac64a290 Implementation for #6216
* Implementation for #6216 - Make number keys select extruder when object treeview has focus
+ deleted unused extruder_selection()
+ Fixed notification after splitting of the solid object

* Follow up 85a10268b9 - OSX implementation
+ Added shortcuts description to the "Keyboard Shortcuts" dialog

* Workaround to use "+/-" and numbers shortcuts on Linux
+ Fixed build on Linux

* OSX specific: fixed a work of keyboard accelerators from numbers on NumPad keyboard

* KBShortcutsDialog: fixed shortcuts for "Preferences" and "Show/Hide 3Dconnexion devices settings dialog, if enabled" under osx
and "Set Printable/Unprintable" and "Set extruder" under Linux
 + OSX specific: Added minimize of the application on "Cmd+M"

* Hot-fix for 6efeb9d6b4

* Removed Linux specific workaround
2021-05-11 11:02:12 +02:00
enricoturri1966
54b9476279 Tech ENABLE_REDUCED_TOOLPATHS_SEGMENT_CAPS set as default 2021-05-11 10:28:04 +02:00
David Kocik
5b75f2cd41 Merge branch 'dk_notifications' 2021-05-11 09:35:55 +02:00
David Kocik
15ef84f041 Additional controls in NotificationManager 2021-05-11 09:35:25 +02:00
David Kocik
0bebe96397 Fix of crash when notification text + hypertext wont fit line length 2021-05-11 09:35:25 +02:00
YuSanka
e7454f4dc4 Linux specific: Fixed ObjectDataViewModel::GetColumnType()
When "string" type was returned, strange editing TextControl was appeared.
+ Added check of the selection for ObjectList::toggle_printable_state() function
2021-05-10 17:57:44 +02:00
enricoturri1966
e5db9cb74b Tech ENABLE_WARNING_TEXTURE_REMOVAL set as default 2021-05-10 16:05:16 +02:00
enricoturri1966
cb1ac7c03a Tech ENABLE_SPLITTED_VERTEX_BUFFER set as default 2021-05-10 14:45:17 +02:00
enricoturri1966
27ec888606 Fixed crash into ProjectDirtyStateManager::update_from_undo_redo_stack() when switching language 2021-05-10 13:06:13 +02:00
YuSanka
b0013b257d Fix of #5437 - Make it clear on the G-code slider that color change is not supported for sequential print 2021-05-10 12:10:41 +02:00
enricoturri1966
0fe5677a53 Merge remote-tracking branch 'origin/et_negative_z' 2021-05-10 10:44:55 +02:00
enricoturri1966
268475d96c Fixed conflicts after merge with master 2021-05-10 10:25:57 +02:00
Vojtech Bubnik
f75ac319bd Fixing multi-material printing after recent refactoring (d21b9aa to 1c6333e) 2021-05-10 09:32:24 +02:00
YuSanka
d767dedda9 DiffPresetDialog: Fixed update of the related presets after changing selection of the Printer preset 2021-05-07 16:46:09 +02:00
enricoturri1966
83891f6755 ENABLE_ALLOW_NEGATIVE_Z -> Ensure objects on bed when switching to SLA printer 2021-05-07 15:08:07 +02:00
enricoturri1966
cedb38d08b Fixed warnings into DoExport 2021-05-07 14:46:10 +02:00
enricoturri1966
fa7e44d21b Fixed warnings into ProjectDirtyStateManager 2021-05-07 14:17:17 +02:00
enricoturri1966
5ba14c7b45 Merge remote-tracking branch 'origin/et_project_dirty_state' 2021-05-07 13:48:40 +02:00