Commit Graph

10033 Commits

Author SHA1 Message Date
304da0ae6f FDM supports gizmo cursor size now accounts for (uniform) scaling of the mesh
Added tooltips on the sliders
2020-04-09 18:36:57 +02:00
135a3bc01b FDM supports gizmo now uses VBOs instead of immediate mode 2020-04-09 15:56:43 +02:00
5fbc5e6c5a Search: Set focus on search line in popup control on Plater 2020-04-08 21:03:58 +02:00
84831f331e Fixed a crash when switching to Preview 2020-04-08 17:22:30 +02:00
b609ab4f8d Alt+mouse wheel adjusts cursor size in FDM supports gizmo 2020-04-08 15:21:41 +02:00
7f5dd56772 FDM supports gizmo - use right mouse to place support blockers 2020-04-08 14:59:53 +02:00
a484e5adff FDM supports gizmo now ignored modifiers and support enforcer/blockers 2020-04-08 12:58:48 +02:00
dc97f71c8d Clipping plane can now handle multiple-part objects 2020-04-08 11:52:22 +02:00
8e640df815 Search: Added shortkey Ctrl+F on Plater 2020-04-08 09:47:33 +02:00
3e136a821a Improved the FDM supports gizmo dialog
Removed unused code
Fixed a clipping-plane related crash
Fixed a crash in hollowing gizmo when no hollowed mesh was provided
Forbid opening the gizmo when a part of an object is selected
2020-04-08 09:37:49 +02:00
96e3f3f276 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_viewer 2020-04-08 08:10:03 +02:00
c6efaabc78 Search: Code cleaning 2020-04-07 20:34:09 +02:00
3695c30494 Fixed obvious merge conflicts
FDM supports gizmo uses the new common data infrastructure
2020-04-07 19:44:29 +02:00
28b61faf75 Implemented OnMouseMove and OnMouseClick for PopupSearchList 2020-04-07 19:09:33 +02:00
c39bcd8afe Merge branch 'lm_gizmos' into lm_fdm_supports_gizmo 2020-04-07 17:16:48 +02:00
5994d8a92e Removed obsolete code
Got rid of dummy header GLGizmos.hpp
2020-04-07 16:47:39 +02:00
81cb23f357 Fixed crash related to ClippingPlane and incorrect handling of sla z shift in hollowing gizmo 2020-04-07 16:47:39 +02:00
70dc1721a1 SLA supports gizmo is now enabled and uses the new infrastructure 2020-04-07 16:47:39 +02:00
d3fcf2335d SupportsClipper implementation 2020-04-07 16:47:39 +02:00
207778f347 InstancesHider allows to show/hide supports on demand 2020-04-07 16:47:39 +02:00
7f6096784c ObjectClipper implementation, hollowing gizmo reenabled
ObjectClipper tracks active mesh (incl. possible hollowing), remembers clipping plane position and can render the cut on demand
Hollowing gizmo uses the new infrastructure
2020-04-07 16:45:16 +02:00
04899d536b Raycaster can now handle multiple volumes
This is necessary for future FDM supports gizmo. SLA objects only have one volume, so it wasn't needed until now.
2020-04-07 16:42:59 +02:00
9e5d680d6c Raycaster wrapper
The raycaster manages a MeshRaycaster object that the gizmo can ask to perform raycasts
If the hollowed mesh tracker is enabled and the hollowed mesh is newly calculated/invalidated, the raycaster automatically updates.
2020-04-07 16:40:59 +02:00
4b6e1da6b8 Hollowed mesh tracker implementation
The class tracks state of the backend calculation and if there is a hollowed/drilled mesh, it can provide a pointer to it
2020-04-07 16:40:10 +02:00
4c06da2b78 Dependencies check in debug mode
Some common resources can depend on each other - this checks that the requirements are consistent
2020-04-07 16:39:18 +02:00
5adc955364 InstancesHider implementation
Any gizmo can now ask for hiding all but the active instance by returning proper value from on_get_requirements
2020-04-07 16:39:06 +02:00
3c49db94f5 Flattening gizmo now uses the new CommonDataPool to store pointer to active object 2020-04-07 16:35:52 +02:00
f1d7420278 Common gizmos data are now handled by the CommonGizmosDataPool object 2020-04-07 16:35:52 +02:00
0b29346e5d Disabled the SLA gizmos 2020-04-07 16:35:52 +02:00
e999cb8a7b First installation of common gizmo data pool 2020-04-07 16:35:52 +02:00
a6f4c2893f Code cleaning 2020-04-07 16:22:03 +02:00
89509a9f63 Implemented blinking icon to highlight a searched field 2020-04-07 12:09:58 +02:00
1c137da6d7 Added control of "Invalid numeric input" for the PointCtrl 2020-04-05 23:18:22 +02:00
ce1cdc1687 Next Experiment 2020-04-05 22:11:45 +02:00
8248fa12eb Fixed build on OSX 2020-04-05 13:20:27 +02:00
2ead71f7d4 Next experiments with search on Tabs 2020-04-04 19:25:57 +02:00
600a3c9cfa + Fixed clear_marked_string() 2020-04-03 14:29:57 +02:00
6fc7d37f3f Added missed destroy for search_line 2020-04-03 12:51:20 +02:00
31baca7bf5 Implemented SearchCtrl class instead of SearchComboBox
Search string are synchronized between Plater and Tabs.

List with options and filtered list are in Sidebar.
All options list on tabs and Plater use this data from Sidebar

Note: SearchComboBox.cpp(hpp) was renamed to Search.cpp(hpp)
2020-04-03 10:27:50 +02:00
d96f9db4b9 Hopefully last missing include 2020-04-02 16:07:54 +02:00
984357e2c4 Fixed conflicts after merge with master 2020-04-02 12:29:30 +02:00
d36f28e12b GCodeProcessor additions:
process G90 lines

process G91 lines

process G92 lines

process M82 lines

process M83 lines

process T lines

process extrusion role/width/height comment tags

debug output
2020-04-02 12:03:18 +02:00
28f609d4ce Merge remote-tracking branch 'origin/master' into ys_search 2020-04-01 20:23:34 +02:00
d6a661354c The print bed is limited to 1.2m x 1.2m. (related to #2877) 2020-04-01 19:01:38 +02:00
e294eac44b Added code for deactivating of search toolbar item
+ invalidated its unused callbacks.

 + ImGui::Selectable function is copied to InGuiWrapper.cpp and a little beat modified to change a label text, when item is hovered
2020-04-01 15:28:07 +02:00
70da70cc9c Fixed conflicts after merge with master 2020-04-01 15:06:30 +02:00
a8933b6f77 Fixed the new Slic3r::GUI::format_wxstr(): The arguments were not passed. 2020-04-01 13:27:12 +02:00
b2130e2ede Follow-up fix for big bed arrangement 2020-04-01 12:34:50 +02:00
9dafa01fc2 fixed missing include 2020-04-01 10:30:33 +02:00
ace38ea7c1 Fixing OSX and Linux builds 2020-04-01 10:09:31 +02:00