Lukas Matena
2750a8113d
SLA gizmo now shows arrows pointing at the points so they are easy to see
2019-03-13 15:38:27 +01:00
Lukas Matena
03beb1870b
SLA gizmo - combo replaced by slider, autogeneration uses config value for head_diameter
2019-03-13 12:02:33 +01:00
Enrico Turri
822bd92bd1
Fixed conflicts after merge with master
2019-03-05 08:27:21 +01:00
Lukas Matena
02c68ed895
Prevented the sla gizmo dialog to overlap the bottom toolbar
2019-03-04 14:52:08 +01:00
Enrico Turri
3c7ec5f7c6
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-03-04 08:33:52 +01:00
Lukas Matena
b45c80b8db
Fixed the 'remove all points' button in sla gizmo (was only working in editing mode)
2019-03-01 15:03:58 +01:00
Lukas Matena
5846af256a
SLA supports gizmo can change object config options
2019-03-01 13:24:24 +01:00
Enrico Turri
806eff2325
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-28 08:23:44 +01:00
Lukas Matena
4eb4e40746
SLA gizmo keeps track of current status of the points, enables the user to erase all points
2019-02-27 16:23:10 +01:00
Enrico Turri
f47fe861ac
Allow non-squared textures for toolbars and gizmo icons
2019-02-26 10:40:00 +01:00
Enrico Turri
0f683a6a1e
1st installment of svg icons for toolbars and gizmos
2019-02-26 09:56:23 +01:00
Lukas Matena
bb3819fd18
SLA support gizmo hotkeys added (A,M,Esc,Enter)
2019-02-25 13:04:05 +01:00
Enrico Turri
fab87ff1d9
Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons
2019-02-25 09:32:02 +01:00
bubnikv
917f044f81
Renamed the "lambda-" prefix for the generic modifiers to "Generic-"
...
Refactored ModelVolume::Type to enum class ModelVolumeType to be able
to forward declare it.
Refactored UI to use the ModelVolumeType instead of the untyped int.
2019-02-22 12:12:10 +01:00
Enrico Turri
03022ce124
Code cleanup
2019-02-22 12:06:56 +01:00
Enrico Turri
aa9994fa35
Gizmos overlay using a single png texture
2019-02-22 10:01:34 +01:00
Lukas Matena
5292f16f32
SLA gizmo - clicking on object does not add new points if any point is selected
...
Remove selected points button is greyed out unless something is selected
2019-02-20 15:42:03 +01:00
Lukas Matena
eb0fd03861
SLA supports - added parameters for the automatic generation (relative density measure and minimal distance of the points)
2019-02-19 16:34:52 +01:00
Lukas Matena
1bb0af1588
SLA gizmo asks about saving changes, right button click removes points
2019-02-19 13:47:28 +01:00
Lukas Matena
cb4763bb32
SLA gizmo - combobox items are now rendered immediately on mouse click, not after next mouse move
2019-02-18 14:56:19 +01:00
Lukas Matena
5966dcb78e
SLA gizmo - fixed support points rendering (depth is now correctly accounted for)
2019-02-18 11:59:47 +01:00
Lukas Matena
d1529296c6
Added a wxMessageDialog as an alternative to the ImGui modal, in case it turns out not good enough
2019-02-11 17:09:15 +01:00
Lukas Matena
ac8f9ab3dc
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
Lukas Matena
fd4054be7e
First steps on the rectangular selection for the SLA gizmo
2019-02-09 07:19:01 +01:00
Lukas Matena
9fc75d7b34
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
Lukas Matena
9dff44a8ad
SLA support gizmo does not use Grabber class anymore
2019-02-04 12:33:59 +01:00
Lukas Matena
f568f93f08
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
Lukas Matena
21026ec9a8
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
bubnikv
588c07c12a
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
Lukas Matena
528546b6c8
Place on bed should now correctly process instance mirror and respect transformations on subvolumes
2019-01-21 12:53:57 +01:00
Enrico Turri
5f9d36e5b0
Rotate gizmo oriented in the current instance reference system for single volume rotations
2019-01-10 13:13:11 +01:00
Lukas Matena
7ef10e9663
Fix of place to bed function
...
This reverts commit 86e9cb604a
and also contains a fix.
2019-01-05 08:34:05 +01:00
Lukas Matena
86e9cb604a
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
Lukas Matena
f7726b99a7
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
Lukas Matena
27ad859d4d
SLA supports - first attempt at supporting islands
2018-12-14 16:15:59 +01:00
Lukas Matena
0afe2aec1e
First version of SLA support points generation
2018-12-07 14:11:21 +01:00
bubnikv
4eaca91f11
include "libslic3r" from slic3r project directly, not as "../../libslicer"
...
(rely on -Ilibslic3r set correctly) for the slic3r project.
2018-12-06 12:52:28 +01:00
Enrico Turri
9bfcf10cc6
Gizmos shortcuts set as default
2018-12-04 16:01:25 +01:00
Enrico Turri
c08d0a4a78
Bunch of fixes into sla support gizmo
2018-12-03 14:02:58 +01:00
Enrico Turri
020994f987
Refactoring into extended gizmo grabbers
2018-12-03 09:37:46 +01:00
Enrico Turri
624df6bf9a
Extended grabbers for gizmo move
2018-12-03 08:51:18 +01:00
Enrico Turri
b83468e763
Removed gizmo reset by double-cliking on grabbers
2018-11-30 11:42:36 +01:00
Enrico Turri
42b70c4933
Modified gizmo rotate rendering
2018-11-29 15:10:11 +01:00
Vojtech Kral
be9ba936e9
Cut: Sanitize Z when switching selections
2018-11-29 12:22:06 +01:00
Enrico Turri
19c47afb7b
Fixed size of gizmo scale grabbers
2018-11-28 16:09:04 +01:00
Lukas Matena
ebac4c7eb8
Place on bed gizmo disabled for individual object parts
2018-11-28 12:08:25 +01:00
Lukas Matena
5813ec08c9
Place on bed planes recalculation after individual volumes are manipulated
2018-11-28 11:37:41 +01:00
Vojtech Kral
d0b6beaaaa
One more fix of ENABLE_IMGUI
2018-11-27 12:00:44 +01:00
Vojtech Kral
2585e3103d
imgui: Fix ENABLE_IMGUI, disable on OS X for now
2018-11-27 11:28:19 +01:00
Lukas Matena
878c7ee3d7
SLA support point gizmo - ImGui experimental overlay plus a small bugfix related to point deletion
2018-11-26 15:54:37 +01:00