Lukas Matena
c98ba0e651
Measurement: refactoring - do not touch common raycaster interface when there is no need
2022-11-15 16:07:38 +01:00
Vojtech Bubnik
db3f696888
Fixed ExPolygon::overlaps(), which was not commutative.
...
Wrote unit tests for Clipper polyline clipping operations.
Rewrote ExPolygon unit tests from Perl to C++.
2022-11-15 15:32:16 +01:00
enricoturri1966
182e5ece2e
Added missing declaration
2022-11-15 12:42:22 +01:00
enricoturri1966
7c63e94515
Gizmo measure - Render hovered plane while in point selection mode
2022-11-15 12:36:38 +01:00
enricoturri1966
3c0e331363
Gizmo measure modified to accept single full instance selection, to combine the volumes meshes into a single mesh and pass it to the back end after transform it in world coordinates
...
Changes embedded into tech ENABLE_GIZMO_MEASURE_WORLD_COORDINATES
2022-11-15 12:17:18 +01:00
Vojtech Bubnik
f1c0c61895
Refactored Point / MultiPoint / Polyline / Polygon:
...
1) Removed virtual methods. There was not really need for them.
2) Some of the virtual methods were using conversion to Lines, which
was unnecessary and expensive.
3) Removed some nearest element search methods from Point.
2022-11-14 19:01:17 +01:00
Vojtech Bubnik
9dca8403fe
ClipperLib: Optimized PointInPolygon() to calculate cross products
...
with int64s instead of doubles.
Polygon / ExPolygon: contains() reworked to use ClipperLib::PointInPolygon().
The Slic3r own implementation was not robust.
Fixed test_perimeters after recent refactoring (sorting of extrusions
into LayerIslands)
2022-11-14 15:17:04 +01:00
PavelMikus
a0243affeb
fix avoidance algorithm, improve curling filament estimation
2022-11-14 11:47:25 +01:00
YuSanka
50ef968f59
ObjectList: When object contains only one volume and it's text:
...
* Add menu item "Edit text" for object menu.
* Apply volume name to the object name
2022-11-11 15:50:43 +01:00
YuSanka
1ba4227633
Fix for #SPE-1370 - Slicer crash when delete more volumes together
...
Bug was caused by changes in 13e4e85e3d
So, revert related parts of code.
2022-11-11 13:39:15 +01:00
enricoturri1966
d9be85fa01
Gizmo measure - Swap of CTRL and SHIFT keys behavior + CTRL used to pan/rotate the scene as in other gizmos
2022-11-11 12:38:37 +01:00
enricoturri1966
67b4dd9b2a
Gizmo measure - Fixed feature color while point selection mode is active
2022-11-10 15:10:16 +01:00
enricoturri1966
a117a13b91
Gizmo measure - Modified states:
...
Pressing CTRL activates 'point selection'
Pressing CTRL+SHIFT while hovering a circle or an edge with extra point activates 'center selection'
2022-11-10 13:34:47 +01:00
YuSanka
252f9302ef
Suppress to delete object from 3D-Scene, when ObjectList is in Editing mode
2022-11-10 11:23:31 +01:00
Lukas Matena
b3183cb277
Measurement: Fixed a bug in circles detection (failing assert)
2022-11-09 15:00:59 +01:00
YuSanka
cf417b4a73
Fix for SPE-1366( https://dev.prusa3d.com/browse/SPE-1366 ) - InGui Search doesn't work after switch to settings tab
2022-11-09 14:27:53 +01:00
Filip Sykala - NTB T15p
c052ff403a
Merge branch 'master' into fs_emboss
2022-11-09 14:07:26 +01:00
Filip Sykala - NTB T15p
fdf1c2fc71
Fix lightning when move above surface and view from bottom
2022-11-09 14:06:18 +01:00
Filip Sykala - NTB T15p
bcb3603d5d
Remove unneccessary check. m_volume during draw windor must be set up and must contain text configuration in GLGizmoEmboss
2022-11-09 13:54:17 +01:00
Pavel Mikuš
633ce8aa21
Pm jps path finding ( #8 )
...
New step - estimation of curling on both the model and the support extrusions.
Improvements in curled filament estimation algortihm
Implementation of Jump Point Search algorithm
Use of JPS algorithm to avoid curled extrusions during travel moves in Gcode export
2022-11-09 13:33:58 +01:00
Filip Sykala - NTB T15p
8fdbfaddaa
Remove generate text object button
2022-11-09 13:17:25 +01:00
Filip Sykala - NTB T15p
250f2444fa
Add orange border for input when warning appear
2022-11-09 13:14:51 +01:00
Filip Sykala - NTB T15p
7cf99ba430
Remove opening emboss gizmo by shortcut 'T'
2022-11-09 12:45:42 +01:00
Filip Sykala - NTB T15p
02bfcc921a
Merge branch 'master' into fs_emboss
2022-11-09 12:10:29 +01:00
Filip Sykala - NTB T15p
d77e25f822
Do not block writing gizmo activate snapshot
2022-11-09 12:10:14 +01:00
Pavel Mikuš
06fbab12fe
Pm overhang extra perimeters ( #7 )
...
Implementation of extra perimeters on steep overhangs/flat unsupported parts
Also contains:
Principal components computation over polygon area
New fast bridge direction estimation which minimizes amount of unanchored bridge endpoints
2022-11-09 10:38:36 +01:00
Filip Sykala - NTB T15p
4e43a1f6a0
Open emboss gizmo after create new volume(no need to redraw gizmo window position)
...
Fix enters in volume name in object list by change to space
Fix lightning when dragging
2022-11-09 10:12:30 +01:00
Filip Sykala - NTB T15p
fbb159d595
Fix for selection multiple sla support points with shift
2022-11-08 16:41:49 +01:00
Filip Sykala - NTB T15p
01633a68c0
disalow advance edit when unknown font is selected in 3mf
2022-11-08 15:45:28 +01:00
Filip Sykala - NTB T15p
58c028d904
Add invalidation of wx font list when open combo box. Fix issue with new installed fonts
2022-11-08 14:54:46 +01:00
Filip Sykala - NTB T15p
fce4f1f24e
Merge branch 'master' into fs_emboss
...
# Conflicts:
# src/libslic3r/Technologies.hpp
# src/slic3r/GUI/GLCanvas3D.cpp
2022-11-08 13:28:43 +01:00
Filip Sykala - NTB T15p
04db4fc56f
Skip can load check for MAC - because time delay
2022-11-08 13:27:50 +01:00
Filip Sykala - NTB T15p
aa00da1b7e
Add log for not openable font file
2022-11-08 13:27:02 +01:00
enricoturri1966
2ce76e27dd
Measure Gizmo - Fixed volume's color blinking when pressing SHIFT key
2022-11-08 13:08:30 +01:00
Lukas Matena
a09c269584
Measurement: make the edge endpoint detection threshold smaller for short edges
2022-11-08 12:31:26 +01:00
Filip Sykala - NTB T15p
bf55f63c39
Extend advance height when font is collection
2022-11-08 12:23:43 +01:00
enricoturri1966
41c6da913d
Measure Gizmo - Release m_measuring content when leaving the gizmo
2022-11-08 12:16:58 +01:00
David Kocik
46e84dfd35
Read from hint database file in binary style
2022-11-08 12:02:46 +01:00
enricoturri1966
38ecef036a
Measure Gizmo - Fixed unwanted volume displacement when click and dragging outside of an highlighted feature
2022-11-08 11:13:48 +01:00
enricoturri1966
8681770eaa
Tech ENABLE_NEW_CAMERA_MOVEMENTS set as default
2022-11-08 09:05:57 +01:00
Filip Sykala - NTB T15p
2886d26fa0
Log state of font list cache.
2022-11-08 08:54:35 +01:00
Filip Sykala - NTB T15p
4f2263a963
Fix generation of preview bitmap for bad font.
2022-11-08 08:53:38 +01:00
enricoturri1966
083df84009
Removed duplicated code into SceneRaycaster
2022-11-08 08:22:16 +01:00
Filip Sykala - NTB T15p
41f0017f07
Fix: ../src/slic3r/GUI/Gizmos/GLGizmoEmboss.cpp:1550:17: warning: unused variable 'allow_update_rendered_font' [-Wunused-variable]
2022-11-07 23:12:13 +01:00
Vojtech Bubnik
5eaec515ba
Follow-up to f24b4e86a9
:
...
Refactoring of G-code export to LayerSlices / LayerIslands:
Fixed some bugs
2022-11-07 20:00:34 +01:00
Vojtech Bubnik
28f8997dd3
Follow-up to f24b4e86a9
:
...
Fixed compilation on OSX
Fixed incorrect clear of LayerIslands.
2022-11-07 17:26:48 +01:00
Vojtech Bubnik
f24b4e86a9
Follow-up to f342bfae4e
...
as GCC did not like what MSVC was able to swallow.
2022-11-07 16:30:11 +01:00
Vojtech Bubnik
fcb00680ab
Follow-up to f342bfae4e
:
2022-11-07 16:09:45 +01:00
Filip Sykala - NTB T15p
8420d26d89
Fix after merge master
2022-11-07 16:00:55 +01:00
Vojtech Bubnik
f342bfae4e
Improved const correctness of ToolOrdering.
2022-11-07 16:00:13 +01:00