This repository has been archived on 2023-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
mightyscape-1.1-deprecated/extensions/fablabchemnitz/path2flex/DebugPath2Flex.txt

183 lines
15 KiB
Plaintext

Start processing
Node type :{http://www.w3.org/2000/svg}path
Path detected, Entering getPathVertices, len=39
After parsePath in getPathVertices, len=2
Path = [['M', [58.656465, 137.55354]], ['L', [79.723225, 186.70931]]]
After CubicSuperPath in getPathVertices, len=1
Processing SubPath0 SubPath List len=0 Vertices list length=0
Before subdivideCubicPath len=2
Bsp=[[[58.656465, 137.55354], [58.656465, 137.55354], [58.656465, 137.55354]], [[79.723225, 186.70931], [79.723225, 186.70931], [79.723225, 186.70931]]]
After subdivideCubicPath len=2
Asp=[[[58.656465, 137.55354], [58.656465, 137.55354], [58.656465, 137.55354]], [[79.723225, 186.70931], [79.723225, 186.70931], [79.723225, 186.70931]]]
Enter writeModifiedPath, node=path 1 paths, global Offset(-31.066760000000002, 0)
Processing Path, 0 Len(path)=2
p=[[58.656465, 137.55354], [79.723225, 186.70931]]
---After simplification, path has 2 vertices
poly area = -7.251855888675891
Polygon was clockwise, reverse it
DrawPoly First element (0) : [79.723225, 186.70931] Call MoveTo(79.723225,186.70931
idx=0 Angle1 =-113.199 Angle 2=-113.199 Delta angle=0.0°
Sum of angles=0.0°
Path length =53.47988501474642 Flex length =53.47988501474642 Difference=0.0
Number of notches =13 ideal notch size =4.114
Pass 0 First point (79.723225,186.70931 notch_size=4.113837308826648
Last notch size :4.113837308845792
Start line Start(81.10194253051954, 186.1184310182803) End((78.34450746948046, 187.30018898171969) Start inside False End inside :False
Draw StartLine start from (86.6168126525977, 183.75491509140153) to (81.10194253051954, 186.1184310182803)
Generate path with 13 notches, offset =(-31.066760000000002, 0)
Draw notch 0 Slope is -113.19859192040225
Ref=(79.723225, 186.70931, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 0: Start(81.10194253051954, 186.1184310182803) End((78.34450746948046, 187.30018898171969) Start inside False End inside :False
Draw notch_1 start from (78.34450746948046, 187.30018898171969) to (81.10194253051954, 186.1184310182803)Center is (79.723225, 186.70931)
Draw notch_2 to (80.56176919718621, 184.85802665930592)
Draw notch_3 to (77.80433413614713, 186.03978462274532)
Draw notch 1 Slope is -113.19859192040225
Ref=(78.10270499999987, 182.92809692307662, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 1: Start(79.48142253051941, 182.33721794135693) End((76.72398746948033, 183.51897590479632) Start inside False End inside :False
LineTo starting point from :(77.80433413614713, 186.03978462274532) to (76.72398746948033, 183.51897590479632) Length =2.7425582058847393
Draw notch_1 start from (76.72398746948033, 183.51897590479632) to (79.48142253051941, 182.33721794135693)Center is (78.10270499999987, 182.92809692307662)
Draw notch_2 to (78.67116253051941, 180.4466114028954)
Draw notch_3 to (75.91372746948034, 181.6283693663348)
Draw notch 2 Slope is -113.19859192040225
Ref=(76.48218500000083, 179.14688384615576, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 2: Start(77.86090253052036, 178.55600486443606) End((75.10346746948129, 179.73776282787546) Start inside False End inside :False
LineTo starting point from :(75.91372746948034, 181.6283693663348) to (75.10346746948129, 179.73776282787546) Length =2.0569186544109264
Draw notch_1 start from (75.10346746948129, 179.73776282787546) to (77.86090253052036, 178.55600486443606)Center is (76.48218500000083, 179.14688384615576)
Draw notch_2 to (77.05064253052036, 176.66539832597454)
Draw notch_3 to (74.29320746948129, 177.84715628941393)
Draw notch 3 Slope is -113.19859192040225
Ref=(74.86166500000134, 175.36567076923387, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 3: Start(76.24038253052088, 174.77479178751418) End((73.4829474694818, 175.95654975095357) Start inside False End inside :False
LineTo starting point from :(74.29320746948129, 177.84715628941393) to (73.4829474694818, 175.95654975095357) Length =2.05691865441204
Draw notch_1 start from (73.4829474694818, 175.95654975095357) to (76.24038253052088, 174.77479178751418)Center is (74.86166500000134, 175.36567076923387)
Draw notch_2 to (75.43012253052088, 172.88418524905265)
Draw notch_3 to (72.6726874694818, 174.06594321249204)
Draw notch 4 Slope is -113.19859192040225
Ref=(73.24114500000206, 171.5844576923125, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 4: Start(74.6198625305216, 170.9935787105928) End((71.86242746948253, 172.1753366740322) Start inside False End inside :False
LineTo starting point from :(72.6726874694818, 174.06594321249204) to (71.86242746948253, 172.1753366740322) Length =2.056918654411486
Draw notch_1 start from (71.86242746948253, 172.1753366740322) to (74.6198625305216, 170.9935787105928)Center is (73.24114500000206, 171.5844576923125)
Draw notch_2 to (73.8096025305216, 169.10297217213127)
Draw notch_3 to (71.05216746948253, 170.28473013557067)
Draw notch 5 Slope is -113.19859192040225
Ref=(71.62062500000302, 167.80324461539163, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 5: Start(72.99934253052255, 167.21236563367194) End((70.24190746948348, 168.39412359711133) Start inside False End inside :False
LineTo starting point from :(71.05216746948253, 170.28473013557067) to (70.24190746948348, 168.39412359711133) Length =2.0569186544109264
Draw notch_1 start from (70.24190746948348, 168.39412359711133) to (72.99934253052255, 167.21236563367194)Center is (71.62062500000302, 167.80324461539163)
Draw notch_2 to (72.18908253052255, 165.3217590952104)
Draw notch_3 to (69.43164746948348, 166.5035170586498)
Draw notch 6 Slope is -113.19859192040225
Ref=(70.00010500000353, 164.02203153846978, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 6: Start(71.37882253052307, 163.43115255675008) End((68.62138746948399, 164.61291052018947) Start inside False End inside :False
LineTo starting point from :(69.43164746948348, 166.5035170586498) to (68.62138746948399, 164.61291052018947) Length =2.056918654412014
Draw notch_1 start from (68.62138746948399, 164.61291052018947) to (71.37882253052307, 163.43115255675008)Center is (70.00010500000353, 164.02203153846978)
Draw notch_2 to (70.56856253052307, 161.54054601828855)
Draw notch_3 to (67.81112746948399, 162.72230398172795)
Draw notch 7 Slope is -113.19859192040225
Ref=(68.37958500000427, 160.24081846154843, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 7: Start(69.7583025305238, 159.64993947982873) End((67.00086746948473, 160.83169744326813) Start inside False End inside :False
LineTo starting point from :(67.81112746948399, 162.72230398172795) to (67.00086746948473, 160.83169744326813) Length =2.056918654411454
Draw notch_1 start from (67.00086746948473, 160.83169744326813) to (69.7583025305238, 159.64993947982873)Center is (68.37958500000427, 160.24081846154843)
Draw notch_2 to (68.94804253052381, 157.7593329413672)
Draw notch_3 to (66.19060746948473, 158.9410909048066)
Draw notch 8 Slope is -113.19859192040225
Ref=(66.7590650000048, 156.45960538462657, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 8: Start(68.13778253052433, 155.86872640290687) End((65.38034746948526, 157.05048436634627) Start inside False End inside :False
LineTo starting point from :(66.19060746948473, 158.9410909048066) to (65.38034746948526, 157.05048436634627) Length =2.0569186544120086
Draw notch_1 start from (65.38034746948526, 157.05048436634627) to (68.13778253052433, 155.86872640290687)Center is (66.7590650000048, 156.45960538462657)
Draw notch_2 to (67.32752253052433, 153.97811986444535)
Draw notch_3 to (64.57008746948526, 155.15987782788474)
Draw notch 9 Slope is -113.19859192040225
Ref=(65.13854500000554, 152.67839230770522, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 9: Start(66.51726253052507, 152.08751332598553) End((63.759827469486, 153.26927128942492) Start inside False End inside :False
LineTo starting point from :(64.57008746948526, 155.15987782788474) to (63.759827469486, 153.26927128942492) Length =2.056918654411454
Draw notch_1 start from (63.759827469486, 153.26927128942492) to (66.51726253052507, 152.08751332598553)Center is (65.13854500000554, 152.67839230770522)
Draw notch_2 to (65.70700253052507, 150.196906787524)
Draw notch_3 to (62.949567469486, 151.3786647509634)
Draw notch 10 Slope is -113.19859192040225
Ref=(63.518025000006276, 148.89717923078388, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 10: Start(64.89674253052581, 148.30630024906418) End((62.13930746948674, 149.48805821250357) Start inside False End inside :False
LineTo starting point from :(62.949567469486, 151.3786647509634) to (62.13930746948674, 149.48805821250357) Length =2.056918654411454
Draw notch_1 start from (62.13930746948674, 149.48805821250357) to (64.89674253052581, 148.30630024906418)Center is (63.518025000006276, 148.89717923078388)
Draw notch_2 to (64.08648253052581, 146.41569371060265)
Draw notch_3 to (61.32904746948674, 147.59745167404205)
Draw notch 11 Slope is -113.19859192040225
Ref=(61.897505000006795, 145.11596615386202, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 11: Start(63.27622253052633, 144.52508717214232) End((60.51878746948726, 145.70684513558172) Start inside False End inside :False
LineTo starting point from :(61.32904746948674, 147.59745167404205) to (60.51878746948726, 145.70684513558172) Length =2.0569186544120113
Draw notch_1 start from (60.51878746948726, 145.70684513558172) to (63.27622253052633, 144.52508717214232)Center is (61.897505000006795, 145.11596615386202)
Draw notch_2 to (62.46596253052633, 142.6344806336808)
Draw notch_3 to (59.70852746948726, 143.8162385971202)
Draw notch 12 Slope is -113.19859192040225
Ref=(60.276985000007535, 141.33475307694067, 0)
Path points:(79.723225, 186.70931), (58.656465, 137.55354)
Notch 12: Start(61.65570253052707, 140.74387409522097) End((58.898267469488, 141.92563205866037) Start inside False End inside :False
LineTo starting point from :(59.70852746948726, 143.8162385971202) to (58.898267469488, 141.92563205866037) Length =2.056918654411454
Draw notch_1 start from (58.898267469488, 141.92563205866037) to (61.65570253052707, 140.74387409522097)Center is (60.276985000007535, 141.33475307694067)
Draw notch_2 to (61.11552919719374, 139.4834697362466)
Draw notch_3 to (58.35809413615466, 140.665227699686)
Path is open
Notch 0 Pos=(78.34450746948046, 187.30018898171969, 81.10194253051954, 186.1184310182803, 80.56176919718621, 184.85802665930592, 77.80433413614713, 186.03978462274532, -1.97568813763247) Angle=-113
Distances: N0-N3=1.371279102942224 N1-N2=1.371279102942224
Notch 1 Pos=(76.72398746948033, 183.51897590479632, 79.48142253051941, 182.33721794135693, 78.67116253051941, 180.4466114028954, 75.91372746948034, 181.6283693663348, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.7425582058847393
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 2 Pos=(75.10346746948129, 179.73776282787546, 77.86090253052036, 178.55600486443606, 77.05064253052036, 176.66539832597454, 74.29320746948129, 177.84715628941393, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.0569186544109264
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 3 Pos=(73.4829474694818, 175.95654975095357, 76.24038253052088, 174.77479178751418, 75.43012253052088, 172.88418524905265, 72.6726874694818, 174.06594321249204, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.05691865441204
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 4 Pos=(71.86242746948253, 172.1753366740322, 74.6198625305216, 170.9935787105928, 73.8096025305216, 169.10297217213127, 71.05216746948253, 170.28473013557067, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.056918654411486
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 5 Pos=(70.24190746948348, 168.39412359711133, 72.99934253052255, 167.21236563367194, 72.18908253052255, 165.3217590952104, 69.43164746948348, 166.5035170586498, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.0569186544109264
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 6 Pos=(68.62138746948399, 164.61291052018947, 71.37882253052307, 163.43115255675008, 70.56856253052307, 161.54054601828855, 67.81112746948399, 162.72230398172795, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.056918654412014
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 7 Pos=(67.00086746948473, 160.83169744326813, 69.7583025305238, 159.64993947982873, 68.94804253052381, 157.7593329413672, 66.19060746948473, 158.9410909048066, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.056918654411454
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 8 Pos=(65.38034746948526, 157.05048436634627, 68.13778253052433, 155.86872640290687, 67.32752253052433, 153.97811986444535, 64.57008746948526, 155.15987782788474, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.0569186544120086
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 9 Pos=(63.759827469486, 153.26927128942492, 66.51726253052507, 152.08751332598553, 65.70700253052507, 150.196906787524, 62.949567469486, 151.3786647509634, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.056918654411454
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 10 Pos=(62.13930746948674, 149.48805821250357, 64.89674253052581, 148.30630024906418, 64.08648253052581, 146.41569371060265, 61.32904746948674, 147.59745167404205, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.056918654411454
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 11 Pos=(60.51878746948726, 145.70684513558172, 63.27622253052633, 144.52508717214232, 62.46596253052633, 142.6344806336808, 59.70852746948726, 143.8162385971202, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.0569186544120113
Distances: N0-N3=2.0569186544133125 N1-N2=2.0569186544133125
Notch 12 Pos=(58.898267469488, 141.92563205866037, 61.65570253052707, 140.74387409522097, 61.11552919719374, 139.4834697362466, 58.35809413615466, 140.665227699686, -1.97568813763247) Angle=-113
FromLast Notch N3-N0=2.056918654411454
Distances: N0-N3=1.3712791029422267 N1-N2=1.3712791029422267
Notch 1: det=-3.019806626980426e-14 no flex in notch 0 and 1
Notch 2: det=8.881784197001252e-15 no flex in notch 1 and 2
Notch 3: det=2.3092638912203256e-14 no flex in notch 2 and 3
Notch 4: det=-3.197442310920451e-14 no flex in notch 3 and 4
Notch 5: det=5.5067062021407764e-14 no flex in notch 4 and 5
Notch 6: det=-3.197442310920451e-14 no flex in notch 5 and 6
Notch 7: det=-2.3092638912203256e-14 no flex in notch 6 and 7
Notch 8: det=2.3092638912203256e-14 no flex in notch 7 and 8
Notch 9: det=0.0 no flex in notch 8 and 9
Notch 10: det=3.552713678800501e-15 no flex in notch 9 and 10
Notch 11: det=-3.552713678800501e-15 no flex in notch 10 and 11
FlexNotch =[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
Generate flex structure with 1 bands, 13 notches, offset =(-120.789985, -146.70931)