Commit Graph

120 Commits

Author SHA1 Message Date
f37cacb0c7 SLA gizmo improvements
- point can be selected
- selection can be deleted, head diameter changed
- dragging of objects is not allowed with the gizmo being on
- added a modal dialog when automatic support generator is triggered
2019-02-11 16:29:03 +01:00
5af4b2319e SLA gizmo - shift-up and ctrl+a event passing 2019-02-11 08:21:37 +01:00
79067a6d6d First steps on the rectangular selection for the SLA gizmo 2019-02-09 07:19:01 +01:00
e768ab3613 SLA gizmo - fixed hiding of objects and instances 2019-02-06 17:27:02 +01:00
f0bfcd1862 SLA support points (better backend->frontend synchronization and more)
- backend to frontend data synchronization to inform the gizmo that new points have been generated
- fixed the inadvertent cancellation of background processing caused by the SLA gizmo touching frontend data during the process
- inactive instances of the object are hidden when the SLA gizmo is active
- fix of imgui combobox rendering
2019-02-06 15:16:25 +01:00
1e3a23a846 SLA support gizmo does not use Grabber class anymore 2019-02-04 12:33:59 +01:00
2f7ea85f9e SLA support points - minor adjustments 2019-02-04 10:56:49 +01:00
5f3f6e8fe6 More SLA support points improvements
- unselected objects are hidden when SLA gizmo is active
- support volumes are hidden when editing mode is active
- 3mf support points format versioning
2019-02-01 23:09:02 +01:00
5f0454e153 SLA support points improvements
- semi-intelligent algorithm to place support points
- enhanced ImGui dialog with editing/non-editing mode
- support points can have different head diameter (only implemented in GUI so far)
- autogenerated points supporting emerging islands are annotated and the info is kept
2019-02-01 07:13:08 +01:00
e5c201f2a3 Performance improvements:
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
725cd3c55c Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 15:56:46 +01:00
3b1b2434c9 Place on bed optimization 2019-01-23 14:27:11 +01:00
4f45daa9f8 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-23 11:03:31 +01:00
dd27e9c97c Fix of previous commit 2019-01-23 09:42:04 +01:00
aa2ec7f92f Place on face - fix of updating on selection change 2019-01-23 09:29:50 +01:00
9f1ce492b5 Merge branch 'master' of https://github.com/prusa3d/Slic3r into objects_centering 2019-01-21 13:03:45 +01:00
4fe89048c8 Place on bed should now correctly process instance mirror and respect transformations on subvolumes 2019-01-21 12:53:57 +01:00
ed5a4afb07 World rotations set as default 2019-01-21 11:55:02 +01:00
16143674b7 Cut: Prevent the neither part kept option 2019-01-18 15:43:40 +01:00
5735ffda51 Place on bed - increased tolerance for neighbouring triangles normals differences 2019-01-16 14:39:25 +01:00
9d32328264 Added shortcut strings to gizmos and toolbars tooltips 2019-01-16 11:51:30 +01:00
10dcf5f90f Rotate gizmo oriented in the current instance reference system for single volume rotations 2019-01-10 13:13:11 +01:00
b5a646ea41 Place on bed area limit decreased 2019-01-07 12:05:20 +01:00
5333683c2e Fix of place to bed function
This reverts commit 86e9cb604a
and also contains a fix.
2019-01-05 08:34:05 +01:00
325579c79c Revert "Place on bed improvements"
Some problem with disappearing planes, not worthy for a patch-release

This reverts commit f7726b99a7.
2019-01-04 16:18:25 +01:00
740a0e02fb Place on bed improvements
- works with large meshes
- area discrimination takes into account scaling of the object
- planes are recalculated when some volume's type is changed (e.g. from a part to modifier mesh)
2019-01-04 15:38:50 +01:00
31986660a1 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
01eb0de03a Flatten gizmo now respects sla_shift_z 2018-12-21 13:19:17 +01:00
ca94bc5927 SLA autosupports including islands 2018-12-21 12:35:20 +01:00
c6403193de SLA supports - first attempt at supporting islands 2018-12-14 16:15:59 +01:00
ceea6abdbe Fixed rendering of gizmo move for wipe tower 2018-12-12 13:04:06 +01:00
59ce113972 Disabled imgui dialogs for move/scale/rotate gizmos 2018-12-07 16:57:43 +01:00
05dd8f0a54 First version of SLA support points generation 2018-12-07 14:21:33 +01:00
066b425d50 Fixed rendering of sla support points when object's instance transformation contains mirror 2018-12-07 10:36:43 +01:00
b53d48af0b Changed starting orientation of rotate gizmo grabbers 2018-12-07 10:01:30 +01:00
d3c77bfd33 Fixed crash when deleting sla support points 2018-12-05 10:26:08 +01:00
8da60b8e68 Gizmos shortcuts set as default 2018-12-04 16:01:25 +01:00
698e203e13 Gizmos rendered on top set as default 2018-12-04 15:53:40 +01:00
83cc96a520 Removal of tabs from plater -> fixed no-imgui case 2018-12-04 15:17:24 +01:00
b5d05fe1a3 Bunch of fixes into sla support gizmo 2018-12-03 14:02:58 +01:00
b7552954f3 Gizmo flatten -> allow for only single instance and let planes follow the instance when moving the object by dragging it on the scene 2018-12-03 11:14:17 +01:00
58b331d78c Always show axis name when hovering over gizmo grabbers 2018-12-03 10:17:42 +01:00
44c10a9436 Refactoring into extended gizmo grabbers 2018-12-03 09:37:46 +01:00
2b5013e1fe Extended grabbers for gizmo move 2018-12-03 08:51:18 +01:00
7925a777df Removed gizmo reset by double-cliking on grabbers 2018-11-30 11:42:36 +01:00
36028d5cc8 Modified gizmo rotate rendering 2018-11-29 15:10:11 +01:00
bb1474b36a Cut: Sanitize Z when switching selections 2018-11-29 12:22:06 +01:00
418f1e6e46 Fixed size of gizmo scale grabbers 2018-11-28 16:09:04 +01:00
90193748d3 Place on bed gizmo disabled for individual object parts 2018-11-28 12:08:25 +01:00
a619f15237 Place on bed planes recalculation after individual volumes are manipulated 2018-11-28 11:37:41 +01:00