Commit Graph
100 Commits
Author SHA1 Message Date
Lukas Matena 2fe542e0fc Merge branch 'lm_sla_gizmo_render' 2019-03-04 14:52:21 +01:00
Lukas Matena 02c68ed895 Prevented the sla gizmo dialog to overlap the bottom toolbar 2019-03-04 14:52:08 +01:00
Lukas Matena 9c5194c89b An attempt to fix an OSX crash when manipulating the ImGui sliders 2019-03-04 12:47:02 +01:00
Lukas Matena ee4496f59f 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 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
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
Lukas Matena bb533e386a Fixed shortcut for [M]ove gizmo (accidentally overridden by a shortcut for [M]anual changes of SLA support points) 2019-02-27 10:12:54 +01:00
Lukas Matena bb3819fd18 SLA support gizmo hotkeys added (A,M,Esc,Enter) 2019-02-25 13:04:05 +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 b0d78c3fb2 Place on bed fix (incorrect usage of sla z-shift) 2019-02-20 15:15:00 +01:00
Lukas Matena 3aa97a6f3f Merge branch 'lm_sla_supports_auto2' 2019-02-20 13:17:29 +01:00
Lukas Matena 574cb53bff Revert "Fixed a missing include problem in SLASupportAuto.hpp"
This is already solved in master branch by including the header

This reverts commit b7465e935e.
2019-02-20 13:16:09 +01:00
Lukas Matena b7465e935e Fixed a missing include problem in SLASupportAuto.hpp 2019-02-20 12:28:57 +01:00
Lukas Matena 2759c87e5b WarningTexture class in GLCanvas3D modified so it can be used more universally
Added a warning to notify that some objects are not rendered with SLA gizmo active
2019-02-20 12:09:45 +01:00
Lukas Matena 4558910a84 SLA gizmo can be deselected by clicking in canvas area (unless in editing mode) 2019-02-20 09:59:59 +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 d7e14d0792 Ensuring that GLCanvas gets focus when it should (Linux only fix) 2019-02-19 15:54:43 +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 3c7912186e SLA gizmo cannot be activated for objects outside the bed 2019-02-19 10:47:15 +01:00
Lukas Matena 023b788777 Merge branch 'master' into lm_sla_supports_auto2 2019-02-19 10:15:16 +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 c63bdccb4b SLA gizmo selection rectangle now checks for obscured points 2019-02-18 14:07:45 +01:00
Lukas Matena dbfcb8b76e Small formal fixes on the new 3d grid algorithm 2019-02-18 12:47:15 +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 0453caf266 SLA gizmo - shift-up and ctrl+a event passing 2019-02-11 08:21:37 +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 4357c80793 SLA gizmo - fixed hiding of objects and instances 2019-02-06 17:27:02 +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 906e66ea80 Tiny fix of previous commit 2019-02-06 11:09:00 +01:00
Lukas Matena 9dff44a8ad SLA support gizmo does not use Grabber class anymore 2019-02-04 12:33:59 +01:00
Lukas Matena fab3025107 SLA support points - minor adjustments 2019-02-04 10:56:49 +01:00
Lukas Matena 24a0fdb844 SLA support points generator now uses precalculated aabb tree 2019-02-04 09:50:25 +01:00
Lukas Matena d32d0a7636 Merge branch 'master' into lm_sla_supports_auto2 2019-02-04 08:41:00 +01:00
Lukas Matena d154e75ad7 Merge branch 'master' into lm_sla_supports_auto2 2019-02-04 08:40:20 +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
Lukas Matena ddcb2b1c23 Fixed a crash caused by double-free on application close event (Linux) 2019-01-28 12:12:26 +01:00
Lukas Matena 7c3319ede2 Place on bed optimization 2019-01-23 14:27:11 +01:00
Lukas Matena 78a9e6036a Fix of previous commit 2019-01-23 09:42:04 +01:00
Lukas Matena bf0232308b Place on face - fix of updating on selection change 2019-01-23 09:29:50 +01:00
Lukas Matena 1685a30ee0 Added static asserts on classes initialized by memset to make sure it is possible to do 2019-01-21 15:03:20 +01:00
Lukas Matena ed1aad9de4 PURGING FINISHED gcode comment only emitted on layers where some purging was happening 2019-01-21 14:05:28 +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
Lukas Matena 7b449a5361 Place on bed - increased tolerance for neighbouring triangles normals differences 2019-01-16 14:39:25 +01:00
Lukas Matena 2b39babf5f Place on bed area limit decreased 2019-01-07 12:05:20 +01:00
Lukas Matena bdf4d5f41f Fixed a crash when deleting several instances of one object 2019-01-05 08:34:05 +01:00
Lukas Matena 60926e7be3 Place to bed now rotates all instances the same way, regardless of which one was selected 2019-01-05 08:34:05 +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 9bd5728508 AboutDialog crash fix 2018-12-25 00:35:34 +01:00
Lukas Matena f288af0b5e Fixed an out-of-bound situation in SLA support generator 2018-12-21 13:55:14 +01:00
Lukas Matena 20a4593ee1 Flatten gizmo now respects sla_shift_z 2018-12-21 13:19:17 +01:00
Lukas Matena f3cb54d91f An attempt to fix aa OSX compilation issue 2018-12-21 12:57:26 +01:00
Lukas Matena 7617b10d6e SLA autosupports including islands 2018-12-21 12:35:20 +01:00
Lukas Matena 2ba28325f0 Merge branch 'master' into lm_sla_supports_auto 2018-12-21 12:34:24 +01:00
Lukas Matena 9571e7c209 Merge branch 'master' into lm_sla_supports_auto 2018-12-20 22:35:47 +01:00
Lukas Matena 75063410ad Merge branch 'master' into lm_sla_supports_auto 2018-12-19 15:31:21 +01:00
Lukas Matena 75ef3431b3 Merge branch 'master' into lm_sla_supports_auto 2018-12-19 12:25:58 +01:00
Lukas Matena 27ad859d4d SLA supports - first attempt at supporting islands 2018-12-14 16:15:59 +01:00
Lukas Matena 6cc8ae3729 Merge branch 'master' into lm_sla_supports_auto 2018-12-14 10:56:07 +01:00
Lukas Matena 054c1ca3ae Merge branch 'master' into lm_sla_supports_auto 2018-12-14 09:19:18 +01:00
Lukas Matena 779b6c5e0b Merge branch 'master' into lm_sla_supports_auto 2018-12-10 09:50:23 +01:00
Lukas Matena 4c3b177888 Merge branch 'master' into lm_sla_supports_auto 2018-12-07 18:37:35 +01:00
Lukas Matena 8a9a2ac964 Merge branch 'master' into lm_sla_supports_auto 2018-12-07 18:37:15 +01:00
Lukas Matena 705ad7fb69 First version of SLA support points generation 2018-12-07 14:21:33 +01:00
Lukas Matena 0afe2aec1e First version of SLA support points generation 2018-12-07 14:11:21 +01:00
Lukas Matena 69a7991c59 Fix of issue #1368 2018-11-28 12:30:48 +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
Lukas Matena 21a1106776 SLA support points are rendered with regard to sla_shift_z 2018-11-26 16:32:42 +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
Lukas Matena 9f2fdfabb9 Lay flat gizmo should work correctly with multiple instances and modifier meshes 2018-11-26 13:03:03 +01:00
Lukas Matena d28d4823e0 SLA support points gizmo - multiple instance support 2018-11-26 13:03:03 +01:00
Lukas Matena 8b201d0f2e Proper hiding of the SLA supports gizmo in FDM mode 2018-11-15 18:16:13 +01:00
Lukas Matena df658713bf Wipe tower preview not shown in SLA mode 2018-11-12 15:41:04 +01:00
Lukas Matena 70fdb48c12 Manipulation with colorprint ticks now calls Plater::schedule_background_process() 2018-11-12 15:41:04 +01:00
Lukas Matena 377350db33 When iterating over PrintObject regions, use PrintObject::region_volumes (see also yesterday's commit 3eea327) 2018-11-07 15:17:29 +01:00
Lukas Matena 9ca9e2a545 Merge branch lm_colorprint_integration into dev_native + deleting ticks outside slider range 2018-11-07 14:44:47 +01:00
Lukas Matena 13a2532746 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-11-05 09:39:12 +01:00
Lukas Matena 9442cb99f4 Flatten gizmo now correctly processes both instance and volume transformations 2018-11-05 09:34:04 +01:00
Lukas Matena edceb80b18 Updated function names in GLCanvas3D.cpp (mismatch caused by two conflicting commits yesterday) 2018-11-03 08:46:51 +01:00
Lukas Matena 622f4ee4f6 Flatten gizmo should now work with multiple selection 2018-11-02 15:20:26 +01:00
Lukas Matena 93ef2de667 SLA supports gizmo is only shown in SLA mode 2018-11-02 10:31:57 +01:00
Lukas Matena f5e8eaedb3 Added a special (temporary) icon for SLA supports gizmo, removed igl files from xs/src 2018-11-02 10:22:48 +01:00
Lukas Matena c7167fd9d1 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-10-31 12:24:31 +01:00
Lukas Matena cc27570704 Fixed a crash when moving an object with wipe tower volume on screen 2018-10-31 12:23:26 +01:00
Lukas Matena f2836d4738 Fix of issue 1368 (vector index out of bounds in the wipe tower generator) 2018-10-29 13:29:10 +01:00
Lukas Matena 7a5acd9628 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-10-26 15:53:24 +02:00
Lukas Matena 7681d00ee5 Merged branch 'dev_native' into lm_sla_supports_auto
Added igl library files
2018-10-26 15:45:52 +02:00
Lukas Matena 9789908ed8 Temporary file name generated with boost::filesystem::path (an attempt to solve linux/win mismatch regarding terminating (back)slash) 2018-10-24 21:03:12 +02:00
Lukas Matena b59d416711 Merge branch 'dev_native' of http://github.com/prusa3d/Slic3r into dev_native 2018-10-24 11:05:50 +02:00
Lukas Matena 481229da97 CancellationCallback is now passed by value, instead of non-const reference (which would require initializing the reference from temporaries) 2018-10-24 11:05:19 +02:00
Lukas Matena b429b39abe Gyroid infill - turned off bridge flow and adjusted the density multiplier to compensate 2018-10-15 10:52:39 +02:00
Lukas Matena c1e6eda554 Fixed a crash when deleting an object with sla supports gizmo active 2018-10-10 13:21:14 +02:00
Lukas Matena ced5e8540f SLA support points are deleted when an object is cut or split 2018-10-10 11:14:09 +02:00
Lukas Matena bf5d3ed636 SLA support points are now saved in 3MF 2018-10-05 10:13:21 +02:00