It is currently April 16th, 2024, 11:33 pm

[Bug] Shape parsing

Report bugs with the Rainmeter application and suggest features.
User avatar
Bananorpion
Posts: 40
Joined: April 16th, 2017, 8:35 pm

[Bug] Shape parsing

Post by Bananorpion »

Hello,

I've been trying to solve a couple errors within a shape meter, but the more I try, the more I think the problem doesn't come from configuration.

Basically, I have a shape meter, the shape of which is automatically built. It works pretty good, but the more I develop it, the more I have the same errors (Not exactly the same values, of course.):

Code: Select all

Formula: Unmatched brackets: (mi
or

Code: Select all

Formula: Unmatched brackets: (max(((-29.40)+180),(((-44.10)*[Measu
or even

Code: Select all

Path shape has invalid parameters: LineT
Invalid Path type: LineT
Starting from this: these errors are wrong: every bracket is matched, and every path type is valid. I've checked too many times, and moreover, these are automatically generated: the errors should appear in other circumstances as well.
Here's the thing: these errors only appear when the shape is long enough. (A 26952-character shape is valid, a 33068-character is not.) <- Ok, when I wrote this, I think I realized what may be wrong. ._.
I'm gonna try and make them all fit within 32767 characters then.

Well, so I have not written this for nothing (Maybe I haven't pinpointed the bug.), you can try it. (Eight shapes are pre-designed, you need to edit the key Visual in the meter [Visual]. 2 and 3 lines work, 4 and 18 generate pretty errors.)

EDIT: Best I could do was 7-line with 32467 char, I guess 8 lines is too many. It works, so I guess that was the right call.
VisualCircularA51=0,180|LineTo(0),(max(0+180,0*[M00]+180))|LineTo(7.2),(max(-9.9+180,-14.8*[M01]+180))|LineTo(14.4),(max(-19.7+180,-29.5*[M02]+180))|LineTo(21.6),(max(-29.4+180,-44.1*[M03]+180))|LineTo(28.8),(max(-39+180,-58.5*[M04]+180))|LineTo(36),(max(-48.5+180,-72.8*[M05]+180))|LineTo(43.2),(max(-57.8+180,-86.7*[M06]+180))|LineTo(50.4),(max(-66.9+180,-100.3*[M07]+180))|LineTo(57.6),(max(-75.7+180,-113.5*[M08]+180))|LineTo(64.8),(max(-84.2+180,-126.3*[M09]+180))|LineTo(72),(max(-92.5+180,-138.7*[M10]+180))|LineTo(79.2),(max(-100.3+180,-150.5*[M11]+180))|LineTo(86.4),(max(-107.8+180,-161.7*[M12]+180))|LineTo(93.6),(max(-114.9+180,-172.3*[M13]+180))|LineTo(100.8),(max(-121.5+180,-182.3*[M14]+180))|LineTo(108),(max(-127.7+180,-191.5*[M15]+180))|LineTo(115.2),(max(-133.4+180,-200.1*[M16]+180))|LineTo(122.4),(max(-138.5+180,-207.8*[M17]+180))|LineTo(129.6),(max(-143.2+180,-214.8*[M18]+180))|LineTo(136.8),(max(-147.3+180,-221*[M19]+180))|LineTo(144),(max(-150.9+180,-226.4*[M20]+180))|LineTo(151.2),(max(-153.9+180,-230.8*[M21]+180))|LineTo(158.4),(max(-156.3+180,-234.4*[M22]+180))|LineTo(165.6),(max(-158.1+180,-237.2*[M23]+180))|LineTo(172.8),(max(-159.3+180,-239*[M24]+180))|LineTo(180),(max(-159.9+180,-239.9*[M25]+180))|LineTo(187.2),(max(-159.9+180,-239.9*[M26]+180))|LineTo(194.4),(max(-159.3+180,-239*[M27]+180))|LineTo(201.6),(max(-158.1+180,-237.2*[M28]+180))|LineTo(208.8),(max(-156.3+180,-234.4*[M29]+180))|LineTo(216),(max(-153.9+180,-230.8*[M30]+180))|LineTo(223.2),(max(-150.9+180,-226.4*[M31]+180))|LineTo(230.4),(max(-147.3+180,-221*[M32]+180))|LineTo(237.6),(max(-143.2+180,-214.8*[M33]+180))|LineTo(244.8),(max(-138.5+180,-207.8*[M34]+180))|LineTo(252),(max(-133.4+180,-200.1*[M35]+180))|LineTo(259.2),(max(-127.7+180,-191.5*[M36]+180))|LineTo(266.4),(max(-121.5+180,-182.3*[M37]+180))|LineTo(273.6),(max(-114.9+180,-172.3*[M38]+180))|LineTo(280.8),(max(-107.8+180,-161.7*[M39]+180))|LineTo(288),(max(-100.3+180,-150.5*[M40]+180))|LineTo(295.2),(max(-92.5+180,-138.7*[M41]+180))|LineTo(302.4),(max(-84.2+180,-126.3*[M42]+180))|LineTo(309.6),(max(-75.7+180,-113.5*[M43]+180))|LineTo(316.8),(max(-66.9+180,-100.3*[M44]+180))|LineTo(324),(max(-57.8+180,-86.7*[M45]+180))|LineTo(331.2),(max(-48.5+180,-72.8*[M46]+180))|LineTo(338.4),(max(-39+180,-58.5*[M47]+180))|LineTo(345.6),(max(-29.4+180,-44.1*[M48]+180))|LineTo(352.8),(max(-19.7+180,-29.5*[M49]+180))|LineTo(360),(max(-9.9+180,-14.8*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(min(-0+180,-0*[M00]+180))|LineTo(7.2),(min(9.9+180,14.8*[M01]+180))|LineTo(14.4),(min(19.7+180,29.5*[M02]+180))|LineTo(21.6),(min(29.4+180,44.1*[M03]+180))|LineTo(28.8),(min(39+180,58.5*[M04]+180))|LineTo(36),(min(48.5+180,72.8*[M05]+180))|LineTo(43.2),(min(57.8+180,86.7*[M06]+180))|LineTo(50.4),(min(66.9+180,100.3*[M07]+180))|LineTo(57.6),(min(75.7+180,113.5*[M08]+180))|LineTo(64.8),(min(84.2+180,126.3*[M09]+180))|LineTo(72),(min(92.5+180,138.7*[M10]+180))|LineTo(79.2),(min(100.3+180,150.5*[M11]+180))|LineTo(86.4),(min(107.8+180,161.7*[M12]+180))|LineTo(93.6),(min(114.9+180,172.3*[M13]+180))|LineTo(100.8),(min(121.5+180,182.3*[M14]+180))|LineTo(108),(min(127.7+180,191.5*[M15]+180))|LineTo(115.2),(min(133.4+180,200.1*[M16]+180))|LineTo(122.4),(min(138.5+180,207.8*[M17]+180))|LineTo(129.6),(min(143.2+180,214.8*[M18]+180))|LineTo(136.8),(min(147.3+180,221*[M19]+180))|LineTo(144),(min(150.9+180,226.4*[M20]+180))|LineTo(151.2),(min(153.9+180,230.8*[M21]+180))|LineTo(158.4),(min(156.3+180,234.4*[M22]+180))|LineTo(165.6),(min(158.1+180,237.2*[M23]+180))|LineTo(172.8),(min(159.3+180,239*[M24]+180))|LineTo(180),(min(159.9+180,239.9*[M25]+180))|LineTo(187.2),(min(159.9+180,239.9*[M26]+180))|LineTo(194.4),(min(159.3+180,239*[M27]+180))|LineTo(201.6),(min(158.1+180,237.2*[M28]+180))|LineTo(208.8),(min(156.3+180,234.4*[M29]+180))|LineTo(216),(min(153.9+180,230.8*[M30]+180))|LineTo(223.2),(min(150.9+180,226.4*[M31]+180))|LineTo(230.4),(min(147.3+180,221*[M32]+180))|LineTo(237.6),(min(143.2+180,214.8*[M33]+180))|LineTo(244.8),(min(138.5+180,207.8*[M34]+180))|LineTo(252),(min(133.4+180,200.1*[M35]+180))|LineTo(259.2),(min(127.7+180,191.5*[M36]+180))|LineTo(266.4),(min(121.5+180,182.3*[M37]+180))|LineTo(273.6),(min(114.9+180,172.3*[M38]+180))|LineTo(280.8),(min(107.8+180,161.7*[M39]+180))|LineTo(288),(min(100.3+180,150.5*[M40]+180))|LineTo(295.2),(min(92.5+180,138.7*[M41]+180))|LineTo(302.4),(min(84.2+180,126.3*[M42]+180))|LineTo(309.6),(min(75.7+180,113.5*[M43]+180))|LineTo(316.8),(min(66.9+180,100.3*[M44]+180))|LineTo(324),(min(57.8+180,86.7*[M45]+180))|LineTo(331.2),(min(48.5+180,72.8*[M46]+180))|LineTo(338.4),(min(39+180,58.5*[M47]+180))|LineTo(345.6),(min(29.4+180,44.1*[M48]+180))|LineTo(352.8),(min(19.7+180,29.5*[M49]+180))|LineTo(360),(min(9.9+180,14.8*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(max(0+180,0*[M00]+180))|LineTo(7.2),(max(-6.6+180,-9.9*[M01]+180))|LineTo(14.4),(max(-13.2+180,-19.8*[M02]+180))|LineTo(21.6),(max(-19.7+180,-29.5*[M03]+180))|LineTo(28.8),(max(-26.1+180,-39.2*[M04]+180))|LineTo(36),(max(-32.5+180,-48.7*[M05]+180))|LineTo(43.2),(max(-38.7+180,-58.1*[M06]+180))|LineTo(50.4),(max(-44.8+180,-67.2*[M07]+180))|LineTo(57.6),(max(-50.7+180,-76.1*[M08]+180))|LineTo(64.8),(max(-56.5+180,-84.7*[M09]+180))|LineTo(72),(max(-61.9+180,-92.9*[M10]+180))|LineTo(79.2),(max(-67.2+180,-100.8*[M11]+180))|LineTo(86.4),(max(-72.2+180,-108.3*[M12]+180))|LineTo(93.6),(max(-76.9+180,-115.4*[M13]+180))|LineTo(100.8),(max(-81.4+180,-122.1*[M14]+180))|LineTo(108),(max(-85.5+180,-128.3*[M15]+180))|LineTo(115.2),(max(-89.3+180,-134*[M16]+180))|LineTo(122.4),(max(-92.9+180,-139.3*[M17]+180))|LineTo(129.6),(max(-95.9+180,-143.9*[M18]+180))|LineTo(136.8),(max(-98.7+180,-148.1*[M19]+180))|LineTo(144),(max(-101.1+180,-151.7*[M20]+180))|LineTo(151.2),(max(-103.1+180,-154.7*[M21]+180))|LineTo(158.4),(max(-104.7+180,-157.1*[M22]+180))|LineTo(165.6),(max(-105.9+180,-158.9*[M23]+180))|LineTo(172.8),(max(-106.7+180,-160.1*[M24]+180))|LineTo(180),(max(-107.1+180,-160.7*[M25]+180))|LineTo(187.2),(max(-107.1+180,-160.7*[M26]+180))|LineTo(194.4),(max(-106.7+180,-160.1*[M27]+180))|LineTo(201.6),(max(-105.9+180,-158.9*[M28]+180))|LineTo(208.8),(max(-104.7+180,-157.1*[M29]+180))|LineTo(216),(max(-103.1+180,-154.7*[M30]+180))|LineTo(223.2),(max(-101.1+180,-151.7*[M31]+180))|LineTo(230.4),(max(-98.7+180,-148.1*[M32]+180))|LineTo(237.6),(max(-95.9+180,-143.9*[M33]+180))|LineTo(244.8),(max(-92.9+180,-139.3*[M34]+180))|LineTo(252),(max(-89.3+180,-134*[M35]+180))|LineTo(259.2),(max(-85.5+180,-128.3*[M36]+180))|LineTo(266.4),(max(-81.4+180,-122.1*[M37]+180))|LineTo(273.6),(max(-76.9+180,-115.4*[M38]+180))|LineTo(280.8),(max(-72.2+180,-108.3*[M39]+180))|LineTo(288),(max(-67.2+180,-100.8*[M40]+180))|LineTo(295.2),(max(-61.9+180,-92.9*[M41]+180))|LineTo(302.4),(max(-56.5+180,-84.7*[M42]+180))|LineTo(309.6),(max(-50.7+180,-76.1*[M43]+180))|LineTo(316.8),(max(-44.8+180,-67.2*[M44]+180))|LineTo(324),(max(-38.7+180,-58.1*[M45]+180))|LineTo(331.2),(max(-32.5+180,-48.7*[M46]+180))|LineTo(338.4),(max(-26.1+180,-39.2*[M47]+180))|LineTo(345.6),(max(-19.7+180,-29.5*[M48]+180))|LineTo(352.8),(max(-13.2+180,-19.8*[M49]+180))|LineTo(360),(max(-6.6+180,-9.9*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(min(-0+180,-0*[M00]+180))|LineTo(7.2),(min(6.6+180,9.9*[M01]+180))|LineTo(14.4),(min(13.2+180,19.8*[M02]+180))|LineTo(21.6),(min(19.7+180,29.5*[M03]+180))|LineTo(28.8),(min(26.1+180,39.2*[M04]+180))|LineTo(36),(min(32.5+180,48.7*[M05]+180))|LineTo(43.2),(min(38.7+180,58.1*[M06]+180))|LineTo(50.4),(min(44.8+180,67.2*[M07]+180))|LineTo(57.6),(min(50.7+180,76.1*[M08]+180))|LineTo(64.8),(min(56.5+180,84.7*[M09]+180))|LineTo(72),(min(61.9+180,92.9*[M10]+180))|LineTo(79.2),(min(67.2+180,100.8*[M11]+180))|LineTo(86.4),(min(72.2+180,108.3*[M12]+180))|LineTo(93.6),(min(76.9+180,115.4*[M13]+180))|LineTo(100.8),(min(81.4+180,122.1*[M14]+180))|LineTo(108),(min(85.5+180,128.3*[M15]+180))|LineTo(115.2),(min(89.3+180,134*[M16]+180))|LineTo(122.4),(min(92.9+180,139.3*[M17]+180))|LineTo(129.6),(min(95.9+180,143.9*[M18]+180))|LineTo(136.8),(min(98.7+180,148.1*[M19]+180))|LineTo(144),(min(101.1+180,151.7*[M20]+180))|LineTo(151.2),(min(103.1+180,154.7*[M21]+180))|LineTo(158.4),(min(104.7+180,157.1*[M22]+180))|LineTo(165.6),(min(105.9+180,158.9*[M23]+180))|LineTo(172.8),(min(106.7+180,160.1*[M24]+180))|LineTo(180),(min(107.1+180,160.7*[M25]+180))|LineTo(187.2),(min(107.1+180,160.7*[M26]+180))|LineTo(194.4),(min(106.7+180,160.1*[M27]+180))|LineTo(201.6),(min(105.9+180,158.9*[M28]+180))|LineTo(208.8),(min(104.7+180,157.1*[M29]+180))|LineTo(216),(min(103.1+180,154.7*[M30]+180))|LineTo(223.2),(min(101.1+180,151.7*[M31]+180))|LineTo(230.4),(min(98.7+180,148.1*[M32]+180))|LineTo(237.6),(min(95.9+180,143.9*[M33]+180))|LineTo(244.8),(min(92.9+180,139.3*[M34]+180))|LineTo(252),(min(89.3+180,134*[M35]+180))|LineTo(259.2),(min(85.5+180,128.3*[M36]+180))|LineTo(266.4),(min(81.4+180,122.1*[M37]+180))|LineTo(273.6),(min(76.9+180,115.4*[M38]+180))|LineTo(280.8),(min(72.2+180,108.3*[M39]+180))|LineTo(288),(min(67.2+180,100.8*[M40]+180))|LineTo(295.2),(min(61.9+180,92.9*[M41]+180))|LineTo(302.4),(min(56.5+180,84.7*[M42]+180))|LineTo(309.6),(min(50.7+180,76.1*[M43]+180))|LineTo(316.8),(min(44.8+180,67.2*[M44]+180))|LineTo(324),(min(38.7+180,58.1*[M45]+180))|LineTo(331.2),(min(32.5+180,48.7*[M46]+180))|LineTo(338.4),(min(26.1+180,39.2*[M47]+180))|LineTo(345.6),(min(19.7+180,29.5*[M48]+180))|LineTo(352.8),(min(13.2+180,19.8*[M49]+180))|LineTo(360),(min(6.6+180,9.9*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(max(0+180,0*[M00]+180))|LineTo(7.2),(max(-4.4+180,-6.6*[M01]+180))|LineTo(14.4),(max(-8.8+180,-13.2*[M02]+180))|LineTo(21.6),(max(-13.2+180,-19.8*[M03]+180))|LineTo(28.8),(max(-17.5+180,-26.3*[M04]+180))|LineTo(36),(max(-21.8+180,-32.7*[M05]+180))|LineTo(43.2),(max(-25.9+180,-38.9*[M06]+180))|LineTo(50.4),(max(-30+180,-45*[M07]+180))|LineTo(57.6),(max(-34+180,-51*[M08]+180))|LineTo(64.8),(max(-37.8+180,-56.7*[M09]+180))|LineTo(72),(max(-41.5+180,-62.2*[M10]+180))|LineTo(79.2),(max(-45+180,-67.5*[M11]+180))|LineTo(86.4),(max(-48.4+180,-72.6*[M12]+180))|LineTo(93.6),(max(-51.5+180,-77.3*[M13]+180))|LineTo(100.8),(max(-54.5+180,-81.8*[M14]+180))|LineTo(108),(max(-57.3+180,-86*[M15]+180))|LineTo(115.2),(max(-59.9+180,-89.8*[M16]+180))|LineTo(122.4),(max(-62.2+180,-93.3*[M17]+180))|LineTo(129.6),(max(-64.3+180,-96.4*[M18]+180))|LineTo(136.8),(max(-66.1+180,-99.2*[M19]+180))|LineTo(144),(max(-67.7+180,-101.6*[M20]+180))|LineTo(151.2),(max(-69.1+180,-103.6*[M21]+180))|LineTo(158.4),(max(-70.1+180,-105.2*[M22]+180))|LineTo(165.6),(max(-71+180,-106.5*[M23]+180))|LineTo(172.8),(max(-71.5+180,-107.3*[M24]+180))|LineTo(180),(max(-71.8+180,-107.7*[M25]+180))|LineTo(187.2),(max(-71.8+180,-107.7*[M26]+180))|LineTo(194.4),(max(-71.5+180,-107.3*[M27]+180))|LineTo(201.6),(max(-71+180,-106.5*[M28]+180))|LineTo(208.8),(max(-70.1+180,-105.2*[M29]+180))|LineTo(216),(max(-69.1+180,-103.6*[M30]+180))|LineTo(223.2),(max(-67.7+180,-101.6*[M31]+180))|LineTo(230.4),(max(-66.1+180,-99.2*[M32]+180))|LineTo(237.6),(max(-64.3+180,-96.4*[M33]+180))|LineTo(244.8),(max(-62.2+180,-93.3*[M34]+180))|LineTo(252),(max(-59.9+180,-89.8*[M35]+180))|LineTo(259.2),(max(-57.3+180,-86*[M36]+180))|LineTo(266.4),(max(-54.5+180,-81.8*[M37]+180))|LineTo(273.6),(max(-51.5+180,-77.3*[M38]+180))|LineTo(280.8),(max(-48.4+180,-72.6*[M39]+180))|LineTo(288),(max(-45+180,-67.5*[M40]+180))|LineTo(295.2),(max(-41.5+180,-62.2*[M41]+180))|LineTo(302.4),(max(-37.8+180,-56.7*[M42]+180))|LineTo(309.6),(max(-34+180,-51*[M43]+180))|LineTo(316.8),(max(-30+180,-45*[M44]+180))|LineTo(324),(max(-25.9+180,-38.9*[M45]+180))|LineTo(331.2),(max(-21.8+180,-32.7*[M46]+180))|LineTo(338.4),(max(-17.5+180,-26.3*[M47]+180))|LineTo(345.6),(max(-13.2+180,-19.8*[M48]+180))|LineTo(352.8),(max(-8.8+180,-13.2*[M49]+180))|LineTo(360),(max(-4.4+180,-6.6*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(min(-0+180,-0*[M00]+180))|LineTo(7.2),(min(4.4+180,6.6*[M01]+180))|LineTo(14.4),(min(8.8+180,13.2*[M02]+180))|LineTo(21.6),(min(13.2+180,19.8*[M03]+180))|LineTo(28.8),(min(17.5+180,26.3*[M04]+180))|LineTo(36),(min(21.8+180,32.7*[M05]+180))|LineTo(43.2),(min(25.9+180,38.9*[M06]+180))|LineTo(50.4),(min(30+180,45*[M07]+180))|LineTo(57.6),(min(34+180,51*[M08]+180))|LineTo(64.8),(min(37.8+180,56.7*[M09]+180))|LineTo(72),(min(41.5+180,62.2*[M10]+180))|LineTo(79.2),(min(45+180,67.5*[M11]+180))|LineTo(86.4),(min(48.4+180,72.6*[M12]+180))|LineTo(93.6),(min(51.5+180,77.3*[M13]+180))|LineTo(100.8),(min(54.5+180,81.8*[M14]+180))|LineTo(108),(min(57.3+180,86*[M15]+180))|LineTo(115.2),(min(59.9+180,89.8*[M16]+180))|LineTo(122.4),(min(62.2+180,93.3*[M17]+180))|LineTo(129.6),(min(64.3+180,96.4*[M18]+180))|LineTo(136.8),(min(66.1+180,99.2*[M19]+180))|LineTo(144),(min(67.7+180,101.6*[M20]+180))|LineTo(151.2),(min(69.1+180,103.6*[M21]+180))|LineTo(158.4),(min(70.1+180,105.2*[M22]+180))|LineTo(165.6),(min(71+180,106.5*[M23]+180))|LineTo(172.8),(min(71.5+180,107.3*[M24]+180))|LineTo(180),(min(71.8+180,107.7*[M25]+180))|LineTo(187.2),(min(71.8+180,107.7*[M26]+180))|LineTo(194.4),(min(71.5+180,107.3*[M27]+180))|LineTo(201.6),(min(71+180,106.5*[M28]+180))|LineTo(208.8),(min(70.1+180,105.2*[M29]+180))|LineTo(216),(min(69.1+180,103.6*[M30]+180))|LineTo(223.2),(min(67.7+180,101.6*[M31]+180))|LineTo(230.4),(min(66.1+180,99.2*[M32]+180))|LineTo(237.6),(min(64.3+180,96.4*[M33]+180))|LineTo(244.8),(min(62.2+180,93.3*[M34]+180))|LineTo(252),(min(59.9+180,89.8*[M35]+180))|LineTo(259.2),(min(57.3+180,86*[M36]+180))|LineTo(266.4),(min(54.5+180,81.8*[M37]+180))|LineTo(273.6),(min(51.5+180,77.3*[M38]+180))|LineTo(280.8),(min(48.4+180,72.6*[M39]+180))|LineTo(288),(min(45+180,67.5*[M40]+180))|LineTo(295.2),(min(41.5+180,62.2*[M41]+180))|LineTo(302.4),(min(37.8+180,56.7*[M42]+180))|LineTo(309.6),(min(34+180,51*[M43]+180))|LineTo(316.8),(min(30+180,45*[M44]+180))|LineTo(324),(min(25.9+180,38.9*[M45]+180))|LineTo(331.2),(min(21.8+180,32.7*[M46]+180))|LineTo(338.4),(min(17.5+180,26.3*[M47]+180))|LineTo(345.6),(min(13.2+180,19.8*[M48]+180))|LineTo(352.8),(min(8.8+180,13.2*[M49]+180))|LineTo(360),(min(4.4+180,6.6*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(max(0+180,0*[M00]+180))|LineTo(7.2),(max(-2.9+180,-4.4*[M01]+180))|LineTo(14.4),(max(-5.9+180,-8.9*[M02]+180))|LineTo(21.6),(max(-8.9+180,-13.3*[M03]+180))|LineTo(28.8),(max(-11.7+180,-17.6*[M04]+180))|LineTo(36),(max(-14.6+180,-21.9*[M05]+180))|LineTo(43.2),(max(-17.4+180,-26.1*[M06]+180))|LineTo(50.4),(max(-20.1+180,-30.2*[M07]+180))|LineTo(57.6),(max(-22.7+180,-34.1*[M08]+180))|LineTo(64.8),(max(-25.3+180,-38*[M09]+180))|LineTo(72),(max(-27.8+180,-41.7*[M10]+180))|LineTo(79.2),(max(-30.2+180,-45.3*[M11]+180))|LineTo(86.4),(max(-32.4+180,-48.6*[M12]+180))|LineTo(93.6),(max(-34.5+180,-51.8*[M13]+180))|LineTo(100.8),(max(-36.5+180,-54.8*[M14]+180))|LineTo(108),(max(-38.4+180,-57.6*[M15]+180))|LineTo(115.2),(max(-40.1+180,-60.2*[M16]+180))|LineTo(122.4),(max(-41.7+180,-62.5*[M17]+180))|LineTo(129.6),(max(-43.1+180,-64.6*[M18]+180))|LineTo(136.8),(max(-44.3+180,-66.5*[M19]+180))|LineTo(144),(max(-45.4+180,-68.1*[M20]+180))|LineTo(151.2),(max(-46.3+180,-69.4*[M21]+180))|LineTo(158.4),(max(-47+180,-70.5*[M22]+180))|LineTo(165.6),(max(-47.5+180,-71.3*[M23]+180))|LineTo(172.8),(max(-47.9+180,-71.9*[M24]+180))|LineTo(180),(max(-48.1+180,-72.1*[M25]+180))|LineTo(187.2),(max(-48.1+180,-72.1*[M26]+180))|LineTo(194.4),(max(-47.9+180,-71.9*[M27]+180))|LineTo(201.6),(max(-47.5+180,-71.3*[M28]+180))|LineTo(208.8),(max(-47+180,-70.5*[M29]+180))|LineTo(216),(max(-46.3+180,-69.4*[M30]+180))|LineTo(223.2),(max(-45.4+180,-68.1*[M31]+180))|LineTo(230.4),(max(-44.3+180,-66.5*[M32]+180))|LineTo(237.6),(max(-43.1+180,-64.6*[M33]+180))|LineTo(244.8),(max(-41.7+180,-62.5*[M34]+180))|LineTo(252),(max(-40.1+180,-60.2*[M35]+180))|LineTo(259.2),(max(-38.4+180,-57.6*[M36]+180))|LineTo(266.4),(max(-36.5+180,-54.8*[M37]+180))|LineTo(273.6),(max(-34.5+180,-51.8*[M38]+180))|LineTo(280.8),(max(-32.4+180,-48.6*[M39]+180))|LineTo(288),(max(-30.2+180,-45.3*[M40]+180))|LineTo(295.2),(max(-27.8+180,-41.7*[M41]+180))|LineTo(302.4),(max(-25.3+180,-38*[M42]+180))|LineTo(309.6),(max(-22.7+180,-34.1*[M43]+180))|LineTo(316.8),(max(-20.1+180,-30.2*[M44]+180))|LineTo(324),(max(-17.4+180,-26.1*[M45]+180))|LineTo(331.2),(max(-14.6+180,-21.9*[M46]+180))|LineTo(338.4),(max(-11.7+180,-17.6*[M47]+180))|LineTo(345.6),(max(-8.9+180,-13.3*[M48]+180))|LineTo(352.8),(max(-5.9+180,-8.9*[M49]+180))|LineTo(360),(max(-2.9+180,-4.4*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(min(-0+180,-0*[M00]+180))|LineTo(7.2),(min(2.9+180,4.4*[M01]+180))|LineTo(14.4),(min(5.9+180,8.9*[M02]+180))|LineTo(21.6),(min(8.9+180,13.3*[M03]+180))|LineTo(28.8),(min(11.7+180,17.6*[M04]+180))|LineTo(36),(min(14.6+180,21.9*[M05]+180))|LineTo(43.2),(min(17.4+180,26.1*[M06]+180))|LineTo(50.4),(min(20.1+180,30.2*[M07]+180))|LineTo(57.6),(min(22.7+180,34.1*[M08]+180))|LineTo(64.8),(min(25.3+180,38*[M09]+180))|LineTo(72),(min(27.8+180,41.7*[M10]+180))|LineTo(79.2),(min(30.2+180,45.3*[M11]+180))|LineTo(86.4),(min(32.4+180,48.6*[M12]+180))|LineTo(93.6),(min(34.5+180,51.8*[M13]+180))|LineTo(100.8),(min(36.5+180,54.8*[M14]+180))|LineTo(108),(min(38.4+180,57.6*[M15]+180))|LineTo(115.2),(min(40.1+180,60.2*[M16]+180))|LineTo(122.4),(min(41.7+180,62.5*[M17]+180))|LineTo(129.6),(min(43.1+180,64.6*[M18]+180))|LineTo(136.8),(min(44.3+180,66.5*[M19]+180))|LineTo(144),(min(45.4+180,68.1*[M20]+180))|LineTo(151.2),(min(46.3+180,69.4*[M21]+180))|LineTo(158.4),(min(47+180,70.5*[M22]+180))|LineTo(165.6),(min(47.5+180,71.3*[M23]+180))|LineTo(172.8),(min(47.9+180,71.9*[M24]+180))|LineTo(180),(min(48.1+180,72.1*[M25]+180))|LineTo(187.2),(min(48.1+180,72.1*[M26]+180))|LineTo(194.4),(min(47.9+180,71.9*[M27]+180))|LineTo(201.6),(min(47.5+180,71.3*[M28]+180))|LineTo(208.8),(min(47+180,70.5*[M29]+180))|LineTo(216),(min(46.3+180,69.4*[M30]+180))|LineTo(223.2),(min(45.4+180,68.1*[M31]+180))|LineTo(230.4),(min(44.3+180,66.5*[M32]+180))|LineTo(237.6),(min(43.1+180,64.6*[M33]+180))|LineTo(244.8),(min(41.7+180,62.5*[M34]+180))|LineTo(252),(min(40.1+180,60.2*[M35]+180))|LineTo(259.2),(min(38.4+180,57.6*[M36]+180))|LineTo(266.4),(min(36.5+180,54.8*[M37]+180))|LineTo(273.6),(min(34.5+180,51.8*[M38]+180))|LineTo(280.8),(min(32.4+180,48.6*[M39]+180))|LineTo(288),(min(30.2+180,45.3*[M40]+180))|LineTo(295.2),(min(27.8+180,41.7*[M41]+180))|LineTo(302.4),(min(25.3+180,38*[M42]+180))|LineTo(309.6),(min(22.7+180,34.1*[M43]+180))|LineTo(316.8),(min(20.1+180,30.2*[M44]+180))|LineTo(324),(min(17.4+180,26.1*[M45]+180))|LineTo(331.2),(min(14.6+180,21.9*[M46]+180))|LineTo(338.4),(min(11.7+180,17.6*[M47]+180))|LineTo(345.6),(min(8.9+180,13.3*[M48]+180))|LineTo(352.8),(min(5.9+180,8.9*[M49]+180))|LineTo(360),(min(2.9+180,4.4*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(max(0+180,0*[M00]+180))|LineTo(7.2),(max(-2+180,-3*[M01]+180))|LineTo(14.4),(max(-3.9+180,-5.9*[M02]+180))|LineTo(21.6),(max(-5.9+180,-8.9*[M03]+180))|LineTo(28.8),(max(-7.9+180,-11.8*[M04]+180))|LineTo(36),(max(-9.8+180,-14.7*[M05]+180))|LineTo(43.2),(max(-11.7+180,-17.5*[M06]+180))|LineTo(50.4),(max(-13.5+180,-20.2*[M07]+180))|LineTo(57.6),(max(-15.3+180,-22.9*[M08]+180))|LineTo(64.8),(max(-17+180,-25.5*[M09]+180))|LineTo(72),(max(-18.6+180,-27.9*[M10]+180))|LineTo(79.2),(max(-20.2+180,-30.3*[M11]+180))|LineTo(86.4),(max(-21.7+180,-32.6*[M12]+180))|LineTo(93.6),(max(-23.1+180,-34.7*[M13]+180))|LineTo(100.8),(max(-24.5+180,-36.7*[M14]+180))|LineTo(108),(max(-25.7+180,-38.6*[M15]+180))|LineTo(115.2),(max(-26.9+180,-40.3*[M16]+180))|LineTo(122.4),(max(-27.9+180,-41.9*[M17]+180))|LineTo(129.6),(max(-28.9+180,-43.3*[M18]+180))|LineTo(136.8),(max(-29.7+180,-44.5*[M19]+180))|LineTo(144),(max(-30.4+180,-45.6*[M20]+180))|LineTo(151.2),(max(-31+180,-46.5*[M21]+180))|LineTo(158.4),(max(-31.5+180,-47.2*[M22]+180))|LineTo(165.6),(max(-31.9+180,-47.8*[M23]+180))|LineTo(172.8),(max(-32.1+180,-48.2*[M24]+180))|LineTo(180),(max(-32.2+180,-48.3*[M25]+180))|LineTo(187.2),(max(-32.2+180,-48.3*[M26]+180))|LineTo(194.4),(max(-32.1+180,-48.2*[M27]+180))|LineTo(201.6),(max(-31.9+180,-47.8*[M28]+180))|LineTo(208.8),(max(-31.5+180,-47.2*[M29]+180))|LineTo(216),(max(-31+180,-46.5*[M30]+180))|LineTo(223.2),(max(-30.4+180,-45.6*[M31]+180))|LineTo(230.4),(max(-29.7+180,-44.5*[M32]+180))|LineTo(237.6),(max(-28.9+180,-43.3*[M33]+180))|LineTo(244.8),(max(-27.9+180,-41.9*[M34]+180))|LineTo(252),(max(-26.9+180,-40.3*[M35]+180))|LineTo(259.2),(max(-25.7+180,-38.6*[M36]+180))|LineTo(266.4),(max(-24.5+180,-36.7*[M37]+180))|LineTo(273.6),(max(-23.1+180,-34.7*[M38]+180))|LineTo(280.8),(max(-21.7+180,-32.6*[M39]+180))|LineTo(288),(max(-20.2+180,-30.3*[M40]+180))|LineTo(295.2),(max(-18.6+180,-27.9*[M41]+180))|LineTo(302.4),(max(-17+180,-25.5*[M42]+180))|LineTo(309.6),(max(-15.3+180,-22.9*[M43]+180))|LineTo(316.8),(max(-13.5+180,-20.2*[M44]+180))|LineTo(324),(max(-11.7+180,-17.5*[M45]+180))|LineTo(331.2),(max(-9.8+180,-14.7*[M46]+180))|LineTo(338.4),(max(-7.9+180,-11.8*[M47]+180))|LineTo(345.6),(max(-5.9+180,-8.9*[M48]+180))|LineTo(352.8),(max(-3.9+180,-5.9*[M49]+180))|LineTo(360),(max(-2+180,-3*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(min(-0+180,-0*[M00]+180))|LineTo(7.2),(min(2+180,3*[M01]+180))|LineTo(14.4),(min(3.9+180,5.9*[M02]+180))|LineTo(21.6),(min(5.9+180,8.9*[M03]+180))|LineTo(28.8),(min(7.9+180,11.8*[M04]+180))|LineTo(36),(min(9.8+180,14.7*[M05]+180))|LineTo(43.2),(min(11.7+180,17.5*[M06]+180))|LineTo(50.4),(min(13.5+180,20.2*[M07]+180))|LineTo(57.6),(min(15.3+180,22.9*[M08]+180))|LineTo(64.8),(min(17+180,25.5*[M09]+180))|LineTo(72),(min(18.6+180,27.9*[M10]+180))|LineTo(79.2),(min(20.2+180,30.3*[M11]+180))|LineTo(86.4),(min(21.7+180,32.6*[M12]+180))|LineTo(93.6),(min(23.1+180,34.7*[M13]+180))|LineTo(100.8),(min(24.5+180,36.7*[M14]+180))|LineTo(108),(min(25.7+180,38.6*[M15]+180))|LineTo(115.2),(min(26.9+180,40.3*[M16]+180))|LineTo(122.4),(min(27.9+180,41.9*[M17]+180))|LineTo(129.6),(min(28.9+180,43.3*[M18]+180))|LineTo(136.8),(min(29.7+180,44.5*[M19]+180))|LineTo(144),(min(30.4+180,45.6*[M20]+180))|LineTo(151.2),(min(31+180,46.5*[M21]+180))|LineTo(158.4),(min(31.5+180,47.2*[M22]+180))|LineTo(165.6),(min(31.9+180,47.8*[M23]+180))|LineTo(172.8),(min(32.1+180,48.2*[M24]+180))|LineTo(180),(min(32.2+180,48.3*[M25]+180))|LineTo(187.2),(min(32.2+180,48.3*[M26]+180))|LineTo(194.4),(min(32.1+180,48.2*[M27]+180))|LineTo(201.6),(min(31.9+180,47.8*[M28]+180))|LineTo(208.8),(min(31.5+180,47.2*[M29]+180))|LineTo(216),(min(31+180,46.5*[M30]+180))|LineTo(223.2),(min(30.4+180,45.6*[M31]+180))|LineTo(230.4),(min(29.7+180,44.5*[M32]+180))|LineTo(237.6),(min(28.9+180,43.3*[M33]+180))|LineTo(244.8),(min(27.9+180,41.9*[M34]+180))|LineTo(252),(min(26.9+180,40.3*[M35]+180))|LineTo(259.2),(min(25.7+180,38.6*[M36]+180))|LineTo(266.4),(min(24.5+180,36.7*[M37]+180))|LineTo(273.6),(min(23.1+180,34.7*[M38]+180))|LineTo(280.8),(min(21.7+180,32.6*[M39]+180))|LineTo(288),(min(20.2+180,30.3*[M40]+180))|LineTo(295.2),(min(18.6+180,27.9*[M41]+180))|LineTo(302.4),(min(17+180,25.5*[M42]+180))|LineTo(309.6),(min(15.3+180,22.9*[M43]+180))|LineTo(316.8),(min(13.5+180,20.2*[M44]+180))|LineTo(324),(min(11.7+180,17.5*[M45]+180))|LineTo(331.2),(min(9.8+180,14.7*[M46]+180))|LineTo(338.4),(min(7.9+180,11.8*[M47]+180))|LineTo(345.6),(min(5.9+180,8.9*[M48]+180))|LineTo(352.8),(min(3.9+180,5.9*[M49]+180))|LineTo(360),(min(2+180,3*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(max(0+180,0*[M00]+180))|LineTo(7.2),(max(-1.3+180,-2*[M01]+180))|LineTo(14.4),(max(-2.7+180,-4*[M02]+180))|LineTo(21.6),(max(-4+180,-6*[M03]+180))|LineTo(28.8),(max(-5.3+180,-7.9*[M04]+180))|LineTo(36),(max(-6.5+180,-9.8*[M05]+180))|LineTo(43.2),(max(-7.8+180,-11.7*[M06]+180))|LineTo(50.4),(max(-9+180,-13.5*[M07]+180))|LineTo(57.6),(max(-10.2+180,-15.3*[M08]+180))|LineTo(64.8),(max(-11.4+180,-17.1*[M09]+180))|LineTo(72),(max(-12.5+180,-18.7*[M10]+180))|LineTo(79.2),(max(-13.5+180,-20.3*[M11]+180))|LineTo(86.4),(max(-14.5+180,-21.8*[M12]+180))|LineTo(93.6),(max(-15.5+180,-23.3*[M13]+180))|LineTo(100.8),(max(-16.4+180,-24.6*[M14]+180))|LineTo(108),(max(-17.3+180,-25.9*[M15]+180))|LineTo(115.2),(max(-18+180,-27*[M16]+180))|LineTo(122.4),(max(-18.7+180,-28.1*[M17]+180))|LineTo(129.6),(max(-19.3+180,-29*[M18]+180))|LineTo(136.8),(max(-19.9+180,-29.8*[M19]+180))|LineTo(144),(max(-20.4+180,-30.6*[M20]+180))|LineTo(151.2),(max(-20.8+180,-31.2*[M21]+180))|LineTo(158.4),(max(-21.1+180,-31.7*[M22]+180))|LineTo(165.6),(max(-21.3+180,-32*[M23]+180))|LineTo(172.8),(max(-21.5+180,-32.3*[M24]+180))|LineTo(180),(max(-21.6+180,-32.4*[M25]+180))|LineTo(187.2),(max(-21.6+180,-32.4*[M26]+180))|LineTo(194.4),(max(-21.5+180,-32.3*[M27]+180))|LineTo(201.6),(max(-21.3+180,-32*[M28]+180))|LineTo(208.8),(max(-21.1+180,-31.7*[M29]+180))|LineTo(216),(max(-20.8+180,-31.2*[M30]+180))|LineTo(223.2),(max(-20.4+180,-30.6*[M31]+180))|LineTo(230.4),(max(-19.9+180,-29.8*[M32]+180))|LineTo(237.6),(max(-19.3+180,-29*[M33]+180))|LineTo(244.8),(max(-18.7+180,-28.1*[M34]+180))|LineTo(252),(max(-18+180,-27*[M35]+180))|LineTo(259.2),(max(-17.3+180,-25.9*[M36]+180))|LineTo(266.4),(max(-16.4+180,-24.6*[M37]+180))|LineTo(273.6),(max(-15.5+180,-23.3*[M38]+180))|LineTo(280.8),(max(-14.5+180,-21.8*[M39]+180))|LineTo(288),(max(-13.5+180,-20.3*[M40]+180))|LineTo(295.2),(max(-12.5+180,-18.7*[M41]+180))|LineTo(302.4),(max(-11.4+180,-17.1*[M42]+180))|LineTo(309.6),(max(-10.2+180,-15.3*[M43]+180))|LineTo(316.8),(max(-9+180,-13.5*[M44]+180))|LineTo(324),(max(-7.8+180,-11.7*[M45]+180))|LineTo(331.2),(max(-6.5+180,-9.8*[M46]+180))|LineTo(338.4),(max(-5.3+180,-7.9*[M47]+180))|LineTo(345.6),(max(-4+180,-6*[M48]+180))|LineTo(352.8),(max(-2.7+180,-4*[M49]+180))|LineTo(360),(max(-1.3+180,-2*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(min(-0+180,-0*[M00]+180))|LineTo(7.2),(min(1.3+180,2*[M01]+180))|LineTo(14.4),(min(2.7+180,4*[M02]+180))|LineTo(21.6),(min(4+180,6*[M03]+180))|LineTo(28.8),(min(5.3+180,7.9*[M04]+180))|LineTo(36),(min(6.5+180,9.8*[M05]+180))|LineTo(43.2),(min(7.8+180,11.7*[M06]+180))|LineTo(50.4),(min(9+180,13.5*[M07]+180))|LineTo(57.6),(min(10.2+180,15.3*[M08]+180))|LineTo(64.8),(min(11.4+180,17.1*[M09]+180))|LineTo(72),(min(12.5+180,18.7*[M10]+180))|LineTo(79.2),(min(13.5+180,20.3*[M11]+180))|LineTo(86.4),(min(14.5+180,21.8*[M12]+180))|LineTo(93.6),(min(15.5+180,23.3*[M13]+180))|LineTo(100.8),(min(16.4+180,24.6*[M14]+180))|LineTo(108),(min(17.3+180,25.9*[M15]+180))|LineTo(115.2),(min(18+180,27*[M16]+180))|LineTo(122.4),(min(18.7+180,28.1*[M17]+180))|LineTo(129.6),(min(19.3+180,29*[M18]+180))|LineTo(136.8),(min(19.9+180,29.8*[M19]+180))|LineTo(144),(min(20.4+180,30.6*[M20]+180))|LineTo(151.2),(min(20.8+180,31.2*[M21]+180))|LineTo(158.4),(min(21.1+180,31.7*[M22]+180))|LineTo(165.6),(min(21.3+180,32*[M23]+180))|LineTo(172.8),(min(21.5+180,32.3*[M24]+180))|LineTo(180),(min(21.6+180,32.4*[M25]+180))|LineTo(187.2),(min(21.6+180,32.4*[M26]+180))|LineTo(194.4),(min(21.5+180,32.3*[M27]+180))|LineTo(201.6),(min(21.3+180,32*[M28]+180))|LineTo(208.8),(min(21.1+180,31.7*[M29]+180))|LineTo(216),(min(20.8+180,31.2*[M30]+180))|LineTo(223.2),(min(20.4+180,30.6*[M31]+180))|LineTo(230.4),(min(19.9+180,29.8*[M32]+180))|LineTo(237.6),(min(19.3+180,29*[M33]+180))|LineTo(244.8),(min(18.7+180,28.1*[M34]+180))|LineTo(252),(min(18+180,27*[M35]+180))|LineTo(259.2),(min(17.3+180,25.9*[M36]+180))|LineTo(266.4),(min(16.4+180,24.6*[M37]+180))|LineTo(273.6),(min(15.5+180,23.3*[M38]+180))|LineTo(280.8),(min(14.5+180,21.8*[M39]+180))|LineTo(288),(min(13.5+180,20.3*[M40]+180))|LineTo(295.2),(min(12.5+180,18.7*[M41]+180))|LineTo(302.4),(min(11.4+180,17.1*[M42]+180))|LineTo(309.6),(min(10.2+180,15.3*[M43]+180))|LineTo(316.8),(min(9+180,13.5*[M44]+180))|LineTo(324),(min(7.8+180,11.7*[M45]+180))|LineTo(331.2),(min(6.5+180,9.8*[M46]+180))|LineTo(338.4),(min(5.3+180,7.9*[M47]+180))|LineTo(345.6),(min(4+180,6*[M48]+180))|LineTo(352.8),(min(2.7+180,4*[M49]+180))|LineTo(360),(min(1.3+180,2*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(max(0+180,0*[M00]+180))|LineTo(7.2),(max(-0.9+180,-1.3*[M01]+180))|LineTo(14.4),(max(-1.8+180,-2.7*[M02]+180))|LineTo(21.6),(max(-2.7+180,-4*[M03]+180))|LineTo(28.8),(max(-3.5+180,-5.3*[M04]+180))|LineTo(36),(max(-4.4+180,-6.6*[M05]+180))|LineTo(43.2),(max(-5.2+180,-7.8*[M06]+180))|LineTo(50.4),(max(-6.1+180,-9.1*[M07]+180))|LineTo(57.6),(max(-6.9+180,-10.3*[M08]+180))|LineTo(64.8),(max(-7.6+180,-11.4*[M09]+180))|LineTo(72),(max(-8.3+180,-12.5*[M10]+180))|LineTo(79.2),(max(-9.1+180,-13.6*[M11]+180))|LineTo(86.4),(max(-9.7+180,-14.6*[M12]+180))|LineTo(93.6),(max(-10.4+180,-15.6*[M13]+180))|LineTo(100.8),(max(-11+180,-16.5*[M14]+180))|LineTo(108),(max(-11.5+180,-17.3*[M15]+180))|LineTo(115.2),(max(-12.1+180,-18.1*[M16]+180))|LineTo(122.4),(max(-12.5+180,-18.8*[M17]+180))|LineTo(129.6),(max(-12.9+180,-19.4*[M18]+180))|LineTo(136.8),(max(-13.3+180,-20*[M19]+180))|LineTo(144),(max(-13.7+180,-20.5*[M20]+180))|LineTo(151.2),(max(-13.9+180,-20.9*[M21]+180))|LineTo(158.4),(max(-14.1+180,-21.2*[M22]+180))|LineTo(165.6),(max(-14.3+180,-21.5*[M23]+180))|LineTo(172.8),(max(-14.4+180,-21.6*[M24]+180))|LineTo(180),(max(-14.5+180,-21.7*[M25]+180))|LineTo(187.2),(max(-14.5+180,-21.7*[M26]+180))|LineTo(194.4),(max(-14.4+180,-21.6*[M27]+180))|LineTo(201.6),(max(-14.3+180,-21.5*[M28]+180))|LineTo(208.8),(max(-14.1+180,-21.2*[M29]+180))|LineTo(216),(max(-13.9+180,-20.9*[M30]+180))|LineTo(223.2),(max(-13.7+180,-20.5*[M31]+180))|LineTo(230.4),(max(-13.3+180,-20*[M32]+180))|LineTo(237.6),(max(-12.9+180,-19.4*[M33]+180))|LineTo(244.8),(max(-12.5+180,-18.8*[M34]+180))|LineTo(252),(max(-12.1+180,-18.1*[M35]+180))|LineTo(259.2),(max(-11.5+180,-17.3*[M36]+180))|LineTo(266.4),(max(-11+180,-16.5*[M37]+180))|LineTo(273.6),(max(-10.4+180,-15.6*[M38]+180))|LineTo(280.8),(max(-9.7+180,-14.6*[M39]+180))|LineTo(288),(max(-9.1+180,-13.6*[M40]+180))|LineTo(295.2),(max(-8.3+180,-12.5*[M41]+180))|LineTo(302.4),(max(-7.6+180,-11.4*[M42]+180))|LineTo(309.6),(max(-6.9+180,-10.3*[M43]+180))|LineTo(316.8),(max(-6.1+180,-9.1*[M44]+180))|LineTo(324),(max(-5.2+180,-7.8*[M45]+180))|LineTo(331.2),(max(-4.4+180,-6.6*[M46]+180))|LineTo(338.4),(max(-3.5+180,-5.3*[M47]+180))|LineTo(345.6),(max(-2.7+180,-4*[M48]+180))|LineTo(352.8),(max(-1.8+180,-2.7*[M49]+180))|LineTo(360),(max(-0.9+180,-1.3*[M50]+180))|LineTo 360,180|LineTo 0,180|LineTo(0),(min(-0+180,-0*[M00]+180))|LineTo(7.2),(min(0.9+180,1.3*[M01]+180))|LineTo(14.4),(min(1.8+180,2.7*[M02]+180))|LineTo(21.6),(min(2.7+180,4*[M03]+180))|LineTo(28.8),(min(3.5+180,5.3*[M04]+180))|LineTo(36),(min(4.4+180,6.6*[M05]+180))|LineTo(43.2),(min(5.2+180,7.8*[M06]+180))|LineTo(50.4),(min(6.1+180,9.1*[M07]+180))|LineTo(57.6),(min(6.9+180,10.3*[M08]+180))|LineTo(64.8),(min(7.6+180,11.4*[M09]+180))|LineTo(72),(min(8.3+180,12.5*[M10]+180))|LineTo(79.2),(min(9.1+180,13.6*[M11]+180))|LineTo(86.4),(min(9.7+180,14.6*[M12]+180))|LineTo(93.6),(min(10.4+180,15.6*[M13]+180))|LineTo(100.8),(min(11+180,16.5*[M14]+180))|LineTo(108),(min(11.5+180,17.3*[M15]+180))|LineTo(115.2),(min(12.1+180,18.1*[M16]+180))|LineTo(122.4),(min(12.5+180,18.8*[M17]+180))|LineTo(129.6),(min(12.9+180,19.4*[M18]+180))|LineTo(136.8),(min(13.3+180,20*[M19]+180))|LineTo(144),(min(13.7+180,20.5*[M20]+180))|LineTo(151.2),(min(13.9+180,20.9*[M21]+180))|LineTo(158.4),(min(14.1+180,21.2*[M22]+180))|LineTo(165.6),(min(14.3+180,21.5*[M23]+180))|LineTo(172.8),(min(14.4+180,21.6*[M24]+180))|LineTo(180),(min(14.5+180,21.7*[M25]+180))|LineTo(187.2),(min(14.5+180,21.7*[M26]+180))|LineTo(194.4),(min(14.4+180,21.6*[M27]+180))|LineTo(201.6),(min(14.3+180,21.5*[M28]+180))|LineTo(208.8),(min(14.1+180,21.2*[M29]+180))|LineTo(216),(min(13.9+180,20.9*[M30]+180))|LineTo(223.2),(min(13.7+180,20.5*[M31]+180))|LineTo(230.4),(min(13.3+180,20*[M32]+180))|LineTo(237.6),(min(12.9+180,19.4*[M33]+180))|LineTo(244.8),(min(12.5+180,18.8*[M34]+180))|LineTo(252),(min(12.1+180,18.1*[M35]+180))|LineTo(259.2),(min(11.5+180,17.3*[M36]+180))|LineTo(266.4),(min(11+180,16.5*[M37]+180))|LineTo(273.6),(min(10.4+180,15.6*[M38]+180))|LineTo(280.8),(min(9.7+180,14.6*[M39]+180))|LineTo(288),(min(9.1+180,13.6*[M40]+180))|LineTo(295.2),(min(8.3+180,12.5*[M41]+180))|LineTo(302.4),(min(7.6+180,11.4*[M42]+180))|LineTo(309.6),(min(6.9+180,10.3*[M43]+180))|LineTo(316.8),(min(6.1+180,9.1*[M44]+180))|LineTo(324),(min(5.2+180,7.8*[M45]+180))|LineTo(331.2),(min(4.4+180,6.6*[M46]+180))|LineTo(338.4),(min(3.5+180,5.3*[M47]+180))|LineTo(345.6),(min(2.7+180,4*[M48]+180))|LineTo(352.8),(min(1.8+180,2.7*[M49]+180))|LineTo(360),(min(0.9+180,1.3*[M50]+180))|LineTo 360,180|LineTo 0,180|Closepath 1
You do not have the required permissions to view the files attached to this post.
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5391
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: [Bug] Shape parsing

Post by eclectic-tech »

A quick look finds this typo in your Player.inc file:
gradienterror.png
I haven't loaded the skin yet, but will see if I get the same errors...
You do not have the required permissions to view the files attached to this post.
User avatar
Bananorpion
Posts: 40
Joined: April 16th, 2017, 8:35 pm

Re: [Bug] Shape parsing

Post by Bananorpion »

Nice catch, I fixed it (It worked despite this, somehow.)
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5391
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: [Bug] Shape parsing

Post by eclectic-tech »

Yeah, the typo had no bearing on the errors when using 4lines or 18Lines paths.

I take it these path definitions being generated automatically by a script of some sort (it's the only reason I can think of that would create 30,000~50,000 character lines.) :o

I did get the same error messages when running the longer path definitions. I spent some time looking for issues and do not see any errors in the bracketing. I suspect the longer definitions are what are causing the errors.

Would it be possible to have the generation scheme create several shorter path definitions and use several shape definitions in the shape meter, rather than 1 shape definition with 1 extremely long, and difficult to troubleshoot, line? :???:

Frankly, I would look at possible alternative ways to achieve the desired effect. I have a feeling quadratic or cubic bézier curves with external control points might be a better way to do something like this rather than a 40,000 character path statement.

I wish you well on this project, but due to the complexity, I can't spend the time to get any deeper inside your code. :17flag
User avatar
Bananorpion
Posts: 40
Joined: April 16th, 2017, 8:35 pm

Re: [Bug] Shape parsing

Post by Bananorpion »

eclectic-tech wrote: Would it be possible to have the generation scheme create several shorter path definitions and use several shape definitions in the shape meter, rather than 1 shape definition with 1 extremely long, and difficult to troubleshoot, line? :???:
Of course it is. Using too many lines on the same meter isn't that interesting anyway, but the script has no limits to the number of meters it can generate. I've finished it last night, I'll share it with a couple examples and the finished skin tonight.
eclectic-tech wrote: Frankly, I would look at possible alternative ways to achieve the desired effect. I have a feeling quadratic or cubic bézier curves with external control points might be a better way to do something like this rather than a 40,000 character path statement.
I don't know the exact terms (I have no idea what "quadratic" means.), but I considered using curves instead of lines. I have not tried yet, for a calculation reason: with straight lines, each point may be calculated on its own, through the associated measure. (Like, if I have three measures A B C with values 1 5 3, the lines will be 0,1 -> 1,5 -> 2,3 .) Now, if I use curved lines, I'll have to consider the adjacent measures as well for every calculation, so the curve is in the right direction, because a line from 0,1 to 1,5 with a curve peak at 0.5,4 is not the same as a line with a curve peak 0.5,2, and I have to know the measure of the subsequent value to decide, which almost triples the total required calculation, on every update.
I'll try it for fun, but I'm not sure yet the result will be really smooth. Tell me if I missed something in your idea!