enricoturri1966
a4605a5e9e
SPE-1606 - Do no show the switch view type icon in the 3D scene if the object does not contain negative volumes
2023-05-10 10:20:31 +02:00
enricoturri1966
35f4993ec2
SPE-1606 - Fixed geometry not rendered in the 3D scene after switching from SLA to FFF printer
2023-05-10 10:13:20 +02:00
Vojtech Bubnik
3848a8eda2
Fixed crash after 'vb_organic_interfaces' with zero top interfaces.
2023-05-10 09:02:40 +02:00
enricoturri1966
b13a51f400
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view
2023-05-10 08:15:35 +02:00
Vojtech Bubnik
c9f449bcb2
PlaceholderParser: fixed reporting of x value outside
...
of the interpolated table.
2023-05-09 11:14:36 +02:00
Vojtech Bubnik
84db6356b3
Organic Supports: support_tree_branch_diameter_double_wall
...
to control when the 2nd wall kicks in.
2023-05-09 10:46:56 +02:00
Vojtech Bubnik
daa9bf7cd9
Merge branch 'vb_organic_interfaces'
2023-05-09 09:47:11 +02:00
Vojtech Bubnik
9d495f2413
Organic supports: Refactoring for adding interfaces to tree tips.
2023-05-09 09:46:27 +02:00
Vojtech Bubnik
c838fc92fc
Follow-up to 1e7a3216ca
...
WIP Organic supports intefaces: bugfixes
2023-05-08 10:25:28 +02:00
Vojtech Bubnik
1e7a3216ca
WIP Organic supports intefaces:
...
Further refactor of FDM support code - extracted interface routine to common.
Implemented support for soluble interfaces & half soluble / half non-soluble
interfaces.
2023-05-08 09:19:31 +02:00
PavelMikus
ce4cf95067
Fix missing includes
2023-05-05 16:32:03 +02:00
Vojtech Bubnik
89f0895dd6
WIP: Organic supports - bottom interfaces
2023-05-05 14:23:09 +02:00
Vojtech Bubnik
ad203baf77
Moved FFF support code to libslic3r/Support directory
2023-05-05 14:05:22 +02:00
PavelMikus
2873042148
SPE-1684: Fix issue where the automatic painting did not trigger paint-on-supports notification in the right panel
2023-05-05 13:53:52 +02:00
Vojtech Bubnik
a236351fd3
Supports refactoring: Split FFF supports into multiple files,
...
enclosed into namespaces.
2023-05-05 12:59:01 +02:00
Vojtech Bubnik
cc938e7549
WIP SupportGeneratorLayerStorage refactoring.
2023-05-05 10:21:24 +02:00
PavelMikus
1bbe0c5be3
fix missing include for linux builds
2023-05-04 17:39:56 +02:00
Vojtech Bubnik
00ea0847b8
Fix of merging bridging regions:
...
Fixed building a DAG of overlapping regions in expand_bridges_detect_orientations()
2023-05-04 17:25:26 +02:00
Vojtech Bubnik
ccc193959b
Merge branch 'vb_optimizations'
2023-05-04 15:29:17 +02:00
Vojtech Bubnik
c3178321b4
Optimization of triangle mesh slicing: scalable_allocator and hashing
...
of shared mutexes.
2023-05-04 15:27:32 +02:00
Vojtech Bubnik
fd437dcaf5
Little refactoring of douglas_peucker()
2023-05-04 15:27:32 +02:00
Vojtech Bubnik
6d0ceeb886
ClipperLib: Further optimization of memory allocation using scalable_allocator.
...
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter
2023-05-04 15:27:32 +02:00
Vojtech Bubnik
8593ad1f80
Organic supports improvements: Removing collisions with trees,
...
limiting how far tree bottoms at slanted surfaces could be extended
down below their last full circle position.
Placable areas are now calculated sitting on slightly inflated
top surface to indicate support of tree bottoms at slanted surfaces.
2023-05-04 15:26:41 +02:00
PavelMikus
34015349c1
Fix a rounded extrusion model when the new width is smaller than layer height - the code used radius in place of diameter
2023-05-04 14:59:50 +02:00
Lukas Matena
a039391131
Fixed rendering of horizontal ellipsis in ImGui controls
2023-05-04 13:56:46 +02:00
YuSanka
234956dfda
Fix for SPE-1686 : Bug with instance rotation around X or Y
...
Steps to repro:
1. Add object
2. Increase instances
3. Select some instance
4. Rotate around X or Y
5. After MouseUp:
OSX -> hard crash
MSW and Linux -> object and instance are selected at a same time
2023-05-03 14:26:06 +02:00
enricoturri1966
eb0f03aa9b
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view
2023-05-03 13:45:28 +02:00
enricoturri1966
d9dde32b78
SPE-1606 - Fixed a bunch of bugs/crashes related to visualizing original or processed volumes in 3D scene after slicing using SLA printers when multiple objects are on the printbed
2023-05-03 13:45:15 +02:00
Vojtech Bubnik
2eebba82f8
Merge remote-tracking branch 'remotes/origin/master' into vb_optimizations
2023-05-03 10:25:48 +02:00
tamasmeszaros
49fbf4ccce
Avoid garbage error message when generating sla preview
2023-05-03 09:45:11 +02:00
tamasmeszaros
362267431b
Fix transformation assembly problem for arrange polyogon
2023-05-03 09:21:57 +02:00
tamasmeszaros
6831b7094a
Trying to fix transformation assembly problem for arrange polyogon
2023-05-03 09:21:57 +02:00
Vojtech Bubnik
af6c27b861
douglas_peucker(): fix after 63ca221394
2023-05-02 19:50:12 +02:00
Vojtech Bubnik
d0f38cd0b4
macOS clang is buggy, it does not implement __cpp_lib_hardware_interference_size
...
correctly.
2023-05-02 19:26:33 +02:00
Vojtech Bubnik
0c6f2261a3
Tree Supports: Extend bottoms of trees downwards to the object surface
...
if those supports are not sitting on a flat surface.
2023-05-02 18:45:07 +02:00
Vojtech Bubnik
15ccecf885
TreeSupport optimization: better parallel scaling, simpler simplification
2023-05-02 18:37:24 +02:00
Vojtech Bubnik
2600ba71ad
Fix of undefined hardware_destructive_interference_size
2023-05-02 18:36:59 +02:00
Vojtech Bubnik
63ca221394
douglas_peucker(): Optimized for 32bit Point types.
2023-05-02 18:20:38 +02:00
Vojtech Bubnik
2e150795b1
ClipperLib: emplace_back() instead of push_back().
2023-05-02 18:17:08 +02:00
Vojtech Bubnik
e7f4704ddc
Organic supports, TreeModelVolumes: Cheaper simplification.
2023-05-02 16:35:39 +02:00
Vojtech Bubnik
a077f669ee
Slight optimization of distance_to_squared()
2023-05-02 16:32:03 +02:00
Vojtech Bubnik
04f557693b
Follow-up to 31a5daa5e4
: Fixed missing include
2023-05-02 16:26:16 +02:00
Vojtech Bubnik
31a5daa5e4
Optimization of triangle mesh slicing: scalable_allocator and hashing
...
of shared mutexes.
2023-05-02 15:53:24 +02:00
Vojtech Bubnik
0836b06c73
Little refactoring of douglas_peucker()
2023-05-02 15:53:24 +02:00
Vojtech Bubnik
a7e17df25f
ClipperLib: Further optimization of memory allocation using scalable_allocator.
...
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter
2023-05-02 15:53:24 +02:00
enricoturri1966
03608580c0
Do not allow to change selection or printable state, using the right panel, while the SLA supports gizmo is open and in editing mode.
2023-05-02 08:49:11 +02:00
YuSanka
4b68fbd973
Follow-up 88f4fa20df
- Fixed next Linux specific issue : Select any instance in place where is active a gizmo space on instance
2023-04-27 15:55:07 +02:00
PavelMikus
4c872b0352
Paralellize SupportSpotGenerator!
...
Fix extra perimeters crash - problem with new ankerl hash map
Fix progress bar
2023-04-27 15:37:25 +02:00
enricoturri1966
15daac0811
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view
2023-04-26 12:44:17 +02:00
enricoturri1966
159e699cd5
Fixed conflicts after merge with master
2023-04-26 12:35:02 +02:00
enricoturri1966
cdf8cd83d5
Follow-up of 6e7fefbabf
- Force using glGeneratedMipmap() function on AMD Custom cards, no matter what's the installed driver (Windows only)
2023-04-26 12:31:59 +02:00
YuSanka
cde530901a
Follow up e3a868202d
- fixed assert
2023-04-26 10:26:27 +02:00
YuSanka
e3a868202d
Fix for SPE-1681 - Sidebar: Text in support field can be deleted
2023-04-26 09:57:35 +02:00
enricoturri1966
4986afe94f
Tech ENABLE_GCODE_POSTPROCESS_BACKTRACE set as default
2023-04-26 09:34:02 +02:00
enricoturri1966
f1c5ffddfa
Fixed typo
2023-04-26 09:06:17 +02:00
enricoturri1966
f9c1abbd50
SPE-1677 - Disable SLA supports and Hollow gizmos when the selected object is non-printable. Do not allow to set to non-printable an object while the SLA supports and Hollow gizmos are active.
2023-04-25 10:51:03 +02:00
enricoturri1966
bbea397aa6
SPE-1675 - Do not update layer editing when the mouse cursor is moved outside of the 3D scene while dragging
2023-04-25 10:02:50 +02:00
Vojtech Bubnik
9de269889c
Improved parallel_foor grain size for ensuring
2023-04-24 11:34:37 +02:00
David Kocik
003350a4e2
Fix of version notification message.
2023-04-24 11:22:43 +02:00
enricoturri1966
b37d4e5b6c
SPE-1674 - Follow-up of 9efed4be22
- More robust fix
2023-04-24 10:01:32 +02:00
Vojtech Bubnik
c9a55c2c01
Merge remote-tracking branch 'remotes/origin/vb_scalable_alloc'
2023-04-21 16:28:39 +02:00
Vojtech Bubnik
0d1522791d
Refactored Arachne to use ankerl::unordered_dense hash tables
...
instead of std::unordered_set/map
The code is now generic enough to enable experiments with various
hash maps in the future.
2023-04-21 15:41:00 +02:00
Vojtech Bubnik
29719a7ab9
ClipperLib sometimes hangs forever on a single union / diff / offset task.
...
Implemented optional time limit on ClipperLib execution.
2023-04-21 15:38:23 +02:00
enricoturri1966
8a959883b4
Hide supports when Manual editing mode is active in SLA supports gizmo
2023-04-21 10:50:03 +02:00
PavelMikus
a65a68ad93
fix missing include
2023-04-21 10:04:45 +02:00
PavelMikus
13c7744443
Disable debug data output
2023-04-21 10:04:45 +02:00
PavelMikus
f6c38fb7f9
Smoothen the results, fix some issues.
2023-04-21 10:04:45 +02:00
PavelMikus
3e3ccc200e
Fixed artefacts, made the new slowdown enabled with dynamic overhang speed at all times
2023-04-21 10:04:45 +02:00
PavelMikus
798396d918
Fixed several issues with smoothening of the slowdown, but there are still artefacts in the preview, on curved into flat srufaces
2023-04-21 10:04:45 +02:00
PavelMikus
aa0e21eed1
Center estiamted curvature values,
...
Center esimtated curling - transfering data by nearest line caused CCW or CW shift, based on which point of the current line was used. By switching the points on layer basis, this problem disapeared
2023-04-21 10:04:45 +02:00
PavelMikus
da6b972a79
Smoothen the curled height estimations and slowdown
2023-04-21 10:04:45 +02:00
PavelMikus
6e40e061f6
Finish rough implementation of slowdown over curled filament
2023-04-21 10:04:45 +02:00
PavelMikus
6ee674316d
Finally some working curling model
2023-04-21 10:04:45 +02:00
PavelMikus
4ade7d6e8c
Some improvements of the algortihm for curled height estim
2023-04-21 10:04:45 +02:00
Pavel Mikus
3e42d16f62
minor parameter changes
2023-04-21 10:04:45 +02:00
Pavel Mikus
b04e3bc25e
Initial implementation, requieres both dynamic speed and avoid curled overhangs options to be enabled
...
Also implements new, probably far better estimation of curled height of filament
2023-04-21 10:04:45 +02:00
enricoturri1966
69b69cb9a2
Follow-up of 85dd2e486a
- Fixed Zoom to mouse cursor for orthograpic camera
2023-04-21 09:09:04 +02:00
Vojtech Bubnik
b3b44681a9
Follow-up after 9cde96993e
...
b67ad6434d
Fixed compilation on GCC and CLang
2023-04-21 08:31:16 +02:00
tamasmeszaros
5bb3f2f9da
Merge branch 'tm_bigobj_arrange_crash_SPE-1652'
2023-04-20 15:13:09 +02:00
Vojtech Bubnik
b67ad6434d
Follow-up to 9cde96993e
...
use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads
2023-04-20 14:30:52 +02:00
enricoturri1966
bc2e681932
SPE-1669 and follow-up of c1e145b86c
- Fixed crash introduced with the previous commit and extend the new functionality to multi-objects selections
2023-04-20 14:00:19 +02:00
Vojtech Bubnik
9cde96993e
Reworked the ClipperLib / Polygon types to use
...
the tbb::scallable_allocator to better scale on multiple threads.
2023-04-20 11:31:44 +02:00
enricoturri1966
5c581e3998
Fixed warnings
2023-04-20 08:42:09 +02:00
enricoturri1966
9efed4be22
SPE-1438 - Reset mouse dragging state when entering the 3D scene after the user released the mouse buttons outside of it
2023-04-20 08:08:02 +02:00
YuSanka
88f4fa20df
Fix for SPE-1618 - Place on face gizmo doesn't work correctly with instances
2023-04-19 18:49:39 +02:00
enricoturri1966
b0cc0e98fa
Use the same colors as in 3D view when generating thumbnails
2023-04-19 13:12:27 +02:00
David Kocik
fb2448fbe3
Fix of missing AppConfig::has_section before get_section in ConfigWizard.
2023-04-19 13:10:39 +02:00
enricoturri1966
99f3a3d54f
SPE-1649 - Fixed crash in G-code post processor calculating the preheat / cooldown positions
2023-04-19 12:55:21 +02:00
YuSanka
83a2dc3b5a
Follow up 9e56625287
- Added code to avoid a crash and allow to load 3mf even if cut information was corrupted
2023-04-19 12:06:35 +02:00
enricoturri1966
85dd2e486a
SPE-1667 - Added 'Zoom to mouse cursor' by Shift+Mouse wheel
...
Successfully enhanced and integrated into PrusaSlicer from 3f2ee4062b
Co-authored-by: liz.li <liz.li@bambulab.com>
Co-authored-by: lane.wei <lane.wei@bambulab.com>
2023-04-19 11:45:37 +02:00
YuSanka
9e56625287
Fix for #10319 - MacOS 2.6 Alpha6 Crash on project load
...
This issue was not related to the OS and was caused by bug inside export function.
Wrong object id was saved for the cut objects
2023-04-19 10:01:31 +02:00
Vojtech Bubnik
bdedea3072
Organic supports: Speed up by slicing branches and merging polygons
...
at the same time, thus reducing memory consumption.
2023-04-19 09:57:22 +02:00
Filip Sykala - NTB T15p
4a05973ea8
Nicering of code
2023-04-18 13:11:29 +02:00
Vojtech Bubnik
fdac21b807
Fix of SPE-1658 GH #9665 Crash at macOS when Orgnanic Support selected
...
Reworked (again!) connecting of islands into a Z-graph.
Implemented various heuristics to handle self-intersecting and
mutually intersecting ExPolygons on the same layer.
2023-04-18 12:57:27 +02:00
enricoturri1966
80bbbcf8c3
SPE-1354 - Render travel toolpaths using 'flat' shader
2023-04-18 08:35:57 +02:00
enricoturri1966
d0f83a58c8
SPE-1661 - Fixed SLA support gizmo inactive when it is not possible to slice because of invalid data
2023-04-18 08:15:36 +02:00
Filip Sykala - NTB T15p
ed911260ee
Fix for rotation text object by draging angle input(in advance).
2023-04-17 11:05:55 +02:00
tamasmeszaros
1ec13fef08
Fix crash when arranging objects not fitting into the bed
...
fixes #10278
fixes #10241
SPE-1637
2023-04-17 11:04:31 +02:00
David Kocik
9d34998ac3
ejecting via Shell COM Object
2023-04-17 10:15:02 +02:00
Vojtech Bubnik
bb94e386d8
Fixed SPE-1451
...
Branch Diameter = 0 or 1xxxx; result: slicer crash
Tip Diameter = 0 or 1xxxx;; result: slicer crash
fixed by limiting the diameters to 0.1 .. 100mm
2023-04-14 17:25:07 +02:00
Vojtech Bubnik
53d948f0d0
Organic supports:
...
Renamed diameter_angle_scale_factor -> branch_radius_increase_per_layer
Renamed diameter_scale_bp_radius -> bp_radius_increase_per_layer
and removed scaling by branch diameter.
2023-04-14 16:55:06 +02:00
David Kocik
6fdb8c79cd
Mainsail: Resolve IP address from test message
...
Windows only
2023-04-14 11:25:10 +02:00
David Kocik
4e52d3c56d
Mainsail API implementation
2023-04-14 11:25:10 +02:00
Lukas Matena
f6da852353
Fix of #10210 (crash when using mainsail print host) and some related UI fixes ('OctoPrint'->'Mainsail/Fluidd')
2023-04-14 11:25:10 +02:00
Vojtech Bubnik
06403eef65
SPE-1461 improved error reporting:
...
if the last layer exceeds max print height while the object itself fits,
a specific error report is given:
"While the object %1% itself fits the build volume, its last layer exceeds the maximum build volume height."
Also the name of the object violating print height is reported
in the error message.
2023-04-14 09:21:39 +02:00
Vojtech Bubnik
adabaccc9e
TriangleMeshSlicer: Added tests for checking for non-manifold sets
...
of contours created by the slicing algorithm.
Currently these tests are disabled as it is known that such situations
may appear.
2023-04-14 08:37:37 +02:00
Vojtech Bubnik
78b00bb9cb
Tests for duplicate points in Polygons / ExPolygons were reworked
...
to use ankerl::unordered_dense hash map. Now the tests are roughly
1/4 faster than before.
2023-04-14 08:37:37 +02:00
Vojtech Bubnik
bd301d2a85
Elephant foot compensation: Refactored / simplified,
...
fixed an error for variable ExPolygon expansion (not used in production
code yet), fixed asserts when expanding a hole produces a hole in hole,
which is a valid situation.
2023-04-14 08:37:37 +02:00
PavelMikus
54db40eae2
Improve bridging lines cut on lightning infill
2023-04-13 17:28:13 +02:00
enricoturri1966
c8468839da
Fixed method ExportLines::update() to avoid potential deferencing of invalid iterator
2023-04-13 15:34:09 +02:00
enricoturri1966
c1e145b86c
SPE-1656 - When adding an instance use the orientation of the currently selected instance
2023-04-13 13:35:31 +02:00
enricoturri1966
5bb7428aa4
SPE-1655 - Fixed adding an instance to a mirrored object
2023-04-13 13:09:32 +02:00
Vojtech Bubnik
a092fdc1ed
Revert "Fixed long standing bug in elephant foot compensation of holes."
...
This reverts commit d3d48e9895
.
2023-04-13 10:06:14 +02:00
Vojtech Bubnik
fd3c41b4d3
Fix of #10257 SPE-1641
...
The object labeling likely never worked. Likely it was contributed,
but not reviewed sufficiently (by me I suppose).
Now the object ID is calculated as an index in the list of PrintObjects,
the order is arbitrary but stable, indices start with 0 and incremented
for every printed object with no gap in indices.
We are not quite sure how the indices are used by the OctoPrint
"Cancel Object" plugin, I suppose this change is sufficient.
2023-04-12 17:38:09 +02:00
Vojtech Bubnik
bceed00ae8
Fix of Layer::build_up_down_graph() for non-manifold inputs
...
by shrinking the input expolygons before intersecting them.
GH #10150 , #10158 , SPE-1621, SPE-1612
2023-04-12 17:03:10 +02:00
Vojtech Bubnik
d3d48e9895
Fixed long standing bug in elephant foot compensation of holes.
2023-04-12 17:03:09 +02:00
enricoturri1966
3b93b316c6
SPE-1654 - Out of printbed detection applied only to selected volumes when the selection is not empty
2023-04-12 10:07:50 +02:00
enricoturri1966
f4b935b661
SPE-1449 - Fixed object disappearing when opening Hollow or SLA support gizmos on LINUX
2023-04-11 13:14:23 +02:00
Lukas Matena
069d63a10c
Fixed height detection when using seq. printing (broken in 3349644
, fixes #10312 )
2023-04-11 13:12:02 +02:00
enricoturri1966
2b86511a11
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sequential
2023-04-11 12:29:04 +02:00
Vojtech Bubnik
69a842f570
Bundled ankerl/unordered_dense.h
2023-04-11 10:24:24 +02:00
Vojtech Bubnik
cc5f472caa
FIXME Comment on O(n^2) complexity of compute_intersections()
2023-04-11 10:23:09 +02:00
Vojtech Bubnik
5e5af56635
Tiny optimization in RegionExpansion wave_seeds() for empty input
2023-04-11 10:21:55 +02:00
Vojtech Bubnik
23d74f453e
Partial fix of SPE-1605 / GH #9892
...
Organic supports: bad function call without any obvious reason
2023-04-11 10:21:19 +02:00
enricoturri1966
ed1e29e7a7
Fixed conflicts after merge with master
2023-04-11 09:28:54 +02:00
PavelMikus
2b85615b31
Fix issue https://github.com/prusa3d/PrusaSlicer/issues/10269
...
Dynamic overhang speed could sometimes wrongly apply volumtric limits
Also, setting speed to zero will now cause the algorithm to use base external perim speed.
2023-04-06 16:20:56 +02:00
PavelMikus
68d0f2da2b
Improve bridge over infill filtering, fix tests
2023-04-06 15:54:16 +02:00
PavelMikus
32c05aa47a
Fix bridging over infill - After wrong flow has been fixed, another problem appeared with small layer heights -the bridging layer was not generated
2023-04-06 14:55:33 +02:00
Vojtech Bubnik
c2baa9ad4f
PlaceholderParser: Throw if valid or invalid UTF-8 sequence
...
is encountered inside a code block.
2023-04-06 13:30:29 +02:00
PavelMikus
fe292cc45d
Fix SPE-1642 - wrong flow used for spacing of internal bridging over infill, also caused error when using thin nozzle (0.1)
2023-04-06 11:25:18 +02:00
Vojtech Bubnik
030cfaf4b3
Fix of SPE-1630 crash when referencing an invalid variable name
...
using the old placeholder parser syntax.
Also implemented unescaping of \r\n\"\\ in string syntax.
2023-04-06 10:40:20 +02:00
PavelMikus
b1081d7ac3
Fix segfault in ensuring regularization - wrong check for unbounded access
2023-04-06 09:46:12 +02:00
PavelMikus
b5514120e5
Ensuring improvements and fixes:
...
Fix issue https://github.com/prusa3d/PrusaSlicer/issues/9978 - too agressive filtering caused holes in top surfaces
Fix issue https://github.com/prusa3d/PrusaSlicer/issues/10231 - thin bridges not anchored, again due to too aggressive ensuring filter
Fix issue https://github.com/prusa3d/PrusaSlicer/issues/9988 -
Slicing with 1 top/bottom surface and very low min shell thickness caused non-anchored solid fills.
Fixed by handling as a special case.
2023-04-05 18:09:28 +02:00
Mimoja
e93b222d33
format/AnycubicSLA: refactor Anycubic SLA format and add Photon Mono and Mono SE printers ( #9929 )
...
* format/sla: Rename pwmx format to AnycubicSLA
The Anycubic Photon SLA printer familiy is shipped with the PhotonWorkshop slicer.
This slicer generates the sliced archives. These archives have per-printer
extensions, not only pwmx. The name is -most of the times- comprised of the
PhontonWorkshop "pw" bit and the model name. "mo" for the Photon Mono, "mx"
for the Mono X.
Therefore the format name "pwmx" is incorrect and we are renaming it to AnycubicSLA.
On top of it we are introducing a helper macro to connect file extension and printer
definition as most printers use extremely similiar formats.
Signed-off-by: Mimoja <git@mimoja.de>
* format/AnycubicSLA: Add missing fields
The AnycubicSLA format description is derived from reverse engineering of
the PhotonWorkshop output files.
While the initial Photon devices had their binary headers with version 1
we have seen newer models with additional versions. Namely 515, 516 and 517.
We are adding the version handling to the AnycubicSLA exporter to prepare
for future version handling.
Some fields were missing for Version 1 which are added.
Signed-off-by: Mimoja <git@mimoja.de>
* PrintConfig/sla: Move material notes to simple view
As the Anycubic Photon Mono X uses the material notes to configure the
printers parameters we need to change the visibility to allow every user acces.
This will change the default behaviour for non Anycubic SLA printers.
Signed-off-by: Mimoja <git@mimoja.de>
* format/AnycubicSLA: Expose Antialiasing via material notes
Similiar to how the other machine configurations are exposed via the material notes
we are adding the Antialiasing config.
Signed-off-by: Mimoja <git@mimoja.de>
* Printer/sla: Add Anycubic Photon Mono and Mono SE
The Photon Mono and Mono SE are format compatible printers with the Mono X.
They support Version 1 and Version 515 binary archives.
We are implementing them as Version 1 priters to reduce the overhead and keep the code
in line with the Mono X.
The addition as Version 1 printers leaves some features unexposed, most noteably the Antialiasing
level configuration which is now always the maximum.
Given that the printers check the eligability of sliced files by file extension we are
poised to create per-printer sla_print default configurations to overwrite output_filename_format.
Tested: Successfully printed multiple objects. Changing the layer parameter on the onscreen display
succeeded.
---------
Signed-off-by: Mimoja <git@mimoja.de>
2023-04-05 15:05:18 +02:00
enricoturri1966
f56cffe546
Follow-up of 439e9bc7e7
- Added a button into Preview legend to quickly switch between showing/hiding custom gcode toolpaths for visualization which use different color ranges for the two cases
2023-04-05 10:57:02 +02:00
David Kocik
6f6f714f84
alt eject in thread to multiple tries of LOCK operation and additional checks.
2023-04-05 10:32:02 +02:00
enricoturri1966
439e9bc7e7
#10259 - Preview/GCodeViewer: Ignore purge line in 'Width' display when Custom extrusion paths are set to invisible
2023-04-05 09:23:19 +02:00
PavelMikus
eef077b6ff
Fix issue 10229: When dynamic fan speed is enabled, sometimes the extrusion speed was not reset correctly after travel,
...
resulting in travel speeds used for printing.
https://github.com/prusa3d/PrusaSlicer/issues/10229
2023-04-04 16:06:50 +02:00
Filip Sykala - NTB T15p
df54792055
Merge branch 'master' into fs_undoredo
2023-04-04 15:32:17 +02:00
enricoturri1966
61d45cf3b5
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view
2023-04-04 14:38:17 +02:00
enricoturri1966
0181c60eaf
SPE-1635 - Fixed crash when trying to select as intance an object already sliced with an SLA printer
2023-04-04 14:36:03 +02:00
Filip Sykala - NTB T15p
a7c5a8fda9
In simple mode is possible create only Text object
2023-04-04 13:26:05 +02:00
Filip Sykala - NTB T15p
997a8b9cf2
Merge branch 'master' into fs_undoredo
2023-04-04 13:20:02 +02:00
Filip Sykala - NTB T15p
c6d5013e9a
Allowe edit text objects in simple mode
2023-04-04 13:18:55 +02:00
enricoturri1966
a0f1b0313a
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_picking_parts_fix
2023-04-04 11:40:10 +02:00
enricoturri1966
368d36089b
Follow-up of 745a454081
- Refactoring in ImGuiWrapper::init_font() to remove duplicated code
2023-04-04 10:56:49 +02:00
enricoturri1966
745a454081
Follow-up of 81cebe5be3
- Fixed crash at startup when any of the svg files used as icon into imgui dialog (and/or splash screen icon) is renamed/removed.
2023-04-04 10:23:47 +02:00
enricoturri1966
1835e52842
Fixed visibility of volumes when switching to FFF printer after slicing an object with SLA printer
2023-04-04 09:58:14 +02:00
enricoturri1966
799e44f155
Show an icon button, in place of a plain imgui button, in the 3D scene as switch between view types of an object sliced with sla printer
2023-04-04 09:47:22 +02:00
Filip Sykala - NTB T15p
10a85c10a5
Merge branch 'master' into fs_undoredo
2023-04-03 16:33:27 +02:00
Filip Sykala - NTB T15p
ad81d530b1
Fix of freez when undo redo on text with modifier.
2023-04-03 16:24:07 +02:00
Filip Sykala - NTB T15p
b9ac8aeafa
Fix for crash
2023-04-03 14:07:16 +02:00
enricoturri1966
d1c959529c
Fixed assert showing up after merge with master
2023-04-03 11:39:53 +02:00
YuSanka
102d3e0d2c
Localization:
...
* Fixed phrases
* Updated POT
* New POT is merged with community POs
2023-04-03 11:32:50 +02:00
Filip Sykala - NTB T15p
482b56f108
Merge branch 'master' into fs_undoredo
2023-04-03 11:15:07 +02:00
enricoturri1966
81cebe5be3
SPE-1629 - Fixed crash at startup when any of the svg files used as icon into imgui dialog is renamed/removed.
2023-04-03 10:48:59 +02:00
Filip Sykala - NTB T15p
f9c784dd41
Remove unneccesarry union of healing holes. Mentioned by @BubnikV.
...
Union of overlapped holes is not neccessary, Clipper calculate winding number separately for each input parameter
2023-04-03 10:14:25 +02:00
enricoturri1966
c5b224c0c1
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_sla_switch_view
2023-04-03 08:56:27 +02:00
enricoturri1966
797dd1197e
Allow the user to switch between visualizing original or processed volumes in 3D scene after slicing using SLA printers
2023-04-03 08:54:04 +02:00
Lukas Matena
3d855580ce
Wipe tower: fix the height of preview in 3D scene
2023-03-31 16:42:44 +02:00
Lukas Matena
b14855beda
Wipe tower: remove 'Purging volumes' button for printers with separate extruders:
...
the setting really only makes sense for single extruder MM, the others can use
filament_minimal_purge_on_wipe_tower
2023-03-31 16:42:44 +02:00
Lukas Matena
9775bf213d
Wipe tower: changed the way how initial wipe tower preview depth is calculated
2023-03-31 16:42:44 +02:00
Lukas Matena
2ac964a676
XL specific temporary:
...
- only enable the temp backtracking for XL
- hardcode toolchange time to 4.5s
2023-03-31 16:39:46 +02:00
Lukas Matena
211b8cdc90
Added a marker for the ooze prevention cooldown commands
2023-03-31 16:37:52 +02:00
enricoturri1966
943eb5b4fe
Modified gcode postprocessor to remove gcode lines while backtracing from the current position
2023-03-31 16:37:52 +02:00
Lukas Matena
97397ba6cb
Increased the backtracing time to 120 s
2023-03-31 16:37:52 +02:00
Lukas Matena
86f2142325
Change the notification from M117 to M104
2023-03-31 16:37:52 +02:00
enricoturri1966
64b3e0d6a9
Fixed method GCodeLine::extract_cmd()
2023-03-31 16:37:52 +02:00
Lukas Matena
57e1f3d4db
Backtracing updates:
...
- always enable the feature
- read the tool that we change to
- get temperature for that tool (from config at this point)
- replace the dummy XYYY gcode by M117 (print to display)
showing the tool, time to toolchange and required temp
2023-03-31 16:37:52 +02:00
enricoturri1966
c9724ae6fd
Modify gcode post-process to allow to insert new gcode lines by backtracing from the current processed line.
...
Current state is a prototype and the new code is embedded into a new tech: ENABLE_GCODE_POSTPROCESS_BACKTRACE
2023-03-31 16:37:52 +02:00
enricoturri1966
3c8ecf5bd6
Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_transformations
2023-03-31 16:10:36 +02:00
David Kocik
e1c253b29e
fix of obsolete text
2023-03-31 15:42:13 +02:00
YuSanka
41026d47b6
EmbossGizmo: Fixed some phrases to improve localization
2023-03-31 14:31:22 +02:00
Filip Sykala - NTB T15p
4cf8d671cb
Change imgui dialog in emboss to wxWidget dialog for better styling.
2023-03-31 13:36:35 +02:00
David Kocik
6be2aa29dc
Alternative eject function (IOCTL_STORAGE_EJECT_MEDIA)
...
Detect if device has CARD READER configuration in Configuration Descriptor
log
2023-03-31 13:11:23 +02:00
tamasmeszaros
e1861d220c
Revert "Try to handle fff supports in arrange after slicing"
...
This reverts commit 92e0c13513
.
2023-03-31 12:24:14 +02:00
Filip Sykala - NTB T15p
d56f09a92a
Fix removing neighbor duplicit point between first and last point in polygon mentioned by @BubnikV
2023-03-31 09:48:14 +02:00
Filip Sykala - NTB T15p
dd7a19505a
Another approach to fix undo redo:
...
Do not open gizmo on shortcut key: only create volume
2023-03-30 19:04:29 +02:00
Filip Sykala - NTB T15p
115b230367
Merge branch 'master' into fs_undoredo
2023-03-30 18:17:13 +02:00
Filip Sykala - NTB T15p
58e3143ad8
Different handling of shortcut 'T' for emboss text
2023-03-30 18:16:59 +02:00
PavelMikus
d3037d325a
Minor improvement of the special case of extra perimeters path ordering
2023-03-30 16:57:44 +02:00
PavelMikus
3a08097cd2
Improve performance of bridge over infill algorithm for very noisy/textured top surfaces
...
improve bridging direction unification when briding areas start overlapping
2023-03-30 16:23:03 +02:00
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