Commit Graph
35 Commits
Author SHA1 Message Date
Noisyfox 528fb630bc Organic: Fix support blocker (#2595)
Expand blockers a little bit to compensate the error in facet projection
2023-11-04 02:42:30 +08:00
NoisyfoxandPavelMikus fcb289124e fix deadlock condition varaible use in netfabb wrapper (#2583)
(cherry picked from commit prusa3d/PrusaSlicer@04ac99a54e)

Co-authored-by: PavelMikus <pavel.mikus.mail@seznam.cz>
2023-11-02 18:40:19 +08:00
Noisyfox e641903b16 Fix crash when referencing an invalid variable name (#2486)
Fix crash when referencing an invalid variable name using the old placeholder parser syntax
2023-10-22 19:35:53 +08:00
951252c597 Change direction for perimeter extrusion at odd layers. (#2413)
* Change direction for perimeter extrusion at odd layers.

Initial test code based on supermerill/SuperSlicer@87245ae3c1

* Perimeters for both contours and holes can have alternating direction, to support overhangs on both side.
Also fixes wipe on loop.

* Only reverse order if the loops have steep overhang

* Support a special case that treat every layer as steep overhang

* Add options

* Disable overhang reverse if vase mode is enabled

* Allow extrusion reversal and skip overhang detection if fuzzy skin

---------

Co-authored-by: supermerill <merill@free.fr>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-10-21 17:23:05 +08:00
Noisyfox 56fdbf5310 Fix layer path order when multi-layer elephant compensation is used (#2443) 2023-10-19 19:57:53 +08:00
075a08bca8 Initial port of the new ensure vertical thickness algorithm from PrusaSlicer (#2382)
* Initial port of the new ensure vertical thickness algorithm from PrusaSlicer.

Based on prusa3d/PrusaSlicer@1a0d8f5130

* Remove code related to "Detect narrow internal solid infill" as it's handled by the new ensuring code

* Support different internal solid infill pattern

* Ignore removed options

---------

Co-authored-by: Pavel Mikuš <pavel.mikus.mail@seznam.cz>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-10-19 19:55:05 +08:00
Noisyfox f39f5effa1 Fix crash on BBL's calibration tab (#2403) 2023-10-13 22:55:07 +08:00
Noisyfox fc0067ccba Remove fix_slicing_errors because it makes no sense (#2370)
this also fixes #2344
2023-10-12 23:02:27 +08:00
Noisyfox b5ee7a0e44 Show as much information as possible in crash log (#2386) 2023-10-11 22:14:21 +08:00
Noisyfox 0694863fb9 Use calibration tutorial gitee mirror for China users 2023-10-08 22:30:33 +08:00
Noisyfox 712de9255f Show tooltips for plate buttons (#2176) 2023-10-07 23:11:41 +08:00
Noisyfox 993e653c54 Fix crash when switching infill pattern between cubic & adaptive cubic
Cheery picked from prusa3d/PrusaSlicer@2b0a7ccb2c
2023-10-06 23:09:01 +08:00
Noisyfox b41fdcdc50 Fix issue with overhang-extra-perimeter on complicated multi-part models (#2326) 2023-10-06 22:12:11 +08:00
Noisyfox cf8052cbfd Fix crash when use adaptive cubic sparse infill (#2315) (#2318) 2023-10-05 20:13:22 +08:00
Noisyfox d31ca04720 Show both layer time and tick info when tick is highlighted (#2312)
* Show both layer time and tick info when tick is highlighted

* Use previous layer's complete time as current layer's tick time
2023-10-04 22:45:40 +08:00
Noisyfox 8e70081879 Fix issue that the slice button is still disabled after a tick is deleted (#2308)
Fix an UAF which causes the slice button being disabled after a tick is deleted
2023-10-04 00:03:19 +08:00
Noisyfox 85e24e62fa Show estimated print time in the ruler (#2305)
* Calculate tick by mouse hover position

* Draw hover tick

* Show hover layer time

* Make sure hovered tick get updated immediately
2023-10-04 00:02:26 +08:00
Noisyfox 03fec0841b Fix macos deps build (#2291) 2023-10-03 23:27:33 +08:00
NoisyfoxandSoftFever d4e6b4fe47 Hide bambu-specific calibration tab for non-bambu printers (#2197) (#2259)
* Hide bambu-specific calibration tab for non-bambu printers (#2197)

* Hide Calibration tab only

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-09-30 10:03:13 +08:00
Noisyfox 761db8537e Update error message to make it a bit more informative (#2249) 2023-09-29 23:39:58 +08:00
NoisyfoxandPavel Mikus ee0e6a7227 Port "Extend sparse infill" from Prusa (#2134)
* Remove BambuLab's implementation of solid infill bridging enhancement
, will use Prusa's instead

* Port "Extend sparse infill" from Prusa

* Improve anchoring by shifting the lines half-spacing

* Add missing fill patterns

* Improve anchoring by keeping fine details

* Make sure the opposite directions do not cancel each other

---------

Co-authored-by: Pavel Mikus <pavel.mikus.mail@seznam.cz>
2023-09-29 23:39:12 +08:00
NoisyfoxandVojtech Bubnik 7ef43f6849 Various support improvements and bugfixes (#2202)
* Organic supports: Added check for variable layer height, with which
Organic supports are not compatible.
Fixes prusa3d/PrusaSlicer#9528 and similar.
Check the object max Z against build volume Z in Print::validate().

Cherry-picked from prusa3d/PrusaSlicer@5b94971

* Fix crash with default tree support

* Show "support_critical_regions_only" only when using auto normal tree supports (#2195)

* Fix organic tree check

---------

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-24 22:58:04 +08:00
NoisyfoxandVojtech Bubnik 685e058c35 Parallelized PrintObject::bridge_over_infill() (#2132)
Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-17 11:22:11 +08:00
Noisyfox a73e533bdb Fix gcode viewer on linux (#2110) 2023-09-16 22:26:20 +08:00
Noisyfoxandenricoturri1966 f2da5b39a1 Fix GCode viewer first layer height in vase mode (#2051)
Follow-up of 6be84d529d740c44c1e9bf533e70e167b3442063 - Fixed processing of spiral vase mode in GCodeProcessor::process_G1

Co-authored-by: enricoturri1966 <enricoturri@seznam.cz>
2023-09-10 11:38:37 +08:00
Noisyfox 7a8f020fcf Fix issue that cmake install is skipped during windows build (#2029)
Fix windows build
2023-09-07 23:50:35 +08:00
Noisyfox 69d840030d Fix calibrtion crash (#2019) (#2023) 2023-09-06 22:09:24 +08:00
Noisyfox 4011a0d748 Fix double quotes escape (#1397 #1435 #1946 #1990) (#2002) 2023-09-05 20:18:43 +08:00
Noisyfox f9abebac22 Fix "unknown vector variable type" error when using bambu filament ch… (#1982)
* Fix "unknown vector variable type" error when using bambu filament change ( #1979)

* Update comment
2023-09-03 14:49:54 +08:00
Noisyfox 1fdfc2fa45 Fix raft size when non-organic tree support is enabled (#1973) 2023-09-03 00:43:28 +08:00
NoisyfoxandVojtech Bubnik a1464735ce Initial port of organic tree support from PrusaSlicer (#1938)
* Initial port of organic tree support from PrusaSlicer

* Port missing Organic support parameters from PrusaSlicer

* Update parameter naming

* Reorganize the `raft_first_layer_expansion` and `raft_first_layer_density` parameters as they are not only used by rafts

* Reset support style only in simple mode

* Sync latest update from PrusaSlicer & copyrights

* Fix organic tree support crash with invalid parameters

---------

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
2023-09-02 17:29:43 +08:00
b9ca1c8720 Port overhang extra perimeters from PrusaSlicer (#1939)
* Port overhang extra perimeters from PrusaSlicer

* Reduce duplicated code

* Add credits

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: PavelMikus <pavel.mikus.mail@seznam.cz>
2023-08-28 19:56:09 +08:00
NoisyfoxandSoftFever f714e72faa Simple brim ears impl (#1779)
* First working brim ear impl, ported from SuperSlicer

* Make brim ears configurable

* Generate ears only if ear size > 0

* Fix `Polygon::convex_points` as well as brim ear max angle

* Fix another error in `Polygon::convex_points` and `Polygon::concave_points`

* Apply brim ears to inner brims as well

* tweak hide and disable condition a bit

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-08-13 22:29:45 +08:00
b571318be8 Make Overhang Printable (#1615)
* First working conical overhang impl

* Add settings for Make overhang printable

* Added an Advanced setting to the Quality menu for Make overhang printable
* Allow toggling the feature and adjusting the angle threshold

* Retain recesses in the bottom of the model when "Make Overhangs Printable" is turned on

* Add settings for Make overhang printable hole size

* Allow disabling conical overhang per modifier

* Should check upper layer instead

* Skip unnecessary layers

* Apply conical overhang before any size compensation
which fixs the `lslices` not being updated issue and also the elephant foot compensation

* 1. Fix an issue that changing make_overhang_printable related parameters won't clear caches properly.
2. Tweak the logic of make_overhang_printable parameter so that it works for per region/object/print level. Remove make_overhang_printable_disable parameter.

* Change default make_overhang_printable_angle to 55

* One more missing commit

* 1. Skip checking default_region_config()->make_overhang_printable
2. Handle make_overhang_printable_angle and make_overhang_printable_hole_size value change

---------

Co-authored-by: David Bern <odie5533@users.noreply.github.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-30 20:20:43 +08:00
NoisyfoxandSoftFever d7a1241550 Port single wall on top surface from classic wall generator to Arachne (#1583)
* Port single wall on top surface from classic wall generator to Arachne

* Move the surface split code into a separate function to be shared between classic and Arachne. This also adds bridge detection to Arachne as well.

* Remove unwanted infills

* Fix insets calculating

---------

Co-authored-by: SoftFever <softfeverever@gmail.com>
2023-07-29 10:12:47 +08:00