47 Commits

Author SHA1 Message Date
supermerill
59747ac40c fix commit 5a5ea5 2021-12-15 19:51:15 +01:00
supermerill
5a5ea52a6e fix disjointed fill surface
also gapfill "star" are now even more restricted in min branch length.
supermerill/SuperSlicer#2038
2021-12-11 21:01:59 +01:00
supermerill
49e4e20a1b Fix too detailed gapfill
* add resolution_internal to control it (and gyroid)
 * disallow gapfill lines to be split
2021-12-11 14:48:11 +01:00
supermerill
57c82dbe72 fix gapfill:
* fix gapfill after external perimeter: Happens if external perimeter has a different width than internal.
supermerill/SuperSlicer#1640
* revert 3b0c006 : not needed anymore. if ever needed again, I added a [size > 1] to fix the problem
supermerill/SuperSlicer#1758
2021-11-06 21:19:54 +01:00
supermerill
64937e2380 medial axis optimisation 2021-10-01 15:11:36 +02:00
supermerill
f138405bba fix gapfill bits on outer edge of curves
medial_axis fusion_corners fix
using supermerill/SuperSlicer#1583 project to reproduce
2021-09-26 23:37:30 +02:00
supermerill
088b92917c Add filament_max_overlap, to control the line spacing via filament setting
It allows to control the spacing vs width (10%% fill vs a bit less)
The 'enforce 100% fill volume' is also adjusted to take that into account
Note that if you're using multiple extruders/filament everywhere (and spacing setting for width setting),
  the result may be a bit unexpected, as the gui can't display all the interactions,
  also some features (like support) may revert to default overlap value, if printed with multiple filaments.
supermerill/SuperSlicer#1590
2021-09-26 13:51:05 +02:00
supermerill
e1e4f34f0a remove some warnings change some scale/unscale for better types. 2021-09-06 19:58:53 +02:00
supermerill
7be5f47a0e medialaxis nan issue on linux
supermerill/SuperSlicer#66
2021-09-06 13:49:36 +02:00
remi durand
ff880ac348 Fix thin_wall detection
supermerill/SuperSlicer#1437
2021-07-31 19:43:42 +02:00
remi durand
e9cd1541fa fix medial_axis invalid c++ pointer
supermerill/SuperSlicer#1406
2021-07-21 09:09:57 +02:00
remi durand
228ebaf5ab Now gapfill will create a thin perimeter circle when the polygon is circular (instead of the odd star-shape thing)
hoping to resolve supermerill/SuperSlicer#1399
2021-07-10 10:49:00 +02:00
supermerill
d10e5531c0 fix a gap fill/thin wall artifact 2021-05-27 19:22:13 +02:00
remi durand
c275210783 #995 thin wall bug (boost voronoi bug) mitigation 2021-03-13 17:54:42 +01:00
supermerill
3b0c006646 #651 fix Holes in small pillars are filled (boost::voronoi weird bug) 2020-11-15 16:35:45 +01:00
supermerill
a60631b7aa thin walls: merge path into external perimeter loop when possible. 2020-06-20 19:51:36 +02:00
supermerill
daa891aa9b gap fill: remove gap fill if it's too thin to make a continuous curve.
thinwall/gapfill: remove harmful bits that sticks out of the main line without going outside of it.
2020-05-08 16:06:49 +02:00
supermerill
f087cf1239 Merge remote-tracking branch 'remotes/prusa/master'
seems to work
need to update profiles & ui
2020-03-26 12:10:30 +01:00
supermerill
e471ce1239 fix thin wall: max was not high enough. 2020-01-14 17:11:06 +01:00
supermerill
4e8a7b0e9e fix merge 2019-12-11 15:55:29 +01:00
supermerill
36bb57c6a8 tests from mainline
some cleaning in Medial axis.
2019-10-29 19:12:19 +01:00
supermerill
d963b0f2a3 clean log 2019-10-07 18:55:21 +02:00
supermerill
2f042e030c Merge remote-tracking branch 'remotes/prusa/master'
not merged: fill.cpp, perimeter_generator, because they ahve been reworked and need to be understand fully before adding my extensive modifications.
To verify: glcanvas: maybe filament color selection is deleted (or the other one i added?)
2019-09-26 13:14:01 +02:00
supermerill
af9f2a0d58 debug medial axis.
- resolved problem is that the circle has too many near points and it creates strange "bits" that aren't deleted.
 - resolved crash problem
 - resolved a rectilinearwithgapfill dotted-line instead of full line / zigzag
2019-09-16 19:29:43 +02:00
supermerill
6b20a930eb Merge remote-tracking branch 'remotes/prusa/et_custom_bed'
sorry, forgot to commit it before doing changes.
so there are also the bug fix for #76 and #74
2019-07-03 20:47:31 +02:00
supermerill
6304f7fc28 merge bugfixs 2019-06-09 19:55:20 +02:00
supermerill
b4cff5b8bf Merge remote-tracking branch 'remotes/origin/master' 2019-06-08 15:08:37 +02:00
supermerill
26d17e03ee change elepehant foot direction (again)
use reference in medial axis
add comments in medial axis
2019-06-08 15:04:27 +02:00
supermerill
e29190088c merging medial_axis with modif from slic3r mainline 2019-05-16 10:37:50 +02:00
supermerill
6df17e1dd1 wip 2019-04-25 19:43:43 +02:00
supermerill
dc618b72bc * fix medial axis : failsafe not safe (do not fusion with a too high width) 2019-04-17 19:19:35 +02:00
supermerill
2e01f1c208 medial axis fix: add epsilon offset when trying to see if points are inside a polygon 2019-04-15 11:27:21 +02:00
supermerill
96b0865d87 bugfix: gcodewriter.unlift(), medial axis taper & min width
tests: thin.t almost complete, bugfix test_data typo.
2019-04-09 18:57:31 +02:00
supermerill
a3bdc74045 gap fill : only if perimeters aren't touching
medial axis: concatenate_polylines_with_crossing fixed
2019-04-08 20:10:54 +02:00
supermerill
41c5d32744 clipperutil.offset params go from float to double
As clipper used doubl anyway, it shouldn't impact anything,
just avoiding int64->float->double destructive conversion.
2019-04-08 20:10:40 +02:00
supermerill
831efebe4c thin walls:
* bugfix medial axis concatenate_polylines_with_crossing : now connected the good end with the other.
 * bugfix thin wall (medial axis): use correct temp variables.
 * fix variable_width: now the algo for width calculation is also used to set where it should create a new path.
2019-02-18 15:35:26 +01:00
supermerill
93ef2679d9 bugfix variable_width for thin walls 2019-02-12 10:56:49 +01:00
supermerill
7d4f090786 medial_axis width bugfix (at least enough for the outer "lobes")
assert bugfix in thin walls (edge case)
2 bugfix in overlap
2019-02-11 14:03:06 +01:00
supermerill
bfd921d0b4 give gapfill the overlap slic3rPE has and thinwall the exact width slic3r has.
clean a log
change thinwall min width from nozzle to nozzle*1.05 (thinnest safe extrusion width from https://manual.slic3r.org/advanced/flow-math)
2019-02-11 12:29:31 +01:00
supermerill
75775bc909 Thin_wall / medial axis:
- reworked thin_variable_width (discretization into segments of constant width)
 - bugfix taper_ends
 - add setting thin_walls_overlap to control the perimeter/thin wall overlap
2019-02-07 18:25:42 +01:00
supermerill
f49af26123 cleaning warnings, add % for support interface gap 2019-01-30 15:52:30 +01:00
supermerill
cfab40943f alpha4 merge fixs
- text
 - std::
 - parameters now check alias in any cases.
 - add some aliases
2019-01-30 12:17:03 +01:00
supermerill
2ce0d3a946 Medial axis: taper the end of thin walls 2019-01-04 19:08:18 +01:00
supermerill
a48e190137 medial axis: now grows the extrusion to nozzle diameter if it's lower than that. Add a parameter to define the min width (default to 33% of nozzle diameter). 2019-01-03 19:57:00 +01:00
supermerill
e0b85e6889 various bugfixes & hole compensation reversed. 2019-01-02 19:47:30 +01:00
supermerill
a36142d258 merge complete 2018-12-19 17:14:11 +01:00
supermerill
a4f9c28a9a move files 2018-12-17 16:02:26 +01:00