diff --git a/test/test_archimedean_spiral.scad b/test/test_archimedean_spiral.scad index 46eb1c48..626dc3c1 100644 --- a/test/test_archimedean_spiral.scad +++ b/test/test_archimedean_spiral.scad @@ -12,7 +12,7 @@ module test_archimedean_spiral() { ); - expected_points = [[-5, -5.6166e-6], [-3.33332, -5.77351], [1.91533, -7.65424], [6.92877, -5.61211], [9.7591, -1.1017], [9.79062, 4.16668], [7.28945, 8.75883], [3.01356, 11.7181], [-2.09019, 12.5895], [-7.09946, 11.3523], [-11.25, 8.31153], [-14.0047, 3.9801], [-15.0734, -1.03017], [-14.399, -6.09976], [-12.1214, -10.6704], [-8.52998, -14.2915], [-4.01284, -16.6467], [0.993248, -17.5618], [6.04659, -17.0006], [10.7369, -15.0487], [14.7128, -11.8923], [17.7006, -7.79251], [19.5144, -3.05819], [20.0591, 1.97944], [19.327, 6.99059], [17.3893, 11.6669], [14.3848, 15.7379], [10.5052, 18.9825], [5.98025, 21.2372], [1.06198, 22.3994], [-3.98996, 22.4281], [-8.92185, 21.3403], [-13.4977, 19.2064], [-17.5088, 16.1424], [-20.7814, 12.3014], [-23.1818, 7.86423], [-24.6194, 3.02975], [-25.0472, -1.9946], [-24.4613, -7.0019], [-22.8982, -11.7938], [-20.4306, -16.1878], [-17.163, -20.0231], [-13.2252, -23.165], [-8.76686, -25.5087], [-3.95086, -26.9808], [1.05313, -27.5407], [6.07462, -27.1794], [10.948, -25.9187], [15.5175, -23.8089], [19.6418, -20.9253], [23.1977, -17.3652], [26.0827, -13.2433], [28.2174, -8.68809], [29.5464, -3.8368], [30.0391, 1.16851], [29.6894, 6.18531], [28.5145, 11.0746], [26.5536, 15.7045], [23.866, 19.9533], [20.5287, 23.7128], [16.6332, 26.8897], [12.2835, 29.408], [7.59187, 31.2101], [2.6768, 32.2573], [-2.34079, 32.5302], [-7.34027, 32.0282], [-12.2042, 30.769], [-16.8208, 28.7875], [-21.0866, 26.1344], [-24.9081, 22.8741], [-28.2036, 19.0834], [-30.9049, 14.8491], [-32.9577, 10.2655], [-34.3229, 5.43264], [-34.9764, 0.453654], [-34.9095, -4.56731], [-34.1284, -9.52732], [-32.6534, -14.3266], [-30.5184, -18.8707], [-27.7696, -23.0716], [-24.4643, -26.8501], [-20.6694, -30.136], [-16.4598, -32.8703], [-11.9169, -35.0049], [-7.12684, -36.5039], [-2.17866, -37.3437], [2.83721, -37.513], [7.83071, -37.0125], [12.7137, -35.855], [17.4014, -34.0643], [21.814, -31.675], [25.8775, -28.7313], [29.525, -25.2858], [32.6978, -21.399], [35.3459, -17.1377], [37.4287, -12.5734], [38.9154, -7.78198], [39.7852, -2.84131], [40.0274, 2.16931], [39.6415, 7.17075]]; + expected_points = [[-5, -7.44079e-15], [-3.33333, -5.7735], [1.91532, -7.65424], [6.92876, -5.61213], [9.7591, -1.10172], [9.79063, 4.16666], [7.28947, 8.75881], [3.01359, 11.7181], [-2.09016, 12.5895], [-7.09943, 11.3523], [-11.25, 8.31156], [-14.0047, 3.98014], [-15.0734, -1.03012], [-14.399, -6.09971], [-12.1214, -10.6703], [-8.53004, -14.2915], [-4.01291, -16.6467], [0.993179, -17.5619], [6.04652, -17.0006], [10.7368, -15.0487], [14.7127, -11.8924], [17.7006, -7.79258], [19.5144, -3.05828], [20.0591, 1.97935], [19.327, 6.9905], [17.3893, 11.6669], [14.3849, 15.7378], [10.5053, 18.9825], [5.98036, 21.2372], [1.06209, 22.3994], [-3.98985, 22.4281], [-8.92173, 21.3403], [-13.4975, 19.2065], [-17.5087, 16.1425], [-20.7813, 12.3015], [-23.1818, 7.86435], [-24.6194, 3.02989], [-25.0472, -1.99446], [-24.4613, -7.00176], [-22.8982, -11.7937], [-20.4307, -16.1877], [-17.1631, -20.023], [-13.2253, -23.1649], [-8.76701, -25.5086], [-3.95103, -26.9808], [1.05296, -27.5407], [6.07445, -27.1794], [10.9478, -25.9188], [15.5173, -23.809], [19.6417, -20.9254], [23.1976, -17.3653], [26.0826, -13.2435], [28.2173, -8.68828], [29.5464, -3.83699], [30.0392, 1.16831], [29.6895, 6.18511], [28.5146, 11.0744], [26.5537, 15.7043], [23.8662, 19.9532], [20.5288, 23.7126], [16.6334, 26.8895], [12.2837, 29.4079], [7.5921, 31.2101], [2.67704, 32.2573], [-2.34055, 32.5302], [-7.34003, 32.0282], [-12.204, 30.7691], [-16.8206, 28.7877], [-21.0864, 26.1345], [-24.9079, 22.8743], [-28.2035, 19.0837], [-30.9048, 14.8493], [-32.9576, 10.2658], [-34.3228, 5.43291], [-34.9764, 0.453929], [-34.9096, -4.56704], [-34.1284, -9.52705], [-32.6535, -14.3264], [-30.5185, -18.8704], [-27.7698, -23.0714], [-24.4645, -26.8499], [-20.6696, -30.1359], [-16.4601, -32.8701], [-11.9172, -35.0048], [-7.12715, -36.5039], [-2.17897, -37.3437], [2.83689, -37.513], [7.8304, -37.0126], [12.7134, -35.8551], [17.4011, -34.0645], [21.8137, -31.6752], [25.8772, -28.7315], [29.5248, -25.2861], [32.6976, -21.3993], [35.3458, -17.138], [37.4286, -12.5738], [38.9153, -7.78232], [39.7852, -2.84167], [40.0274, 2.16895], [39.6415, 7.17039]]; expected_angles = [180, 240, 284.049, 320.993, 353.559, 383.054, 410.231, 435.578, 459.427, 482.021, 503.543, 524.135, 543.91, 562.959, 581.357, 599.169, 616.447, 633.237, 649.579, 665.507, 681.051, 696.239, 711.093, 725.636, 739.885, 753.859, 767.572, 781.039, 794.273, 807.286, 820.087, 832.689, 845.098, 857.325, 869.377, 881.261, 892.984, 904.553, 915.973, 927.251, 938.391, 949.398, 960.277, 971.033, 981.669, 992.19, 1002.6, 1012.9, 1023.09, 1033.19, 1043.18, 1053.08, 1062.89, 1072.6, 1082.23, 1091.77, 1101.23, 1110.6, 1119.9, 1129.12, 1138.26, 1147.33, 1156.33, 1165.26, 1174.12, 1182.91, 1191.64, 1200.3, 1208.9, 1217.44, 1225.92, 1234.34, 1242.7, 1251.01, 1259.26, 1267.45, 1275.6, 1283.69, 1291.73, 1299.72, 1307.66, 1315.55, 1323.4, 1331.2, 1338.95, 1346.66, 1354.33, 1361.95, 1369.52, 1377.06, 1384.55, 1392.01, 1399.42, 1406.8, 1414.13, 1421.43, 1428.69, 1435.92, 1443.1, 1450.25]; actual_points = [for(pa = points_angles) pa[0]]; diff --git a/test/test_archimedean_spiral_extrude.scad b/test/test_archimedean_spiral_extrude.scad index 303b1cf0..3c578386 100644 --- a/test/test_archimedean_spiral_extrude.scad +++ b/test/test_archimedean_spiral_extrude.scad @@ -2,7 +2,7 @@ use ; include ; module test_archimedean_spiral_extrude(sections) { - expected = [[[-12.5, -0.0000140415, 0], [-12.5, -0.0000140415, 4], [-11.5, -0.0000129182, 4], [-11.5, -0.0000129182, 2], [-3.5, -3.93162e-6, 2], [-3.5, -3.93162e-6, 4], [-2.5, -2.8083e-6, 4], [-2.5, -2.8083e-6, 0]], [[-10.9842, -8.87663, 0], [-10.9842, -8.87663, 4.16162], [-10.2065, -8.24809, 4.16162], [-10.2065, -8.24809, 2.08081], [-3.98424, -3.21976, 2.08081], [-3.98424, -3.21976, 4.16162], [-3.20646, -2.59122, 4.16162], [-3.20646, -2.59122, 0]], [[-5.09238, -14.5846, 0], [-5.09238, -14.5846, 4.32323], [-4.76273, -13.6404, 4.32323], [-4.76273, -13.6404, 2.16162], [-2.12557, -6.08761, 2.16162], [-2.12557, -6.08761, 4.32323], [-1.79592, -5.14351, 4.32323], [-1.79592, -5.14351, 0]], [[2.43691, -16.4219, 0], [2.43691, -16.4219, 4.48485], [2.29013, -15.4327, 4.48485], [2.29013, -15.4327, 2.24242], [1.11583, -7.51935, 2.24242], [1.11583, -7.51935, 4.48485], [0.969043, -6.53019, 4.48485], [0.969043, -6.53019, 0]], [[9.69147, -14.7377, 0], [9.69147, -14.7377, 4.64646], [9.14202, -13.9021, 4.64646], [9.14202, -13.9021, 2.32323], [4.74648, -7.2179, 2.32323], [4.74648, -7.2179, 4.64646], [4.19703, -6.38237, 4.64646], [4.19703, -6.38237, 0]], [[15.4378, -10.3557, 0], [15.4378, -10.3557, 4.80808], [14.6073, -9.79865, 4.80808], [14.6073, -9.79865, 2.40404], [7.96364, -5.34204, 2.40404], [7.96364, -5.34204, 4.80808], [7.13318, -4.78496, 4.80808], [7.13318, -4.78496, 0]], [[19, -4.26514, 0], [19, -4.26514, 4.9697], [18.0243, -4.04611, 4.9697], [18.0243, -4.04611, 2.48485], [10.2185, -2.29386, 2.48485], [10.2185, -2.29386, 4.9697], [9.24281, -2.07483, 4.9697], [9.24281, -2.07483, 0]], [[20.1398, 2.55924, 0], [20.1398, 2.55924, 5.13131], [19.1478, 2.43318, 5.13131], [19.1478, 2.43318, 2.56566], [11.2116, 1.4247, 2.56566], [11.2116, 1.4247, 5.13131], [10.2196, 1.29864, 5.13131], [10.2196, 1.29864, 0]], [[18.9436, 9.25917, 0], [18.9436, 9.25917, 5.29293], [18.0452, 8.82004, 5.29293], [18.0452, 8.82004, 2.64646], [10.8578, 5.30701, 2.64646], [10.8578, 5.30701, 5.29293], [9.95934, 4.86789, 5.29293], [9.95934, 4.86789, 0]], [[15.7218, 15.1457, 0], [15.7218, 15.1457, 5.45455], [15.0017, 14.4519, 5.45455], [15.0017, 14.4519, 2.72727], [9.24022, 8.9016, 2.72727], [9.24022, 8.9016, 5.45455], [8.52004, 8.20782, 5.45455], [8.52004, 8.20782, 0]], [[10.9234, 19.7189, 0], [10.9234, 19.7189, 5.61616], [10.4388, 18.8441, 5.61616], [10.4388, 18.8441, 2.80808], [6.56225, 11.8461, 2.80808], [6.56225, 11.8461, 5.61616], [6.07768, 10.9714, 5.61616], [6.07768, 10.9714, 0]], [[5.06562, 22.6659, 0], [5.06562, 22.6659, 5.77778], [4.84751, 21.69, 5.77778], [4.84751, 21.69, 2.88889], [3.10263, 13.8826, 2.88889], [3.10263, 13.8826, 5.77778], [2.88452, 12.9067, 5.77778], [2.88452, 12.9067, 0]], [[-1.32091, 23.8455, 0], [-1.32091, 23.8455, 5.93939], [-1.2656, 22.8471, 5.93939], [-1.2656, 22.8471, 2.9697], [-0.823122, 14.8593, 2.9697], [-0.823122, 14.8593, 5.93939], [-0.767813, 13.8609, 5.93939], [-0.767813, 13.8609, 0]], [[-7.73333, 23.2645, 0], [-7.73333, 23.2645, 6.10101], [-7.41789, 22.3155, 6.10101], [-7.41789, 22.3155, 3.05051], [-4.89439, 14.724, 3.05051], [-4.89439, 14.724, 6.10101], [-4.57895, 13.775, 6.10101], [-4.57895, 13.775, 0]], [[-13.7257, 21.0498, 0], [-13.7257, 21.0498, 6.26263], [-13.1795, 20.2121, 6.26263], [-13.1795, 20.2121, 3.13131], [-8.80993, 13.5109, 3.13131], [-8.80993, 13.5109, 6.26263], [-8.26373, 12.6732, 6.26263], [-8.26373, 12.6732, 0]], [[-18.9279, 17.42, 0], [-18.9279, 17.42, 6.42424], [-18.1921, 16.7428, 6.42424], [-18.1921, 16.7428, 3.21212], [-12.3056, 11.3253, 3.21212], [-12.3056, 11.3253, 6.42424], [-11.5698, 10.6481, 6.42424], [-11.5698, 10.6481, 0]], [[-23.0553, 12.6576, 0], [-23.0553, 12.6576, 6.58586], [-22.1787, 12.1763, 6.58586], [-22.1787, 12.1763, 3.29293], [-15.1661, 8.32631, 3.29293], [-15.1661, 8.32631, 6.58586], [-14.2895, 7.84506, 6.58586], [-14.2895, 7.84506, 0]], [[-25.9125, 7.08267, 0], [-25.9125, 7.08267, 6.74747], [-24.9479, 6.81901, 6.74747], [-24.9479, 6.81901, 3.37374], [-17.231, 4.70974, 3.37374], [-17.231, 4.70974, 6.74747], [-16.2663, 4.44608, 6.74747], [-16.2663, 4.44608, 0]], [[-27.3908, 1.03079, 0], [-27.3908, 1.03079, 6.90909], [-26.3915, 0.993185, 6.90909], [-26.3915, 0.993185, 3.45455], [-18.3972, 0.692336, 3.45455], [-18.3972, 0.692336, 6.90909], [-17.3979, 0.65473, 6.90909], [-17.3979, 0.65473, 0]], [[-27.4622, -5.16665, 0], [-27.4622, -5.16665, 7.07071], [-26.4794, -4.98175, 7.07071], [-26.4794, -4.98175, 3.53535], [-18.6173, -3.50261, 3.53535], [-18.6173, -3.50261, 7.07071], [-17.6346, -3.31771, 7.07071], [-17.6346, -3.31771, 0]], [[-26.1701, -11.198, 0], [-26.1701, -11.198, 7.23232], [-25.2507, -10.8046, 7.23232], [-25.2507, -10.8046, 3.61616], [-17.8958, -7.65749, 3.61616], [-17.8958, -7.65749, 7.23232], [-16.9764, -7.26409, 7.23232], [-16.9764, -7.26409, 0]], [[-23.6189, -16.7836, 0], [-23.6189, -16.7836, 7.39394], [-22.8038, -16.2044, 7.39394], [-22.8038, -16.2044, 3.69697], [-16.2826, -11.5704, 3.69697], [-16.2826, -11.5704, 7.39394], [-15.4674, -10.9912, 7.39394], [-15.4674, -10.9912, 0]], [[-19.9619, -21.6845, 0], [-19.9619, -21.6845, 7.55556], [-19.2847, -20.9488, 7.55556], [-19.2847, -20.9488, 3.77778], [-13.8664, -15.063, 3.77778], [-13.8664, -15.063, 7.55556], [-13.1891, -14.3273, 7.55556], [-13.1891, -14.3273, 0]], [[-15.3893, -25.7081, 0], [-15.3893, -25.7081, 7.71717], [-14.8757, -24.8501, 7.71717], [-14.8757, -24.8501, 3.85859], [-10.7667, -17.986, 3.85859], [-10.7667, -17.986, 7.71717], [-10.2531, -17.128, 7.71717], [-10.2531, -17.128, 0]], [[-10.1162, -28.7112, 0], [-10.1162, -28.7112, 7.87879], [-9.78392, -27.768, 7.87879], [-9.78392, -27.768, 3.93939], [-7.12536, -20.2227, 3.93939], [-7.12536, -20.2227, 7.87879], [-6.79304, -19.2795, 7.87879], [-6.79304, -19.2795, 0]], [[-4.372, -30.6005, 0], [-4.372, -30.6005, 8.0404], [-4.23057, -29.6105, 8.0404], [-4.23057, -29.6105, 4.0202], [-3.09907, -21.6909, 4.0202], [-3.09907, -21.6909, 8.0404], [-2.95763, -20.701, 8.0404], [-2.95763, -20.701, 0]], [[1.6104, -31.3312, 0], [1.6104, -31.3312, 8.20202], [1.55907, -30.3325, 8.20202], [1.55907, -30.3325, 4.10101], [1.14842, -22.3431, 4.10101], [1.14842, -22.3431, 8.20202], [1.09709, -21.3444, 8.20202], [1.09709, -21.3444, 0]], [[7.60312, -30.9044, 0], [7.60312, -30.9044, 8.36364], [7.36422, -29.9333, 8.36364], [7.36422, -29.9333, 4.18182], [5.45304, -22.165, 4.18182], [5.45304, -22.165, 8.36364], [5.21414, -21.1939, 8.36364], [5.21414, -21.1939, 0]], [[13.3911, -29.362, 0], [13.3911, -29.362, 8.52525], [12.9761, -28.4522, 8.52525], [12.9761, -28.4522, 4.26263], [9.65651, -21.1734, 4.26263], [9.65651, -21.1734, 8.52525], [9.24156, -20.2636, 8.52525], [9.24156, -20.2636, 0]], [[18.7782, -26.7826, 0], [18.7782, -26.7826, 8.68687], [18.2042, -25.9638, 8.68687], [18.2042, -25.9638, 4.34343], [13.6115, -19.4135, 4.34343], [13.6115, -19.4135, 8.68687], [13.0374, -18.5947, 8.68687], [13.0374, -18.5947, 0]], [[23.5926, -23.275, 0], [23.5926, -23.275, 8.84848], [22.8807, -22.5727, 8.84848], [22.8807, -22.5727, 4.42424], [17.1857, -16.9543, 4.42424], [17.1857, -16.9543, 8.84848], [16.4738, -16.252, 8.84848], [16.4738, -16.252, 0]], [[27.6896, -18.9724, 0], [27.6896, -18.9724, 9.0101], [26.8647, -18.4072, 9.0101], [26.8647, -18.4072, 4.50505], [20.2652, -13.8854, 4.50505], [20.2652, -13.8854, 9.0101], [19.4403, -13.3201, 9.0101], [19.4403, -13.3201, 0]], [[30.9547, -14.0265, 0], [30.9547, -14.0265, 9.17172], [30.0438, -13.6137, 9.17172], [30.0438, -13.6137, 4.58586], [22.757, -10.3119, 4.58586], [22.757, -10.3119, 9.17172], [21.8461, -9.89912, 9.17172], [21.8461, -9.89912, 0]], [[33.304, -8.60086, 0], [33.304, -8.60086, 9.33333], [32.3357, -8.35081, 9.33333], [32.3357, -8.35081, 4.66667], [24.5899, -6.35041, 4.66667], [24.5899, -6.35041, 9.33333], [23.6216, -6.10036, 9.33333], [23.6216, -6.10036, 0]], [[34.685, -2.86586, 0], [34.685, -2.86586, 9.49495], [33.6884, -2.78351, 9.49495], [33.6884, -2.78351, 4.74747], [25.7156, -2.12475, 4.74747], [25.7156, -2.12475, 9.49495], [24.7189, -2.04241, 9.49495], [24.7189, -2.04241, 0]], [[35.0755, 3.00723, 0], [35.0755, 3.00723, 9.65657], [34.0791, 2.92181, 9.65657], [34.0791, 2.92181, 4.82828], [26.1084, 2.23843, 4.82828], [26.1084, 2.23843, 9.65657], [25.112, 2.153, 9.65657], [25.112, 2.153, 0]], [[34.482, 8.85087, 0], [34.482, 8.85087, 9.81818], [33.5134, 8.60225, 9.81818], [33.5134, 8.60225, 4.90909], [25.7646, 6.61328, 4.90909], [25.7646, 6.61328, 9.81818], [24.796, 6.36466, 9.81818], [24.796, 6.36466, 0]], [[32.9377, 14.5056, 0], [32.9377, 14.5056, 9.9798], [32.0225, 14.1026, 9.9798], [32.0225, 14.1026, 4.9899], [24.7011, 10.8782, 4.9899], [24.7011, 10.8782, 9.9798], [23.7859, 10.4752, 9.9798], [23.7859, 10.4752, 0]], [[30.4996, 19.8238, 0], [30.4996, 19.8238, 10.1414], [29.6611, 19.2789, 10.1414], [29.6611, 19.2789, 5.07071], [22.9535, 14.9191, 5.07071], [22.9535, 14.9191, 10.1414], [22.115, 14.3741, 10.1414], [22.115, 14.3741, 0]], [[27.2456, 24.6727, 0], [27.2456, 24.6727, 10.303], [26.5043, 24.0014, 10.303], [26.5043, 24.0014, 5.15152], [20.5744, 18.6315, 5.15152], [20.5744, 18.6315, 10.303], [19.8332, 17.9602, 10.303], [19.8332, 17.9602, 0]], [[23.2711, 28.9365, 0], [23.2711, 28.9365, 10.4646], [22.6444, 28.1572, 10.4646], [22.6444, 28.1572, 5.23232], [17.6308, 21.9231, 5.23232], [17.6308, 21.9231, 10.4646], [17.0041, 21.1438, 10.4646], [17.0041, 21.1438, 0]], [[18.6857, 32.5186, 0], [18.6857, 32.5186, 10.6263], [18.1875, 31.6516, 10.6263], [18.1875, 31.6516, 5.31313], [14.2017, 24.7152, 5.31313], [14.2017, 24.7152, 10.6263], [13.7035, 23.8481, 10.6263], [13.7035, 23.8481, 0]], [[13.6094, 35.3427, 0], [13.6094, 35.3427, 10.7879], [13.2501, 34.4095, 10.7879], [13.2501, 34.4095, 5.39394], [10.3753, 26.9439, 5.39394], [10.3753, 26.9439, 10.7879], [10.0159, 26.0107, 10.7879], [10.0159, 26.0107, 0]], [[8.16947, 37.353, 0], [8.16947, 37.353, 10.9495], [7.95581, 36.3761, 10.9495], [7.95581, 36.3761, 5.47475], [6.24653, 28.5608, 5.47475], [6.24653, 28.5608, 10.9495], [6.03287, 27.5839, 10.9495], [6.03287, 27.5839, 0]], [[2.49682, 38.5146, 0], [2.49682, 38.5146, 11.1111], [2.43213, 37.5167, 11.1111], [2.43213, 37.5167, 5.55556], [1.91459, 29.5334, 5.55556], [1.91459, 29.5334, 11.1111], [1.8499, 28.5355, 11.1111], [1.8499, 28.5355, 0]], [[-3.27697, 38.813, 0], [-3.27697, 38.813, 11.2727], [-3.19284, 37.8165, 11.2727], [-3.19284, 37.8165, 5.63636], [-2.5198, 29.8449, 5.63636], [-2.5198, 29.8449, 11.2727], [-2.43567, 28.8484, 11.2727], [-2.43567, 28.8484, 0]], [[-9.02272, 38.2533, 0], [-9.02272, 38.2533, 11.4343], [-8.79315, 37.28, 11.4343], [-8.79315, 37.28, 5.71717], [-6.95661, 29.4937, 5.71717], [-6.95661, 29.4937, 11.4343], [-6.72704, 28.5204, 11.4343], [-6.72704, 28.5204, 0]], [[-14.6162, 36.859, 0], [-14.6162, 36.859, 11.596], [-14.2476, 35.9294, 11.596], [-14.2476, 35.9294, 5.79798], [-11.2987, 28.4928, 5.79798], [-11.2987, 28.4928, 11.596], [-10.93, 27.5632, 11.596], [-10.93, 27.5632, 0]], [[-19.9407, 34.6706, 0], [-19.9407, 34.6706, 11.7576], [-19.4421, 33.8038, 11.7576], [-19.4421, 33.8038, 5.87879], [-15.4536, 26.869, 5.87879], [-15.4536, 26.869, 11.7576], [-14.955, 26.0021, 11.7576], [-14.955, 26.0021, 0]], [[-24.8886, 31.7437, 0], [-24.8886, 31.7437, 11.9192], [-24.2716, 30.9567, 11.9192], [-24.2716, 30.9567, 5.9596], [-19.3355, 24.6611, 5.9596], [-19.3355, 24.6611, 11.9192], [-18.7185, 23.8742, 11.9192], [-18.7185, 23.8742, 0]], [[-29.3638, 28.1471, 0], [-29.3638, 28.1471, 12.0808], [-28.6419, 27.4551, 12.0808], [-28.6419, 27.4551, 6.0404], [-22.8667, 21.9192, 6.0404], [-22.8667, 21.9192, 12.0808], [-22.1448, 21.2272, 12.0808], [-22.1448, 21.2272, 0]], [[-33.2824, 23.9611, 0], [-33.2824, 23.9611, 12.2424], [-32.4708, 23.3768, 12.2424], [-32.4708, 23.3768, 6.12121], [-25.9783, 18.7026, 6.12121], [-25.9783, 18.7026, 12.2424], [-25.1668, 18.1184, 12.2424], [-25.1668, 18.1184, 0]], [[-36.574, 19.2747, 0], [-36.574, 19.2747, 12.404], [-35.6893, 18.8084, 12.404], [-35.6893, 18.8084, 6.20202], [-28.612, 15.0787, 6.20202], [-28.612, 15.0787, 12.404], [-27.7273, 14.6124, 12.404], [-27.7273, 14.6124, 0]], [[-39.1825, 14.1842, 0], [-39.1825, 14.1842, 12.5657], [-38.2422, 13.8438, 12.5657], [-38.2422, 13.8438, 6.28283], [-30.7199, 11.1207, 6.28283], [-30.7199, 11.1207, 12.5657], [-29.7796, 10.7803, 12.5657], [-29.7796, 10.7803, 0]], [[-41.0663, 8.79046, 0], [-41.0663, 8.79046, 12.7273], [-40.0884, 8.58115, 12.7273], [-40.0884, 8.58115, 6.36364], [-32.2656, 6.90664, 6.36364], [-32.2656, 6.90664, 12.7273], [-31.2878, 6.69732, 12.7273], [-31.2878, 6.69732, 0]], [[-42.1985, 3.19725, 0], [-42.1985, 3.19725, 12.8889], [-41.2014, 3.1217, 12.8889], [-41.2014, 3.1217, 6.44444], [-33.2242, 2.51729, 6.44444], [-33.2242, 2.51729, 12.8889], [-32.2271, 2.44174, 12.8889], [-32.2271, 2.44174, 0]], [[-42.5667, -2.49114, 0], [-42.5667, -2.49114, 13.0505], [-41.5684, -2.43272, 13.0505], [-41.5684, -2.43272, 6.52525], [-33.5821, -1.96533, 6.52525], [-33.5821, -1.96533, 13.0505], [-32.5838, -1.90691, 13.0505], [-32.5838, -1.90691, 0]], [[-42.1725, -8.17157, 0], [-42.1725, -8.17157, 13.2121], [-41.1908, -7.98134, 13.2121], [-41.1908, -7.98134, 6.60606], [-33.3369, -6.45952, 6.60606], [-33.3369, -6.45952, 13.2121], [-32.3551, -6.2693, 13.2121], [-32.3551, -6.2693, 0]], [[-41.0309, -13.7439, 0], [-41.0309, -13.7439, 13.3737], [-40.0827, -13.4263, 13.3737], [-40.0827, -13.4263, 6.68687], [-32.497, -10.8853, 6.68687], [-32.497, -10.8853, 13.3737], [-31.5488, -10.5677, 13.3737], [-31.5488, -10.5677, 0]], [[-39.1695, -19.1125, 0], [-39.1695, -19.1125, 13.5354], [-38.2708, -18.674, 13.5354], [-38.2708, -18.674, 6.76768], [-31.0811, -15.1658, 6.76768], [-31.0811, -15.1658, 13.5354], [-30.1824, -14.7273, 13.5354], [-30.1824, -14.7273, 0]], [[-36.6274, -24.1879, 0], [-36.6274, -24.1879, 13.697], [-35.793, -23.6368, 13.697], [-35.793, -23.6368, 6.84848], [-29.1173, -19.2283, 6.84848], [-29.1173, -19.2283, 13.697], [-28.2828, -18.6773, 13.697], [-28.2828, -18.6773, 0]], [[-33.4541, -28.8877, 0], [-33.4541, -28.8877, 13.8586], [-32.6973, -28.2341, 13.8586], [-32.6973, -28.2341, 6.92929], [-26.6423, -23.0056, 6.92929], [-26.6423, -23.0056, 13.8586], [-25.8854, -22.3521, 13.8586], [-25.8854, -22.3521, 0]], [[-29.7083, -33.138, 0], [-29.7083, -33.138, 14.0202], [-29.0408, -32.3934, 14.0202], [-29.0408, -32.3934, 7.0101], [-23.7006, -26.4367, 7.0101], [-23.7006, -26.4367, 14.0202], [-23.033, -25.6921, 14.0202], [-23.033, -25.6921, 0]], [[-25.4564, -36.8739, 0], [-25.4564, -36.8739, 14.1818], [-24.8883, -36.0509, 14.1818], [-24.8883, -36.0509, 7.09091], [-20.3432, -29.4674, 7.09091], [-20.3432, -29.4674, 14.1818], [-19.7751, -28.6445, 14.1818], [-19.7751, -28.6445, 0]], [[-20.7714, -40.0405, 0], [-20.7714, -40.0405, 14.3434], [-20.3109, -39.1528, 14.3434], [-20.3109, -39.1528, 7.17172], [-16.627, -32.0515, 7.17172], [-16.627, -32.0515, 14.3434], [-16.1665, -31.1638, 14.3434], [-16.1665, -31.1638, 0]], [[-15.7312, -42.5931, 0], [-15.7312, -42.5931, 14.5051], [-15.3847, -41.6551, 14.5051], [-15.3847, -41.6551, 7.25253], [-12.6131, -34.1506, 7.25253], [-12.6131, -34.1506, 14.5051], [-12.2666, -33.2125, 14.5051], [-12.2666, -33.2125, 0]], [[-10.4175, -44.4978, 0], [-10.4175, -44.4978, 14.6667], [-10.1896, -43.5241, 14.6667], [-10.1896, -43.5241, 7.33333], [-8.36597, -35.7347, 7.33333], [-8.36597, -35.7347, 14.6667], [-8.13802, -34.7611, 14.6667], [-8.13802, -34.7611, 0]], [[-4.91415, -45.7312, 0], [-4.91415, -45.7312, 14.8283], [-4.80731, -44.7369, 14.8283], [-4.80731, -44.7369, 7.41414], [-3.95257, -36.7827, 7.41414], [-3.95257, -36.7827, 14.8283], [-3.84573, -35.7884, 14.8283], [-3.84573, -35.7884, 0]], [[0.694121, -46.2806, 0], [0.694121, -46.2806, 14.9899], [0.679124, -45.2807, 14.9899], [0.679124, -45.2807, 7.49495], [0.559153, -37.2816, 7.49495], [0.559153, -37.2816, 14.9899], [0.544157, -36.2817, 14.9899], [0.544157, -36.2817, 0]], [[6.32293, -46.1439, 0], [6.32293, -46.1439, 15.1515], [6.18717, -45.1532, 15.1515], [6.18717, -45.1532, 7.57576], [5.10111, -37.2272, 7.57576], [5.10111, -37.2272, 15.1515], [4.96535, -36.2365, 15.1515], [4.96535, -36.2365, 0]], [[11.8895, -45.329, 0], [11.8895, -45.329, 15.3131], [11.6358, -44.3618, 15.3131], [11.6358, -44.3618, 7.65657], [9.60611, -36.6235, 7.65657], [9.60611, -36.6235, 15.3131], [9.3524, -35.6562, 15.3131], [9.3524, -35.6562, 0]], [[17.3139, -43.8535, 0], [17.3139, -43.8535, 15.4747], [16.9466, -42.9234, 15.4747], [16.9466, -42.9234, 7.73737], [14.0088, -35.4824, 7.73737], [14.0088, -35.4824, 15.4747], [13.6416, -34.5522, 15.4747], [13.6416, -34.5522, 0]], [[22.5198, -41.744, 0], [22.5198, -41.744, 15.6364], [22.045, -40.8639, 15.6364], [22.045, -40.8639, 7.81818], [18.2467, -33.8231, 7.81818], [18.2467, -33.8231, 15.6364], [17.7719, -32.943, 15.6364], [17.7719, -32.943, 0]], [[27.4358, -39.0354, 0], [27.4358, -39.0354, 15.798], [26.8608, -38.2173, 15.798], [26.8608, -38.2173, 7.89899], [22.2606, -31.6722, 7.89899], [22.2606, -31.6722, 15.798], [21.6856, -30.854, 15.798], [21.6856, -30.854, 0]], [[31.996, -35.7702, 0], [31.996, -35.7702, 15.9596], [31.3293, -35.0249, 15.9596], [31.3293, -35.0249, 7.9798], [25.9957, -29.0622, 7.9798], [25.9957, -29.0622, 15.9596], [25.329, -28.3168, 15.9596], [25.329, -28.3168, 0]], [[36.1406, -31.9976, 0], [36.1406, -31.9976, 16.1212], [35.3919, -31.3347, 16.1212], [35.3919, -31.3347, 8.06061], [29.4021, -26.0316, 8.06061], [29.4021, -26.0316, 16.1212], [28.6534, -25.3687, 16.1212], [28.6534, -25.3687, 0]], [[39.817, -27.7727, 0], [39.817, -27.7727, 16.2828], [38.9968, -27.2006, 16.2828], [38.9968, -27.2006, 8.14141], [32.4353, -22.6239, 8.14141], [32.4353, -22.6239, 16.2828], [31.6151, -22.0518, 16.2828], [31.6151, -22.0518, 0]], [[42.9796, -23.1554, 0], [42.9796, -23.1554, 16.4444], [42.0992, -22.6811, 16.4444], [42.0992, -22.6811, 8.22222], [35.0563, -18.8867, 8.22222], [35.0563, -18.8867, 16.4444], [34.1759, -18.4124, 16.4444], [34.1759, -18.4124, 0]], [[45.5907, -18.2096, 0], [45.5907, -18.2096, 16.6061], [44.662, -17.8387, 16.6061], [44.662, -17.8387, 8.30303], [37.2327, -14.8713, 8.30303], [37.2327, -14.8713, 16.6061], [36.3041, -14.5004, 16.6061], [36.3041, -14.5004, 0]], [[47.6205, -13.0024, 0], [47.6205, -13.0024, 16.7677], [46.6558, -12.739, 16.7677], [46.6558, -12.739, 8.38384], [38.9383, -10.6318, 8.38384], [38.9383, -10.6318, 16.7677], [37.9736, -10.3684, 16.7677], [37.9736, -10.3684, 0]], [[49.0472, -7.60249, 0], [49.0472, -7.60249, 16.9293], [48.059, -7.44932, 16.9293], [48.059, -7.44932, 8.46465], [40.1534, -6.22392, 8.46465], [40.1534, -6.22392, 16.9293], [39.1652, -6.07075, 16.9293], [39.1652, -6.07075, 0]], [[49.8571, -2.08005, 0], [49.8571, -2.08005, 17.0909], [48.8579, -2.03837, 17.0909], [48.8579, -2.03837, 8.54545], [40.8649, -1.7049, 8.54545], [40.8649, -1.7049, 17.0909], [39.8658, -1.66321, 17.0909], [39.8658, -1.66321, 0]], [[50.0446, 3.49472, 0], [50.0446, 3.49472, 17.2525], [49.047, 3.42506, 17.2525], [49.047, 3.42506, 8.62626], [41.0664, 2.86776, 8.62626], [41.0664, 2.86776, 17.2525], [40.0688, 2.79809, 17.2525], [40.0688, 2.79809, 0]], [[49.6118, 9.05229, 0], [49.6118, 9.05229, 17.4141], [48.628, 8.87279, 17.4141], [48.628, 8.87279, 8.70707], [40.7579, 7.4368, 8.70707], [40.7579, 7.4368, 17.4141], [39.7742, 7.2573, 17.4141], [39.7742, 7.2573, 0]], [[48.5684, 14.5247, 0], [48.5684, 14.5247, 17.5758], [47.6103, 14.2381, 17.5758], [47.6103, 14.2381, 8.78788], [39.9457, 11.946, 8.78788], [39.9457, 11.946, 17.5758], [38.9876, 11.6595, 17.5758], [38.9876, 11.6595, 0]], [[46.9314, 19.8461, 0], [46.9314, 19.8461, 17.7374], [46.0103, 19.4566, 17.7374], [46.0103, 19.4566, 8.86869], [38.6421, 16.3408, 8.86869], [38.6421, 16.3408, 17.7374], [37.721, 15.9513, 17.7374], [37.721, 15.9513, 0]], [[44.7244, 24.9539, 0], [44.7244, 24.9539, 17.899], [43.8512, 24.4667, 17.899], [43.8512, 24.4667, 8.94949], [36.865, 20.5688, 8.94949], [36.865, 20.5688, 17.899], [35.9917, 20.0815, 17.899], [35.9917, 20.0815, 0]], [[41.9776, 29.7891, 0], [41.9776, 29.7891, 18.0606], [41.1621, 29.2103, 18.0606], [41.1621, 29.2103, 9.0303], [34.6379, 24.5805, 9.0303], [34.6379, 24.5805, 18.0606], [33.8224, 24.0018, 18.0606], [33.8224, 24.0018, 0]], [[38.7267, 34.2968, 0], [38.7267, 34.2968, 18.2222], [37.9781, 33.6338, 18.2222], [37.9781, 33.6338, 9.11111], [31.9891, 28.3299, 9.11111], [31.9891, 28.3299, 18.2222], [31.2404, 27.6669, 18.2222], [31.2404, 27.6669, 0]], [[35.0127, 38.4271, 0], [35.0127, 38.4271, 18.3838], [34.3392, 37.6879, 18.3838], [34.3392, 37.6879, 9.19192], [28.9512, 31.7744, 9.19192], [28.9512, 31.7744, 18.3838], [28.2777, 31.0353, 18.3838], [28.2777, 31.0353, 0]], [[30.8813, 42.1351, 0], [30.8813, 42.1351, 18.5455], [30.2902, 41.3285, 18.5455], [30.2902, 41.3285, 9.27273], [25.561, 34.876, 9.27273], [25.561, 34.876, 18.5455], [24.9699, 34.0694, 18.5455], [24.9699, 34.0694, 0]], [[26.382, 45.3816, 0], [26.382, 45.3816, 18.7071], [25.8794, 44.5171, 18.7071], [25.8794, 44.5171, 9.35354], [21.8587, 37.6009, 9.35354], [21.8587, 37.6009, 18.7071], [21.3561, 36.7363, 18.7071], [21.3561, 36.7363, 0]], [[21.5675, 48.1332, 0], [21.5675, 48.1332, 18.8687], [21.1586, 47.2206, 18.8687], [21.1586, 47.2206, 9.43434], [17.8873, 39.92, 9.43434], [17.8873, 39.92, 18.8687], [17.4784, 39.0075, 18.8687], [17.4784, 39.0075, 0]], [[16.4932, 50.3625, 0], [16.4932, 50.3625, 19.0303], [16.182, 49.4122, 19.0303], [16.182, 49.4122, 9.51515], [13.6922, 41.8095, 9.51515], [13.6922, 41.8095, 19.0303], [13.381, 40.8592, 19.0303], [13.381, 40.8592, 0]], [[11.2166, 52.0484, 0], [11.2166, 52.0484, 19.1919], [11.0059, 51.0708, 19.1919], [11.0059, 51.0708, 9.59596], [9.32057, 43.2504, 9.59596], [9.32057, 43.2504, 19.1919], [9.1099, 42.2728, 19.1919], [9.1099, 42.2728, 0]], [[5.79603, 53.1759, 0], [5.79603, 53.1759, 19.3535], [5.68767, 52.1817, 19.3535], [5.68767, 52.1817, 9.67677], [4.82083, 44.2288, 9.67677], [4.82083, 44.2288, 19.3535], [4.71247, 43.2347, 19.3535], [4.71247, 43.2347, 0]], [[0.290748, 53.7363, 0], [0.290748, 53.7363, 19.5152], [0.285338, 52.7363, 19.5152], [0.285338, 52.7363, 9.75758], [0.242053, 44.7364, 9.75758], [0.242053, 44.7364, 19.5152], [0.236643, 43.7364, 19.5152], [0.236643, 43.7364, 0]], [[-5.24019, 53.7272, 0], [-5.24019, 53.7272, 19.6768], [-5.14311, 52.7319, 19.6768], [-5.14311, 52.7319, 9.83838], [-4.36653, 44.7697, 9.83838], [-4.36653, 44.7697, 19.6768], [-4.26946, 43.7744, 19.6768], [-4.26946, 43.7744, 0]], [[-10.7384, 53.152, 0], [-10.7384, 53.152, 19.8384], [-10.5404, 52.1718, 19.8384], [-10.5404, 52.1718, 9.91919], [-8.95611, 44.3302, 9.91919], [-8.95611, 44.3302, 19.8384], [-8.75808, 43.35, 19.8384], [-8.75808, 43.35, 0]], [[-16.1467, 52.0202, 0], [-16.1467, 52.0202, 20], [-15.8503, 51.0651, 20], [-15.8503, 51.0651, 10], [-13.4788, 43.4247, 10], [-13.4788, 43.4247, 20], [-13.1823, 42.4697, 20], [-13.1823, 42.4697, 0]]]; + expected = [[[-12.5, -1.8602e-14, 0], [-12.5, -1.8602e-14, 4], [-11.5, -1.71138e-14, 4], [-11.5, -1.71138e-14, 2], [-3.5, -5.20855e-15, 2], [-3.5, -5.20855e-15, 4], [-2.5, -3.72039e-15, 4], [-2.5, -3.72039e-15, 0]], [[-10.9842, -8.87661, 0], [-10.9842, -8.87661, 4.16162], [-10.2065, -8.24807, 4.16162], [-10.2065, -8.24807, 2.08081], [-3.98425, -3.21976, 2.08081], [-3.98425, -3.21976, 4.16162], [-3.20647, -2.59122, 4.16162], [-3.20647, -2.59122, 0]], [[-5.0924, -14.5845, 0], [-5.0924, -14.5845, 4.32323], [-4.76276, -13.6404, 4.32323], [-4.76276, -13.6404, 2.16162], [-2.12558, -6.08761, 2.16162], [-2.12558, -6.08761, 4.32323], [-1.79593, -5.1435, 4.32323], [-1.79593, -5.1435, 0]], [[2.43688, -16.4219, 0], [2.43688, -16.4219, 4.48485], [2.2901, -15.4327, 4.48485], [2.2901, -15.4327, 2.24242], [1.11582, -7.51936, 2.24242], [1.11582, -7.51936, 4.48485], [0.969032, -6.53019, 4.48485], [0.969032, -6.53019, 0]], [[9.69144, -14.7377, 0], [9.69144, -14.7377, 4.64646], [9.142, -13.9022, 4.64646], [9.142, -13.9022, 2.32323], [4.74646, -7.21791, 2.32323], [4.74646, -7.21791, 4.64646], [4.19702, -6.38238, 4.64646], [4.19702, -6.38238, 0]], [[15.4378, -10.3558, 0], [15.4378, -10.3558, 4.80808], [14.6073, -9.79868, 4.80808], [14.6073, -9.79868, 2.40404], [7.96363, -5.34206, 2.40404], [7.96363, -5.34206, 4.80808], [7.13317, -4.78498, 4.80808], [7.13317, -4.78498, 0]], [[19, -4.26518, 0], [19, -4.26518, 4.9697], [18.0243, -4.04614, 4.9697], [18.0243, -4.04614, 2.48485], [10.2185, -2.29389, 2.48485], [10.2185, -2.29389, 4.9697], [9.2428, -2.07485, 4.9697], [9.2428, -2.07485, 0]], [[20.1398, 2.55919, 0], [20.1398, 2.55919, 5.13131], [19.1478, 2.43314, 5.13131], [19.1478, 2.43314, 2.56566], [11.2116, 1.42467, 2.56566], [11.2116, 1.42467, 5.13131], [10.2196, 1.29862, 5.13131], [10.2196, 1.29862, 0]], [[18.9436, 9.25912, 0], [18.9436, 9.25912, 5.29293], [18.0452, 8.82, 5.29293], [18.0452, 8.82, 2.64646], [10.8578, 5.30699, 2.64646], [10.8578, 5.30699, 5.29293], [9.95935, 4.86786, 5.29293], [9.95935, 4.86786, 0]], [[15.7219, 15.1457, 0], [15.7219, 15.1457, 5.45455], [15.0017, 14.4519, 5.45455], [15.0017, 14.4519, 2.72727], [9.24024, 8.90158, 2.72727], [9.24024, 8.90158, 5.45455], [8.52006, 8.2078, 5.45455], [8.52006, 8.2078, 0]], [[10.9235, 19.7189, 0], [10.9235, 19.7189, 5.61616], [10.4389, 18.8441, 5.61616], [10.4389, 18.8441, 2.80808], [6.56228, 11.8461, 2.80808], [6.56228, 11.8461, 5.61616], [6.07771, 10.9714, 5.61616], [6.07771, 10.9714, 0]], [[5.06568, 22.6659, 0], [5.06568, 22.6659, 5.77778], [4.84757, 21.69, 5.77778], [4.84757, 21.69, 2.88889], [3.10267, 13.8826, 2.88889], [3.10267, 13.8826, 5.77778], [2.88456, 12.9067, 5.77778], [2.88456, 12.9067, 0]], [[-1.32084, 23.8455, 0], [-1.32084, 23.8455, 5.93939], [-1.26553, 22.8471, 5.93939], [-1.26553, 22.8471, 2.9697], [-0.82308, 14.8593, 2.9697], [-0.82308, 14.8593, 5.93939], [-0.767774, 13.8609, 5.93939], [-0.767774, 13.8609, 0]], [[-7.73326, 23.2645, 0], [-7.73326, 23.2645, 6.10101], [-7.41783, 22.3156, 6.10101], [-7.41783, 22.3156, 3.05051], [-4.89434, 14.724, 3.05051], [-4.89434, 14.724, 6.10101], [-4.57891, 13.775, 6.10101], [-4.57891, 13.775, 0]], [[-13.7257, 21.0498, 0], [-13.7257, 21.0498, 6.26263], [-13.1795, 20.2122, 6.26263], [-13.1795, 20.2122, 3.13131], [-8.80989, 13.5109, 3.13131], [-8.80989, 13.5109, 6.26263], [-8.26369, 12.6733, 6.26263], [-8.26369, 12.6733, 0]], [[-18.9278, 17.4201, 0], [-18.9278, 17.4201, 6.42424], [-18.192, 16.7429, 6.42424], [-18.192, 16.7429, 3.21212], [-12.3056, 11.3254, 3.21212], [-12.3056, 11.3254, 6.42424], [-11.5698, 10.6482, 6.42424], [-11.5698, 10.6482, 0]], [[-23.0553, 12.6576, 0], [-23.0553, 12.6576, 6.58586], [-22.1787, 12.1764, 6.58586], [-22.1787, 12.1764, 3.29293], [-15.166, 8.32636, 3.29293], [-15.166, 8.32636, 6.58586], [-14.2895, 7.8451, 6.58586], [-14.2895, 7.8451, 0]], [[-25.9125, 7.08275, 0], [-25.9125, 7.08275, 6.74747], [-24.9479, 6.81909, 6.74747], [-24.9479, 6.81909, 3.37374], [-17.2309, 4.7098, 3.37374], [-17.2309, 4.7098, 6.74747], [-16.2663, 4.44613, 6.74747], [-16.2663, 4.44613, 0]], [[-27.3908, 1.03088, 0], [-27.3908, 1.03088, 6.90909], [-26.3915, 0.993273, 6.90909], [-26.3915, 0.993273, 3.45455], [-18.3972, 0.692398, 3.45455], [-18.3972, 0.692398, 6.90909], [-17.3979, 0.654788, 6.90909], [-17.3979, 0.654788, 0]], [[-27.4622, -5.16655, 0], [-27.4622, -5.16655, 7.07071], [-26.4794, -4.98166, 7.07071], [-26.4794, -4.98166, 3.53535], [-18.6173, -3.50254, 3.53535], [-18.6173, -3.50254, 7.07071], [-17.6346, -3.31765, 7.07071], [-17.6346, -3.31765, 0]], [[-26.1701, -11.1979, 0], [-26.1701, -11.1979, 7.23232], [-25.2508, -10.8045, 7.23232], [-25.2508, -10.8045, 3.61616], [-17.8958, -7.65742, 3.61616], [-17.8958, -7.65742, 7.23232], [-16.9764, -7.26403, 7.23232], [-16.9764, -7.26403, 0]], [[-23.619, -16.7836, 0], [-23.619, -16.7836, 7.39394], [-22.8038, -16.2043, 7.39394], [-22.8038, -16.2043, 3.69697], [-16.2826, -11.5704, 3.69697], [-16.2826, -11.5704, 7.39394], [-15.4675, -10.9911, 7.39394], [-15.4675, -10.9911, 0]], [[-19.962, -21.6845, 0], [-19.962, -21.6845, 7.55556], [-19.2847, -20.9487, 7.55556], [-19.2847, -20.9487, 3.77778], [-13.8665, -15.063, 3.77778], [-13.8665, -15.063, 7.55556], [-13.1892, -14.3272, 7.55556], [-13.1892, -14.3272, 0]], [[-15.3894, -25.7081, 0], [-15.3894, -25.7081, 7.71717], [-14.8758, -24.85, 7.71717], [-14.8758, -24.85, 3.85859], [-10.7668, -17.9859, 3.85859], [-10.7668, -17.9859, 7.71717], [-10.2531, -17.1279, 7.71717], [-10.2531, -17.1279, 0]], [[-10.1163, -28.7111, 0], [-10.1163, -28.7111, 7.87879], [-9.78402, -27.768, 7.87879], [-9.78402, -27.768, 3.93939], [-7.12543, -20.2227, 3.93939], [-7.12543, -20.2227, 7.87879], [-6.79311, -19.2795, 7.87879], [-6.79311, -19.2795, 0]], [[-4.37212, -30.6004, 0], [-4.37212, -30.6004, 8.0404], [-4.23068, -29.6105, 8.0404], [-4.23068, -29.6105, 4.0202], [-3.09915, -21.6909, 4.0202], [-3.09915, -21.6909, 8.0404], [-2.95771, -20.701, 8.0404], [-2.95771, -20.701, 0]], [[1.61028, -31.3312, 0], [1.61028, -31.3312, 8.20202], [1.55895, -30.3326, 8.20202], [1.55895, -30.3326, 4.10101], [1.14833, -22.3431, 4.10101], [1.14833, -22.3431, 8.20202], [1.097, -21.3444, 8.20202], [1.097, -21.3444, 0]], [[7.60299, -30.9044, 0], [7.60299, -30.9044, 8.36364], [7.3641, -29.9333, 8.36364], [7.3641, -29.9333, 4.18182], [5.45295, -22.165, 4.18182], [5.45295, -22.165, 8.36364], [5.21406, -21.1939, 8.36364], [5.21406, -21.1939, 0]], [[13.3909, -29.3621, 0], [13.3909, -29.3621, 8.52525], [12.976, -28.4522, 8.52525], [12.976, -28.4522, 4.26263], [9.65643, -21.1735, 4.26263], [9.65643, -21.1735, 8.52525], [9.24148, -20.2636, 8.52525], [9.24148, -20.2636, 0]], [[18.7781, -26.7827, 0], [18.7781, -26.7827, 8.68687], [18.2041, -25.9639, 8.68687], [18.2041, -25.9639, 4.34343], [13.6114, -19.4135, 4.34343], [13.6114, -19.4135, 8.68687], [13.0373, -18.5947, 8.68687], [13.0373, -18.5947, 0]], [[23.5925, -23.2751, 0], [23.5925, -23.2751, 8.84848], [22.8806, -22.5728, 8.84848], [22.8806, -22.5728, 4.42424], [17.1856, -16.9544, 4.42424], [17.1856, -16.9544, 8.84848], [16.4737, -16.2521, 8.84848], [16.4737, -16.2521, 0]], [[27.6896, -18.9725, 0], [27.6896, -18.9725, 9.0101], [26.8646, -18.4073, 9.0101], [26.8646, -18.4073, 4.50505], [20.2652, -13.8855, 4.50505], [20.2652, -13.8855, 9.0101], [19.4402, -13.3202, 9.0101], [19.4402, -13.3202, 0]], [[30.9546, -14.0266, 0], [30.9546, -14.0266, 9.17172], [30.0437, -13.6139, 9.17172], [30.0437, -13.6139, 4.58586], [22.7569, -10.312, 4.58586], [22.7569, -10.312, 9.17172], [21.8461, -9.89922, 9.17172], [21.8461, -9.89922, 0]], [[33.3039, -8.601, 0], [33.3039, -8.601, 9.33333], [32.3357, -8.35095, 9.33333], [32.3357, -8.35095, 4.66667], [24.5898, -6.35052, 4.66667], [24.5898, -6.35052, 9.33333], [23.6216, -6.10047, 9.33333], [23.6216, -6.10047, 0]], [[34.685, -2.86601, 0], [34.685, -2.86601, 9.49495], [33.6884, -2.78366, 9.49495], [33.6884, -2.78366, 4.74747], [25.7155, -2.12487, 4.74747], [25.7155, -2.12487, 9.49495], [24.7189, -2.04252, 9.49495], [24.7189, -2.04252, 0]], [[35.0755, 3.00707, 0], [35.0755, 3.00707, 9.65657], [34.0792, 2.92165, 9.65657], [34.0792, 2.92165, 4.82828], [26.1084, 2.23831, 4.82828], [26.1084, 2.23831, 9.65657], [25.1121, 2.15289, 9.65657], [25.1121, 2.15289, 0]], [[34.4821, 8.85071, 0], [34.4821, 8.85071, 9.81818], [33.5135, 8.6021, 9.81818], [33.5135, 8.6021, 4.90909], [25.7646, 6.61316, 4.90909], [25.7646, 6.61316, 9.81818], [24.796, 6.36454, 9.81818], [24.796, 6.36454, 0]], [[32.9378, 14.5055, 0], [32.9378, 14.5055, 9.9798], [32.0226, 14.1024, 9.9798], [32.0226, 14.1024, 4.9899], [24.7011, 10.8781, 4.9899], [24.7011, 10.8781, 9.9798], [23.7859, 10.4751, 9.9798], [23.7859, 10.4751, 0]], [[30.4997, 19.8237, 0], [30.4997, 19.8237, 10.1414], [29.6612, 19.2787, 10.1414], [29.6612, 19.2787, 5.07071], [22.9536, 14.919, 5.07071], [22.9536, 14.919, 10.1414], [22.1151, 14.374, 10.1414], [22.1151, 14.374, 0]], [[27.2457, 24.6725, 0], [27.2457, 24.6725, 10.303], [26.5044, 24.0013, 10.303], [26.5044, 24.0013, 5.15152], [20.5745, 18.6314, 5.15152], [20.5745, 18.6314, 10.303], [19.8333, 17.9601, 10.303], [19.8333, 17.9601, 0]], [[23.2712, 28.9364, 0], [23.2712, 28.9364, 10.4646], [22.6445, 28.1571, 10.4646], [22.6445, 28.1571, 5.23232], [17.6309, 21.923, 5.23232], [17.6309, 21.923, 10.4646], [17.0042, 21.1437, 10.4646], [17.0042, 21.1437, 0]], [[18.6858, 32.5186, 0], [18.6858, 32.5186, 10.6263], [18.1876, 31.6515, 10.6263], [18.1876, 31.6515, 5.31313], [14.2018, 24.7151, 5.31313], [14.2018, 24.7151, 10.6263], [13.7036, 23.8481, 10.6263], [13.7036, 23.8481, 0]], [[13.6096, 35.3427, 0], [13.6096, 35.3427, 10.7879], [13.2502, 34.4095, 10.7879], [13.2502, 34.4095, 5.39394], [10.3754, 26.9439, 5.39394], [10.3754, 26.9439, 10.7879], [10.016, 26.0107, 10.7879], [10.016, 26.0107, 0]], [[8.16965, 37.353, 0], [8.16965, 37.353, 10.9495], [7.95599, 36.3761, 10.9495], [7.95599, 36.3761, 5.47475], [6.24667, 28.5608, 5.47475], [6.24667, 28.5608, 10.9495], [6.03301, 27.5839, 10.9495], [6.03301, 27.5839, 0]], [[2.49702, 38.5146, 0], [2.49702, 38.5146, 11.1111], [2.43232, 37.5167, 11.1111], [2.43232, 37.5167, 5.55556], [1.91474, 29.5334, 5.55556], [1.91474, 29.5334, 11.1111], [1.85005, 28.5355, 11.1111], [1.85005, 28.5355, 0]], [[-3.27678, 38.813, 0], [-3.27678, 38.813, 11.2727], [-3.19265, 37.8165, 11.2727], [-3.19265, 37.8165, 5.63636], [-2.51965, 29.8449, 5.63636], [-2.51965, 29.8449, 11.2727], [-2.43552, 28.8484, 11.2727], [-2.43552, 28.8484, 0]], [[-9.02253, 38.2533, 0], [-9.02253, 38.2533, 11.4343], [-8.79296, 37.28, 11.4343], [-8.79296, 37.28, 5.71717], [-6.95646, 29.4937, 5.71717], [-6.95646, 29.4937, 11.4343], [-6.72689, 28.5204, 11.4343], [-6.72689, 28.5204, 0]], [[-14.616, 36.8591, 0], [-14.616, 36.8591, 11.596], [-14.2474, 35.9295, 11.596], [-14.2474, 35.9295, 5.79798], [-11.2985, 28.4929, 5.79798], [-11.2985, 28.4929, 11.596], [-10.9299, 27.5633, 11.596], [-10.9299, 27.5633, 0]], [[-19.9405, 34.6707, 0], [-19.9405, 34.6707, 11.7576], [-19.4419, 33.8039, 11.7576], [-19.4419, 33.8039, 5.87879], [-15.4534, 26.869, 5.87879], [-15.4534, 26.869, 11.7576], [-14.9549, 26.0022, 11.7576], [-14.9549, 26.0022, 0]], [[-24.8885, 31.7438, 0], [-24.8885, 31.7438, 11.9192], [-24.2715, 30.9569, 11.9192], [-24.2715, 30.9569, 5.9596], [-19.3354, 24.6612, 5.9596], [-19.3354, 24.6612, 11.9192], [-18.7184, 23.8743, 11.9192], [-18.7184, 23.8743, 0]], [[-29.3637, 28.1473, 0], [-29.3637, 28.1473, 12.0808], [-28.6418, 27.4553, 12.0808], [-28.6418, 27.4553, 6.0404], [-22.8666, 21.9193, 6.0404], [-22.8666, 21.9193, 12.0808], [-22.1447, 21.2273, 12.0808], [-22.1447, 21.2273, 0]], [[-33.2822, 23.9612, 0], [-33.2822, 23.9612, 12.2424], [-32.4707, 23.377, 12.2424], [-32.4707, 23.377, 6.12121], [-25.9782, 18.7028, 6.12121], [-25.9782, 18.7028, 12.2424], [-25.1667, 18.1185, 12.2424], [-25.1667, 18.1185, 0]], [[-36.5739, 19.2749, 0], [-36.5739, 19.2749, 12.404], [-35.6892, 18.8086, 12.404], [-35.6892, 18.8086, 6.20202], [-28.6119, 15.0788, 6.20202], [-28.6119, 15.0788, 12.404], [-27.7272, 14.6126, 12.404], [-27.7272, 14.6126, 0]], [[-39.1824, 14.1844, 0], [-39.1824, 14.1844, 12.5657], [-38.2421, 13.844, 12.5657], [-38.2421, 13.844, 6.28283], [-30.7198, 11.1208, 6.28283], [-30.7198, 11.1208, 12.5657], [-29.7795, 10.7805, 12.5657], [-29.7795, 10.7805, 0]], [[-41.0662, 8.79069, 0], [-41.0662, 8.79069, 12.7273], [-40.0884, 8.58137, 12.7273], [-40.0884, 8.58137, 6.36364], [-32.2656, 6.90681, 6.36364], [-32.2656, 6.90681, 12.7273], [-31.2878, 6.6975, 12.7273], [-31.2878, 6.6975, 0]], [[-42.1985, 3.19748, 0], [-42.1985, 3.19748, 12.8889], [-41.2013, 3.12193, 12.8889], [-41.2013, 3.12193, 6.44444], [-33.2242, 2.51748, 6.44444], [-33.2242, 2.51748, 12.8889], [-32.2271, 2.44192, 12.8889], [-32.2271, 2.44192, 0]], [[-42.5667, -2.4909, 0], [-42.5667, -2.4909, 13.0505], [-41.5684, -2.43248, 13.0505], [-41.5684, -2.43248, 6.52525], [-33.5821, -1.96514, 6.52525], [-33.5821, -1.96514, 13.0505], [-32.5838, -1.90672, 13.0505], [-32.5838, -1.90672, 0]], [[-42.1726, -8.17133, 0], [-42.1726, -8.17133, 13.2121], [-41.1908, -7.98111, 13.2121], [-41.1908, -7.98111, 6.60606], [-33.3369, -6.45933, 6.60606], [-33.3369, -6.45933, 13.2121], [-32.3552, -6.26911, 13.2121], [-32.3552, -6.26911, 0]], [[-41.031, -13.7436, 0], [-41.031, -13.7436, 13.3737], [-40.0828, -13.426, 13.3737], [-40.0828, -13.426, 6.68687], [-32.497, -10.8851, 6.68687], [-32.497, -10.8851, 13.3737], [-31.5488, -10.5675, 13.3737], [-31.5488, -10.5675, 0]], [[-39.1697, -19.1123, 0], [-39.1697, -19.1123, 13.5354], [-38.2709, -18.6738, 13.5354], [-38.2709, -18.6738, 6.76768], [-31.0812, -15.1656, 6.76768], [-31.0812, -15.1656, 13.5354], [-30.1824, -14.7271, 13.5354], [-30.1824, -14.7271, 0]], [[-36.6276, -24.1877, 0], [-36.6276, -24.1877, 13.697], [-35.7931, -23.6366, 13.697], [-35.7931, -23.6366, 6.84848], [-29.1174, -19.2282, 6.84848], [-29.1174, -19.2282, 13.697], [-28.2829, -18.6771, 13.697], [-28.2829, -18.6771, 0]], [[-33.4543, -28.8875, 0], [-33.4543, -28.8875, 13.8586], [-32.6974, -28.2339, 13.8586], [-32.6974, -28.2339, 6.92929], [-26.6424, -23.0055, 6.92929], [-26.6424, -23.0055, 13.8586], [-25.8855, -22.3519, 13.8586], [-25.8855, -22.3519, 0]], [[-29.7085, -33.1378, 0], [-29.7085, -33.1378, 14.0202], [-29.041, -32.3932, 14.0202], [-29.041, -32.3932, 7.0101], [-23.7007, -26.4365, 7.0101], [-23.7007, -26.4365, 14.0202], [-23.0332, -25.692, 14.0202], [-23.0332, -25.692, 0]], [[-25.4566, -36.8737, 0], [-25.4566, -36.8737, 14.1818], [-24.8885, -36.0508, 14.1818], [-24.8885, -36.0508, 7.09091], [-20.3434, -29.4673, 7.09091], [-20.3434, -29.4673, 14.1818], [-19.7753, -28.6444, 14.1818], [-19.7753, -28.6444, 0]], [[-20.7716, -40.0404, 0], [-20.7716, -40.0404, 14.3434], [-20.3111, -39.1527, 14.3434], [-20.3111, -39.1527, 7.17172], [-16.6272, -32.0514, 7.17172], [-16.6272, -32.0514, 14.3434], [-16.1667, -31.1637, 14.3434], [-16.1667, -31.1637, 0]], [[-15.7315, -42.593, 0], [-15.7315, -42.593, 14.5051], [-15.385, -41.655, 14.5051], [-15.385, -41.655, 7.25253], [-12.6133, -34.1505, 7.25253], [-12.6133, -34.1505, 14.5051], [-12.2668, -33.2124, 14.5051], [-12.2668, -33.2124, 0]], [[-10.4178, -44.4977, 0], [-10.4178, -44.4977, 14.6667], [-10.1898, -43.5241, 14.6667], [-10.1898, -43.5241, 7.33333], [-8.36618, -35.7347, 7.33333], [-8.36618, -35.7347, 14.6667], [-8.13823, -34.761, 14.6667], [-8.13823, -34.761, 0]], [[-4.91443, -45.7311, 0], [-4.91443, -45.7311, 14.8283], [-4.80758, -44.7369, 14.8283], [-4.80758, -44.7369, 7.41414], [-3.95279, -36.7826, 7.41414], [-3.95279, -36.7826, 14.8283], [-3.84595, -35.7884, 14.8283], [-3.84595, -35.7884, 0]], [[0.693835, -46.2806, 0], [0.693835, -46.2806, 14.9899], [0.678844, -45.2807, 14.9899], [0.678844, -45.2807, 7.49495], [0.558923, -37.2816, 7.49495], [0.558923, -37.2816, 14.9899], [0.543932, -36.2817, 14.9899], [0.543932, -36.2817, 0]], [[6.32264, -46.1439, 0], [6.32264, -46.1439, 15.1515], [6.18689, -45.1532, 15.1515], [6.18689, -45.1532, 7.57576], [5.10088, -37.2273, 7.57576], [5.10088, -37.2273, 15.1515], [4.96512, -36.2365, 15.1515], [4.96512, -36.2365, 0]], [[11.8892, -45.3291, 0], [11.8892, -45.3291, 15.3131], [11.6355, -44.3618, 15.3131], [11.6355, -44.3618, 7.65657], [9.60588, -36.6236, 7.65657], [9.60588, -36.6236, 15.3131], [9.35218, -35.6563, 15.3131], [9.35218, -35.6563, 0]], [[17.3136, -43.8537, 0], [17.3136, -43.8537, 15.4747], [16.9464, -42.9235, 15.4747], [16.9464, -42.9235, 7.73737], [14.0086, -35.4824, 7.73737], [14.0086, -35.4824, 15.4747], [13.6414, -34.5523, 15.4747], [13.6414, -34.5523, 0]], [[22.5195, -41.7442, 0], [22.5195, -41.7442, 15.6364], [22.0447, -40.8641, 15.6364], [22.0447, -40.8641, 7.81818], [18.2465, -33.8233, 7.81818], [18.2465, -33.8233, 15.6364], [17.7717, -32.9431, 15.6364], [17.7717, -32.9431, 0]], [[27.4355, -39.0356, 0], [27.4355, -39.0356, 15.798], [26.8605, -38.2174, 15.798], [26.8605, -38.2174, 7.89899], [22.2604, -31.6723, 7.89899], [22.2604, -31.6723, 15.798], [21.6854, -30.8542, 15.798], [21.6854, -30.8542, 0]], [[31.9957, -35.7704, 0], [31.9957, -35.7704, 15.9596], [31.329, -35.0251, 15.9596], [31.329, -35.0251, 7.9798], [25.9955, -29.0623, 7.9798], [25.9955, -29.0623, 15.9596], [25.3289, -28.317, 15.9596], [25.3289, -28.317, 0]], [[36.1404, -31.9978, 0], [36.1404, -31.9978, 16.1212], [35.3917, -31.3349, 16.1212], [35.3917, -31.3349, 8.06061], [29.402, -26.0318, 8.06061], [29.402, -26.0318, 16.1212], [28.6533, -25.3689, 16.1212], [28.6533, -25.3689, 0]], [[39.8168, -27.7729, 0], [39.8168, -27.7729, 16.2828], [38.9966, -27.2008, 16.2828], [38.9966, -27.2008, 8.14141], [32.4351, -22.6241, 8.14141], [32.4351, -22.6241, 16.2828], [31.6149, -22.052, 16.2828], [31.6149, -22.052, 0]], [[42.9794, -23.1557, 0], [42.9794, -23.1557, 16.4444], [42.0991, -22.6814, 16.4444], [42.0991, -22.6814, 8.22222], [35.0562, -18.8869, 8.22222], [35.0562, -18.8869, 16.4444], [34.1758, -18.4126, 16.4444], [34.1758, -18.4126, 0]], [[45.5906, -18.2099, 0], [45.5906, -18.2099, 16.6061], [44.6619, -17.839, 16.6061], [44.6619, -17.839, 8.30303], [37.2326, -14.8716, 8.30303], [37.2326, -14.8716, 16.6061], [36.304, -14.5007, 16.6061], [36.304, -14.5007, 0]], [[47.6204, -13.0027, 0], [47.6204, -13.0027, 16.7677], [46.6557, -12.7393, 16.7677], [46.6557, -12.7393, 8.38384], [38.9382, -10.632, 8.38384], [38.9382, -10.632, 16.7677], [37.9735, -10.3686, 16.7677], [37.9735, -10.3686, 0]], [[49.0471, -7.60282, 0], [49.0471, -7.60282, 16.9293], [48.0589, -7.44964, 16.9293], [48.0589, -7.44964, 8.46465], [40.1533, -6.22419, 8.46465], [40.1533, -6.22419, 16.9293], [39.1651, -6.07101, 16.9293], [39.1651, -6.07101, 0]], [[49.8571, -2.08039, 0], [49.8571, -2.08039, 17.0909], [48.8579, -2.0387, 17.0909], [48.8579, -2.0387, 8.54545], [40.8649, -1.70517, 8.54545], [40.8649, -1.70517, 17.0909], [39.8658, -1.66348, 17.0909], [39.8658, -1.66348, 0]], [[50.0446, 3.49438, 0], [50.0446, 3.49438, 17.2525], [49.047, 3.42472, 17.2525], [49.047, 3.42472, 8.62626], [41.0664, 2.86748, 8.62626], [41.0664, 2.86748, 17.2525], [40.0689, 2.79782, 17.2525], [40.0689, 2.79782, 0]], [[49.6118, 9.05196, 0], [49.6118, 9.05196, 17.4141], [48.6281, 8.87246, 17.4141], [48.6281, 8.87246, 8.70707], [40.758, 7.43652, 8.70707], [40.758, 7.43652, 17.4141], [39.7742, 7.25703, 17.4141], [39.7742, 7.25703, 0]], [[48.5685, 14.5243, 0], [48.5685, 14.5243, 17.5758], [47.6104, 14.2378, 17.5758], [47.6104, 14.2378, 8.78788], [39.9458, 11.9457, 8.78788], [39.9458, 11.9457, 17.5758], [38.9877, 11.6592, 17.5758], [38.9877, 11.6592, 0]], [[46.9315, 19.8458, 0], [46.9315, 19.8458, 17.7374], [46.0105, 19.4563, 17.7374], [46.0105, 19.4563, 8.86869], [38.6422, 16.3405, 8.86869], [38.6422, 16.3405, 17.7374], [37.7211, 15.951, 17.7374], [37.7211, 15.951, 0]], [[44.7246, 24.9536, 0], [44.7246, 24.9536, 17.899], [43.8513, 24.4664, 17.899], [43.8513, 24.4664, 8.94949], [36.8651, 20.5685, 8.94949], [36.8651, 20.5685, 17.899], [35.9919, 20.0813, 17.899], [35.9919, 20.0813, 0]], [[41.9778, 29.7888, 0], [41.9778, 29.7888, 18.0606], [41.1623, 29.2101, 18.0606], [41.1623, 29.2101, 9.0303], [34.6381, 24.5803, 9.0303], [34.6381, 24.5803, 18.0606], [33.8226, 24.0016, 18.0606], [33.8226, 24.0016, 0]], [[38.7269, 34.2965, 0], [38.7269, 34.2965, 18.2222], [37.9783, 33.6335, 18.2222], [37.9783, 33.6335, 9.11111], [31.9893, 28.3296, 9.11111], [31.9893, 28.3296, 18.2222], [31.2406, 27.6667, 18.2222], [31.2406, 27.6667, 0]], [[35.013, 38.4268, 0], [35.013, 38.4268, 18.3838], [34.3395, 37.6877, 18.3838], [34.3395, 37.6877, 9.19192], [28.9514, 31.7742, 9.19192], [28.9514, 31.7742, 18.3838], [28.2779, 31.0351, 18.3838], [28.2779, 31.0351, 0]], [[30.8816, 42.1349, 0], [30.8816, 42.1349, 18.5455], [30.2905, 41.3283, 18.5455], [30.2905, 41.3283, 9.27273], [25.5613, 34.8758, 9.27273], [25.5613, 34.8758, 18.5455], [24.9701, 34.0693, 18.5455], [24.9701, 34.0693, 0]], [[26.3823, 45.3814, 0], [26.3823, 45.3814, 18.7071], [25.8797, 44.5169, 18.7071], [25.8797, 44.5169, 9.35354], [21.859, 37.6007, 9.35354], [21.859, 37.6007, 18.7071], [21.3564, 36.7362, 18.7071], [21.3564, 36.7362, 0]], [[21.5678, 48.1331, 0], [21.5678, 48.1331, 18.8687], [21.1589, 47.2205, 18.8687], [21.1589, 47.2205, 9.43434], [17.8876, 39.9199, 9.43434], [17.8876, 39.9199, 18.8687], [17.4787, 39.0073, 18.8687], [17.4787, 39.0073, 0]], [[16.4936, 50.3624, 0], [16.4936, 50.3624, 19.0303], [16.1824, 49.4121, 19.0303], [16.1824, 49.4121, 9.51515], [13.6925, 41.8094, 9.51515], [13.6925, 41.8094, 19.0303], [13.3813, 40.8591, 19.0303], [13.3813, 40.8591, 0]], [[11.2169, 52.0483, 0], [11.2169, 52.0483, 19.1919], [11.0063, 51.0707, 19.1919], [11.0063, 51.0707, 9.59596], [9.32088, 43.2503, 9.59596], [9.32088, 43.2503, 19.1919], [9.11021, 42.2727, 19.1919], [9.11021, 42.2727, 0]], [[5.79641, 53.1758, 0], [5.79641, 53.1758, 19.3535], [5.68805, 52.1817, 19.3535], [5.68805, 52.1817, 9.67677], [4.82115, 44.2288, 9.67677], [4.82115, 44.2288, 19.3535], [4.71278, 43.2347, 19.3535], [4.71278, 43.2347, 0]], [[0.291141, 53.7363, 0], [0.291141, 53.7363, 19.5152], [0.285723, 52.7363, 19.5152], [0.285723, 52.7363, 9.75758], [0.24238, 44.7364, 9.75758], [0.24238, 44.7364, 19.5152], [0.236962, 43.7364, 19.5152], [0.236962, 43.7364, 0]], [[-5.23979, 53.7272, 0], [-5.23979, 53.7272, 19.6768], [-5.14273, 52.7319, 19.6768], [-5.14273, 52.7319, 9.83838], [-4.3662, 44.7697, 9.83838], [-4.3662, 44.7697, 19.6768], [-4.26914, 43.7744, 19.6768], [-4.26914, 43.7744, 0]], [[-10.738, 53.1521, 0], [-10.738, 53.1521, 19.8384], [-10.54, 52.1719, 19.8384], [-10.54, 52.1719, 9.91919], [-8.95578, 44.3303, 9.91919], [-8.95578, 44.3303, 19.8384], [-8.75776, 43.3501, 19.8384], [-8.75776, 43.3501, 0]], [[-16.1463, 52.0203, 0], [-16.1463, 52.0203, 20], [-15.8499, 51.0652, 20], [-15.8499, 51.0652, 10], [-13.4784, 43.4248, 10], [-13.4784, 43.4248, 20], [-13.182, 42.4698, 20], [-13.182, 42.4698, 0]]]; for(i = [0:len(expected) - 1]) { assertEqualPoints(expected[i], sections[i]); diff --git a/test/test_cross_sections.scad b/test/test_cross_sections.scad index 917fbc50..795a3bf2 100644 --- a/test/test_cross_sections.scad +++ b/test/test_cross_sections.scad @@ -24,7 +24,8 @@ module test_cross_sections() { for(i = [0:len(pts_angles) - 1]) [90, 0, pts_angles[i][1]] ]; - expected = [[[-8, -8.98657e-6, -10], [-8, -8.98657e-6, 10], [-12, -0.0000134799, 10], [-12, -0.0000134799, -10]], [[-8.69941, -4.81325, -9.96698], [-8.14922, -4.50884, 9.84122], [-11.6156, -6.42677, 9.96698], [-12.1658, -6.73118, -9.84122]], [[-6.87799, -9.40726, -9.92296], [-6.14294, -8.4019, 9.67387], [-8.45619, -11.5658, 9.92296], [-9.19124, -12.5712, -9.67387]], [[-3.19172, -12.82, -9.86815], [-2.74495, -11.0255, 9.4983], [-3.6807, -14.784, 9.86815], [-4.12747, -16.5785, -9.4983]], [[1.59972, -14.5687, -9.80282], [1.33342, -12.1435, 9.31486], [1.75076, -15.9442, 9.80282], [2.01706, -18.3694, -9.31486]], [[6.77117, -14.5107, -9.72719], [5.49566, -11.7773, 9.12391], [7.08993, -15.1939, 9.72719], [8.36544, -17.9273, -9.12391]], [[11.6998, -12.74, -9.64155], [9.27924, -10.1042, 8.92583], [11.791, -12.8393, 9.64155], [14.2116, -15.4751, -8.92583]], [[15.8949, -9.50598, -9.54615], [12.354, -7.38833, 8.72099], [15.4894, -9.26352, 9.54615], [19.0303, -11.3812, -8.72099]], [[19.0056, -5.15104, -9.44129], [14.5101, -3.93264, 8.50976], [17.9753, -4.8718, 9.44129], [22.4708, -6.0902, -8.50976]], [[20.8154, -0.0609642, -9.32725], [15.6418, -0.0458117, 8.29253], [19.1657, -0.0561326, 9.32725], [24.3394, -0.0712851, -8.29253]], [[21.229, 5.37195, -9.20434], [15.7291, 3.9802, 8.06968], [19.0783, 4.82771, 9.20434], [24.5783, 6.21946, -8.06968]], [[20.2549, 10.7762, -9.07287], [14.8198, 7.88457, 7.8416], [17.8063, 9.47349, 9.07287], [23.2414, 12.3651, -7.8416]], [[17.9859, 15.8199, -8.93315], [13.0133, 11.4462, 7.60868], [15.4975, 13.6312, 8.93315], [20.47, 18.0049, -7.60868]], [[14.5804, 20.2235, -8.78551], [10.4452, 14.4878, 7.37132], [12.3349, 17.1089, 8.78551], [16.4701, 22.8447, -7.37132]], [[10.2433, 23.7661, -8.63027], [7.27401, 16.8769, 7.1299], [8.5216, 19.7715, 8.63027], [11.4909, 26.6607, -7.1299]], [[5.20923, 26.2883, -8.46779], [3.67076, 18.5244, 6.88482], [4.26761, 21.5364, 8.46779], [5.80607, 29.3003, -6.88482]], [[-0.272672, 27.6913, -8.29839], [-0.190853, 19.3821, 6.63649], [-0.220264, 22.369, 8.29839], [-0.302083, 30.6781, -6.63649]], [[-5.95173, 27.9333, -8.12244], [-4.14168, 19.4382, 6.38528], [-4.74634, 22.276, 8.12244], [-6.55639, 30.7712, -6.38528]], [[-11.5865, 27.0247, -7.94028], [-8.02297, 18.713, 6.13159], [-9.13197, 21.2996, 7.94028], [-12.6955, 29.6114, -6.13159]], [[-16.9536, 25.0212, -7.75228], [-11.6908, 17.254, 5.87583], [-13.2196, 19.5104, 7.75228], [-18.4825, 27.2776, -5.87583]], [[-21.8539, 22.0168, -7.55879], [-15.019, 15.131, 5.61836], [-16.8756, 17.0014, 7.55879], [-23.7105, 23.8873, -5.61836]], [[-26.1179, 18.1365, -7.36018], [-17.9017, 12.4311, 5.35959], [-19.9912, 13.8821, 7.36018], [-28.2075, 19.5875, -5.35959]], [[-29.6081, 13.5283, -7.15682], [-20.2537, 9.25418, 5.0999], [-22.4834, 10.2729, 7.15682], [-31.8378, 14.5471, -5.0999]], [[-32.2209, 8.35645, -6.94907], [-22.0116, 5.70868, 4.83966], [-24.2939, 6.30058, 6.94907], [-34.5032, 8.94835, -4.83966]], [[-33.8866, 2.79414, -6.73732], [-23.1328, 1.90742, 4.57925], [-25.3885, 2.09342, 6.73732], [-36.1423, 2.98013, -4.57925]], [[-34.5686, -2.98247, -6.52192], [-23.595, -2.0357, 4.31905], [-25.7552, -2.22208, 6.52192], [-36.7288, -3.16884, -4.31905]], [[-34.2615, -8.79991, -6.30327], [-23.395, -6.0089, 4.05942], [-25.4024, -6.52448, 6.30327], [-36.2689, -9.31549, -4.05942]], [[-32.9889, -14.4922, -6.08172], [-22.5471, -9.90508, 3.80073], [-24.3566, -10.7, 6.08172], [-34.7984, -15.2872, -3.80073]], [[-30.7998, -19.9051, -5.85765], [-21.0811, -13.6241, 3.54332], [-22.6602, -14.6447, 5.85765], [-32.3789, -20.9256, -3.54332]], [[-27.7658, -24.8989, -5.63143], [-19.0407, -17.0747, 3.28755], [-20.3687, -18.2656, 5.63143], [-29.0938, -26.0898, -3.28755]], [[-23.9771, -29.3517, -5.40343], [-16.4814, -20.1757, 3.03376], [-17.5489, -21.4826, 5.40343], [-25.0447, -30.6585, -3.03376]], [[-19.5391, -33.1605, -5.17403], [-13.4681, -22.8573, 2.78228], [-14.276, -24.2283, 5.17403], [-20.3469, -34.5314, -2.78228]], [[-14.568, -36.2428, -4.94357], [-10.0737, -25.0616, 2.53344], [-10.6314, -26.4491, 4.94357], [-15.1258, -37.6303, -2.53344]], [[-9.18817, -38.5369, -4.71244], [-6.37624, -26.7432, 2.28756], [-6.70093, -28.105, 4.71244], [-9.51286, -39.8988, -2.28756]], [[-3.52774, -40.0022, -4.48097], [-2.45775, -27.8692, 2.04496], [-2.5724, -29.1693, 4.48097], [-3.64239, -41.3023, -2.04496]], [[2.28404, -40.6181, -4.24954], [1.59808, -28.4193, 1.80592], [1.66607, -29.6285, 4.24954], [2.35204, -41.8273, -1.80592]], [[8.11996, -40.3838, -4.01848], [5.70741, -28.3852, 1.57074], [5.92777, -29.4811, 4.01848], [8.34031, -41.4797, -1.57074]], [[13.8574, -39.3163, -3.78814], [9.78792, -27.7703, 1.33971], [10.1288, -28.7376, 3.78814], [14.1983, -40.2835, -1.33971]], [[19.3807, -37.4496, -3.55887], [13.7602, -26.5889, 1.1131], [14.1896, -27.4188, 3.55887], [19.8102, -38.2794, -1.1131]], [[24.5832, -34.8323, -3.33099], [17.549, -24.8655, 0.891165], [18.0359, -25.5554, 3.33099], [25.0701, -35.5222, -0.891165]], [[29.3684, -31.5262, -3.10482], [21.0844, -22.6336, 0.674163], [21.5996, -23.1866, 3.10482], [29.8836, -32.0792, -0.674163]], [[33.6518, -27.6038, -2.8807], [24.3029, -19.9351, 0.462334], [24.8198, -20.3591, 2.8807], [34.1688, -28.0278, -0.462334]], [[37.3615, -23.1466, -2.65893], [27.1477, -16.8188, 0.255906], [27.6433, -17.1259, 2.65893], [37.8571, -23.4537, -0.255906]], [[40.4388, -18.2431, -2.43982], [29.57, -13.3399, 0.0550995], [30.0248, -13.545, 2.43982], [40.8936, -18.4483, -0.0550995]], [[42.8385, -12.9862, -2.22366], [31.529, -9.55782, -0.13988], [31.9278, -9.67872, 2.22366], [43.2373, -13.1071, 0.13988]], [[44.529, -7.47204, -2.01074], [32.9924, -5.53618, -0.328838], [33.3241, -5.59185, 2.01074], [44.8607, -7.52771, 0.328838]], [[45.4921, -1.79751, -1.80134], [33.9365, -1.34092, -0.51159], [34.1942, -1.3511, 1.80134], [45.7499, -1.8077, 0.51159]], [[45.7226, 3.94115, -1.59574], [34.3463, 2.96055, -0.687966], [34.5272, 2.97614, 1.59574], [45.9035, 3.95674, 0.687966]], [[45.2274, 9.65004, -1.39418], [34.2153, 7.30043, -0.857807], [34.3202, 7.32281, 1.39418], [45.3323, 9.67243, 0.857807]], [[44.025, 15.239, -1.19694], [33.5455, 11.6116, -1.02097], [33.5788, 11.6231, 1.19694], [44.0583, 15.2505, 1.02097]], [[42.1445, 20.6229, -1.00423], [32.3469, 15.8286, -1.17731], [32.3158, 15.8134, 1.00423], [42.1134, 20.6077, 1.17731]], [[39.6244, 25.7227, -0.8163], [30.6369, 19.8884, -1.32672], [30.5513, 19.8328, 0.8163], [39.5387, 25.6671, 1.32672]], [[36.5118, 30.4663, -0.633365], [28.4403, 23.7313, -1.46909], [28.312, 23.6242, 0.633365], [36.3834, 30.3592, 1.46909]], [[32.8609, 34.7894, -0.455635], [25.7884, 27.3018, -1.60432], [25.6306, 27.1348, 0.455635], [32.7032, 34.6224, 1.60432]], [[28.7323, 38.636, -0.283306], [22.7182, 30.5489, -1.73233], [22.5453, 30.3164, 0.283306], [28.5594, 38.4035, 1.73233]], [[24.1911, 41.9588, -0.116567], [19.2722, 33.4271, -1.85305], [19.0988, 33.1262, 0.116567], [24.0177, 41.6579, 1.85305]], [[19.3063, 44.7193, 0.0444085], [15.4973, 35.8963, -1.96642], [15.3379, 35.5271, -0.0444085], [19.1469, 44.3501, 1.96642]], [[14.1494, 46.8882, 0.199456], [11.4439, 37.9228, -2.0724], [11.3127, 37.4878, -0.199456], [14.0182, 46.4532, 2.0724]], [[8.79326, 48.4452, 0.348425], [7.16581, 39.479, -2.17096], [7.07582, 38.9832, -0.348425], [8.70327, 47.9494, 2.17096]], [[3.31108, 49.3786, 0.491176], [2.71867, 40.5439, -2.26209], [2.68183, 39.9944, -0.491176], [3.27424, 48.8292, 2.26209]], [[-2.22457, 49.6854, 0.627581], [-1.84032, 41.1031, -2.34576], [-1.81372, 40.509, -0.627581], [-2.19797, 49.0913, 2.34576]], [[-7.74272, 49.3709, 0.757525], [-6.45329, 41.1489, -2.42201], [-6.35477, 40.5207, -0.757525], [-7.64419, 48.7426, 2.42201]], [[-13.1748, 48.4477, 0.880906], [-11.0625, 40.6802, -2.49083], [-10.8856, 40.0295, -0.880906], [-12.9979, 47.797, 2.49083]], [[-18.4555, 46.936, 0.997633], [-15.611, 39.702, -2.55228], [-15.3512, 39.0412, -0.997633], [-18.1957, 46.2753, 2.55228]], [[-23.5232, 44.8624, 1.10763], [-20.0433, 38.2257, -2.60638], [-19.6983, 37.5678, -1.10763], [-23.1783, 44.2046, 2.60638]], [[-28.3209, 42.2594, 1.21083], [-24.306, 36.2684, -2.65321], [-23.8757, 35.6265, -1.21083], [-27.8907, 41.6174, 2.65321]], [[-32.7964, 39.1648, 1.30718], [-28.3484, 33.853, -2.69282], [-27.8347, 33.2397, -1.30718], [-32.2828, 38.5514, 2.69282]], [[-36.9028, 35.621, 1.39664], [-32.123, 31.0072, -2.7253], [-31.5298, 30.4347, -1.39664], [-36.3096, 35.0485, 2.7253]], [[-40.5987, 31.6744, 1.47919], [-35.586, 27.7636, -2.75075], [-34.919, 27.2432, -1.47919], [-39.9317, 31.154, 2.75075]], [[-43.8488, 27.3743, 1.5548], [-38.6979, 24.1587, -2.76926], [-37.9643, 23.7007, -1.5548], [-43.1152, 26.9164, 2.76926]], [[-46.6235, 22.7728, 1.62348], [-41.4233, 20.2328, -2.78095], [-40.6318, 19.8462, -1.62348], [-45.8319, 22.3862, 2.78095]], [[-48.8992, 17.9235, 1.68524], [-43.7318, 16.0295, -2.78595], [-42.8922, 15.7217, -1.68524], [-48.0596, 17.6158, 2.78595]], [[-50.6585, 12.8814, 1.74009], [-45.598, 11.5946, -2.7844], [-44.721, 11.3716, -1.74009], [-49.7815, 12.6584, 2.7844]], [[-51.8899, 7.70161, 1.78808], [-47.0016, 6.97608, -2.77644], [-46.0986, 6.84206, -1.78808], [-50.9869, 7.56758, 2.77644]], [[-52.5875, 2.43952, 1.82925], [-47.9276, 2.22335, -2.76223], [-47.0103, 2.1808, -1.82925], [-51.6702, 2.39697, 2.76223]], [[-52.7511, -2.85036, 1.86365], [-48.3661, -2.61342, -2.74193], [-47.4463, -2.56372, -1.86365], [-51.8313, -2.80066, 2.74193]], [[-52.386, -8.11469, 1.89136], [-48.3128, -7.48374, -2.71573], [-47.4022, -7.34269, -1.89136], [-51.4755, -7.97365, 2.71573]], [[-51.5025, -13.3018, 1.91246], [-47.7683, -12.3374, -2.68381], [-46.8782, -12.1075, -1.91246], [-50.6124, -13.072, 2.68381]], [[-50.1155, -18.3622, 1.92704], [-46.7385, -17.1249, -2.64636], [-45.8796, -16.8102, -1.92704], [-49.2566, -18.0476, 2.64636]], [[-48.2446, -23.2489, 1.93521], [-45.2341, -21.7982, -2.60358], [-44.4163, -21.4041, -1.93521], [-47.4268, -22.8548, 2.60358]], [[-45.9133, -27.9177, 1.93709], [-43.2704, -26.3107, -2.5557], [-42.5027, -25.8439, -1.93709], [-45.1455, -27.4508, 2.5557]], [[-43.1488, -32.3276, 1.93279], [-40.8674, -30.6183, -2.50292], [-40.1574, -30.0864, -1.93279], [-42.4388, -31.7957, 2.50292]], [[-39.9817, -36.441, 1.92245], [-38.0489, -34.6794, -2.44547], [-37.4033, -34.0909, -1.92245], [-39.336, -35.8525, 2.44547]], [[-36.4453, -40.2239, 1.90622], [-34.8427, -38.4552, -2.38358], [-34.2666, -37.8194, -1.90622], [-35.8692, -39.5881, 2.38358]], [[-32.5754, -43.6462, 1.88427], [-31.2798, -41.9102, -2.3175], [-30.7772, -41.2368, -1.88427], [-32.0728, -42.9727, 2.3175]], [[-28.4101, -46.6815, 1.85674], [-27.3944, -45.0126, -2.24747], [-26.9677, -44.3114, -1.85674], [-27.9833, -45.9803, 2.24747]], [[-23.9887, -49.3074, 1.82383], [-23.2234, -47.7342, -2.17373], [-22.8736, -47.0152, -1.82383], [-23.639, -48.5884, 2.17373]], [[-19.3523, -51.5056, 1.78571], [-18.8056, -50.0507, -2.09656], [-18.5325, -49.3239, -1.78571], [-19.0792, -50.7788, 2.09656]], [[-14.5423, -53.2619, 1.74258], [-14.182, -51.9421, -2.01619], [-13.984, -51.2169, -1.74258], [-14.3443, -52.5367, 2.01619]], [[-9.60108, -54.5658, 1.69463], [-9.39462, -53.3924, -1.93291], [-9.2689, -52.6779, -1.69463], [-9.47536, -53.8513, 1.93291]], [[-4.57088, -55.4109, 1.64208], [-4.48665, -54.3899, -1.84698], [-4.42929, -53.6945, -1.64208], [-4.51351, -54.7155, 1.84698]], [[0.506175, -55.7947, 1.58515], [0.498304, -54.9272, -1.75867], [0.492238, -54.2584, -1.58515], [0.500108, -55.126, 1.75867]], [[5.58849, -55.7184, 1.52406], [5.51653, -55.0009, -1.66826], [5.45282, -54.3657, -1.52406], [5.52477, -55.0831, 1.66826]], [[10.6353, -55.1865, 1.45903], [10.5246, -54.6121, -1.57602], [10.4097, -54.0161, -1.45903], [10.5204, -54.5905, 1.57602]], [[15.607, -54.2074, 1.39031], [15.4798, -53.7657, -1.48224], [15.3208, -53.2136, -1.39031], [15.448, -53.6553, 1.48224]], [[20.4652, -52.7924, 1.31814], [20.3404, -52.4705, -1.38719], [20.1448, -51.966, -1.31814], [20.2696, -52.2879, 1.38719]], [[25.1733, -50.956, 1.24277], [25.0661, -50.7391, -1.29116], [24.8416, -50.2847, -1.24277], [24.9488, -50.5017, 1.29116]], [[29.6964, -48.7156, 1.16445], [29.6183, -48.5876, -1.19443], [29.3728, -48.1848, -1.16445], [29.4508, -48.3128, 1.19443]], [[34.0016, -46.0913, 1.08344], [33.9605, -46.0356, -1.09728], [33.7016, -45.6846, -1.08344], [33.7427, -45.7403, 1.09728]], [[38.0584, -43.1054, 1], [38.0584, -43.1054, -1], [37.7937, -42.8055, -1], [37.7937, -42.8055, 1]]]; + expected = [[[-8, -1.19053e-14, -10], [-8, -1.19053e-14, 10], [-12, -1.78579e-14, 10], [-12, -1.78579e-14, -10]], [[-8.69941, -4.81324, -9.96698], [-8.14922, -4.50883, 9.84122], [-11.6157, -6.42675, 9.96698], [-12.1658, -6.73116, -9.84122]], [[-6.87801, -9.40725, -9.92296], [-6.14295, -8.40189, 9.67387], [-8.4562, -11.5658, 9.92296], [-9.19126, -12.5712, -9.67387]], [[-3.19174, -12.82, -9.86815], [-2.74497, -11.0255, 9.4983], [-3.68072, -14.784, 9.86815], [-4.12749, -16.5785, -9.4983]], [[1.5997, -14.5687, -9.80282], [1.3334, -12.1435, 9.31486], [1.75073, -15.9442, 9.80282], [2.01703, -18.3694, -9.31486]], [[6.77114, -14.5107, -9.72719], [5.49564, -11.7773, 9.12391], [7.08991, -15.1939, 9.72719], [8.36541, -17.9273, -9.12391]], [[11.6998, -12.74, -9.64155], [9.27922, -10.1042, 8.92583], [11.791, -12.8393, 9.64155], [14.2115, -15.4751, -8.92583]], [[15.8948, -9.50601, -9.54615], [12.354, -7.38836, 8.72099], [15.4894, -9.26355, 9.54615], [19.0303, -11.3812, -8.72099]], [[19.0056, -5.15108, -9.44129], [14.5101, -3.93267, 8.50976], [17.9753, -4.87184, 9.44129], [22.4708, -6.09025, -8.50976]], [[20.8154, -0.0610109, -9.32725], [15.6418, -0.0458468, 8.29253], [19.1657, -0.0561756, 9.32725], [24.3394, -0.0713397, -8.29253]], [[21.2291, 5.3719, -9.20434], [15.7291, 3.98016, 8.06968], [19.0783, 4.82767, 9.20434], [24.5783, 6.21941, -8.06968]], [[20.2549, 10.7761, -9.07287], [14.8198, 7.88454, 7.8416], [17.8064, 9.47344, 9.07287], [23.2414, 12.365, -7.8416]], [[17.9859, 15.8199, -8.93315], [13.0134, 11.4462, 7.60868], [15.4975, 13.6312, 8.93315], [20.4701, 18.0049, -7.60868]], [[14.5804, 20.2234, -8.78551], [10.4452, 14.4878, 7.37132], [12.335, 17.1089, 8.78551], [16.4702, 22.8446, -7.37132]], [[10.2434, 23.7661, -8.63027], [7.27405, 16.8768, 7.1299], [8.52166, 19.7715, 8.63027], [11.491, 26.6607, -7.1299]], [[5.2093, 26.2883, -8.46779], [3.67081, 18.5244, 6.88482], [4.26766, 21.5364, 8.46779], [5.80616, 29.3002, -6.88482]], [[-0.272594, 27.6913, -8.29839], [-0.190798, 19.3821, 6.63649], [-0.220201, 22.369, 8.29839], [-0.301996, 30.6781, -6.63649]], [[-5.95165, 27.9333, -8.12244], [-4.14162, 19.4382, 6.38528], [-4.74627, 22.2761, 8.12244], [-6.5563, 30.7712, -6.38528]], [[-11.5864, 27.0247, -7.94028], [-8.02291, 18.713, 6.13159], [-9.1319, 21.2997, 7.94028], [-12.6954, 29.6114, -6.13159]], [[-16.9535, 25.0212, -7.75228], [-11.6907, 17.254, 5.87583], [-13.2196, 19.5104, 7.75228], [-18.4824, 27.2777, -5.87583]], [[-21.8539, 22.0169, -7.55879], [-15.019, 15.131, 5.61836], [-16.8756, 17.0014, 7.55879], [-23.7105, 23.8873, -5.61836]], [[-26.1179, 18.1366, -7.36018], [-17.9016, 12.4311, 5.35959], [-19.9912, 13.8821, 7.36018], [-28.2074, 19.5876, -5.35959]], [[-29.6081, 13.5284, -7.15682], [-20.2537, 9.25425, 5.0999], [-22.4833, 10.273, 7.15682], [-31.8377, 14.5472, -5.0999]], [[-32.2209, 8.35656, -6.94907], [-22.0116, 5.70875, 4.83966], [-24.2938, 6.30066, 6.94907], [-34.5031, 8.94846, -4.83966]], [[-33.8866, 2.79425, -6.73732], [-23.1328, 1.9075, 4.57925], [-25.3884, 2.0935, 6.73732], [-36.1423, 2.98025, -4.57925]], [[-34.5686, -2.98235, -6.52192], [-23.595, -2.03562, 4.31905], [-25.7552, -2.22199, 6.52192], [-36.7288, -3.16872, -4.31905]], [[-34.2616, -8.79979, -6.30327], [-23.395, -6.00882, 4.05942], [-25.4024, -6.5244, 6.30327], [-36.2689, -9.31537, -4.05942]], [[-32.9889, -14.4921, -6.08172], [-22.5471, -9.905, 3.80073], [-24.3567, -10.7, 6.08172], [-34.7985, -15.2871, -3.80073]], [[-30.7998, -19.9049, -5.85765], [-21.0811, -13.6241, 3.54332], [-22.6603, -14.6446, 5.85765], [-32.379, -20.9255, -3.54332]], [[-27.7659, -24.8988, -5.63143], [-19.0408, -17.0747, 3.28755], [-20.3688, -18.2656, 5.63143], [-29.0939, -26.0897, -3.28755]], [[-23.9772, -29.3516, -5.40343], [-16.4815, -20.1757, 3.03376], [-17.549, -21.4825, 5.40343], [-25.0448, -30.6584, -3.03376]], [[-19.5392, -33.1604, -5.17403], [-13.4682, -22.8573, 2.78228], [-14.276, -24.2282, 5.17403], [-20.347, -34.5314, -2.78228]], [[-14.5682, -36.2427, -4.94357], [-10.0738, -25.0615, 2.53344], [-10.6315, -26.4491, 4.94357], [-15.1259, -37.6302, -2.53344]], [[-9.18832, -38.5369, -4.71244], [-6.37634, -26.7431, 2.28756], [-6.70104, -28.105, 4.71244], [-9.51302, -39.8987, -2.28756]], [[-3.52789, -40.0022, -4.48097], [-2.45785, -27.8692, 2.04496], [-2.57252, -29.1693, 4.48097], [-3.64256, -41.3023, -2.04496]], [[2.28388, -40.6181, -4.24954], [1.59797, -28.4193, 1.80592], [1.66596, -29.6285, 4.24954], [2.35187, -41.8273, -1.80592]], [[8.11979, -40.3838, -4.01848], [5.7073, -28.3852, 1.57074], [5.92765, -29.4812, 4.01848], [8.34014, -41.4797, -1.57074]], [[13.8573, -39.3164, -3.78814], [9.78781, -27.7704, 1.33971], [10.1287, -28.7376, 3.78814], [14.1982, -40.2836, -1.33971]], [[19.3806, -37.4497, -3.55887], [13.7601, -26.589, 1.1131], [14.1895, -27.4188, 3.55887], [19.8101, -38.2795, -1.1131]], [[24.583, -34.8324, -3.33099], [17.5489, -24.8655, 0.891165], [18.0358, -25.5554, 3.33099], [25.0699, -35.5223, -0.891165]], [[29.3683, -31.5263, -3.10482], [21.0843, -22.6337, 0.674163], [21.5995, -23.1867, 3.10482], [29.8834, -32.0793, -0.674163]], [[33.6517, -27.6039, -2.8807], [24.3028, -19.9352, 0.462334], [24.8197, -20.3592, 2.8807], [34.1687, -28.028, -0.462334]], [[37.3614, -23.1468, -2.65893], [27.1476, -16.819, 0.255906], [27.6432, -17.126, 2.65893], [37.857, -23.4538, -0.255906]], [[40.4387, -18.2432, -2.43982], [29.5699, -13.34, 0.0550995], [30.0248, -13.5452, 2.43982], [40.8935, -18.4484, -0.0550995]], [[42.8384, -12.9864, -2.22366], [31.5289, -9.55796, -0.13988], [31.9278, -9.67886, 2.22366], [43.2372, -13.1073, 0.13988]], [[44.5289, -7.47224, -2.01074], [32.9924, -5.53633, -0.328838], [33.3241, -5.592, 2.01074], [44.8607, -7.52791, 0.328838]], [[45.4921, -1.79772, -1.80134], [33.9365, -1.34107, -0.51159], [34.1942, -1.35126, 1.80134], [45.7499, -1.8079, 0.51159]], [[45.7226, 3.94094, -1.59574], [34.3463, 2.96039, -0.687966], [34.5272, 2.97598, 1.59574], [45.9035, 3.95653, 0.687966]], [[45.2275, 9.64984, -1.39418], [34.2154, 7.30027, -0.857807], [34.3203, 7.32266, 1.39418], [45.3324, 9.67222, 0.857807]], [[44.0251, 15.2388, -1.19694], [33.5456, 11.6115, -1.02097], [33.5789, 11.623, 1.19694], [44.0583, 15.2503, 1.02097]], [[42.1446, 20.6227, -1.00423], [32.347, 15.8284, -1.17731], [32.3159, 15.8132, 1.00423], [42.1135, 20.6075, 1.17731]], [[39.6245, 25.7225, -0.8163], [30.637, 19.8882, -1.32672], [30.5514, 19.8326, 0.8163], [39.5389, 25.6669, 1.32672]], [[36.5119, 30.4661, -0.633365], [28.4404, 23.7312, -1.46909], [28.3121, 23.6241, 0.633365], [36.3836, 30.359, 1.46909]], [[32.8611, 34.7893, -0.455635], [25.7885, 27.3017, -1.60432], [25.6308, 27.1347, 0.455635], [32.7034, 34.6222, 1.60432]], [[28.7325, 38.6359, -0.283306], [22.7184, 30.5488, -1.73233], [22.5454, 30.3163, 0.283306], [28.5596, 38.4033, 1.73233]], [[24.1913, 41.9586, -0.116567], [19.2724, 33.427, -1.85305], [19.0989, 33.1261, 0.116567], [24.0179, 41.6578, 1.85305]], [[19.3066, 44.7192, 0.0444085], [15.4974, 35.8963, -1.96642], [15.338, 35.527, -0.0444085], [19.1471, 44.35, 1.96642]], [[14.1497, 46.8881, 0.199456], [11.4441, 37.9228, -2.0724], [11.3129, 37.4878, -0.199456], [14.0184, 46.4531, 2.0724]], [[8.7935, 48.4451, 0.348425], [7.16601, 39.4789, -2.17096], [7.07602, 38.9832, -0.348425], [8.70351, 47.9493, 2.17096]], [[3.31133, 49.3786, 0.491176], [2.71887, 40.5439, -2.26209], [2.68203, 39.9944, -0.491176], [3.27448, 48.8291, 2.26209]], [[-2.22432, 49.6854, 0.627581], [-1.84011, 41.1031, -2.34576], [-1.81351, 40.509, -0.627581], [-2.19773, 49.0914, 2.34576]], [[-7.74246, 49.3709, 0.757525], [-6.45308, 41.149, -2.42201], [-6.35456, 40.5207, -0.757525], [-7.64394, 48.7427, 2.42201]], [[-13.1746, 48.4478, 0.880906], [-11.0623, 40.6802, -2.49083], [-10.8853, 40.0295, -0.880906], [-12.9976, 47.7971, 2.49083]], [[-18.4552, 46.9361, 0.997633], [-15.6108, 39.702, -2.55228], [-15.351, 39.0413, -0.997633], [-18.1954, 46.2754, 2.55228]], [[-23.523, 44.8625, 1.10763], [-20.0431, 38.2258, -2.60638], [-19.6982, 37.5679, -1.10763], [-23.178, 44.2047, 2.60638]], [[-28.3207, 42.2595, 1.21083], [-24.3058, 36.2686, -2.65321], [-23.8756, 35.6266, -1.21083], [-27.8905, 41.6176, 2.65321]], [[-32.7962, 39.165, 1.30718], [-28.3482, 33.8532, -2.69282], [-27.8346, 33.2398, -1.30718], [-32.2826, 38.5516, 2.69282]], [[-36.9026, 35.6212, 1.39664], [-32.1228, 31.0074, -2.7253], [-31.5297, 30.4349, -1.39664], [-36.3094, 35.0487, 2.7253]], [[-40.5986, 31.6746, 1.47919], [-35.5859, 27.7638, -2.75075], [-34.9189, 27.2434, -1.47919], [-39.9316, 31.1542, 2.75075]], [[-43.8486, 27.3746, 1.5548], [-38.6977, 24.1589, -2.76926], [-37.9641, 23.7009, -1.5548], [-43.1151, 26.9166, 2.76926]], [[-46.6233, 22.7731, 1.62348], [-41.4232, 20.2331, -2.78095], [-40.6316, 19.8464, -1.62348], [-45.8318, 22.3865, 2.78095]], [[-48.8991, 17.9238, 1.68524], [-43.7317, 16.0297, -2.78595], [-42.8921, 15.722, -1.68524], [-48.0595, 17.6161, 2.78595]], [[-50.6585, 12.8816, 1.74009], [-45.598, 11.5948, -2.7844], [-44.721, 11.3718, -1.74009], [-49.7815, 12.6586, 2.7844]], [[-51.8898, 7.7019, 1.78808], [-47.0016, 6.97635, -2.77644], [-46.0986, 6.84231, -1.78808], [-50.9868, 7.56787, 2.77644]], [[-52.5875, 2.43982, 1.82925], [-47.9276, 2.22362, -2.76223], [-47.0103, 2.18106, -1.82925], [-51.6702, 2.39726, 2.76223]], [[-52.7511, -2.85006, 1.86365], [-48.3661, -2.61314, -2.74193], [-47.4463, -2.56345, -1.86365], [-51.8314, -2.80037, 2.74193]], [[-52.3861, -8.1144, 1.89136], [-48.3128, -7.48346, -2.71573], [-47.4022, -7.34242, -1.89136], [-51.4755, -7.97335, 2.71573]], [[-51.5025, -13.3015, 1.91246], [-47.7683, -12.3371, -2.68381], [-46.8783, -12.1072, -1.91246], [-50.6125, -13.0717, 2.68381]], [[-50.1156, -18.362, 1.92704], [-46.7386, -17.1246, -2.64636], [-45.8797, -16.81, -1.92704], [-49.2567, -18.0473, 2.64636]], [[-48.2447, -23.2486, 1.93521], [-45.2342, -21.7979, -2.60358], [-44.4164, -21.4038, -1.93521], [-47.4269, -22.8546, 2.60358]], [[-45.9134, -27.9174, 1.93709], [-43.2706, -26.3105, -2.5557], [-42.5028, -25.8436, -1.93709], [-45.1457, -27.4506, 2.5557]], [[-43.149, -32.3273, 1.93279], [-40.8676, -30.6181, -2.50292], [-40.1576, -30.0862, -1.93279], [-42.439, -31.7954, 2.50292]], [[-39.9819, -36.4407, 1.92245], [-38.0491, -34.6792, -2.44547], [-37.4035, -34.0907, -1.92245], [-39.3362, -35.8523, 2.44547]], [[-36.4455, -40.2237, 1.90622], [-34.8429, -38.455, -2.38358], [-34.2668, -37.8192, -1.90622], [-35.8694, -39.5879, 2.38358]], [[-32.5757, -43.646, 1.88427], [-31.28, -41.91, -2.3175], [-30.7774, -41.2366, -1.88427], [-32.0731, -42.9725, 2.3175]], [[-28.4104, -46.6813, 1.85674], [-27.3947, -45.0124, -2.24747], [-26.9679, -44.3113, -1.85674], [-27.9836, -45.9801, 2.24747]], [[-23.989, -49.3072, 1.82383], [-23.2236, -47.734, -2.17373], [-22.8739, -47.0151, -1.82383], [-23.6393, -48.5883, 2.17373]], [[-19.3526, -51.5055, 1.78571], [-18.8059, -50.0506, -2.09656], [-18.5328, -49.3238, -1.78571], [-19.0795, -50.7787, 2.09656]], [[-14.5426, -53.2618, 1.74258], [-14.1823, -51.942, -2.01619], [-13.9843, -51.2168, -1.74258], [-14.3446, -52.5366, 2.01619]], [[-9.60141, -54.5657, 1.69463], [-9.39495, -53.3924, -1.93291], [-9.26922, -52.6778, -1.69463], [-9.47569, -53.8512, 1.93291]], [[-4.57122, -55.4109, 1.64208], [-4.48699, -54.3899, -1.84698], [-4.42962, -53.6944, -1.64208], [-4.51385, -54.7155, 1.84698]], [[0.50583, -55.7947, 1.58515], [0.497965, -54.9272, -1.75867], [0.491902, -54.2584, -1.58515], [0.499767, -55.126, 1.75867]], [[5.58814, -55.7184, 1.52406], [5.51619, -55.001, -1.66826], [5.45248, -54.3657, -1.52406], [5.52443, -55.0831, 1.66826]], [[10.635, -55.1866, 1.45903], [10.5243, -54.6122, -1.57602], [10.4094, -54.0161, -1.45903], [10.5201, -54.5905, 1.57602]], [[15.6066, -54.2075, 1.39031], [15.4794, -53.7658, -1.48224], [15.3205, -53.2137, -1.39031], [15.4477, -53.6554, 1.48224]], [[20.4648, -52.7925, 1.31814], [20.34, -52.4706, -1.38719], [20.1445, -51.9661, -1.31814], [20.2693, -52.288, 1.38719]], [[25.1729, -50.9562, 1.24277], [25.0658, -50.7392, -1.29116], [24.8413, -50.2849, -1.24277], [24.9485, -50.5018, 1.29116]], [[29.696, -48.7158, 1.16445], [29.618, -48.5878, -1.19443], [29.3725, -48.185, -1.16445], [29.4505, -48.313, 1.19443]], [[34.0013, -46.0915, 1.08344], [33.9602, -46.0358, -1.09728], [33.7013, -45.6848, -1.08344], [33.7424, -45.7405, 1.09728]], [[38.0581, -43.1056, 1], [38.0581, -43.1056, -1], [37.7934, -42.8058, -1], [37.7934, -42.8058, 1]]]; + sects = cross_sections(shape_pts, pts, angles, twist = 180, scale = 0.1); diff --git a/test/test_shape_path_extend.scad b/test/test_shape_path_extend.scad index 543b127f..2b0b7257 100644 --- a/test/test_shape_path_extend.scad +++ b/test/test_shape_path_extend.scad @@ -30,7 +30,7 @@ module test_shape_path_extend_stroke2() { num_of_points = 85 ); - expected = [[-4.50112, 0.0946668], [-8.40532, -3.99889], [-12.4989, -0.0946859], [-12.3642, -5.78176], [-8.52426, -12.4798], [-2.25652, -16.2117], [4.73389, -16.8348], [11.2186, -14.7228], [16.3807, -10.5002], [19.7496, -4.88353], [21.1345, 1.41768], [20.5616, 7.76153], [18.2155, 13.6082], [14.3889, 18.5363], [9.43865, 22.2465], [3.75054, 24.5569], [-2.2895, 25.3921], [-8.31717, 24.7692], [-14.0057, 22.7824], [-19.0769, 19.586], [-23.3069, 15.3792], [-26.5298, 10.3901], [-28.6367, 4.86291], [-29.5736, -0.954708], [-29.3372, -6.82151], [-27.969, -12.5112], [-25.5492, -17.8192], [-22.1901, -22.5673], [-18.0289, -26.6075], [-13.2208, -29.8236], [-7.93264, -32.132], [-2.33684, -33.4815], [3.39434, -33.8521], [9.09361, -33.2527], [14.6029, -31.7188], [19.7769, -29.3091], [24.4858, -26.103], [28.6176, -22.1962], [32.0795, -17.6975], [34.799, -12.7256], [36.7238, -7.40514], [37.8222, -1.86377], [38.0821, 3.77099], [37.5102, 9.37453], [36.1307, 14.8276], [33.9838, 20.0184], [31.1237, 24.8447], [27.6173, 29.2148], [23.5413, 33.0494], [18.9812, 36.2819], [14.0284, 38.8591], [8.7787, 40.7419], [3.33025, 41.9044], [-2.21838, 42.3346], [-7.76988, 42.0335], [-13.2298, 41.0143], [-18.5078, 39.302], [-23.5194, 36.9322], [-28.1866, 33.9499], [-32.4391, 30.4088], [-36.2148, 26.3697], [-39.4606, 21.8995], [-42.133, 17.0697], [-44.1978, 11.9554], [-45.6306, 6.63376], [-46.4169, 1.18325], [-46.5513, -4.31793], [-46.038, -9.79273], [-44.8896, -15.1663], [-43.1273, -20.3669], [-40.7798, -25.3268], [-37.8829, -29.9828], [-34.4786, -34.2773], [-30.6145, -38.1583], [-26.3431, -41.5805], [-21.7206, -44.5048], [-16.8064, -46.8994], [-11.6623, -48.7395], [-6.35131, -50.0073], [-0.937338, -50.6921], [4.51586, -50.7903], [9.94533, -50.3052], [15.2896, -49.2463], [20.4895, -47.6298], [25.4883, -45.4773], [30.2327, -42.8162], [34.6733, -39.6788], [35.6098, -34.1], [30.031, -33.1634], [30.031, -33.1634], [26.2913, -35.8546], [22.2946, -38.1424], [18.0832, -40.0002], [13.7023, -41.4054], [9.19983, -42.34], [4.62594, -42.7911], [0.032421, -42.7511], [-4.52778, -42.2179], [-9.00115, -41.1951], [-13.3342, -39.6922], [-17.4742, -37.7248], [-21.3698, -35.3142], [-24.9715, -32.4876], [-28.2329, -29.2781], [-31.1106, -25.7242], [-33.5655, -21.8694], [-35.5632, -17.7623], [-37.0747, -13.4555], [-38.0768, -9.0057], [-38.5528, -4.47244], [-38.493, 0.082213], [-37.8949, 4.59457], [-36.7636, 9.00019], [-35.1121, 13.2347], [-32.9613, 17.2349], [-30.34, 20.9395], [-27.2849, 24.2905], [-23.8401, 27.2337], [-20.057, 29.7203], [-15.9936, 31.7074], [-11.7138, 33.1593], [-7.28699, 34.0481], [-2.78643, 34.3548], [1.71125, 34.0699], [6.12748, 33.1939], [10.383, 31.7379], [14.3994, 29.7239], [18.1003, 27.1847], [21.4132, 24.1641], [24.2711, 20.7165], [26.6139, 16.9062], [28.3901, 12.8071], [29.558, 8.50082], [30.0879, 4.07644], [29.9625, -0.3718], [29.1787, -4.74591], [27.748, -8.94627], [25.6973, -12.8738], [23.0695, -16.4325], [19.923, -19.5318], [16.3314, -22.0891], [12.3826, -24.033], [8.17771, -25.3053], [3.82872, -25.8639], [-0.543495, -25.6851], [-4.81221, -24.7656], [-8.84815, -23.1243], [-12.5234, -20.8033], [-15.7154, -17.8686], [-18.312, -14.41], [-20.2157, -10.5399], [-21.3488, -6.3915], [-21.6583, -2.11558], [-21.1204, 2.12341], [-19.7441, 6.15281], [-17.5752, 9.79825], [-14.6974, 12.8912], [-11.2339, 15.2779], [-7.34541, 16.8284], [-3.22705, 17.4472], [0.897907, 17.0828], [4.78711, 15.7378], [8.19166, 13.4772], [10.8721, 10.4343], [12.618, 6.81346], [13.2708, 2.8876], [12.749, -1.01163], [11.0749, -4.51283], [8.39894, -7.23614], [5.01789, -8.83984], [1.37862, -9.08532], [-1.9491, -7.92267]]; + expected = [[-4.50112, 0.094671], [-8.40533, -3.99888], [-12.4989, -0.094671], [-12.3642, -5.78174], [-8.52427, -12.4798], [-2.25654, -16.2117], [4.73386, -16.8348], [11.2186, -14.7228], [16.3807, -10.5002], [19.7496, -4.88358], [21.1346, 1.41763], [20.5616, 7.76149], [18.2156, 13.6082], [14.3889, 18.5362], [9.43871, 22.2465], [3.75061, 24.5569], [-2.28942, 25.3921], [-8.31709, 24.7692], [-14.0057, 22.7824], [-19.0768, 19.5861], [-23.3069, 15.3793], [-26.5297, 10.3902], [-28.6367, 4.86301], [-29.5737, -0.954608], [-29.3372, -6.82141], [-27.969, -12.5111], [-25.5493, -17.8191], [-22.1902, -22.5673], [-18.029, -26.6075], [-13.2209, -29.8235], [-7.93276, -32.132], [-2.33697, -33.4815], [3.3942, -33.8522], [9.09348, -33.2528], [14.6028, -31.7188], [19.7767, -29.3092], [24.4857, -26.1031], [28.6175, -22.1963], [32.0794, -17.6976], [34.7989, -12.7257], [36.7238, -7.4053], [37.8222, -1.86394], [38.0821, 3.77082], [37.5102, 9.37436], [36.1308, 14.8274], [33.9839, 20.0183], [31.1239, 24.8445], [27.6174, 29.2147], [23.5415, 33.0493], [18.9814, 36.2818], [14.0286, 38.8591], [8.7789, 40.7418], [3.33046, 41.9044], [-2.21817, 42.3347], [-7.76966, 42.0336], [-13.2295, 41.0144], [-18.5076, 39.3021], [-23.5192, 36.9323], [-28.1865, 33.9501], [-32.4389, 30.409], [-36.2146, 26.3699], [-39.4605, 21.8997], [-42.1329, 17.0699], [-44.1977, 11.9556], [-45.6306, 6.63401], [-46.4169, 1.18351], [-46.5514, -4.31766], [-46.038, -9.79247], [-44.8897, -15.166], [-43.1274, -20.3667], [-40.7799, -25.3265], [-37.883, -29.9826], [-34.4788, -34.2771], [-30.6148, -38.1581], [-26.3434, -41.5803], [-21.7209, -44.5047], [-16.8067, -46.8993], [-11.6626, -48.7394], [-6.35161, -50.0072], [-0.937651, -50.6921], [4.51554, -50.7904], [9.94502, -50.3052], [15.2893, -49.2464], [20.4892, -47.6299], [25.488, -45.4775], [30.2325, -42.8164], [34.673, -39.679], [35.6096, -34.1002], [30.0308, -33.1636], [30.0308, -33.1636], [26.291, -35.8547], [22.2943, -38.1426], [18.0829, -40.0004], [13.702, -41.4055], [9.19957, -42.3401], [4.62568, -42.7911], [0.032157, -42.7511], [-4.52804, -42.2178], [-9.0014, -41.195], [-13.3345, -39.6922], [-17.4745, -37.7247], [-21.37, -35.3141], [-24.9717, -32.4875], [-28.233, -29.278], [-31.1107, -25.724], [-33.5656, -21.8692], [-35.5633, -17.7621], [-37.0748, -13.4553], [-38.0768, -9.00548], [-38.5528, -4.47222], [-38.493, 0.082429], [-37.8949, 4.59478], [-36.7636, 9.00039], [-35.112, 13.2349], [-32.9612, 17.2351], [-30.3399, 20.9397], [-27.2847, 24.2906], [-23.8399, 27.2338], [-20.0568, 29.7204], [-15.9934, 31.7075], [-11.7137, 33.1593], [-7.28682, 34.0481], [-2.78626, 34.3549], [1.71143, 34.0699], [6.12765, 33.1939], [10.3832, 31.7379], [14.3995, 29.7238], [18.1004, 27.1846], [21.4133, 24.164], [24.2712, 20.7164], [26.614, 16.9061], [28.3901, 12.8069], [29.5581, 8.50069], [30.0879, 4.0763], [29.9625, -0.371934], [29.1787, -4.74604], [27.7479, -8.94639], [25.6973, -12.874], [23.0695, -16.4326], [19.9229, -19.5319], [16.3313, -22.0892], [12.3825, -24.0331], [8.1776, -25.3054], [3.82862, -25.864], [-0.543596, -25.6851], [-4.8123, -24.7656], [-8.84824, -23.1243], [-12.5234, -20.8032], [-15.7155, -17.8686], [-18.312, -14.41], [-20.2157, -10.5399], [-21.3488, -6.39142], [-21.6583, -2.11551], [-21.1204, 2.12348], [-19.7441, 6.15287], [-17.5751, 9.7983], [-14.6974, 12.8913], [-11.2339, 15.2779], [-7.34536, 16.8285], [-3.227, 17.4472], [0.897954, 17.0828], [4.78715, 15.7378], [8.19169, 13.4772], [10.8721, 10.4343], [12.618, 6.81343], [13.2708, 2.88757], [12.749, -1.01165], [11.0749, -4.51285], [8.39893, -7.23616], [5.01787, -8.83985], [1.37861, -9.08532], [-1.94911, -7.92267]]; actual = shape_path_extend( stroke2,