Commit Graph

165 Commits

Author SHA1 Message Date
Lukas Matena
6d24b22536 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
bb36ff6be6 SLA gizmo - combo replaced by slider, autogeneration uses config value for head_diameter 2019-03-13 12:02:33 +01:00
tamasmeszaros
4eb4fb0d7b Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-03-11 16:28:12 +01:00
Lukas Matena
29d296c938 SLA support points are correctly appointed as user-modified
SLA gizmo point cache is reloaded when appropriate
2019-03-11 15:05:36 +01:00
tamasmeszaros
c99301f94b Merge remote-tracking branch 'origin/master' into tm_colldetection_upgr 2019-03-11 14:56:12 +01:00
tamasmeszaros
54651190e1 Enable imgui support point size. Fine tuning of support params. 2019-03-11 14:55:28 +01:00
Lukas Matena
509ac78e80 Added wxBusyCursor on AABB tree calculation for SLA gizmo 2019-03-08 20:34:22 +01:00
Enrico Turri
70eb2a3d83 Fixed rotation of multiple volumes selection 2019-03-06 15:22:17 +01:00
Enrico Turri
c2a5b98008 Gizmos' grabbers size proportional to the average of the bounding box edges lengths 2019-03-06 14:41:09 +01:00
Lukas Matena
985fc30516 An attempt to fix sla gizmo imgui dialog scaling on osx and hidpi screens 2019-03-06 10:11:02 +01:00
Vojtech Kral
b2476b7b48 imgui: Refactor combo boxes. Fix #1895 #1868 2019-03-05 15:28:53 +01:00
Enrico Turri
7585fd2499 Fixed conflicts after merge with master 2019-03-05 08:27:21 +01:00
Lukas Matena
93cec5932d Merge branch 'lm_sla_gizmo_render' 2019-03-04 14:52:21 +01:00
Lukas Matena
2df8a902b8 Prevented the sla gizmo dialog to overlap the bottom toolbar 2019-03-04 14:52:08 +01:00
Lukas Matena
cf72f5e156 An attempt to fix an OSX crash when manipulating the ImGui sliders 2019-03-04 12:47:02 +01:00
Enrico Turri
d3350fe0ce Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-03-04 08:33:52 +01:00
Lukas Matena
0860c06dfd An attempt to fix an unwanted cancellation caused by improper frontend-backend data synchronization (SLA support points) 2019-03-01 16:17:23 +01:00
Lukas Matena
dc94207ddd 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
2fc892eabf SLA supports gizmo can change object config options 2019-03-01 13:24:24 +01:00
Enrico Turri
c117d7166e Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-28 08:23:44 +01:00
Lukas Matena
8db9edf185 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
3174e37841 Allow non-squared textures for toolbars and gizmo icons 2019-02-26 10:40:00 +01:00
Enrico Turri
419e951a7e 1st installment of svg icons for toolbars and gizmos 2019-02-26 09:56:23 +01:00
Lukas Matena
5bbd7ba00c SLA support gizmo hotkeys added (A,M,Esc,Enter) 2019-02-25 13:04:05 +01:00
Enrico Turri
2cc33c7361 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-25 09:32:02 +01:00
bubnikv
ab968364e5 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
8130c2d08f Code cleanup 2019-02-22 12:06:56 +01:00
Enrico Turri
d0129cd532 Merge branch 'master' of https://github.com/prusa3d/Slic3r into svg_icons 2019-02-22 11:40:04 +01:00
bubnikv
1bbc01a4c0 Show wait cursor when exporting an STL.
Fix of SLA gizmo picking by rectangle: point is occluded only if an object
is half its radius away from the point center.
Don't show the temp G-code file name in the status bar when exporting.
2019-02-22 10:11:57 +01:00
Enrico Turri
e9c4175a99 Gizmos overlay using a single png texture 2019-02-22 10:01:34 +01:00
bubnikv
381878e320 SLA supports: Update only supports for the selected object from iside
the SLA support gizmo.
2019-02-21 12:09:03 +01:00
Lukas Matena
1a76b353e6 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
683f263562 Place on bed fix (incorrect usage of sla z-shift) 2019-02-20 15:15:00 +01:00
Lukas Matena
6af7bcf329 SLA gizmo can be deselected by clicking in canvas area (unless in editing mode) 2019-02-20 09:59:59 +01:00
Lukas Matena
2d12cbbc1d 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
e7bddf8649 SLA gizmo asks about saving changes, right button click removes points 2019-02-19 13:47:28 +01:00
Lukas Matena
093d628f4a SLA gizmo cannot be activated for objects outside the bed 2019-02-19 10:47:15 +01:00
bubnikv
461645b5ca SLA auto supports: Work with support force deficit to sprinkle support points.
Use OpenGL emissive material to render support points.
2019-02-19 10:09:41 +01:00
Lukas Matena
bb0799bb4b 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
3bb3e4aabd SLA gizmo selection rectangle now checks for obscured points 2019-02-18 14:07:45 +01:00
Lukas Matena
d22d545e88 SLA gizmo - fixed support points rendering (depth is now correctly accounted for) 2019-02-18 11:59:47 +01:00
bubnikv
4bc1acf650 Fix of a merge error. 2019-02-17 13:26:17 +01:00
bubnikv
f097d24c56 Merge branch 'lm_sla_supports_auto2' of https://github.com/prusa3d/Slic3r into lm_sla_supports_auto2 2019-02-17 13:09:16 +01:00
bubnikv
db58e83a1f Reworked polygon sampling for SLA auto support generation.
Conditional compilation of an igl winding number tree for SLA support generator, as it is not used as of now and initialization of the tree is expensive.
Fixed issue with passing the new SLA point definition to the back end and back to the UI.
2019-02-17 13:05:22 +01:00
Lukas Matena
ca801ac6df 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
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
Lukas Matena
5af4b2319e SLA gizmo - shift-up and ctrl+a event passing 2019-02-11 08:21:37 +01:00
Lukas Matena
79067a6d6d First steps on the rectangular selection for the SLA gizmo 2019-02-09 07:19:01 +01:00
Lukas Matena
e768ab3613 SLA gizmo - fixed hiding of objects and instances 2019-02-06 17:27:02 +01:00
Lukas Matena
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