enricoturri1966
2e0d21d2e2
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_picking_parts_fix
2023-03-30 13:08:13 +02:00
enricoturri1966
2057d0ce9a
SPE-1610 - Modified SceneRaycaster to keep the current selection when the user clicks and drag a selected volume
2023-03-30 13:05:57 +02:00
tamasmeszaros
47aacbdc5e
Merge branch 'tm_bugfix_SPE-1617'
2023-03-30 13:00:27 +02:00
Filip Sykala - NTB T15p
e0a133b442
Merge branch 'master' into fs_undoredo
2023-03-30 12:37:59 +02:00
Filip Sykala - NTB T15p
827d08d090
add more comment
2023-03-30 12:37:50 +02:00
Vojtech Bubnik
e4c479aba4
Added first layer print times to print statistics written at the end
...
of a G-code export.
; estimated first layer printing time (normal mode) = xxx
; estimated first layer printing time (silent mode) = yyy
2023-03-30 12:19:45 +02:00
Filip Sykala - NTB T15p
e966b1e0cd
Merge branch 'master' into fs_undoredo
2023-03-30 11:58:28 +02:00
Filip Sykala - NTB T15p
ba715ea005
fix you can't reselect to another text object
2023-03-30 11:58:02 +02:00
Filip Sykala - NTB T15p
471d8df398
Fix right button dragging
2023-03-30 11:49:23 +02:00
Vojtech Bubnik
2b7cf2d877
GCodeGenerator / custom G-codes: Added new read/only options providing
...
the amount of total extruded material and per extruder extruded material
up to the point the value is evaluated:
"extruded_volume", "extruded_weight",
"extruded_volume_total", "extruded_weight_total"
2023-03-30 10:36:36 +02:00
Lukáš Hejl
89b9f702d6
Fixed asserts and calculations in calculateExtrusionAreaDeviationError.
...
The previous method worked just for near collinear edges. But it was also used for sharp corners, and for those sharp corners, there was an overflow in the computation of weighted width.
Also, the computation of deviation error was wrong for those sharp corners.
2023-03-30 10:01:32 +02:00
enricoturri1966
91db979c8c
Show the reset button for skew only when the world matrix contains skew (so that the skewed object is visible in the 3D scene view)
2023-03-30 09:09:50 +02:00
enricoturri1966
6084a92d9b
Fixed conflicts after merge with master
2023-03-30 08:52:20 +02:00
Vojtech Bubnik
7a5639f322
Fixed crash if toolchange G-code modifies final position,
...
because the extruder was not set yet.
2023-03-29 17:53:23 +02:00
tamasmeszaros
cbd25227c4
More meaningful error message if slicing fails in SLA
2023-03-29 16:10:00 +02:00
Vojtech Bubnik
ab1813bdc8
PlaceholderParser: fixed access to "position" variable
...
Follow-up to 59552a8aee
2023-03-29 15:32:43 +02:00
Lukáš Hejl
9ed97abdb0
Fix of #10034 (SPE-1608): Fixed crash inside Arachne caused by degenerated Voronoi diagram.
...
Boost Voronoi diagram produced degenerated Voronoi diagram. This Voronoi diagram was detected by our method for detection of those types of degeneration. But rotation by PI / 6 wasn't able to fix it.
So now, when the Voronoi diagram is still degenerated after the first rotation, then we try another rotation by different angles to fix the degenerated Voronoi diagram.
2023-03-29 14:38:22 +02:00
YuSanka
eb2c121f94
Follow-up cc5660ad8c
- Fixed tooltip texts
2023-03-29 14:20:31 +02:00
YuSanka
eefae26961
Merge remote-tracking branch 'origin/et_show_sla_supports' into master
2023-03-29 13:17:29 +02:00
YuSanka
dcf5889cfa
Fixed a save to 3mf: Added a check if cut information have to be saved to 3mf
2023-03-29 12:53:09 +02:00
tamasmeszaros
048e05af7e
Merge branch 'tm_arrange_skirt_brim_SPE-1465'
2023-03-29 11:06:19 +02:00
Filip Sykala - NTB T15p
72f5f681e8
Merge branch 'master' into fs_undoredo
2023-03-29 10:58:18 +02:00
Filip Sykala - NTB T15p
6f9f7ad47a
change to constexpr
2023-03-29 10:57:48 +02:00
Filip Sykala - NTB T15p
073a07e9d9
Merge branch 'master' into fs_undoredo
2023-03-29 10:51:04 +02:00
Vojtech Bubnik
eec51c67d3
Refactoring of PrintObject::discover_vertical_shells() for readability
...
and efficiency.
Also added an experiment of adding one more "ensuring" layer to support
top / bottom surfaces, disabled with one_more_layer_below_top_bottom_surfaces
2023-03-29 10:49:49 +02:00
Filip Sykala - NTB T15p
cc5660ad8c
Lock for rotation.
2023-03-29 10:45:11 +02:00
Filip Sykala - NTB T15p
bf79062842
Merge branch 'master' into fs_undoredo
2023-03-29 09:32:55 +02:00
Filip Sykala - NTB T15p
85ee20dc8b
Only on mouse up is emboss closed and only when no drag(move with scene) before was made.
2023-03-29 09:27:47 +02:00
Filip Sykala - NTB T15p
adb6e00d4d
Open emboss when already opened
2023-03-29 09:14:30 +02:00
Filip Sykala - NTB T15p
856b8d1a24
Add check for unselection to close emboss gizmo before snapshot
2023-03-28 21:48:34 +02:00
Pavel Mikus
c234b98db5
Fix additional special case for ordering of extra perimeters
2023-03-28 21:00:07 +02:00
Filip Sykala - NTB T15p
cc9a3a473e
Merge branch 'master' into fs_undoredo
2023-03-28 17:19:50 +02:00
Filip Sykala - NTB T15p
392dbba96f
Fix offsets for SLA Text dragging with visible supports.
2023-03-28 17:10:56 +02:00
YuSanka
0cb1c74ec2
Disabled font experiments
2023-03-28 16:47:31 +02:00
YuSanka
91f6530acf
ObjectList: Fixed selection, when object part is moving/rotating/scaling and "Sinking" info is appearing/disappearing.
...
+ Reverted "patch" commit e65ebccb7f
2023-03-28 16:47:31 +02:00
Filip Sykala - NTB T15p
56d15253d4
Fix update of model after finish text jobs.
2023-03-28 16:07:00 +02:00
tamasmeszaros
5a586b2b4e
Fix failed export message when cgal errors are detected on target meshes
2023-03-28 15:32:23 +02:00
tamasmeszaros
4e64e7e74f
Export boolean-ed models if possible to STL/obj files
2023-03-28 15:32:23 +02:00
David Kocik
d798bc62ae
Sl1host inherits from prusalink
2023-03-28 14:07:34 +02:00
YuSanka
41bf6aeab8
EmbossGizmo: Fixed a text of the tooltip for "Keep rotation" option
2023-03-28 13:54:11 +02:00
YuSanka
e65ebccb7f
OSX specific: EmbossGizmo: Fixed for SPE-1616 - Crash on MacOS when text in emboss gizmo is moved
2023-03-28 13:39:53 +02:00
tamasmeszaros
95d3a2b2ec
Fix CGAL exception preventing preview generation fallback
...
SPE-1617
2023-03-28 12:58:32 +02:00
Vojtech Bubnik
59552a8aee
PlaceholderParser & G-code export: Exchange of position & extrusion status between custom G-codes and slicer, extension of script syntax.
...
Newly each custom G-code block may exchange the following values with slicer:
Position and Z-hop:
position (read/write)- 3 element vector (X, Y, Z) of current G-code position. Z element contains the current Z hop.
zhop (read only)- initial zhop value
Extruders: vector variables, one element per extruder:
e_position (read/write) - absolute E position, only available with absolute extruder addressing
e_retracted (read/write) - current retraction state
e_restart_extra (read/write) - current planned extra deretraction when starting printing
For readibility, script's if / elsif / else / endif syntax was modified:
{if cond then
block
elsif cond then
block
else
block
endif}
Semicolon is not required after else or endif.
2023-03-28 12:47:32 +02:00
tamasmeszaros
f1dd85309b
Add back sla svg export alias
2023-03-28 12:11:19 +02:00
tamasmeszaros
4b6fe61083
Prevent crash if archive format is invalid
...
Throw exception instead and display it's error message
2023-03-28 10:58:07 +02:00
tamasmeszaros
c6ea4d19c9
change identification of sla archives with svg images
2023-03-28 10:27:21 +02:00
YuSanka
47c318fa05
Follow-up 4764a701c1
- Fix a typo
2023-03-27 16:54:54 +02:00
YuSanka
4764a701c1
Experiments with font size
2023-03-27 16:39:28 +02:00
YuSanka
989ca9d8ee
CutGizmo: Fix for Cut by Line
2023-03-27 16:00:13 +02:00
Lukas Matena
fd457fb40b
Revert " #9483 - Added keyboard shortcut CTRL+D to toggle the visibility of the printbed reference axes"
...
This reverts commit f038eca52c
. We will only use the axes that automatically
scale, without the option to turn the rendering off.
2023-03-27 15:58:33 +02:00
Lukas Matena
451097bcac
Downscale axes when viewed from close-up
2023-03-27 15:38:14 +02:00
Vojtech Bubnik
f591c2503a
PlaceholderParser: changed the syntax of if inside a {} block to
...
{if condition then block elsif}
The "then" keyword is now mandatory.
On the other hand, "then" keyword must NOT be used using old syntax:
{if condition}...{endif}
2023-03-27 15:36:14 +02:00
PavelMikus
c6c6f361da
remove infill lines which are snapped to the perimeter from anchors - they confuse the angle selection algorithm
2023-03-27 14:12:44 +02:00
YuSanka
3ad5f52b00
Simplified "Save/Rename Preset" dialog when only one preset is saved/renamed.
2023-03-27 13:34:40 +02:00
PavelMikus
0eb2a2cf04
Disable "infill only where needed" option
...
Note: only commented out for now.
2023-03-27 13:27:57 +02:00
Lukas Matena
c654a6714a
Fixed validation of cfg when a vector contains a nullable option which is nil for some elements but not for others #10163 , SPE-1613
2023-03-27 12:31:45 +02:00
PavelMikus
8e0b45fc83
Fix compilation - add missing includes
2023-03-27 10:44:54 +02:00
Vojtech Bubnik
a53070f5e6
PlaceholderParser: Simpler if / elsif / else / endif syntax.
...
{if cond1}{expr1}{elsif cond2}{expr2}{else}{expr3}{endif}
could be written as
{if cond1;expr1;elsif cond2;expr2;else;expr3;endif}
the first semicolon after else is not manadtory, thus the following is valid
{if cond1;expr1;elsif cond2;expr2;else expr3;endif}
each expression could be also empty or contain multiple expressions:
{if cond1;elsif cond2;else endif}
2023-03-24 16:35:53 +01:00
Filip Sykala - NTB T15p
e14c7f275b
Merge branch 'master' into fs_undoredo
2023-03-24 15:06:57 +01:00
Vojtech Bubnik
59d3683a79
PlaceholderParser: Refactored, removed all the unncesseary <Iterator>
...
template parameters.
2023-03-24 14:26:25 +01:00
Vojtech Bubnik
5b115b7972
PlaceholderParser: Implemented skipping of inactive if / else / endif
...
and ternary operator branches, thus missing variables or addressing
outside of the variable range in an inactive branch will not trigger
an error.
2023-03-24 13:55:58 +01:00
enricoturri1966
8b1d0159f7
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports
2023-03-24 12:57:17 +01:00
enricoturri1966
7f1df7b110
Fixed Fit to print volume command when applied to an object sliced using SLA printer
2023-03-24 12:57:07 +01:00
YuSanka
a391d4c445
Added missed includes of "format.hpp"
2023-03-24 10:07:41 +01:00
Lukas Matena
c9b15736da
Fixed compilation errors and warnings
2023-03-24 09:56:40 +01:00
Lukas Matena
0a52ef8da7
Fix format of M204 emitted from machine limits for various fws
2023-03-24 09:29:53 +01:00
Lukas Matena
847a34c644
Do not clamp travel acceleration when current firmware flavor does not allow separate setting of print and travel acceleration
2023-03-24 09:29:53 +01:00
YuSanka
51129fd4f3
Follow-up 87d77f338d
- Added control of a value of changed parameter "How to apply limits", when Klipper is selected
2023-03-24 09:29:53 +01:00
YuSanka
dcfbff5ec8
Check value of the parameter "How to apply limits", when Klipper is selected
...
+ Suppress silent mode for G-code flavor that is different from MarlinFirmware or MarlinLegacy
2023-03-24 09:29:53 +01:00
Lukas Matena
4b27210b6e
Bypass a crash when validating custom gcodes
2023-03-24 09:29:53 +01:00
Lukas Matena
09122fb0d0
Added a new config option to disable automatic temperature commands around start gcode (autoemit_temperature_commands)
2023-03-24 09:29:53 +01:00
Lukas Matena
da714c7210
Removed M107 inserted automatically at the start of the G-Code
2023-03-24 09:29:53 +01:00
Lukas Matena
06bccab711
Added Mainsail print host
2023-03-24 09:29:53 +01:00
Lukas Matena
b9eb13dff9
Klipper: specific behaviour (GCodeProcessor, WipeTower). GCodeWriter should behave as Marlin(legacy).
2023-03-24 09:29:53 +01:00
Lukas Matena
42f1217f6e
Klipper: Adding the new firmware flavor:
...
- added the new option
- allowed machine limits page
- added a check for Klipper + 'emit limits to gcode' (Print::validate so far)
2023-03-24 09:29:53 +01:00
Lukas Matena
3ff600bed0
Separated travel and print acceleration control
2023-03-24 09:29:53 +01:00
Lukas Matena
cf226f8eab
Added 'travel_acceleration' configuration option (not used so far)
2023-03-24 09:29:52 +01:00
YuSanka
5d89e742b4
Added missed includes of "format.hpp"
2023-03-24 09:27:12 +01:00
enricoturri1966
98346824e8
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports
2023-03-24 08:49:35 +01:00
enricoturri1966
6ba067ad36
Fixed crash when trying to add text on an object sliced using SLA printer by right clicking on supports or pad
2023-03-24 08:40:32 +01:00
enricoturri1966
582f51cdfd
Fixed crash when opening Emboss Gizmo pressing 'T' key after slicing an object using SLA printer
2023-03-24 08:36:43 +01:00
Lukas Matena
f57de43680
Fixed several more warnings
2023-03-23 22:59:01 +01:00
YuSanka
18e56c3d53
Localization: Fixes for some phrases
...
+ Added/Fixed comments where it's needed
2023-03-23 22:55:38 +01:00
YuSanka
f9de995f9e
Remove '_utf8' makro.
...
(Initially, it was used because of using of boost::format for localized lines. But now It's better to use format and formal_wxstr functions)
+ Fixed missed marks for localization
+ Added missed filed to localization to the list.txt
2023-03-23 22:55:38 +01:00
Lukas Matena
73857703b8
Added a check that libslic3r/I18N.hpp is not included on the frontend by mistake,
...
also added a check that L macro is not defined when including libslic3r/I18N.hpp
2023-03-23 22:55:38 +01:00
YuSanka
19f2a1d9e9
Unified usage of localization macros in slic3r/libslic3r
2023-03-23 22:55:38 +01:00
Filip Sykala - NTB T15p
51db683c9d
Prevent creation volume on undo redo action.
2023-03-23 18:05:26 +01:00
Vojtech Bubnik
9cb50e6586
PlaceholderParser: added size() and empty() functions over vector variables.
2023-03-23 17:51:37 +01:00
Vojtech Bubnik
929a0eba2c
PlaceholderParser: replaced the new "array" operator with "repeat",
...
simplified the parser a bit more.
2023-03-23 17:08:56 +01:00
Filip Sykala - NTB T15p
369a881872
Merge branch 'master' into fs_undoredo
2023-03-23 16:29:33 +01:00
Filip Sykala - NTB T15p
4c0e7d9683
Set volume only by function data_changed.
2023-03-23 16:29:23 +01:00
Vojtech Bubnik
3045884640
PlaceholderParser: Reduced code duplicity.
2023-03-23 15:00:45 +01:00
Lukas Matena
6170783f7c
Wipe tower: Increased maximum of wipe_tower_extra_spacing to 300 %
2023-03-23 12:46:38 +01:00
Lukas Matena
64cf357907
Wipe tower: fix the cone in combination with 'no_sparse_layers'
2023-03-23 12:44:42 +01:00
Lukas Matena
b20325671a
Wipe tower: added the stabilization cone into configuration
2023-03-23 12:44:42 +01:00
Lukas Matena
26ba74fad0
Wipe tower: stabilization cone bottom infill
2023-03-23 12:44:42 +01:00
Lukas Matena
571b133791
Wipe tower: stabilization cone
2023-03-23 12:44:42 +01:00
Lukas Matena
cd70954758
Wipe tower: added an option to change spacing of the lines
2023-03-23 12:44:42 +01:00
Lukas Matena
7df4cfb453
Fixed a crash when selection wipe tower and using add instance function:
...
this was between 2.6.0-alpha3 and 2.6.0-alpha4 in 4d5b85e
.
2023-03-23 12:27:07 +01:00
enricoturri1966
5d40088c0e
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports
2023-03-23 11:43:57 +01:00
enricoturri1966
84284b4418
Fixed crash when scaling object to fit print volume with SLA printers
2023-03-23 11:42:46 +01:00
tamasmeszaros
92e0c13513
Try to handle fff supports in arrange after slicing
...
Not really precise yet
2023-03-23 10:24:56 +01:00
tamasmeszaros
333d0727ef
Handling brim offset in SLA without the need to slice the object
2023-03-23 10:24:56 +01:00
tamasmeszaros
3c5ecd4a8f
FFF arrange minding skirt and brim distances
...
many thanks to @individ-divided and @jschuh
2023-03-23 10:24:56 +01:00
enricoturri1966
e585fd2221
Fixed duplication of auxiliary volumes when GLCanvas3D::reload_scene() is called for SLA printers
2023-03-23 10:16:13 +01:00
tamasmeszaros
6b1c9119be
Add code to extract sla supports outline for arrangement
...
Add functionality to libnest to support on_packed handler for all items.
Use it to swap arrange polygon from envelope to core poly after packing was succesful.
Solving brim issue by offset adjustments of arrange polygons
Only in sla yet
2023-03-23 10:01:46 +01:00
Vojtech Bubnik
e46891fa8c
PlaceholderParser: Fixed compilation issues, added integration test
...
with FDM slicing process.
2023-03-23 09:23:20 +01:00
Filip Sykala - NTB T15p
af21038d94
Merge branch 'master' into fs_undoredo
2023-03-22 18:15:33 +01:00
Vojtech Bubnik
c28585ab7f
WIP PlaceholderParser: Support for local and global variables.
...
Implements #4048 #7196
Syntax:
(global|local) variable_name =
(scalar_expression|vector_variable|array_expr|initializer_list)
array_expr := array(repeat, value)
initializer_list := (value, value, value, ...)
The type of the newly created variable is defined by the type
of the right hand side intitializer.
Newly declared variable must not override an existing variable.
Variable may be assigned with global|local expression, but its type
must not be changed.
Newly the assignment operator also accepts the same right hand expressions
as the global|local variable definition.
2023-03-22 17:46:57 +01:00
Vojtech Bubnik
963ca415d4
PlaceholderParser: new interpolate_table() "function"
...
interpolate_table(x, (x0, y0), (x1, y1), (x2, y2), ...)
interpolates a table at position x.
2023-03-22 17:46:57 +01:00
Filip Sykala - NTB T15p
c5b43107ba
Merge branch 'fs_emboss_Fix_fontpath'
2023-03-22 13:46:26 +01:00
Filip Sykala - NTB T15p
0a3db4525d
Fix suggested by Stefan Csomor<csomor@advancedconcepts.ch> for releasing MacOs references.
...
link: https://groups.google.com/g/wx-users/c/f2nVyT59H6M/m/_BocNmwCAgAJ
2023-03-22 13:46:10 +01:00
Pavel Mikus
fbcc1ab276
Fix SPE-1595 - crash when no bridgin surfaces present and adaptive fill selected
2023-03-22 13:23:07 +01:00
YuSanka
760f74ce6a
CutGizmo: Respect to the SLA shift
2023-03-22 12:36:51 +01:00
enricoturri1966
ddf636fe38
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports
2023-03-22 11:00:32 +01:00
enricoturri1966
e1c289f51a
Fixed GLCanvas3D::reload_scene() method to avoid adding volumes coming from the sla backend
2023-03-22 11:00:04 +01:00
enricoturri1966
c251122e89
Fixed SupportsClipper::render_cut() method
2023-03-22 09:41:30 +01:00
enricoturri1966
37edec974c
Gizmo Hollow - Show clipped supports only when the supports are visible
2023-03-21 15:33:27 +01:00
enricoturri1966
9d156463b1
Fixed crash when rotating a part after slicing with sla printer
2023-03-21 14:43:14 +01:00
Filip Sykala - NTB T15p
59f14be1a8
Merge branch 'master' into fs_emboss
2023-03-21 12:11:31 +01:00
Filip Sykala - NTB T15p
ae016aceb9
Fix for selection of unknodn font
2023-03-21 12:11:09 +01:00
Pavel Mikus
ff5767b6f5
enable AABB tree over 3D lines
2023-03-20 20:01:37 +01:00
Filip Sykala - NTB T15p
a60bf51ce4
Merge branch 'master' into fs_emboss
2023-03-20 17:42:05 +01:00
Filip Sykala - NTB T15p
9c70ed01e5
Fix add emboss volume on reflected
2023-03-20 17:41:51 +01:00
Filip Sykala - NTB T15p
d653cc6ab5
Fix crash made on MMU printers
2023-03-20 16:10:13 +01:00
Vojtech Bubnik
7afabcde95
PlaceholderParser: Implemented one_of() matching function:
...
1st parameter is the text to match against,
the rest of the parameters are pattern to be matched:
either strings, then the match is exact,
or regex enclosed in //
or regex string starting with ~
For example
one_of("a", "a", "b")
finds a in "a", "b"
one_of("abc", /.*a.*/)
matches "abc" using regular expression /.*a.*/
2023-03-20 15:55:18 +01:00
Filip Sykala - NTB T15p
d24472675c
Keep color of object during drag over surface.
2023-03-20 15:33:00 +01:00
Filip Sykala - NTB T15p
201e9d493f
Remove side effects from setter for enable picking.
2023-03-20 15:32:21 +01:00
enricoturri1966
997e731c41
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_show_sla_supports
2023-03-20 14:35:02 +01:00
enricoturri1966
1b8553c747
Reintroduced visualization of SLA supports and pad into 3D scene and gizmos Hollow and SLA support as it was in 2.5.0
2023-03-20 14:34:04 +01:00
Filip Sykala - NTB T15p
ab30d37c3c
Merge branch 'master' into fs_emboss
2023-03-20 13:45:55 +01:00
Filip Sykala - NTB T15p
5ab9532e39
Fix bad actualization without mesh source sorting
2023-03-20 13:45:41 +01:00
Vojtech Bubnik
d152b67ce5
PlaceholderParser: Simplified the parser after introducing
...
the writable variables.
2023-03-20 10:25:52 +01:00
Vojtech Bubnik
b9d8fe7118
WIP: PlaceholderParser support for writable output variables.
2023-03-20 07:48:38 +01:00
YuSanka
39bca4420c
Fix for #10072 - Split to objects is acting funky
2023-03-17 17:14:32 +01:00
PavelMikus
79adb72a25
Fix int overflow, reduces amount of bridging substantially, improve code description,
...
extend bridge anchors when anchoring to solid surfaces on lower layers
2023-03-17 17:15:07 +01:00
PavelMikus
b61a6f293d
fix problem with missing lslice Links - detection could occasionally fail, issue 9744
2023-03-17 12:58:29 +01:00
David Kocik
d5f229a249
Refactoring of miniz extract calls. Use file_index instead of filename as identifier.
2023-03-17 11:08:49 +01:00
Filip Sykala - NTB T15p
19d02e6d74
Fix:
...
../src/slic3r/GUI/IconManager.cpp:174:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
../src/slic3r/GUI/SurfaceDrag.cpp:104:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Slic3r::GLVolume*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
../src/slic3r/GUI/SurfaceDrag.cpp:57:30: warning: 'std::optional<double> Slic3r::GUI::calc_scale(const Matrix3d&, const Matrix3d&, const Vec3d&)' defined but not used [-Wunused-function]
../src/slic3r/Utils/RaycastManager.cpp:14:56: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
../src/slic3r/Utils/RaycastManager.cpp:316:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Slic3r::GLVolume*>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
2023-03-17 09:41:48 +01:00
Filip Sykala - NTB T15p
bc825ec7d7
Merge branch 'master' into fs_emboss
2023-03-17 08:30:09 +01:00
PavelMikus
8ed8adfd3d
Fix anchoring over sparse infill bug causing overextrusion when stacking thick bridges onto each other
2023-03-16 14:56:07 +01:00
David Kocik
b8a479ea9a
Get file size from Archive dialog, so correct file is opened.
2023-03-16 13:05:15 +01:00
David Kocik
c06816212d
Duplicities in zip file. Show warning. Small refactoring.
2023-03-16 12:59:39 +01:00
David Kocik
7a14406902
Missing overrides in PrusaConnect class.
2023-03-16 12:02:27 +01:00
PavelMikus
96cdcf72d3
Fix disable fan for first x layers not working correctly.
...
Co-authored-by: Justin Schuh (@justinschuh)
2023-03-16 09:43:19 +01:00
Vojtech Bubnik
66abc34e88
Fixed wrong direction of bridges after "ensure vertical wall thickness"
...
rework. Fixes SPE-1598
2023-03-15 18:51:04 +01:00
PavelMikus
5277ed502d
improve anchoring on lower layer solids, cut the expanded bridge strictly, which hopefully fixes tests
2023-03-15 16:13:06 +01:00
PavelMikus
46a558129d
improve translation descriptions in support alerts
2023-03-15 14:12:54 +01:00
PavelMikus
f65c0b2600
Rewrite missing supports alert message, now it should be translation-friendly
2023-03-15 13:16:42 +01:00
Filip Sykala - NTB T15p
ca5b310e43
Fix: moving with text object(not volume) over build plate by canvas dragging
2023-03-15 11:30:41 +01:00
Filip Sykala - NTB T15p
f331bb5edf
Merge branch 'master' into fs_emboss
2023-03-15 10:15:46 +01:00
Vojtech Bubnik
c585aaa1cb
TriangleMeshSlicer.cpp: Fixed compilation of debug output
2023-03-14 19:33:24 +01:00
Vojtech Bubnik
f2f9b89096
Fix of #9963 Bridge angle not accept degree but rad
...
Fixes SPE-1583
2023-03-14 19:32:27 +01:00
PavelMikus
eb73bf7f24
Bridging over sparse infill - improve coliding regions merging, smoothen results, dissolve tiny ensuring regions around bridging
2023-03-14 16:40:55 +01:00
Lukas Matena
e29970a2ed
Added 'is_serializing' flag to GLGizmoBase::data_changed function
2023-03-14 13:57:31 +01:00
PavelMikus
c6fd339a39
remove cracks in boundary surface via closing - without it, the bridges were sometimes cut in half
2023-03-14 12:08:28 +01:00
PavelMikus
257837c071
Fix one and zero perimeter case - no bridging was generated
2023-03-14 12:08:28 +01:00
PavelMikus
4af37ca4a5
fix bug - layer id is not same as layer idx, because of raft (super confusing)
2023-03-14 12:08:28 +01:00
PavelMikus
822ea84e0d
Fix lambda having modify access - not needed
2023-03-14 12:08:28 +01:00
PavelMikus
12f1cd0bc0
added semi support for lightning infill
2023-03-14 12:08:28 +01:00
PavelMikus
487d9209ed
Fix and improve region filtering
2023-03-14 12:08:28 +01:00
PavelMikus
76209d89ff
Fixed lighting infill crash.
...
TODO filtering of small ensuring regions
2023-03-14 12:08:28 +01:00
PavelMikus
d223eef38d
Do not generate other than sparse infill lines
...
Split jobs if candidates bounding boxes do not overlap - otherwise it can become completely linearized and very slow
Improve formatting
2023-03-14 12:08:28 +01:00
PavelMikus
ad693532d3
Fixed clustering for threads issue - inverse comparison, lower job idx incorrectly initialized
2023-03-14 12:08:28 +01:00
PavelMikus
3782d24ccf
Fixed bugs with bridging area determination
2023-03-14 12:08:28 +01:00
PavelMikus
f8e7d1b01c
core implemented, now fixing the issues
2023-03-14 12:08:28 +01:00
PavelMikus
f4e44f9750
rework of bridiging over sparse infill in progress
2023-03-14 12:08:28 +01:00
Lukas Matena
993d6bd561
Fixed a hang in tree supports, caused by integer overflow on coord_t. Fixes #10048
2023-03-14 11:11:51 +01:00
YuSanka
b0a8757b12
CutGizmo: Use isApprox() instead of "==" operator for Vec3d values
2023-03-13 16:32:48 +01:00
enricoturri1966
eb31dcec44
Fixed crash when deleting 2nd instance of object
2023-03-13 11:13:33 +01:00
tamasmeszaros
62b84b7112
Fix arrange contour cache not addressing last segment
...
- Only when shape closure type was OPEN, which it is for ExPolygon
- Also remove duplicated first corner
2023-03-13 10:34:00 +01:00
David Kocik
2f9c983114
Fix of wrong use of GUI::format
2023-03-10 15:50:55 +01:00
David Kocik
c2fe61261d
Export STL - check path extension in lower case. #10000
2023-03-10 15:21:20 +01:00
YuSanka
035997a049
Deleted workaround related to UA localization
2023-03-10 13:47:50 +01:00
YuSanka
fd89088828
Fix for SPE-1494 - When inches is enabled, then entered negative or zero value was transformed to the wrong one
2023-03-10 13:09:07 +01:00
Lukas Matena
f6445eefe3
Fix a memory leak in placeholder parser
2023-03-10 11:49:53 +01:00
enricoturri1966
750e374357
Follow-up of f708d9fcb9
- Fixed rendering of printbed reference axes when any gizmo is open
2023-03-10 09:51:51 +01:00
enricoturri1966
4f7686439c
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations
2023-03-10 09:49:23 +01:00
Vojtech Bubnik
6f5b71b7df
Fix of ca0b218a56
2023-03-10 09:48:02 +01:00
Vojtech Bubnik
9ce81d6d12
Organic Supports improvements:
...
Added support_tree_branch_distance parameter to UI
Fixed error in calculation of placeable areas, which made some trees to cut through an object.
Locked the tree tips against smoothing of their centerline path.
Reduced density of tips with zero interface layers (see continuous_tips).
Reduced default support_tree_top_rate to 15%
Refactored placement of interfaces for readability.
2023-03-10 09:42:22 +01:00
Lukas Matena
ca0b218a56
Fix of a crash in bridging over sparse #9996
2023-03-10 08:38:27 +01:00
Vojtech Bubnik
a3380e68ea
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate
2023-03-09 14:46:25 +01:00
Vojtech Bubnik
9ecf1e4134
Fix of ThickPolyline::clip_end()
2023-03-09 14:46:15 +01:00
YuSanka
57fda9a6ac
Fix for #9991 - Cut tool does not work properly as in alpha 4
2023-03-09 13:08:38 +01:00
enricoturri1966
9ab132ca44
Fixed warnings
2023-03-09 09:49:55 +01:00
enricoturri1966
f1b4181cd1
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations
2023-03-09 09:06:18 +01:00
enricoturri1966
e3aff0383c
Ensure that the Coordinate System selected in the sidebar panel is always one supported by the current selection
2023-03-09 09:06:06 +01:00
Filip Sykala - NTB T15p
9ac4b082d9
Merge branch 'master' into fs_emboss
2023-03-08 15:11:35 +01:00
Filip Sykala - NTB T15p
49bd17a0af
Less agressive warning about bad visualization inside of text input
2023-03-08 15:10:36 +01:00
David Kocik
872d76e463
missing break
2023-03-08 14:59:31 +01:00
Pavel Mikuš
5885a47698
Improve pathing on extra perimeters - should not print in air if possible ( #29 )
...
Fix issue 9545 - make extra perimeters print first anchored then rest by
sorting paths - breadth first search from anchored first
2023-03-08 14:29:55 +01:00
enricoturri1966
9141835b76
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations
2023-03-08 11:52:29 +01:00
enricoturri1966
373ae1e19d
Tech ENABLE_WORLD_COORDINATE set as default
2023-03-08 11:52:17 +01:00
YuSanka
7e51f85394
MeasurementTool: Deleted unnecessary localization markers
...
Related to #9768,point 4
2023-03-08 11:17:07 +01:00
YuSanka
2a6f53ce35
Code cleaning
2023-03-08 09:52:03 +01:00
enricoturri1966
54ea675473
Generation of procedural model for wipe tower reverted to old implementation, as the raycasted picking does not require it to be watertight anymore
2023-03-08 09:21:59 +01:00
Filip Sykala - NTB T15p
6adc2cf733
Merge branch 'master' into fs_emboss
2023-03-08 07:37:13 +01:00
YuSanka
6734ad6c3c
Code cleaning
2023-03-07 17:06:42 +01:00
YuSanka
e403c0e69c
Fix for #9770 - Filament type not user editable, dropdown only
...
Follow-up 917c9ad4
2023-03-07 15:28:17 +01:00
Lukas Matena
1fbbaaae9b
Fixed several warnings
2023-03-07 14:47:25 +01:00
enricoturri1966
b32e936660
Rework of constrained scaling
2023-03-07 14:32:18 +01:00
Lukas Matena
8bd240c93f
Fixed escaped percent sign in PrintConfig.cpp
2023-03-07 10:41:45 +01:00
enricoturri1966
b4b59cb7d2
#9945 - Show length of edges in measurement tool
2023-03-07 10:21:58 +01:00
enricoturri1966
f708d9fcb9
SPE-1571 - Fixed rendering of printbed reference axes
2023-03-07 09:34:20 +01:00
YuSanka
efb6b747cb
Cut Tool: Cut off the top of frustum connectors
2023-03-07 09:06:36 +01:00
enricoturri1966
f038eca52c
#9483 - Added keyboard shortcut CTRL+D to toggle the visibility of the printbed reference axes
2023-03-07 08:59:33 +01:00
enricoturri1966
d99364d74d
SPE-1560 - Scale to fit command modified to avoid having the top layer exceeding the print volume max height
2023-03-07 08:24:07 +01:00
tamasmeszaros
0f5ecb6b74
Fix XL arrangement disrespecting minimum bed distance
2023-03-06 13:45:58 +01:00
Vojtech Bubnik
384eebadcc
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate
2023-03-06 10:47:47 +01:00
Vojtech Bubnik
de3de3fd11
Fix of discrepancy between G-code placeholder parser current layer index
...
and total number of layers.
Fixed for non-sequential print only for now.
Partial fix of #9866
2023-03-06 10:47:38 +01:00
enricoturri1966
4a3ee35c1b
Force auto arrangement when loading an object on an empty printbed (XL printers only)
2023-03-06 10:24:23 +01:00
PavelMikus
bc58a570eb
Fix: bridge over sparse infill was not generated for more than one LayerSlice
2023-03-03 17:09:47 +01:00
YuSanka
c8daef865b
CutGizmo: Fixed label width
2023-03-03 16:56:28 +01:00
David Kocik
94845f4433
typo fix
2023-03-03 16:49:24 +01:00
tamasmeszaros
4663ec0e58
Merge branch 'tm_arrange_alignment_SPE-1416'
2023-03-03 16:07:28 +01:00
tamasmeszaros
1666615422
Fix arragne dialog reset button setting "center" alignment
2023-03-03 15:59:06 +01:00
tamasmeszaros
406da2abd9
Fix crash
2023-03-03 14:36:05 +01:00
tamasmeszaros
a799463d31
fix build
2023-03-03 14:35:55 +01:00
YuSanka
019cbf881a
Cut to parts: Fixed a crash, when an object contains modifier
2023-03-03 14:22:55 +01:00
PavelMikus
8f10943b69
fix assert fail in cooling buffer, clamp fan speed low limit must be same or smaller than high limit
2023-03-03 14:03:23 +01:00
Vojtech Bubnik
65ab83d6a9
Fix of Build failed with CGAL 5.5: UserVisitor’ {aka ‘struct priv::Visitor’}
...
has no member named ‘start_filtering_intersections’
Fixes #9582
Co-authored-by: @hexane360
2023-03-03 13:07:41 +01:00
PavelMikus
39df7582c0
Fix freeze/crash happening when slicing with 0 perimeters
2023-03-03 11:45:06 +01:00
Vojtech Bubnik
9da3bfb009
Add missing Boost Filesystem fstream header, pull request #9821
...
Thanks @cjmayo
2023-03-03 11:30:10 +01:00
PavelMikus
d5a1b59869
Remove "ensure_vertical_shell_thickenss" option, it is now permanently ON
2023-03-03 10:52:29 +01:00
Filip Sykala - NTB T15p
706d70f370
Merge branch 'master' into fs_emboss
2023-03-03 10:16:26 +01:00
Vojtech Bubnik
ce3ae01c52
Fixing a typo in code comment, merging #9878 manually, thanks @coco33920
2023-03-03 10:13:04 +01:00
PavelMikus
0c524208b6
Fix debug build, remove fragments after removal of BoundedRectilinear fill type
2023-03-03 09:58:47 +01:00
enricoturri1966
4bb32f3b67
SPE-1563: Force all toolpaths on first layer to have height equal to first layer height
2023-03-03 09:41:21 +01:00
Filip Sykala - NTB T15p
04b8e482ee
Merge branch 'master' into fs_emboss
2023-03-03 09:36:13 +01:00
enricoturri1966
424ace119b
#9822 : Fix of reload from disk unavailable for 3mf files + Tech ENABLE_RELOAD_FROM_DISK_REWORK set as default
2023-03-03 08:56:32 +01:00
Filip Sykala - NTB T15p
1dcc96a607
Merge branch 'master' into fs_emboss
2023-03-03 08:20:26 +01:00
Filip Sykala - NTB T15p
8e8c5652b9
Fix for:
...
../src/slic3r/GUI/IconManager.cpp:38:57: error: 'fabs' is not a member of 'std'; did you mean 'abs'?
38 | unsigned int width = static_cast<unsigned int>(std::fabs(std::round(size.x)));
| ^~~~
| abs
../src/slic3r/GUI/IconManager.cpp:38:67: error: 'round' is not a member of 'std'; did you mean 'std::chrono::round'?
38 | unsigned int width = static_cast<unsigned int>(std::fabs(std::round(size.x)));
| ^~~~~
2023-03-03 08:20:13 +01:00
Pavel Mikuš
1a0d8f5130
Merge pull request #27 from Prusa-Development/pm_anchor_bridges_on_sparse_infill
...
Ensuring + anchoring bridges over sparse infill
2023-03-02 17:02:16 +01:00
PavelMikus
475c77ca96
fix some double to float truncation warnings
2023-03-02 17:06:06 +01:00
PavelMikus
92f8ed6d6b
Merge remote-tracking branch 'origin/master' into pm_anchor_bridges_on_sparse_infill
2023-03-02 16:57:10 +01:00
Vojtech Bubnik
7a493cc045
SPE-1461: Added epsilon to max print height test.
2023-03-02 15:54:37 +01:00
Vojtech Bubnik
c7dbb0e18c
Organic supports had the Z gap rounded up to an integer number of layers,
...
while newly the Z gap is rounded at a center.
Fixes SPE-1550
2023-03-02 15:38:25 +01:00
Vojtech Bubnik
22b26883ff
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate
2023-03-02 15:17:34 +01:00
PavelMikus
11624e7888
Make dynamic fan speeds by default zero. This makes it clear that it is up to the user to tune this setting.
...
Also, if enabled and left with defaults, this will just spin the fan at min fan speed value, so only loss is
slower fan on briding perimeters.
2023-03-02 15:30:41 +01:00
PavelMikus
c0165ec209
Fix dynamic fan speed colliding with detect bridging perimeters
...
Allow max fan speed override cooling max fan speed
2023-03-02 15:30:41 +01:00
Pavel Mikus
edec566d2c
fix and integrate with CoolingBuffer
2023-03-02 15:30:41 +01:00
Pavel Mikus
7edd813fc8
fix bugs in ExtrusionEstimator
2023-03-02 15:30:41 +01:00
Pavel Mikus
10d04529d6
Implemented dynamic fan control. Cooling buffer does not yet relfect that
2023-03-02 15:30:41 +01:00
Pavel Mikus
278f633a3d
improve description
2023-03-02 15:30:41 +01:00
Pavel Mikus
59faa86915
fix prointConfig for dynamic speeds - for single line options, label must be used (instead of fulllabel)
2023-03-02 15:30:41 +01:00
Pavel Mikus
a496444b7e
make fixed overlap levels for dynamic overhang speed
2023-03-02 15:30:41 +01:00
Vojtech Bubnik
00cc73f65f
Raft improvements:
...
1) Object 1st layer fill direction is locked if printing on raft.
2) Object fill direction is referenced to object layer ignoring
the raft layers, thus the fill direction depends no more
on number of raft layers.
2) Raft contact perpendicular to object 1st layer fill direction.
3) Raft interface / contact layers are produced with alternating
directions.
2023-03-02 15:17:05 +01:00
PavelMikus
40e8003eda
Merge remote-tracking branch 'origin/master' into pm_anchor_bridges_on_sparse_infill
2023-03-02 15:13:53 +01:00
PavelMikus
b9872b8a3f
Fix problem with filtering of small ensuring regions - the filter needs to consider ExPolygons, not just polygons
2023-03-02 15:01:40 +01:00
tamasmeszaros
2012c945d5
Arrange onto segmented beds for XL
2023-03-02 14:28:39 +01:00