You are not logged in.
I'm receiving a "Math Issue" error when NanoDLP is trying to process my dynamic cure formula. The exact message is:
Math issue (
(((1>0) & (1<=2))*240)
+
(((2<1) &(1<=10))*120)
+
(((10<1) & (1<=20))*45)
+
(((20<1)&(1<=9999))*40)
) -1 Invalid token
The formula I've been using (without issue until recently) is:
{(
((([[LayerNumber]]>0) & ([[LayerNumber]]<=2))*240)
+
(((2<[[LayerNumber]]) &([[LayerNumber]]<=10))*120)
+
(((10<[[LayerNumber]]) & ([[LayerNumber]]<=20))*45)
+
(((20<[[LayerNumber]])&([[LayerNumber]]<=9999))*40)
)}
What did I miss?
Offline
Found the error, for anyone who's curious.
I copied the formula directly out of the JSON configuration file and apparently there are non-printable characters in there or something.
Typing it all out by hand got it fixed.
Offline