Adjust simplification epsilon

This commit is contained in:
2023-03-31 15:10:21 +03:00
parent 93e5707ca9
commit 931ffe54b7
2 changed files with 3 additions and 1 deletions

View File

@@ -66,6 +66,8 @@ class AxidrawSerial(Node):
self.ad.options.accel = 100 # 100% speed
self.ad.options.pen_rate_lower = 100 # 100% speed
self.ad.options.pen_rate_raise = 100 # 100% speed
#self.ad.options.pen_delay_down = 50
#self.ad.options.pen_delay_up = 50
self.ad.update() # Process changes to options
self.status["serial"] = "ready"
self.status["motion"] = "ready"

View File

@@ -198,7 +198,7 @@ class SVGProcessor():
"""
# For RDP, Try an epsilon of 1.0 to start with. Other sensible values include 0.01, 0.001
#epsilon = 0.009
epsilon = 0.0005
epsilon = 0.00005
tmp = []
out = []