tamasmeszaros
1fd4659f0e
Use resources dir for occt shared lib
2022-08-11 16:49:13 +02:00
Prusa Research a.s
7d3f0b4b32
Fixes on MacOS
2022-08-11 16:49:13 +02:00
tamasmeszaros
88ba89dbbc
STEP: Implementation ported from BambuStudio:
...
CMake handling is different
STEP: Removed preprocessing stage
STEP: Small refactoring
STEP: Bigger refactoring
STEP: Changed naming on loaded object and volumes:
If the STEP contains exactly one named volume, the object and its first
volume will both have that name. Otherwise, filename w/o suffix is used
as object name and volumes are named using names from the STEP (if there
is none, untranslated "PartN" string is used).
STEP: Load the libraries dynamically on Win
wip
2022-08-11 16:49:13 +02:00
PavelMikus
d39d35cc83
better curling fix, removed resamping, fixed the feature disable from previous commit
2022-08-11 15:30:51 +02:00
PavelMikus
8812036c25
slowly decreasing angle seam placement feature disabled
2022-08-11 15:30:51 +02:00
PavelMikus
0479387b20
reduce wavy seams for all layer heights, improve painting
2022-08-11 15:30:51 +02:00
PavelMikus
06084b0bc5
lower segment count on smooth parts
2022-08-11 15:30:51 +02:00
PavelMikus
3f36187101
increase segments count for smooth long strings
2022-08-11 15:30:51 +02:00
PavelMikus
52b9325f7c
improving dynamic segmentation, simplifications in snapping angle logic
2022-08-11 15:30:51 +02:00
PavelMikus
44a388d560
prefer enforcers over blockers, lower the threshold distance,
...
dynamic modification of segments count in alignment based on smoothnes
2022-08-11 15:30:51 +02:00
PavelMikus
a41435d044
fixed overhang estimation correclty
2022-08-11 15:30:51 +02:00
PavelMikus
af95b6ecbd
fix issue with enforced patches
...
refactor end_index to mark index after the last point
hackfix issue with overhang seem placement
2022-08-11 15:30:51 +02:00
PavelMikus
cb3678e1e2
fix bug in seam string weight - use seam string length as quality score
2022-08-11 15:30:51 +02:00
YuSanka
f994e42d8e
Fix for dark_mode(): Use check_dark_mode() function only, when app_config doesn't have a "dark_color_mode" parameter.
...
Now wxWidgets improved IsDark() function with 622a2f9d60
.
So now it returns correct color for the system appearance
2022-08-10 16:48:37 +02:00
Lukáš Hejl
7dac30714b
Follow-up to 394494b3ac
: Fixed deceleration/acceleration issue also for gap-fill. Also, deceleration before bridge infill is now working.
2022-08-09 13:59:56 +02:00
enricoturri1966
e0d33ec92a
Added missing include
2022-08-09 02:30:04 +02:00
Lukáš Hejl
c9ddf7315e
Replaced parameters wall_add_middle_threshold and wall_split_middle_threshold with automatic computation based on extrusion width.
...
That allows computed better values in cases when the extrusion width of the first layer or for the infill differs from the extrusion width for perimeters.
Parameters min_feature_size and wall_transition_length now can be set in percentages, and then they will be calculated based on nozzle size. Old profiles with default values are forced to replace old default values with new default values in percentages.
2022-08-08 10:21:55 +02:00
Vojtech Bubnik
b0af552455
WIP TreeSupports: Little optimization - don't use std::function,
...
don't make unnecessary copies of Polygons
2022-08-03 09:40:30 +02:00
Vojtech Bubnik
fd0c84319e
WIP Tree Supports: Fixed one integer overflow.
2022-08-02 14:09:44 +02:00
Vojtech Bubnik
167125a813
Fixed disabling of TBB parallelization on newer TBB
2022-08-02 13:39:20 +02:00
Vojtech Bubnik
f971c392fe
WIP TreeSupports: Some fixes, some clang specific workarounds,
...
some debugging code.
2022-08-02 13:36:05 +02:00
Vojtech Bubnik
6bf335409f
FillBase: Use logging instead of printf
2022-08-02 13:23:30 +02:00
Vojtech Bubnik
fa7debf49d
Clipper: Verify range of int32 coordinates on input.
2022-08-02 13:22:33 +02:00
Lukáš Hejl
1b934518b3
Modified text drawing methods in debugging visualization (SVG) to support changing font size.
2022-08-02 13:21:39 +02:00
Lukáš Hejl
caf3e258b8
Fixed compiler warnings.
2022-08-02 13:21:39 +02:00
Lukáš Hejl
0161a59a93
Fix of #8472 : The middle perimeter was missing for some specific configurations due to numeric rounding errors.
2022-08-02 13:21:39 +02:00
Lukáš Hejl
756eaeeb6d
Updated the comment about the missing twin edge in the post-processed Voronoi diagram.
2022-08-02 13:21:39 +02:00
Lukáš Hejl
7060f3d1b3
Fixed an issue that when wall_transition_filter_deviation contained a non-percent value, then it contained the wrong value.
2022-08-02 13:21:39 +02:00
Lukáš Hejl
2317e9c2b9
Added information that the concentric infill is also affected by the selected perimeter generator.
2022-08-02 13:21:39 +02:00
Vojtech Bubnik
5868028a7e
WIP Tree supports: It compiles and it produced first trees.
2022-07-29 13:15:01 +02:00
tamasmeszaros
b45bb84fa6
Another fix to find_merge_pt
2022-07-29 13:05:39 +02:00
tamasmeszaros
a55be29568
Fix failing tests for merge point search
...
Improvements and comments to find_merge_pt
2022-07-29 13:05:39 +02:00
tamasmeszaros
f3d4a90721
Fixes to compile on MSVC
2022-07-29 13:05:39 +02:00
tamasmeszaros
bf1303b9cf
Fix double parallelization
2022-07-29 13:05:39 +02:00
tamasmeszaros
064e9935d1
Fix dangling pinheads
2022-07-29 13:05:39 +02:00
tamasmeszaros
2cb74013be
Remove junk
2022-07-29 13:05:39 +02:00
tamasmeszaros
de3cbd483d
Try to increase query size with each failed attempt
...
TODO: check performance gain
2022-07-29 13:05:39 +02:00
tamasmeszaros
e6d49b75de
Make branching tree algorithm cancellable
2022-07-29 13:05:39 +02:00
tamasmeszaros
725f5c05e3
Change build_tree return value to void as its not used anywhere
2022-07-29 13:05:39 +02:00
tamasmeszaros
36ec731adf
Replace KDTreeIndirect with boost::rtree for queries of PointCloud
...
- rtree can be populated with junction points gradually
- Use repeated queries of 5 nearest reachable points in branching tree alg
2022-07-29 13:05:39 +02:00
tamasmeszaros
d7c5243300
Further increase widening scale
2022-07-29 13:05:39 +02:00
tamasmeszaros
1a8cf3b029
Change UNQUEUED to Unqueued to keep convensions
2022-07-29 13:05:39 +02:00
tamasmeszaros
63a58ce1ad
Require higher values for widening factor to have the same effect
2022-07-29 13:05:39 +02:00
tamasmeszaros
95374f9ed4
Fix some crashes
...
Fix minor bugs
2022-07-29 13:05:39 +02:00
tamasmeszaros
688c9c644f
Prevent merging with node being lower than closest point
2022-07-29 13:05:39 +02:00
tamasmeszaros
91c0741f61
Minor performance optimization
2022-07-29 13:05:39 +02:00
tamasmeszaros
8a78428d10
Add tests to find_merge_pt and make them pass
2022-07-29 13:05:39 +02:00
tamasmeszaros
371da354a0
Adjust configuration layer to better reflect tree strategies.
2022-07-29 13:05:39 +02:00
tamasmeszaros
6523bfdf99
Enable ground facing only option for branching tree
...
Essentially discards mesh nodes
2022-07-29 13:05:39 +02:00
tamasmeszaros
5d6d1f5234
Apply branch length setting from UI for branching tree
2022-07-29 13:05:39 +02:00
tamasmeszaros
4c3ba3f6bf
Fix tree struts piercing model body
...
Free path between the anchor and the last bridge was not verified
2022-07-29 13:05:39 +02:00
tamasmeszaros
7705ecd5aa
Fix indexing of heads after duplicate removal
2022-07-29 13:05:39 +02:00
tamasmeszaros
792779f2de
Fix creation of unchecked diffbridge in branching tree
2022-07-29 13:05:39 +02:00
tamasmeszaros
0a3b17f940
Fix failing sla tree tests
...
Try to increase number of rays in Beam to prevent colisions
Put back threshold for intersections with model in sla tree tests
Increase safety distance for branching tree instead of increasing rays
2022-07-29 13:05:39 +02:00
tamasmeszaros
fd8fd77077
Improvements to widening strategy and branch length limitations
...
Also some refactoring
2022-07-29 13:05:39 +02:00
tamasmeszaros
ae23adff10
Fix crash on windows
...
Fix crash on windows - 2nd try
2022-07-29 13:05:39 +02:00
tamasmeszaros
8723e421b3
Add new branching tree algorithm
2022-07-29 13:05:39 +02:00
tamasmeszaros
b1317be78a
Selectable support tree type
2022-07-29 13:05:39 +02:00
enricoturri1966
f9c6e8eb7a
Added processing of mouse double click in ImGuiWrapper::update_mouse_data()
2022-07-29 12:06:52 +02:00
enricoturri1966
86a5280ff6
Added handling of event wxEVT_DATAVIEW_ITEM_ACTIVATED in ObjectList to fix behavior when double clicking on list items
2022-07-29 11:59:02 +02:00
YuSanka
6806ec02c7
Discarded rescale for SplashScreen.
...
There is no need to rescale the SplashScreen after a81e0d83c1
2022-07-29 11:21:54 +02:00
tamasmeszaros
562d991332
Follow up to previous commit
2022-07-29 11:21:54 +02:00
tamasmeszaros
d1c92ded7c
Fix wxWidgets 3.2 not being found on windows
2022-07-29 11:21:54 +02:00
YuSanka
f8477d1be6
Using of wxWidgets 3.1.6 WIP: Linux/OSX specific fixes
...
OSX specific: Fixed get_mouse_position_in_control().
+ Use GetItemRect() to calculation of the position and size for Extruder selector
Linux specific:
* Use just 1.0 scale for wxBitmapComboboxes under GTK3 and gtk3
* GTK2 specific: use GTK2 doesn't suppost get_scale, so scale bitmap size form em_unit()
2022-07-29 11:21:54 +02:00
YuSanka
066b567714
Using of wxWidgets 3.1.6 WIP:
...
* Create Cache of wxBitmapBundles instead of wxBitmaps
* Use wxBitmapBundles instead of wxBitmap for most of Widgets
* Use empty bitmabundles instead of wxNullBitmap for wxBitmapComboBoxes.
* Updated wxWidgets.cmake
* OSX specific: Discard BitmapComboBox overrides
+ some code cleaning
2022-07-29 11:21:54 +02:00
YuSanka
e21921f2eb
Fixes to support wxWidgets 3.1.6(7), 3.2.0
...
+Updated URL and URL HASH for wxWidgets v3.2.0-patched
2022-07-29 11:21:54 +02:00
tamasmeszaros
9a7e024f78
Update wxWidgets to 3.1.7
...
added handling for nanosvg with cmake
2022-07-29 11:21:54 +02:00
tamasmeszaros
a8b10525e4
libnest2d: remove unused code and fix some warnings
2022-07-29 11:17:25 +02:00
Lukáš Hejl
394494b3ac
Fix of #8530 : Pressure equalizer unintentionally decelerates before ironing.
...
This is the follow-up to: 39404be75a
2022-07-28 11:42:57 +02:00
Lukáš Hejl
9168b60463
Prevented the pressure equalizer from emitting G-code settings feed rate when there are no G-code lines that will be affected (empty block of G-code lines with set feed rate).
2022-07-28 11:42:53 +02:00
enricoturri1966
0388132acd
Tech ENABLE_SHOW_NON_MANIFOLD_EDGES set as default
2022-07-28 08:55:53 +02:00
enricoturri1966
0063734e78
Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE set as default
2022-07-28 08:33:46 +02:00
Merill
72aba9a5be
Little fix: back() isn't front()
2022-07-28 03:02:29 +02:00
enricoturri1966
5cf71bb094
Tech ENABLE_SHOW_TOOLPATHS_COG set as default
2022-07-27 15:52:40 +02:00
enricoturri1966
253b24e298
When pressing ESC key to clear the current selection do not repeatedly update the view if the user keeps the key pressed.
2022-07-27 15:35:35 +02:00
enricoturri1966
828dd5ddf8
Fixed toolpaths generation for gcode line G2 and G3
2022-07-27 15:16:20 +02:00
enricoturri1966
7fbaa3e8fd
GCodeViewer - Added processing of gcode files produced by BambuStudio
2022-07-27 13:10:45 +02:00
enricoturri1966
b8a1ead9f3
Fix incorrect clamping of bounding box in GLCanvas3D::_max_bounding_box()
2022-07-27 10:57:52 +02:00
Vojtech Bubnik
9e6871e5b8
WIP Tree supports: It compiles, but unfinished, missing pieces.
2022-07-27 10:41:11 +02:00
Vojtech Bubnik
665d1a94b4
WIP Tree Supports: Major changes, it does not compile yet.
2022-07-27 08:54:26 +02:00
Vojtech Bubnik
8a1e8f97a9
Minor refactoring of BoundingBox: change Eigen point accessor from
...
indices to .x(), .y(), .z()
Added Polyline vector accessors.
Polished Point hash code.
2022-07-27 08:53:48 +02:00
Vojtech Bubnik
075bf675fa
WIP Tree Supports: Refactored the classic FDM support generator
...
for modularity, so that the rasterization of support layers
is accessible from tree supports.
2022-07-27 08:50:59 +02:00
David Kocik
7831b4bd07
Notifications: hovering eject button will show tooltip even with idle mouse
2022-07-26 14:28:56 +02:00
Lukáš Hejl
77f5973c25
Fix of #8446 : Non-planar Voronoi diagram.
...
This is the follow-up to 63c66f4f18
. Detection of non-planar (degenerated) Voronoi diagrams was rewritten to check if all neighboring edges of the Voronoi vertex are CCW ordered.
2022-07-26 13:47:40 +02:00
enricoturri1966
4865ca65e8
Fixes in tech ENABLE_SMOOTH_NORMALS
2022-07-26 11:19:50 +02:00
tamasmeszaros
0681f92130
Fix segfault caused by unchecked mesh precondition
...
CGALProc::does_bound_a_volume(mesh) can throw if CGAL::is_closed(mesh) is not met
affects #8521
2022-07-25 14:07:01 +02:00
enricoturri1966
f0c1f9ebbd
Follow-up of 6664ba3b80
- Fixed part positions after reload from disk called after loading multipart 3mf project
2022-07-25 08:54:24 +02:00
Michael Kirsch
6664ba3b80
fix reload loosing positioning information
2022-07-25 08:21:50 +02:00
Michael Kirsch
a1e37803f7
fix frustum for off-bed origins
2022-07-25 08:21:22 +02:00
André Althaus
559173c2a1
Don't change to color print view when no color change gcodes are set
...
When changing custom gcodes the view type is always changed to color view
when any custom gcode is set. This fix only changes to color view
when the custom gcodes contain at least one color change.
Fixes #8413 and #5837
2022-07-25 08:21:04 +02:00
Lukáš Hejl
dd6096bf0b
Fix of #8457 and #8461 : Made pressure equalizer to modify only GCode lines that are inside the block tags _EXTRUDE_SET_SPEED and _EXTRUDE_END.
...
The previous approach could modify all GCode lines, even custom GCode or tool change GCode, which was unintentional.
2022-07-22 11:32:37 +02:00
Lukáš Hejl
decfa80bfd
Test case for issue when Arachne produce closed ExtrusionLine that have different the first and the last point.
2022-07-22 08:33:27 +02:00
Lukáš Hejl
e14da6224a
Fixed an issue when an open perimeter containing part of an overhang perimeter was split into two parts and wasn't extruded as continuous extrusion.
2022-07-22 08:33:27 +02:00
Lukáš Hejl
2a865919a0
Prevented gap fill and Arachne from creating tiny gaps in extrusions in specific cases.
2022-07-22 08:33:27 +02:00
enricoturri1966
bb36f0df0c
Tech ENABLE_OPENGL_ES - 1st installment
2022-07-21 15:43:11 +02:00
enricoturri1966
8fbc0b8633
SPE-1259 - Fix for sinking objects not placed on top of bed after rotation with Place on face Gizmo
2022-07-21 14:16:09 +02:00
enricoturri1966
5922966eb0
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_raycast_picking_rebase
2022-07-21 10:56:38 +02:00
enricoturri1966
182a4e06dc
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_opengl_es_rebase
2022-07-21 10:10:22 +02:00
enricoturri1966
ca34518bcc
Fixed conflicts after merge with master
2022-07-21 08:55:52 +02:00
Lukáš Hejl
63c66f4f18
Fix of #8474 and #8514 : Voronoi generator sometimes produced a non-planar Voronoi diagram.
...
We introduced detecting for those degeneration cases. When degenerated Voronoi diagram is detected, then the input polygons are rotated, and the Voronoi diagram is recomputed. Usually, rotation of input data solves issues like this.
2022-07-21 08:47:48 +02:00