Adjust simplification epsilon
This commit is contained in:
@@ -66,6 +66,8 @@ class AxidrawSerial(Node):
|
|||||||
self.ad.options.accel = 100 # 100% speed
|
self.ad.options.accel = 100 # 100% speed
|
||||||
self.ad.options.pen_rate_lower = 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_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.ad.update() # Process changes to options
|
||||||
self.status["serial"] = "ready"
|
self.status["serial"] = "ready"
|
||||||
self.status["motion"] = "ready"
|
self.status["motion"] = "ready"
|
||||||
|
|||||||
@@ -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
|
# For RDP, Try an epsilon of 1.0 to start with. Other sensible values include 0.01, 0.001
|
||||||
#epsilon = 0.009
|
#epsilon = 0.009
|
||||||
epsilon = 0.0005
|
epsilon = 0.00005
|
||||||
|
|
||||||
tmp = []
|
tmp = []
|
||||||
out = []
|
out = []
|
||||||
|
|||||||
Reference in New Issue
Block a user