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
9bac4c5c20
Close Shape Gallery dialog by pressing ESC on keyboard
2021-11-11 13:03:40 +01:00
YuSanka
b0a5ee3ca1
GalleryDialog: Added context menu for custom shapes
...
+ Added possibility to delete custom shaped by "DELETE" key
2021-10-14 12:16:14 +02:00
YuSanka
8a8ada38c9
Gallery: Fixed a naming of the added item with already existing name.
...
+ Fixed layout after add/delete item to/from Gallery
2021-10-11 11:21:27 +02:00
Vojtech Bubnik
b642cf636f
Reworded "Shape Gallery" menu and dialog title
2021-10-07 15:40:28 +02:00
YuSanka
4b7614a88d
OSX specific: GalleryDialog: Fixed scale of the default icon
2021-08-03 11:28:58 +02:00
YuSanka
40111c16fc
Fixed build
2021-08-02 15:08:54 +02:00
YuSanka
02beb8d574
Shapes Gallery :
...
- Suppress to create a PNG-files for system shapes
- Allow to load the OBJ files
2021-08-02 15:00:41 +02:00
enricoturri1966
f4b466ee93
Techs DISABLE_ALLOW_NEGATIVE_Z_FOR_SLA and ENABLE_ALLOW_NEGATIVE_Z set as default
2021-07-22 11:26:31 +02:00
YuSanka
5d482ebb94
Don't save shapes directory to the "last_dir"
2021-07-21 16:13:40 +02:00
enricoturri1966
bfedc8bcba
ENABLE_ALLOW_NEGATIVE_Z -> Fixed build when the tech is disabled
2021-07-21 12:28:03 +02:00
YuSanka
ba7338adf0
GalleryDialog: Added process of the "Close" button
...
SavePresetDialog: To correct "darkmodding" the wxRadioBox was changed to the wxStaticBoxSizer with radio buttons
+ Some code cleaning
2021-07-20 14:46:38 +02:00
YuSanka
95c16c7c9b
Added "Modify Shapes Gallery" to the "Window" menu
...
+ Fixed a non-MSW build (added missed include)
2021-07-20 11:25:24 +02:00
YuSanka
c062033c42
Fixed of the warnings.
...
+ Some small bug-fixing related to the system colors change on MacOS ("Set..." buttons didn't respect to the system color change)
2021-07-19 15:46:50 +02:00
YuSanka
582d514d82
Fixed a crash when "resources/shapes" directory doesn't exist.
...
+ Localization for the "Internal error: %1%" in generic_exception_handle()
2021-07-15 09:04:12 +02:00
YuSanka
14e1293ade
GalleryDialog: Changes the paths to the system and custom galleries
2021-07-14 17:41:37 +02:00
YuSanka
81e172d2c6
Follow-up fe7204379d - added missed include
2021-07-14 16:48:55 +02:00
YuSanka
c0252cb10e
GalleryDialog: Fixed sort of the filenames inside the list.
...
+ OSX Specific:
* Fixed scale of the lock on the system file icons
* Fixed buttons alignment for AboutDialog and SysInfoDialog
2021-07-14 16:45:34 +02:00
YuSanka
4523f49445
GalleryDialog: Added loaded files quality control
...
+ Code cleaning
2021-07-14 12:47:52 +02:00
enricoturri1966
40fc96e051
Fixed conflicts after pulling from master
2021-07-13 12:11:54 +02:00
enricoturri1966
69eb2fd4e5
Follow-up of d6fdf2d5c2 -> Automatic generation of missing thumbnails
2021-07-13 11:57:19 +02:00
Lukas Matena
e97205c415
Fixed build on Linux
2021-07-13 08:30:49 +02:00
YuSanka
1c64404890
GalleryDialog improvements:
...
* Added "Replace PNG" function
* Added locks instead of border for system shapes
2021-07-12 17:22:22 +02:00
Oleksandra Yushchenko
080807eda5
Modifiers Gallery ( #6703 )
...
* Added GalleryDialog
* GalleryDialog improvements:
* Added DnD functionality
* Added "Delete custom shapes" function
2021-07-12 15:20:50 +02:00