Commit Graph

698 Commits

Author SHA1 Message Date
Vojtech Kral
21cb489077 WIP: imgui: Fix GLSL version enumeration 2018-11-27 16:57:37 +01:00
YuSanka
f203f6fbd9 ColorPrint improvement
+ Select "Color Print" preview type if it's not after add/delete new color change
+ Added level heights to the color legend instead of "Color N"
2018-11-27 16:04:56 +01:00
Enrico Turri
4c8f3f6ea7 SLA slices preview - wip 4 2018-11-27 15:36:31 +01:00
Enrico Turri
e6369fe548 SLA slices preview - wip 3 2018-11-27 14:50:57 +01:00
tamasmeszaros
21d5acfdd7 Support points existence validation. 2018-11-27 13:52:42 +01:00
Vojtech Kral
cc557b8a7f Yet more fix of ENABLE_IMGUI 2018-11-27 12:51:50 +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
YuSanka
db4ceaa5fa DoubleSlider improvement
+ added thicks selection by mouse in the DoubleSlider
 + Click on the Unlock icon on DoubleSlider => set Min and Max slider values
2018-11-27 11:13:00 +01:00
tamasmeszaros
3f0ea223d1 Speeding up the auto rotation algorithm (decreasing accuracy) 2018-11-27 11:09:25 +01:00
tamasmeszaros
415a4fa02b Correcting parameter name changes and the additional slaposIndexSlices step 2018-11-27 11:06:25 +01:00
bubnikv
85e81a2a21 SLA support points gizmo: Limit manipulation to an active instance
(the first instance selected), show the points on other instances
grayed out.
2018-11-26 20:39:18 +01:00
bubnikv
3fa099bd1a Fix of SLA support gizmos:
Fix of the Z offset.
Background processing is now not re-triggered during dragging
of a support point.
2018-11-26 19:22:16 +01:00
Vojtech Kral
4ca8fc0aeb Cut: Fix lower part rotation 2018-11-26 17:43:27 +01:00
Vojtech Kral
3b20d03e1d Cut: Preserve Z-rotation, fix upper part mesh position,
perform custom placing instead of arrange()
2018-11-26 17:09:37 +01:00
bubnikv
693bee7b79 Fixed typo in the previous commit. 2018-11-26 16:42:09 +01:00
bubnikv
e58bd486c2 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-26 16:33:23 +01:00
bubnikv
60e456c8f4 Another libigl fix: Don't pass Eigen memory aligned objects by value. 2018-11-26 16:33:12 +01:00
Lukas Matena
21a1106776 SLA support points are rendered with regard to sla_shift_z 2018-11-26 16:32:42 +01:00
YuSanka
f8bc7cb959 Implementation of the "ColorPrint" on the 3DScene 2018-11-26 16:28:12 +01:00
Enrico Turri
b153c8cb20 SLA slices preview - wip 2 2018-11-26 16:17:59 +01:00
bubnikv
a4e204012d Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-26 15:58:14 +01:00
bubnikv
f55ddbb1e3 Fixed an libligl AABB assignment operator: memory aligned structures
shall not be passed as "by value" parameters. This is explicitely
warned against in the Eigen manual:
https://eigen.tuxfamily.org/dox/group__TopicPassingByValue.html
2018-11-26 15:57:58 +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
bubnikv
52c9dd3252 Enabled compilation of SLA libigl dependent code to see what errors
will come out of the build server.
2018-11-26 15:44:13 +01:00
bubnikv
ebbce32158 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-26 15:19:58 +01:00
bubnikv
b5c56caf6f Fixed an issue with the SLA Z offset at the end of slicing,
fixed compilation on OSX due to the libigl overriding our "L" localization
macro.
2018-11-26 15:19:42 +01:00
Enrico Turri
4ca302ba6a SLA slices preview - wip 2018-11-26 15:16:35 +01:00
tamasmeszaros
2a31f5e6fc Refinement of the slice index interface 2018-11-26 15:09:29 +01:00
bubnikv
c72522d566 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-26 14:54:35 +01:00
bubnikv
cc283571e7 Fixed compilation issues on osx 2018-11-26 14:54:23 +01:00
tamasmeszaros
5f43ec1b78 Merge remote-tracking branch 'origin/master' into tm_sla_supports_backend 2018-11-26 14:49:31 +01:00
tamasmeszaros
f76560bcc5 Initial interface for slice index. 2018-11-26 14:43:28 +01:00
bubnikv
a378bb7bed Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
Vojtech Kral
63faa917a9 Cut: Re-center objects after cut 2018-11-26 13:35: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
Enrico Turri
e038c3a20d Merge branch 'master' of https://github.com/prusa3d/Slic3r 2018-11-26 12:11:37 +01:00
Vojtech Kral
25f4f1fe55 Cut: Use world coordinates 2018-11-26 12:08:10 +01:00
Enrico Turri
63996f5ba1 Fixed update of GLCanvas3D::m_moving member 2018-11-26 11:49:04 +01:00
Vojtech Kral
c29493a41b imgui: Refactor, use in cut gizmo 2018-11-26 11:16:39 +01:00
Vojtech Kral
763b443459 imgui: Update 2018-11-26 10:57:14 +01:00
Enrico Turri
57e9d28a84 Added ImGuiWrapper 2018-11-26 10:57:12 +01:00
Enrico Turri
5c054d11ca Added imgui library 2018-11-26 10:56:41 +01:00
Enrico Turri
b94f19eaf4 Added method GLCanvas3D::is_dragging() 2018-11-26 10:41:16 +01:00
Enrico Turri
da0b9b9b75 Generate EVT_GLCANVAS_MOUSE_DRAGGING_FINISHED event after an object has been dragged on scene 2018-11-26 08:36:31 +01:00
bubnikv
9258ca8cc6 Further removal of the 3DScene / GLCanvas3DManager scaffold. 2018-11-23 17:15:17 +01:00
bubnikv
103af1d8fb Fixed some background processing synchronization issues. 2018-11-23 17:05:44 +01:00
Enrico Turri
aaab549cfa Partial cleanup of obsolete methods 2018-11-23 15:05:43 +01:00
Enrico Turri
f838d8cf18 Fixed GLCanvas3D::Selection::_ensure_on_bed() method 2018-11-23 13:20:04 +01:00
tamasmeszaros
746c1d2fd8 SLA support parameters changed: radiuses for diameters. 2018-11-23 13:05:24 +01:00
bubnikv
9722bcdd75 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-23 12:47:46 +01:00
bubnikv
b03f672801 Refactored to get direct access to GLCanvas3D in Plater and Preview.
WIP: SLA update delayed until mouse is released.
2018-11-23 12:47:32 +01:00
YuSanka
4575443c4c Fixed bug with last solid part deleting
+ fixed building
+ deleted last ";" from the settings digest
2018-11-23 11:57:04 +01:00
tamasmeszaros
a05bda5347 Removed head_back_radius and added pillar widening factor to the parameter layers 2018-11-23 11:51:45 +01:00
Enrico Turri
cabfca1031 Do not select wipe tower when using Select all command 2018-11-23 11:47:18 +01:00
Enrico Turri
bcf7a1f751 Fixed volumes translation (again) 2018-11-23 11:14:32 +01:00
Enrico Turri
66a08be209 Fixed transformations when deleting second-to-last sub-volume of an object 2018-11-23 10:50:25 +01:00
tamasmeszaros
7fe7f33b80 Fix for crash when generating supports with empty input points 2018-11-23 10:28:26 +01:00
tamasmeszaros
45b51bd40e remove + shortcut from 'optimize rotation' menuitem 2018-11-23 09:56:49 +01:00
bubnikv
6da9d19916 Fixed lifting of models for SLA above the print if supports
or pad are calculated.
2018-11-23 09:33:01 +01:00
tamasmeszaros
864a2b387a trying to fix build for OSX 2018-11-22 18:13:34 +01:00
tamasmeszaros
d28b61f8a3 Adding checkbox for disabling support generation (still having pad generation) 2018-11-22 18:02:05 +01:00
tamasmeszaros
7efadfae1c Merge branch 'tm_sla_supports_backend' 2018-11-22 16:12:22 +01:00
YuSanka
421fbe3a3c Fixed updating of the value for "Post processing scripts" field 2018-11-22 16:09:28 +01:00
YuSanka
9d7b4ce41d Position(Displacement)/Rotation/Scale for group selection 2018-11-22 16:09:28 +01:00
YuSanka
7041e2b877 Hide "Extruder" column for the SLA printing 2018-11-22 16:09:28 +01:00
tamasmeszaros
c7434a492b Available object menu item: optimize orientation 2018-11-22 16:04:21 +01:00
bubnikv
06da6d8645 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-22 15:30:56 +01:00
bubnikv
bde4153d44 Removed legacy GUI Perl bindings,
replaced Print & SLAPrint pointers with BackgroundProcessing pointer
at the GLCanvas3D level, so that the Print & SLAPrint access will be
synchronized with the current printer technology.
2018-11-22 15:29:59 +01:00
tamasmeszaros
edf80316e1 removed is_step_done queries from the pipeline (using return value of set_started) 2018-11-22 14:16:55 +01:00
tamasmeszaros
c39698878d Merge remote-tracking branch 'origin/master' into tm_sla_supports_backend and add get_current_elevation 2018-11-22 13:57:13 +01:00
tamasmeszaros
1f8007f0da status moves continuously when rasterizing 2018-11-22 13:42:52 +01:00
bubnikv
86c11df554 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-22 13:33:34 +01:00
bubnikv
8d7a34160d Fix of my previous commit. 2018-11-22 13:33:21 +01:00
Enrico Turri
3b3eab2e84 Added member m_sla_shift_z to GLVolume 2018-11-22 13:33:20 +01:00
bubnikv
233c1593f1 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-22 13:20:18 +01:00
bubnikv
a4be8ef6ad Fixed "setting an extruder does not change object's color" 2018-11-22 13:20:13 +01:00
Enrico Turri
200b3d010f Fixed volumes translation 2018-11-22 12:50:54 +01:00
bubnikv
94b1183843 Synchronize SLA background processing on UI change, so that
the supports disappear if invalidated.
2018-11-22 12:42:17 +01:00
tamasmeszaros
3bd1734daa fix for progress indication values 2018-11-22 12:13:58 +01:00
Enrico Turri
cac56154ef Selection updated to detect sla volumes 2018-11-22 12:07:26 +01:00
Enrico Turri
e247b532fb Added Edit -> Delete all menu item 2018-11-22 11:31:53 +01:00
Enrico Turri
c494dec1c4 Gizmos' shortcut not requiring shift key pressed 2018-11-22 11:13:00 +01:00
YuSanka
7b9f498410 Changed the object context menu in the object list for SLA print technology
+ changed list of the options for "Add settings"
2018-11-22 11:06:07 +01:00
Enrico Turri
343335dbc3 Different colors for SLA support and pad geometry 2018-11-22 11:01:57 +01:00
bubnikv
28a502680a Fixed a crash on SLA with background processing on and with an empty
scene.
2018-11-22 10:35:04 +01:00
Enrico Turri
c60ed7bc07 Added shortcuts for gizmos 2018-11-22 10:14:31 +01:00
bubnikv
ddf8acb440 Fixed missing include (fixed compilation on OSX) 2018-11-21 18:03:24 +01:00
tamasmeszaros
5c141d9f10 Fixed race condition when no pad is generated. Progress indication for SLA is broken. 2018-11-21 17:40:18 +01:00
bubnikv
487ccdd2be Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2018-11-21 17:35:58 +01:00
bubnikv
314f7dc674 WIP: Synchronization of SLA background processing. 2018-11-21 17:35:35 +01:00
tamasmeszaros
c5438d8bc3 Merge remote-tracking branch 'origin/master' into tm_sla_supports_backend 2018-11-21 16:06:53 +01:00
tamasmeszaros
17f15f7617 merge tm_sla_supports_backend with master 2018-11-21 16:06:09 +01:00
Enrico Turri
a27e238ced Use Del as shortcut for Edit/Delete selected 2018-11-21 16:00:20 +01:00
Enrico Turri
3e939a7496 Added menu Edit -> Delete selected 2018-11-21 15:47:41 +01:00
Enrico Turri
681beeadf6 Added menu Edit -> Select all 2018-11-21 15:28:35 +01:00
tamasmeszaros
3667fc7894 Change to return const references for TriangleMesh return values in SLAPrintObject's methods 2018-11-21 15:21:57 +01:00
YuSanka
c6b597b813 Fixed updating of the options values after the clearing of the TextCtrl 2018-11-21 15:05:18 +01:00
Enrico Turri
85219b8bc0 Fixed split object to objects 2018-11-21 14:30:15 +01:00
bubnikv
a21f1783a9 Added force_full_scene_refresh parameter to the 3DScene::refresh()
function to force a refresh of all GLVolumes. Currently this hack
is used by the Platter::arrange() function only, and ideally
we should replace this parameter with a smarter 3DScene::refresh()
function, which would check for the transformation matrices as well.
2018-11-21 13:52:46 +01:00
bubnikv
bc9de8956a Removed the unused force_autocenter parameter from Plater::update() 2018-11-21 13:32:24 +01:00
Enrico Turri
ee99fa2c64 Ensure object on bed after deletion of subpart 2018-11-21 12:27:20 +01:00
tamasmeszaros
9996369e2c merge with master 2018-11-21 12:17:52 +01:00
tamasmeszaros
1a58513717 Using the new status update interface to refresh scene right after the supports are ready. 2018-11-21 12:10:10 +01:00
Enrico Turri
6aa4c0ca16 Fixed translation of volumes 2018-11-21 11:33:31 +01:00
tamasmeszaros
87b96f4c09 trying to fix broken arrange on master 2018-11-21 11:09:14 +01:00
tamasmeszaros
2fffb0c2ff Arrangement is still not working, update is probably broken. 2018-11-21 11:07:08 +01:00
Enrico Turri
86ac9ed91e Small refactoring 2018-11-21 10:36:09 +01:00
Enrico Turri
302b37dcd1 Adjusted main shortcuts 2018-11-21 10:21:12 +01:00
tamasmeszaros
897ca1aa44 comments... 2018-11-21 10:00:49 +01:00
Enrico Turri
37b5cb9a4d Update transformation values in sidebar for single volume/modifier selection 2018-11-21 09:45:43 +01:00
bubnikv
4eb82bda62 Fix of "split volume to parts" to regenerate a new GLVolume
even for the first part.
2018-11-21 09:35:49 +01:00
Enrico Turri
d8e7310d72 Gizmo rotate operates always in world reference system 2018-11-21 09:28:27 +01:00
Vojtech Kral
4cb5c2a21b CMake: Add option for a syntax-only build 2018-11-20 23:05:47 +01:00
bubnikv
18f14482d0 Merge branch 'vb_3dscene_partial_update' 2018-11-20 17:07:31 +01:00
bubnikv
8107ff4f86 Merge remote-tracking branch 'origin/tm_sla_supports_backend' into vb_3dscene_partial_update 2018-11-20 17:05:45 +01:00
tamasmeszaros
c398e9b2af tryfix for linux build... 2018-11-20 16:29:21 +01:00
bubnikv
22a7afabba Renamed PrintBase::Status to SlicingStatusEvent
Hopefully it will fix compilation on Linux (some forgotten Status macro?)
2018-11-20 16:27:30 +01:00
tamasmeszaros
013e068d71 Merge remote-tracking branch 'origin/vb_3dscene_partial_update' into tm_sla_supports_backend 2018-11-20 16:16:23 +01:00
tamasmeszaros
d27e22c2c3 height level mismatches seems to be fixed. 2018-11-20 16:12:04 +01:00
Enrico Turri
bcfff27921 Fixed scaling of multivolumes selection - Added local scale by pressing Alt key while dragging the scale gizmo 2018-11-20 15:39:36 +01:00
bubnikv
8ecb2163b6 Hopefully a fix of OSX compilation issue. 2018-11-20 15:18:46 +01:00
bubnikv
0ec37ae038 Fixed missing wxEvent type on GCC, fixed some compiler warnings. 2018-11-20 15:01:32 +01:00
bubnikv
f6831dfdea Merge remote-tracking branch 'remotes/origin/dev_native' 2018-11-20 14:13:22 +01:00
YuSanka
48e0e1078b Changed output for "Used filament", "Cost" and "Estimated printed time" inside the Sliced info pane 2018-11-20 13:32:36 +01:00
bubnikv
e3b858c45f Merge remote-tracking branch 'origin/tm_sla_supports_backend' into vb_3dscene_partial_update 2018-11-20 13:23:12 +01:00
bubnikv
bed3eed3d2 The slicing progress message can now trigger refresh of the 3D scene. 2018-11-20 13:22:26 +01:00
tamasmeszaros
7482b619b5 Working on proper merging and leveling of the support layers. 2018-11-20 11:59:40 +01:00
Enrico Turri
b961d1011a Fixed rotation of multivolumes selection - Added local rotation by pressing Alt key while dragging the rotate gizmo 2018-11-20 11:57:01 +01:00
Enrico Turri
aa22f75829 Forced zoom to bed when changing bed size 2018-11-20 10:36:26 +01:00
Enrico Turri
34cf541e0d Fixed position of newly created modifiers 2018-11-20 10:15:31 +01:00
Enrico Turri
74f350c84e Fixed slicing of objects splitted into parts 2018-11-20 08:36:35 +01:00
tamasmeszaros
f3b7b36d20 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-19 17:59:30 +01:00
tamasmeszaros
87d49cf82f Adding object elevation param.
Quick attempt to build with MinGW 7.3. Successful compile, failed linking
2018-11-19 17:58:08 +01:00
Enrico Turri
946d43bc95 Improved fix of export to 3mf of objects splitted into parts 2018-11-19 15:49:59 +01:00
Enrico Turri
c5bb8bb4a1 Fixed export to 3mf of objects splitted into parts 2018-11-19 15:34:34 +01:00
Enrico Turri
d322fa0fd5 Fixed gizmos overlay rendering/selection by adding GLGizmoBase::is_selectable() method 2018-11-19 14:46:37 +01:00
tamasmeszaros
ad8c7c9f97 GUI forms with SLA support parameters 2018-11-19 14:15:40 +01:00
YuSanka
d658d918d7 Fixed crashing when project with modifier is imported 2018-11-19 14:05:29 +01:00
YuSanka
398f15d546 Some code rebase 2018-11-19 14:05:29 +01:00
YuSanka
703f367e69 Fixed preset updating 2018-11-19 14:05:29 +01:00
YuSanka
ae4f116b46 Added the context to the TabPrintSLA 2018-11-19 14:05:29 +01:00
YuSanka
2fa055903f "SLA Print Settings" implementation (start) 2018-11-19 14:05:29 +01:00
Enrico Turri
7cb99f8e27 Added debug error message when missing icons for gizmos 2018-11-19 14:03:28 +01:00
tamasmeszaros
a00e767fd2 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-19 13:53:27 +01:00
Vojtech Kral
ee33f0f1d7 Add missing icons 2018-11-19 13:51:43 +01:00
tamasmeszaros
a914e7de2d Default values in config does not compile under gcc and clang 2018-11-19 13:13:05 +01:00
tamasmeszaros
35bbe89251 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend 2018-11-19 13:11:03 +01:00
Vojtech Kral
60563e6702 Plater: Revert usage of panel_gizmo_widgets for now 2018-11-19 13:05:10 +01:00