239 Commits

Author SHA1 Message Date
remi durand
605a4323e6 Automatic dense infill falls back to the Enlarge algorithm in a new option (now new default) 2021-02-22 17:29:39 +01:00
Oliver Mattos
d25f1bffa1 Automatic dense infill in large areas now falls back to the Enlarge algorithm rather than being omitted altogether (Fixes #928) 2021-02-22 16:26:01 +01:00
remi durand
a50b4cd544 Merge tag 'version_2.3.0'
version_2.3.0
2021-02-22 13:28:28 +01:00
Vojtech Bubnik
5a1a41096b Fix of a crash when slicing an object producing no layers and
elphant foot compensation is enabled.
2021-01-11 12:20:50 +01:00
remi durand
ca3d8239c4 Merge remote-tracking branch 'remotes/prusa/master' 2021-01-09 17:11:12 +01:00
Lukáš Hejl
181642b85b Fix of #5528 - Request re-slicing when bottom_solid_layers changes and spiral_vase is enabled. 2020-12-21 09:15:33 +01:00
Lukas Matena
8f3baeb1c9 Fix of #5410 (Ironing untick/tick bug)
This is a follow-up of commit b1b7a5a which fixed several similar bugs
2020-12-18 12:44:24 +01:00
Lukáš Hejl
0ca337ac7a Apply avoid crossing perimeters also for supports. 2020-12-15 06:46:44 +01:00
Vojtech Bubnik
a2959ec944 Fix of re-slicing with multiple regions.
This is a fix of a bug, which was in Slic3r forever, where raw slices
were not cached, but recalculated from classified regions, where
merging the regions did not produce the original contour reliably.
Fixes [2.3.0-beta2] Odd bad slicing related to infill (?) percentage #5407
2020-12-11 12:21:07 +01:00
Vojtech Bubnik
364300055e Fix of spiral vase mode with holes in the bottom: Holes in the bottom layers
(non-spiral vase layers) were being closed.
Fixes Bad slicing in vase mode (unexpected bridge and solid infill layers) #3326
Fixes Model with holes in the base does not slice properly in "Vase Mode" #5359
2020-12-09 14:54:26 +01:00
Lukáš Hejl
bb2eecb42c Fix of #4060 - Add check for the case that all ranges of a volume do not contain any Z. 2020-12-09 07:28:18 +01:00
Lukáš Hejl
0ad135ff93 Fix of #4732 - In spiral vase mode, use the number of layers instead of the value of bottom solid layers if a printed object has a smaller number of layers than the value of bottom solid layers. 2020-12-09 07:21:14 +01:00
supermerill
880eb59e73 #304 disable minimum resolution.
It can go lower than 0.0125 for the perimeters.
It's kept at a minimum of 0.0125 for infill & thinwalls/gapfaill for performance reasons
and to avoid too much artifacts / corners case.
2020-12-08 14:31:57 +01:00
supermerill
48d1f380a8 #723 fix bug from 151ea0a3 : smooth the hole XY comp up to inner comp, not 0 2020-11-29 00:08:09 +01:00
supermerill
2576a4c30c Brim ear update
* add brim_ears_detection_length to be able to detect "sharp rounded angles"
* #722 fix brim ear rectilinear pattern going inside part
* disable brim ear on support raft if not solid
2020-11-29 00:07:59 +01:00
supermerill
8d5688a751 Merge remote-tracking branch 'remotes/prusa/master' : Opengl crash 2020-11-28 18:18:32 +01:00
Lukas Matena
22f93a34a8 Fix horrible complexity of custom seam lookup (#5067)
- polygons are offset individually
- custom areas are kept separately for each PrintObject
- AABB tree is used to get logN lookup complexity
2020-11-27 10:09:20 +01:00
supermerill
9f7f558816 #718 fix ironing post-process double the fills. 2020-11-26 20:52:01 +01:00
Vojtech Bubnik
62bdc192d8 Fix of [2.3.0-alpha4] Crash - several models cause crash when slicing #5208
Fixed some issues in internal anchors of the Adaptive Cubic infill.
The ugly and dangerous implicit casting operators in Line, MultiPoint,
Polyline and Polygon were made explicit.
2020-11-24 16:01:08 +01:00
supermerill
7a10e8220c Fill "connect" update
* re-add the 2.2 algo
 * allow to choose connection method also for solid/top/bottom
2020-11-23 23:26:47 +01:00
supermerill
1a19b023f0 Merge remote-tracking branch 'remotes/prusa/master'
note: new infill connect, maybe a good idea to get the previous one in case it's better (no useless lines)
note2: fillline overextrude, tofix
2020-11-23 00:28:47 +01:00
supermerill
0fe20a6dc4 #680 fix prusa ironing "Topmost surface only"
and some cleaning on enum settings conversions
2020-11-22 14:22:35 +01:00
Vojtech Bubnik
4280fdb5f2 Reworked connection of infill lines to perimeter lines.
Added a new "infill_anchor" parameter.
2020-11-16 10:54:00 +01:00
supermerill
e3dde4b384 change monotonic from monotonous 2020-11-08 17:09:29 +01:00
supermerill
c3dcf9864a Merge remote-tracking branch 'remotes/remi/master' into dev 2020-11-06 02:29:30 +01:00
supermerill
27196d34ea #414 #591 overhang speed separate from bridge speed
And separate speed for "inner bridge" (the ones over sparse infill)
2020-11-05 19:08:46 +01:00
supermerill
62d64b4f61 #623 fix polyholes (less faces & works on first layer) 2020-11-04 20:12:23 +01:00
supermerill
151ea0a39f #612 add soft threshold for big holes XY compensation 2020-10-29 19:44:25 +01:00
supermerill
59f370bfa9 #507 fix/improve denser infill 2020-10-28 11:34:52 +01:00
supermerill
160b509a46 Merge remote-tracking branch 'remotes/remi/CI' into dev
in particular, move the repetier stuff to physicalprinter
2020-10-27 17:52:46 +01:00
supermerill
65a40ed58f Merge remote-tracking branch 'remotes/prusa/master' into dev 2020-10-27 16:08:00 +01:00
supermerill
9153579470 #507 fix/improve denser infill 2020-10-26 21:32:16 +01:00
supermerill
07be95fb69 fix seams
* fix the seam object
* fix painting seam that will jump on nearest for no good reason
* change hidden/near/nearer to cost with 2 boxes for setting the costs.
fix preferences
2020-10-25 02:56:22 +02:00
Vojtech Bubnik
9a4376ddc6 Fix of previous commit 2020-10-22 17:54:32 +02:00
Vojtech Bubnik
b1b7a5ad1b Fix of ironing invalidation. Fixes
Ironing flag ignored on infill rotate #4937
Ironing does not take effect when you change Top Fill Pattern. #4900
Ironing layer not shown in preview when settings are changed #4510
2020-10-22 17:36:51 +02:00
Vojtech Bubnik
6531061d09 Support for naming slicer own threads for debugging.
The following threads are named with this commit:
slic3r_main, slic3r_BackgroundSlicingProcess,
slic3r_tbbpool_xx_yy where xx is a one based index of the TTB thread
and yy is the platform thread ID.
2020-10-22 13:54:15 +02:00
supermerill
ae6c979565 #563 #589 Small perimeter control 2020-10-21 20:25:48 +02:00
supermerill
3aaedd671b Merge remote-tracking branch 'remotes/prusa/master' into dev
note: layer time is not working, chronology need formatting, temperature ok.
2020-10-18 03:50:08 +02:00
supermerill
6fdd615b6e Merge remote-tracking branch 'remotes/prusa/master' into dev 2020-10-18 00:27:32 +02:00
supermerill
c75d4904f9 #493 separate bridge fan/speed for overhang from bridge flow for overhangs. 2020-10-10 21:23:40 +02:00
Vojtech Bubnik
95af708171 Removed m_ prefix from public member variables. 2020-10-09 13:09:21 +02:00
Vojtech Bubnik
7fbdda9080 Renamed monotonous infill to monotonic. 2020-10-05 16:38:28 +02:00
supermerill
c3e752529e a bit of cleaning in printing steps 2020-10-01 00:07:21 +02:00
Vojtech Bubnik
e0b0a2cdcf Fix of previous commit. 2020-09-24 20:32:52 +02:00
Vojtech Bubnik
7a799be426 DynamicPrintConfig::normalize() renamed to normalize_fdm(),
optimization of Print::apply()
2020-09-24 19:03:33 +02:00
Vojtech Bubnik
54976e29bb New class ModelConfig wrapping DynamicPrintConfig and a timestamp
to help with detecting "not changed" event when taking
Undo/Redo snapshot or synchronizing with the back-end.

Converted layer height profile and supports / seam painted areas
to the same timestamp controlled structure.
2020-09-24 15:34:13 +02:00
Vojtech Bubnik
230dbb7394 Adaptive Cubic infill:
1) Fixed a wrong offset when extracting infill lines from the octree.
2) Added a variant for testing triangle in a bounding sphere
   when buildind the octree. Currently not used as the box test
   is more tight.
3) "Bridging infill" regions are now triangulated and used to densify
   the octree as well to support the bridging infill correctly.
2020-09-22 08:53:45 +02:00
Vojtech Bubnik
7e756b20e6 Adaptive infill: Reshuffled the namespaces. 2020-09-18 10:53:50 +02:00
Vojtech Bubnik
37c5fe9923 Refactoring of adaptive cubic / support cubic:
1) Octree is built directly from the triangle mesh by checking
   overlap of a triangle with an octree cell. This shall produce
   a tighter octree with less dense cells.
2) The same method is used for both the adaptive / support cubic infill,
   where for the support cubic infill the non-overhang triangles are
   ignored.
The AABB tree is no more used.
3) Optimized extraction of continuous infill lines in O(1) instead of O(n^2)
2020-09-17 18:39:28 +02:00
Vojtech Bubnik
1eadb6a1a9 Replaced some of Slic3r::RuntimeError exceptions with Slic3r::SlicingError.
Only Slic3r::SlicingError are now displayed by a notification, other
exceptions are shown by a pop-up dialog.
2020-09-14 18:03:22 +02:00