Commit Graph

22379 Commits

Author SHA1 Message Date
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
rtyr
0ed47616f9
Added MK4 profiles. 2023-03-29 11:22: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
6f9f7ad47a change to constexpr 2023-03-29 10:57:48 +02:00
rtyr
f71ea4b615
MK4 resources 2023-03-29 10:54:03 +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
Pavel Mikus
c234b98db5 Fix additional special case for ordering of extra perimeters 2023-03-28 21:00:07 +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
tamasmeszaros
f0949f30eb Merge branch 'tm_export_stl_booleans_SPE-1540' 2023-03-28 16:34:08 +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
e103f287ca Merge branch 'dk_sla_put' 2023-03-28 14:18:36 +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
4475753247 Merge branch 'lm_axes_scale' 2023-03-27 15:59:33 +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
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
5d4f11ac24 Merge branch 'lm_acceleration' 2023-03-24 09:30:08 +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