enricoturri1966
53c10fc4f9
Tech ENABLE_SEAMS_USING_MODELS set as default
2021-11-30 08:36:55 +01:00
enricoturri1966
33bbb249cf
Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default
2021-11-16 12:39:54 +01:00
Vojtech Bubnik
537df6b503
New BuildVolume class was created, which detects build volume type (rectangular,
...
circular, convex, concave) and performs efficient collision detection agains these build
volumes. As of now, collision detection is performed against a convex
hull of a concave build volume for efficency.
GCodeProcessor::Result renamed out of GCodeProcessor to GCodeProcessorResult,
so it could be forward declared.
Plater newly exports BuildVolume, not Bed3D. Bed3D is a rendering class,
while BuildVolume is a purely geometric class.
Reduced usage of global wxGetApp, the Bed3D is passed as a parameter
to View3D/Preview/GLCanvas.
Convex hull code was extracted from Geometry.cpp/hpp to Geometry/ConvexHulll.cpp,hpp.
New test inside_convex_polygon().
New efficent point inside polygon test: Decompose convex hull
to bottom / top parts and use the decomposition to detect point inside
a convex polygon in O(log n). decompose_convex_polygon_top_bottom(),
inside_convex_polygon().
New Circle constructing functions: circle_ransac() and circle_taubin_newton().
New polygon_is_convex() test with unit tests.
2021-11-16 10:15:51 +01:00
enricoturri1966
d03fd2f63e
Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Reworked detection of collision with printbed. The detection uses now different algorithms in dependence of the printbed type (rectangular, circular, convex) to improve performance.
2021-10-06 13:47:54 +02:00
enricoturri1966
71ce4ae979
Follow-up of 67e519d3ab - Use a platform-indipendent fix
2021-09-29 13:34:30 +02:00
enricoturri1966
03b8bead44
Follow-up of f71cf324b9 - Fixed shown tool position
2021-09-23 11:51:30 +02:00
enricoturri1966
762e7f9474
Tech ENABLE_FIX_IMPORTING_COLOR_PRINT_VIEW_INTO_GCODEVIEWER set as default
2021-09-14 15:05:33 +02:00
Vojtech Bubnik
f9db2d4e8f
GCodeViewer slight opitmization: reuse (move) G-code line indices
...
in G-code viewer.
2021-09-13 10:41:28 +02:00
enricoturri1966
88e6b261fa
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_seams_as_batched_models
2021-09-08 11:37:05 +02:00
Vojtech Bubnik
1c60fa2704
GCodeProcessor collects positions of line ends for GCodeViewer,
...
GCodeViewer no more parses G-code just to extract line end positions.
Removed start_mapping_gcode_window(), void stop_mapping_gcode_window(),
they are no more needed.
2021-09-07 15:42:56 +02:00
enricoturri1966
2784ff9a1e
Rendering seams (and other options) in preview using batched models on systems not supporting OpenGL 3.3
2021-09-03 15:35:44 +02:00
enricoturri1966
61e5a43ba5
Tech ENABLE_SEAMS_USING_INSTANCED_MODELS merged into tech ENABLE_SEAMS_USING_MODELS
2021-08-27 11:41:34 +02:00
enricoturri1966
b5fbe79f31
ENABLE_SEAMS_USING_INSTANCED_MODELS -> Completed implementation of rendering models using instancing
2021-08-27 10:16:50 +02:00
enricoturri1966
cf1b3dcbd8
Code cleanup and small refactoring
2021-08-26 14:37:09 +02:00
enricoturri1966
4868c42169
ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP: Render models using glDrawElementsInstanced
2021-08-26 12:37:55 +02:00
enricoturri1966
13bcc58b8e
Temporary tech ENABLE_SEAMS_USING_INSTANCED_MODELS -> WIP (still missing opengl calls)
2021-08-05 15:08:49 +02:00
enricoturri1966
f81648e4aa
Techs ENABLE_SEAMS_USING_MODELS + ENABLE_GCODE_VIEWER_STATISTICS -> Added instances counter
2021-08-05 10:19:02 +02:00
enricoturri1966
086d157da1
Tech ENABLE_SEAMS_USING_MODELS - 1st installment
2021-08-04 15:13:43 +02:00
enricoturri1966
d844fb9cbd
Colors defined as std::array<float, 4> in GCodeViewer
2021-08-04 13:27:42 +02:00
enricoturri1966
3b6f3dd0cb
Removed constness from a few renderXXX() methods
2021-08-04 12:47:36 +02:00
enricoturri1966
7a3faa4732
Hopefully final follow-up of 8ebb2e2 -> GCodeViewer: Ensure that the view is properly updated after automatic selection of view type when loading model using multiextruders prints
2021-07-27 08:47:40 +02:00
enricoturri1966
5dabae7d0d
Fixed import of color print view from gcode files into GCodeViewer
2021-07-23 11:27:07 +02:00
enricoturri1966
63ae8756bb
Tech ENABLE_SEAMS_VISUALIZATION set as default
2021-07-22 12:58:33 +02:00
enricoturri1966
4537263265
Tech ENABLE_GCODE_WINDOW set as default
2021-07-22 09:37:02 +02:00
enricoturri1966
cb873bd88c
Tech ENABLE_GCODE_LINES_ID_IN_H_SLIDER set as default
2021-07-22 08:35:21 +02:00
enricoturri1966
22cf01f449
Tech ENABLE_SEQUENTIAL_LIMITS set as default
2021-07-20 12:05:15 +02:00
enricoturri1966
d9e9e76467
#6587 - Fixed temporary .gcode file locked by gcode window visualizator while exporting to gcode
2021-06-07 11:54:16 +02:00
enricoturri1966
95c519fbf2
Fixed conflicts after merge with master + fixed rendering of hovered gizmo grabbers
2021-05-31 12:54:48 +02:00
enricoturri1966
1ae72e2a33
Fixed calculation of used filament for gcode viewer (take data from gcode file)
2021-05-27 12:25:59 +02:00
enricoturri1966
9f94836b8b
Fixed conflicts after merge with master
2021-05-13 14:10:42 +02:00
enricoturri1966
daf230695d
Tech ENABLE_SEQUENTIAL_LIMITS -> 1st installment of visualization of objects clearance for sequential prints
2021-05-11 13:12:25 +02:00
enricoturri1966
54b9476279
Tech ENABLE_REDUCED_TOOLPATHS_SEGMENT_CAPS set as default
2021-05-11 10:28:04 +02:00
enricoturri1966
cb1ac7c03a
Tech ENABLE_SPLITTED_VERTEX_BUFFER set as default
2021-05-10 14:45:17 +02:00
YuSanka
2372f3b029
Fix of #2825 - Add the length of each filament used
2021-05-07 12:48:34 +02:00
enricoturri1966
343eb6006b
Tech ENABLE_SEAMS_VISUALIZATION -> 1st installment of seams visualization in preview
2021-04-27 09:45:15 +02:00
enricoturri1966
c9912adeb3
Refactoring in GCodeViewer
2021-04-01 08:24:19 +02:00
enricoturri1966
4f8535e890
Tech ENABLE_GCODE_WINDOW_USE_MAPPED_FILE merged into ENABLE_GCODE_WINDOW
2021-03-08 10:20:07 +01:00
enricoturri1966
e17a8f579e
G-code window uses file mapping
2021-03-08 08:35:32 +01:00
enricoturri1966
2cb0eba0f3
G-code window optimization: parse g-code lines only when needed
2021-03-04 13:23:24 +01:00
enricoturri1966
1f562c13fb
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_gcode_window
2021-03-03 09:07:28 +01:00
enricoturri1966
3df7216843
Fit G-code window between preview legend and view toolbar
2021-03-03 09:03:07 +01:00
enricoturri1966
33126a0717
1st installment of g-code window in preview
2021-03-02 10:01:06 +01:00
enricoturri1966
f81ca55d41
#4402 - Review and merge of #6106 Temperature visualization in preview and G-code Viewer by combolek
2021-02-26 14:17:53 +01:00
enricoturri1966
0155e9f5a5
#6095 - Fixed toolpaths generation
2021-02-22 15:27:40 +01:00
enricoturri1966
3c0fa24a71
Tech ENABLE_RENDER_PATH_REFRESH_AFTER_OPTIONS_CHANGE set as default
2021-02-19 15:38:05 +01:00
enricoturri1966
919851b548
#5611 - Added option to show gcode line number on horizontal slider in preview
2021-02-16 10:07:05 +01:00
enricoturri1966
8d18e09446
Toolpaths rendering - Reduced number of triangles per segment
2021-02-05 11:53:39 +01:00
Lukas Matena
da6dc77973
Fixing GCC warnings 3
2021-01-29 10:47:02 +01:00
enricoturri1966
a58034d98b
Tech ENABLE_UNSIGNED_SHORT_INDEX_BUFFER merged into tech ENABLE_SPLITTED_VERTEX_BUFFER
2021-01-26 13:32:27 +01:00
enricoturri1966
593df22b78
Fixed visualization of point toolpaths, broken with daa0bbdb0c
2021-01-21 09:44:02 +01:00