Commit Graph

22520 Commits

Author SHA1 Message Date
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
bf87b89ea2 Merge branch 'dk_alt_eject' 2023-04-05 10:32:22 +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
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
a485339fbc Merge remote-tracking branch 'origin/et_picking_parts_fix' 2023-04-04 11:41:18 +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
rtyr
de69696edb
General rework. Updated start g-code.
https://github.com/prusa3d/PrusaSlicer/pull/10140
2023-04-04 11:08:18 +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
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
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
Lukas Matena
0384d631d6 Bumped up version to 2.6.0-alpha6 2023-03-31 16:58:44 +02:00
Lukas Matena
9001ca8674 Merge commit 'bbd870b26c7094247235b064f7c8d970d5c7167a' 2023-03-31 16:51:16 +02:00
Lukas Matena
bbd870b26c Sync to c987b4585:
this is needed so we can later ff public/stable (currently at version_2.5.2) to version_2.6.0
2023-03-31 16:50:25 +02:00
Lukas Matena
c987b45853 Merge branch 'lm_wipe_tower_purging' 2023-03-31 16:42:57 +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
0cedbe91ca Merge branch 'lm_gcode_postprocess' 2023-03-31 16:41:05 +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
80e0666401 Merge remote-tracking branch 'origin/et_transformations' 2023-03-31 16:12:39 +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
dee0aa6f90 Merge branch 'dk_alt_eject' 2023-03-31 13:11:38 +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