Commit Graph

8562 Commits

Author SHA1 Message Date
Lukas Matena
70dc1721a1 SLA supports gizmo is now enabled and uses the new infrastructure 2020-04-07 16:47:39 +02:00
Lukas Matena
d3fcf2335d SupportsClipper implementation 2020-04-07 16:47:39 +02:00
Lukas Matena
207778f347 InstancesHider allows to show/hide supports on demand 2020-04-07 16:47:39 +02:00
Lukas Matena
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
Lukas Matena
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
Lukas Matena
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
Lukas Matena
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
Lukas Matena
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
Lukas Matena
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
Lukas Matena
3c49db94f5 Flattening gizmo now uses the new CommonDataPool to store pointer to active object 2020-04-07 16:35:52 +02:00
Lukas Matena
f1d7420278 Common gizmos data are now handled by the CommonGizmosDataPool object 2020-04-07 16:35:52 +02:00
Lukas Matena
0b29346e5d Disabled the SLA gizmos 2020-04-07 16:35:52 +02:00
Lukas Matena
e999cb8a7b First installation of common gizmo data pool 2020-04-07 16:35:52 +02:00
YuSanka
a6f4c2893f Code cleaning 2020-04-07 16:22:03 +02:00
YuSanka
89509a9f63 Implemented blinking icon to highlight a searched field 2020-04-07 12:09:58 +02:00
enricoturri1966
cdd0285ea2 Added missing include 2020-04-06 17:32:35 +02:00
enricoturri1966
c0e478069a Reduced size of GCodeProcessor::MoveVertex 2020-04-06 17:24:11 +02:00
enricoturri1966
8d58342435 GCodeProcessor additions:
process color change comment tag

process pause print comment tag

process custom code comment tag

process end pause print or custom code comment tag
2020-04-06 11:53:15 +02:00
enricoturri1966
c0d6337e65 GCodeProcessor additions:
process M108 lines

process M132 lines

process M135 lines

process M401 lines

process M402 lines
2020-04-06 08:55:48 +02:00
YuSanka
1c137da6d7 Added control of "Invalid numeric input" for the PointCtrl 2020-04-05 23:18:22 +02:00
YuSanka
ce1cdc1687 Next Experiment 2020-04-05 22:11:45 +02:00
YuSanka
8248fa12eb Fixed build on OSX 2020-04-05 13:20:27 +02:00
YuSanka
2ead71f7d4 Next experiments with search on Tabs 2020-04-04 19:25:57 +02:00
YuSanka
600a3c9cfa + Fixed clear_marked_string() 2020-04-03 14:29:57 +02:00
YuSanka
6fc7d37f3f Added missed destroy for search_line 2020-04-03 12:51:20 +02:00
YuSanka
5a975a16af Merge remote-tracking branch 'origin/master' into ys_search 2020-04-03 10:48:54 +02:00
YuSanka
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
enricoturri1966
f60374a6c2 GCodeProcessor additions:
process G10 lines

process G11 lines

process G22 lines

process G23 lines

process M106 lines

process M107 lines

process mm3_per_mm comment tag
2020-04-03 10:15:46 +02:00
enricoturri1966
d96f9db4b9 Hopefully last missing include 2020-04-02 16:07:54 +02:00
enricoturri1966
f953e8f4c4 Added another missing include 2020-04-02 15:52:42 +02:00
enricoturri1966
188242badf Added missing includes 2020-04-02 13:19:42 +02:00
enricoturri1966
984357e2c4 Fixed conflicts after merge with master 2020-04-02 12:29:30 +02:00
enricoturri1966
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
enricoturri1966
37cc7f9ea5 3rd attempt to fix build on AppleClang 2020-04-02 08:11:25 +02:00
YuSanka
28f609d4ce Merge remote-tracking branch 'origin/master' into ys_search 2020-04-01 20:23:34 +02:00
YuSanka
d6a661354c The print bed is limited to 1.2m x 1.2m. (related to #2877) 2020-04-01 19:01:38 +02:00
enricoturri1966
feaa214f8b Follow-up of cfb6ac76fc - Another attempt to fix the build on AppleClang (std::array in lambdas) 2020-04-01 16:47:35 +02:00
enricoturri1966
31d57c4b31 Fixed build on AppleClang 2020-04-01 15:54:25 +02:00
YuSanka
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
enricoturri1966
70da70cc9c Fixed conflicts after merge with master 2020-04-01 15:06:30 +02:00
bubnikv
7bddfde708 Optimization of the GCodeTimeEstimator to only keep a fixed number
of trapeziodal blocks around. The number is hard coded to 64,
and 3x64 blocks are flushed everytime the queue grows over 4x64 blocks.
This time estimator is slightly more close to what the firmware does, which
keeps a fixed number of blocks and it recalculates all the blocks
every time a new block is added while the oldest block is pushed out
of the queue. Therefore this optimization shall produce negligible
differences to what the previous code produced.
2020-04-01 13:42:26 +02:00
bubnikv
a8933b6f77 Fixed the new Slic3r::GUI::format_wxstr(): The arguments were not passed. 2020-04-01 13:27:12 +02:00
tamasmeszaros
b2130e2ede Follow-up fix for big bed arrangement 2020-04-01 12:34:50 +02:00
bubnikv
c261b6eda6 Yet another missing include that windows compiler did not mind. 2020-04-01 10:42:10 +02:00
bubnikv
9dafa01fc2 fixed missing include 2020-04-01 10:30:33 +02:00
bubnikv
ace38ea7c1 Fixing OSX and Linux builds 2020-04-01 10:09:31 +02:00
enricoturri1966
6e39b0db92 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-04-01 09:58:48 +02:00
enricoturri1966
9c7acca1cf #3964 - Attempt to fix crash when closing on Linux (Debian unstable) 2020-04-01 09:58:31 +02:00
bubnikv
6da3c1646e Slic3r::format(), Slic3r::GUI::format_wxstr():
wrappers around boost::format using C++17 variadic templates,
replacing the ugly and verbose
	(boost::format("template") % arg1 % arg2).str()
syntax.
The wrappers also implictely convert input parameters including the template
from wxString to UTF8.

The new format wrapper has been applied at multiple places as a start,
also some double macros _(L()) with new single macro _L().
2020-04-01 09:49:04 +02:00
YuSanka
46467fff65 Search: Implemented highlighting of a letters from the search string 2020-04-01 09:07:33 +02:00