Commit Graph

1377 Commits

Author SHA1 Message Date
Lukas Matena
3a3979dc39 Simplify gizmo now renders the volume by itself,
it does not rely on the usual GLVolume rendering. GLCanvas3D::toggle_model_object_visibility
was extended to hide a single volume. Rendering the model and wireframe uses the same
vertex buffer, which is now used through GLModel class. GLGizmoRenderTransparent class
should no longer be needed. GLCanvas3D::reload_scene calls replaced with request_rerender.
2021-11-12 06:49:09 +01:00
YuSanka
e1104626de Implemented possibility to show resin colors from the Plater (Bottles with resin are colored now in preset combobox)
+ Added nsvgParseFromFileWithReplace() to replace some colors before parsing from SVG file
+ Thumbnails are saved with selected resin color in SL1 or SL1S files
+ "white" folder is deleted from "icons" now. THere is no needed anymore.
2021-11-09 17:01:50 +01:00
enricoturri1966
2cfcc63c58 Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT - Modified ImGuiWrapper::slider_float() to create a compound widget where an additional button can be used to set the keyboard focus into the slider to allow the user to type in the desired value 2021-11-05 14:46:44 +01:00
enricoturri1966
0e51f2f15f Fixed missing sinking property in objects list for multipart objects with a part completely below the printbed 2021-10-27 14:33:02 +02:00
enricoturri1966
114e924654 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Printbed collision detection made cheaper for rectangular beds and faster for circular beds 2021-10-26 08:45:21 +02:00
enricoturri1966
ac59fba401 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Follow-up of dea188083c and 22e63af0ce. Added missing calls to Selection::stop_dragging() 2021-10-20 13:19:15 +02:00
enricoturri1966
c20c17ed1e Fixed conflicts after merge with master 2021-10-14 10:48:46 +02:00
enricoturri1966
848fdaadf4 #7076 - Modifiers and similar objects always rendered as transparent 2021-10-08 10:48:46 +02: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
7473e174af Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Faster update of object manipulation fields while dragging gizmo Move/Rotate/Scale 2021-10-04 08:30:04 +02:00
enricoturri1966
a29d6055aa Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Fixed detection of collision with circular printbed for pre-gcode preview and sla preview 2021-10-01 12:15:14 +02:00
enricoturri1966
44613f6d28 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision 2021-09-30 15:08:35 +02:00
enricoturri1966
af6ebbda61 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Enable detection of collision with circular printbed in backend 2021-09-30 14:51:09 +02:00
enricoturri1966
f913dde653 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Completed detection of collision with circular printbed for toolpaths and sla auxyliary volumes 2021-09-30 13:16:05 +02:00
enricoturri1966
08734d0424 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Enable detection of collision with circular printbed for toolpaths 2021-09-30 12:08:05 +02:00
enricoturri1966
c3f7227a9d Fixed conflicts after merge with master 2021-09-30 10:31:25 +02:00
enricoturri1966
3bb0944ecf Tech ENABLE_FIX_SINKING_OBJECT_OUT_OF_BED_DETECTION - Removed duplicated code 2021-09-30 10:23:38 +02:00
Filip Sykala
7ced14a72c Add call for render 2021-09-30 09:23:04 +02:00
enricoturri1966
71ce4ae979 Follow-up of 67e519d3ab - Use a platform-indipendent fix 2021-09-29 13:34:30 +02:00
Vojtech Bubnik
f3961f38c4 Merge remote-tracking branch 'remotes/origin/vb_project_state' 2021-09-27 14:36:22 +02:00
Vojtech Bubnik
52e9574d1b WIP Undo / Redo and project state: Marking Undo / Redo snapshots
with their purpose.
2021-09-27 14:10:53 +02:00
David Kocik
35d6dbdf25 Fixed rendering undo/redo toolbar arrow. 2021-09-23 09:56:28 +02:00
enricoturri1966
d383c0ccf4 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Out of bed detection for circular printbeds 2021-09-21 13:51:57 +02:00
enricoturri1966
fd822d13c9 Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Call GLVolumeCollection::check_outside_state() only when needed 2021-09-20 13:40:34 +02:00
enricoturri1966
4cfe8c8e1c Tech ENABLE_SINKING_CONTOURS set as default 2021-09-14 15:45:21 +02:00
enricoturri1966
3ee4d3688c Tech ENABLE_DELAYED_TRANSPARENT_VOLUMES_RENDERING set as default 2021-09-14 14:34:21 +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
Lukas Matena
d86f7f0a2b Fixed painting gizmos with modifiers below the bed:
- When a modifier was below the bed and all the object parts above, it would clip
  the modifier but not triangulate the cut.
- When an object part was below, it would triangulate all modifiers with
  opaque orange color.

Both should now be fixed.
2021-09-13 09:02:11 +02:00
enricoturri1966
0b752e2aba Fixed color of objects in preview for SLA printers 2021-09-10 09:06:09 +02:00
enricoturri1966
f17a5837b7 Removed duplicated method GLVolumeCollection::check_outside_state() 2021-09-10 08:27:03 +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
15ce5d271b Fixed conflicts after merge with master 2021-09-01 13:28:10 +02:00
enricoturri1966
23ca3007e7 Fixed conflicts after merge with master 2021-08-26 12:39:28 +02:00
enricoturri1966
d5d79c5654 Tech ENABLE_SAVE_COMMANDS_ALWAYS_ENABLED -> 1st installment: Allow to save/load empty projects 2021-08-26 10:38:14 +02:00
Filip Sykala
cbd8f8de10 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-25 16:56:24 +02:00
David Kocik
af55005f75 rendering highlight arrow from svg 2021-08-25 16:31:31 +02:00
Filip Sykala
0e1e5f1b6b Add dirty state into Gizmo (hint by @DavidKocik) 2021-08-20 09:13:09 +02:00
Filip Sykala
925705ca55 Merge branch 'master' into fs_QuadricEdgeCollapse 2021-08-18 10:37:21 +02:00
Filip Sykala
1052922752 FIX: extra frame request
Do not freeze bargraph in Siplify dialog when no mouse move.
2021-08-17 15:28:08 +02:00
Lukas Matena
7b61e2f9a0 Slightly changed 'Some objects missing' warning text 2021-08-17 10:04:56 +02:00
Lukas Matena
db9a9369e3 Fix place on bed and sinking instances:
all sinking objects were incorrectly shifted to bed when
'place on face' was applied to any object.
2021-08-12 10:17:59 +02:00
Lukas Matena
4d8a9ad10c Do not show sinking contours when a gizmo hides some objects 2021-08-11 16:17:28 +02:00
enricoturri1966
3b6f3dd0cb Removed constness from a few renderXXX() methods 2021-08-04 12:47:36 +02:00
enricoturri1966
75fce3026d Fixed calls set_uniform(emission_factor, xx) to use floats 2021-08-04 11:58:50 +02:00
enricoturri1966
ff74bc3f48 Fixed mirroring of sinking objects 2021-07-30 11:40:30 +02:00
enricoturri1966
ff8932ed1a Fixed sinking objects popping-up when deleting modifiers 2021-07-30 08:18:11 +02:00
enricoturri1966
66ffb6663a Changed detection of sinking objects into ObjectList::update_info_items() 2021-07-29 15:15:57 +02:00
David Kocik
bc8ecff631 Hint notification
Reads data from hints.ini. Has hyperlinks to highlight settings, toolbars and gizmos.
2021-07-29 13:20:50 +02:00
enricoturri1966
7b59b10547 Fixed conflict after merge with master 2021-07-29 12:25:28 +02:00
enricoturri1966
56416eac50 Tech ENABLE_SINKING_CONTOURS -> Fix for showing sinking contours while dragging objects 2021-07-29 09:03:20 +02:00