Lukas Matena
a96eaf5426
Fix crash when pressing Ctrl+A while a gizmo is open ( #8416 ):
...
There were two separate issues. Missing update when select_all was invoked in
the scene and missing check when SLA supports/hollow gizmo were asked to select
all points/holes.
2022-06-22 16:51:27 +02:00
Lukas Matena
d557bd1dd3
Fixed a crash when using a selection rectangle in cut gizmo
2022-06-02 09:28:08 +02:00
Lukas Matena
dc14ae07a6
Fixed incorrect handling of 3rd party 3MFs in SLA mode ( #6100 and others)
2022-03-23 17:16:17 +01:00
Lukas Matena
5c616c5931
Sync to 2.4.1-beta1
2022-02-01 14:16:13 +01:00
Lukas Matena
ebb9041041
Merge branch 'master' into stable - no conflicts fixed
2022-02-01 14:15:18 +01:00
enricoturri1966
9190810c1f
Fixed volume transparency when changing volume type
2022-01-17 08:04:07 +01:00
enricoturri1966
243f5c38ee
Tech ENABLE_ENHANCED_IMGUI_SLIDER_FLOAT set as default
2022-01-12 13:36:31 +01:00
enricoturri1966
b4308f4245
Tech ENABLE_MODIFIERS_ALWAYS_TRANSPARENT set as default
2022-01-12 12:35:36 +01:00
enricoturri1966
8d638a77e5
Refactoring of GLCanvas3D::check_volumes_outside_state() to prevent assert while using SLA printer
2022-01-05 11:17:39 +01:00
Vojtech Bubnik
13566e3f93
Follow-up to acee3ff1f98ddff7c3a97a72f97fa20c88b4440d
...
Fixed crash when changing modifier type on a circular printbed
2021-12-16 17:50:36 +01:00
enricoturri1966
acee3ff1f9
Fixed crash when changing modifier type on a circular printbed
2021-12-16 14:01:44 +01:00
bubnikv
6122f630d4
Fixing broken scrolling with a touch pad on some Windows laptops.
...
This issue #2750 is old, it was fixed and broken again.
Now it is being fixed differently.
2021-12-04 09:37:09 +01:00
enricoturri1966
781b457035
Tech ENABLE_SAVE_COMMANDS_ALWAYS_ENABLED set as default
2021-11-30 09:41:43 +01:00
enricoturri1966
75856d5e65
Tech ENABLE_SEAMS_USING_MODELS set as default
2021-11-30 08:36:55 +01:00
Lukáš Hejl
f4125f2db8
Fixed the collision between BuildVolume::Type::Convex and macro Convex defined inside /usr/include/X11/X.h that is included by WxWidgets 3.0.
2021-11-26 13:53:11 +01:00
enricoturri1966
2827609539
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer
2021-11-24 11:48:57 +01:00
enricoturri1966
c071132385
Fix of objects have wrong color when using convex printbeds - SPE-1132
2021-11-24 11:48:52 +01:00
Lukas Matena
eb389559b5
Fixup of cc44089 (bed bounding box 2D vs 3D)
...
The mentioned commit has changed behaviour of GLCanvas3D::get_size_proportional_to_max_bed_size(double)
function so that it uses XYZ bounding box instead od just XY. As a result, adding a box object through
the right panel added a huge box when printer max_print_z was higher than x/y. Offset at which a new
object instance is added was also affected.
2021-11-24 10:41:21 +01:00
Lukas Matena
f30a018c5a
Clamp radius in variable layer height dialog, negative values led to a crash
2021-11-22 15:22:43 +01:00
enricoturri1966
a4baecb340
#7326 - Fixed crash when starting GCodeViewer
2021-11-22 10:57:38 +01:00
Vojtech Bubnik
56f409921c
Improved some string initialization and zeroing.
...
Assigning = "" in constructor does not make sense,
.clear() is better than = "",
default paramaeter = {} is cheaper than = ""
2021-11-19 15:34:22 +01:00
enricoturri1966
8d046a577a
Fixed wrong color of toolpaths in pre-gcode preview
2021-11-16 14:52:07 +01:00
enricoturri1966
cb44542377
Fix for broken zoom to bed command
2021-11-16 13:40:24 +01:00
enricoturri1966
9561fd8cc6
Removed obsolete gouraud shader files
2021-11-16 12:56:08 +01:00
enricoturri1966
9af9b9b35d
Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS set as default
2021-11-16 12:39:54 +01:00
Vojtech Bubnik
cc44089440
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
9dcebf0a04
Commented out unused line
2021-11-12 08:45:16 +01:00
Lukas Matena
ba56a79795
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
e8be7b2ecd
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
f7662682c8
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
77548df00f
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
e1b3ba063b
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
79ff8a0dda
Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Follow-up of dea188083c280742cd24f93531d268415ed22cf4 and 22e63af0ceb3d641d5284b27515893e9fd00c593. Added missing calls to Selection::stop_dragging()
2021-10-20 13:19:15 +02:00
enricoturri1966
7be17d89e6
Fixed conflicts after merge with master
2021-10-14 10:48:46 +02:00
enricoturri1966
b9ac80ccd4
#7076 - Modifiers and similar objects always rendered as transparent
2021-10-08 10:48:46 +02:00
enricoturri1966
4ff13a5d63
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
45db1c13ba
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
6ff4d6c3f5
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
1f82eb5624
Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_sinking_objects_collision
2021-09-30 15:08:35 +02:00
enricoturri1966
13ef817a99
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
430c7a69b3
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
7cfe082621
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
b19c742455
Fixed conflicts after merge with master
2021-09-30 10:31:25 +02:00
enricoturri1966
e24bd2d2d4
Tech ENABLE_FIX_SINKING_OBJECT_OUT_OF_BED_DETECTION - Removed duplicated code
2021-09-30 10:23:38 +02:00
Filip Sykala
6bd78aa9c4
Add call for render
2021-09-30 09:23:04 +02:00
enricoturri1966
1df91ea930
Follow-up of 67e519d3ab8f56d9ab5d6759d1b92ee9131ead8c - Use a platform-indipendent fix
2021-09-29 13:34:30 +02:00
Vojtech Bubnik
8f4f02f84c
Merge remote-tracking branch 'remotes/origin/vb_project_state'
2021-09-27 14:36:22 +02:00
Vojtech Bubnik
41dc265a45
WIP Undo / Redo and project state: Marking Undo / Redo snapshots
...
with their purpose.
2021-09-27 14:10:53 +02:00
David Kocik
b382ac8541
Fixed rendering undo/redo toolbar arrow.
2021-09-23 09:56:28 +02:00
enricoturri1966
cf380fb456
Tech ENABLE_OUT_OF_BED_DETECTION_IMPROVEMENTS - Out of bed detection for circular printbeds
2021-09-21 13:51:57 +02:00