Commit Graph

13642 Commits

Author SHA1 Message Date
Lukas Matena
c843349d35 GCodeLine::has_value now uses locale-independent functions for parsing:
This will hopefully fix the mysterious issues #10380 #10331 #10542.
The reason is not exactly clear, seems similar to https://stackoverflow.com/questions/76133503/strtod-does-not-respect-locale-on-macos-13-3-1.
Possibly a bug in macOS 13.3.1
2023-06-13 11:40:29 +02:00
Vojtech Bubnik
8806442f55 PlaceholderParser on G-code export:
1) added "num_extruders" placeholder
2) changed "is_extruder_used" vector to be always minimum 256 elements long
   with the non-existent extruder values set to zero.
   This is wasteful, but necessary until we change the PlaceholderParser
   handling of vector values to not substitute missing elements
   with the zero'th value.
2023-06-13 10:21:13 +02:00
YuSanka
735fe8952a TabFilament: Implemented color mode update for Extruder combobox 2023-06-12 09:10:54 +02:00
Lukas Matena
f18e852cb2 Switch the configuration folder from beta to rc 2023-06-09 12:11:16 +02:00
Lukas Matena
8df907b3e3 Detection of XL printer is now based on printer_notes 2023-06-09 11:43:41 +02:00
YuSanka
6f5fcf611d Follow up ca3ee712fe - Added comment line 2023-06-09 11:33:37 +02:00
YuSanka
ca3ee712fe Fix for SPE-1747 : Crash[LINUX] or unexpected behavior[OSX and Win] when moving object with Variable layer height 2023-06-09 11:20:16 +02:00
Lukas Matena
fde4aa55c3 Another fix related to subtracting raft layers 2023-06-09 11:11:58 +02:00
Lukas Matena
fd4ecb8db8 Follow-up to previous commit:
We also need to revert this part of 12f1cd0.
2023-06-09 11:11:58 +02:00
Lukas Matena
f044a111f1 Revert "Fix of #9399 Thick layers + thick raft + lightning infill = crash"
This reverts commit 402affb035.
2023-06-09 11:11:58 +02:00
tamasmeszaros
36cddc3a02 Change how 'default_output_extension' placeholder is integrated 2023-06-09 10:59:41 +02:00
tamasmeszaros
e1d1be872a Get default sla extension for output_filename() from the registry 2023-06-09 10:59:41 +02:00
tamasmeszaros
283fd6feb4 Fix sla archive filenames with using the archive format registry 2023-06-09 10:59:41 +02:00
Lukas Matena
9949f85743 Improved XL printer detection when adding first object to the plate 2023-06-09 08:14:14 +02:00
enricoturri1966
7059adc6b8 SPE-1606: Fixed sla geometry type shown when object has holes 2023-06-09 07:57:39 +02:00
tamasmeszaros
b54c63b355 Merge branch 'tm_fix_SPE-1718' 2023-06-08 15:59:37 +02:00
Vojtech Bubnik
d657726a22 Follow-up to ce2dd4cb22
Fixed a typo in typo, Vojtech needs vacation.
    Follow-up to 02f69575ef
        Fix of SPE-1752, GH #10736:
        Extended the bridge expansion algorithm to expand into sparse infill
        by a maximum of 1 perimeter width.
2023-06-08 15:54:26 +02:00
Vojtech Bubnik
ce2dd4cb22 Follow-up to 02f69575ef
Fix of SPE-1752, GH #10736:
    Extended the bridge expansion algorithm to expand into sparse infill
    by a maximum of 1 perimeter width.
2023-06-08 15:11:24 +02:00
enricoturri1966
c4294beb34 SPE-1749: Refactoring of GCodeProcessor::process_G1() and GCodeProcessor::process_G2_G3() 2023-06-08 14:46:36 +02:00
enricoturri1966
166c30096a SPE-1749 - Method GCodeProcessor::process_G2_G3() modified to match modified firmware 2023-06-08 14:46:23 +02:00
enricoturri1966
54cc852e42 SPE-1749: GCodeViewer - Faster processing of G2/G3 lines 2023-06-08 14:46:07 +02:00
Vojtech Bubnik
da3b2f3905 Slic3r::ThreadData structure will now be available at each thread
started by slicer. Initially the thread data provides thread
specific random number generator and it supports switching
the current thread locale to C.
2023-06-08 14:19:36 +02:00
enricoturri1966
8b255e8e9b SPE-1762: Fixed crash in GCcodeViewer when loading gcode files generated with Cura 2023-06-08 13:56:59 +02:00
tamasmeszaros
7c1d2ea532 Merge branch 'tm_fix_stl_export_SPE-1751' 2023-06-08 13:38:22 +02:00
YuSanka
23ffd34471 Fix for #10746 - drop box in filament settings to small 2023-06-08 13:34:12 +02:00
YuSanka
b9df1deb0e Fix for #9779 - PrusaSlicer2.6alpha4 Cannot set locale to language "Chinese (Simplified, China)".
(Related to #9476 PrusaSlicer2.6alpha2 Switching PrusaSlicer to language zh_TW failed.)

After fix from upstream wxWidgets (see a3e925df0a (diff-1e3658a254af33d4cb78b07040114b18d8a0642fe928f65fdfbd4746d8cc0f4a)) issue is disappeared and workaround is no needed now.
2023-06-08 13:11:51 +02:00
Lukas Matena
d337573efe Add 'mainsail' -> 'moonraker' substitution so profiles don't break after people upgrade to the new version 2023-06-07 16:38:29 +02:00
Pedro Lamas
ce1da350d3 Use Moonraker as Klipper API 2023-06-07 16:38:28 +02:00
tamasmeszaros
be0764da14 Fix STL export when object doesn't fit the print bed. 2023-06-07 14:38:24 +02:00
YuSanka
65d2e8f299 Fix for #10745 - Using a star (*) in a preset name makes it unusable 2023-06-07 14:29:05 +02:00
Vojtech Bubnik
02f69575ef Fix of SPE-1752, GH #10736:
Extended the bridge expansion algorithm to expand into sparse infill
by a maximum of 1 perimeter width. This solves a situation, where
the "ensure vertical wall thickness" region is filtered out as
too narrow to be important for print stability while the bridge expansion
only happened into the "ensure vertical wall thickness" regions before.

Partial revert of cf6b6ff4e4, reverts
	Fix SPE-1726 - hole between bridges and perimeters caused by thin internal fill surface
    GithubIssue https://github.com/prusa3d/PrusaSlicer/issues/10231#issuecomment-1546779200
    During sorting of surfaces into top, bottom and internal, expand bottom bridges by one spacing unit, to ensure better anchoring
2023-06-07 14:24:09 +02:00
Robert Schiele
4846f8c211 add missing includes of <cstdint> (PR #10499) 2023-06-07 13:47:24 +02:00
enricoturri1966
27f7a023ad #10662 - Fixed loading parts from 3mf files 2023-06-07 11:01:14 +02:00
tamasmeszaros
5154a7f8b3 Fix arrange on virtual beds
Also fixes repeated bed filling issue
2023-06-05 15:04:27 +02:00
YuSanka
940fa11702 Imgui: Fixed using of Fonts->GetGlyphRangesCyrillic() for BE dictionary 2023-06-02 16:53:41 +02:00
Pavel Mikus
b20dfac403 update fix of SPE-1685 - make the closing raidus half the size, it was unnecesarily large 2023-06-02 16:20:13 +02:00
David Kocik
5819134b17 Sort Presets by name in PresetComboBoxes during update. 2023-06-02 12:38:56 +02:00
David Kocik
ad5d239426 Config wizard: sort names in lower case.
Other vendors page and Filaments page
2023-06-02 12:38:56 +02:00
Pavel Mikus
f1e287e0c9 Fix SPE-1685 Tiny holes in external bridges and top solid
During external surfaces processing, the regions are expanded a little to
absorb unassigned regions that emerge during ensuring regularization
2023-06-02 12:35:22 +02:00
David Kocik
c28d454184 Add missing Ifdef win32 macros and hide get_host_from_url into it.
Contains curl_url() that would crash older MacOS like in #10713.
2023-06-02 11:11:03 +02:00
enricoturri1966
578921257d SPE-1739: Fixed calculation of gcode preview sequential slider endpoints 2023-06-02 09:37:05 +02:00
Lukas Matena
cc71436aef Fixed several warnings 2023-06-01 16:10:33 +02:00
David Kocik
8fe024efdd Import zip archive -> open 3mf project if it is project and not archive 2023-06-01 15:06:06 +02:00
David Kocik
1a5fc8e68d Add error dialog after saving Project fails.
Issue #10688
2023-06-01 15:04:45 +02:00
enricoturri1966
aea3f1dc86 Small optimization into its_convex_hull_2d_above() 2023-06-01 14:49:58 +02:00
Félix Piédallu
071eb3d393 Fix build: Text() takes a string format as first argument (PR #10712) 2023-06-01 13:58:11 +02:00
enricoturri1966
7b03d0845c Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into lm_et_bs_conflict_checker 2023-06-01 12:21:05 +02:00
tamasmeszaros
89d04c91e6 Merge branch 'tm_arrange_mode_SPE-1733' 2023-05-31 18:10:12 +02:00
Lukas Matena
5f7c5f452b Conflict checker: account for the stabilization cone of the wipe tower and its brim 2023-05-31 13:34:03 +02:00
Lukas Matena
46678c27b5 Conflict checker: detection of the wipe tower when it narrows towards the top 2023-05-31 13:34:03 +02:00