-
-
Save zeffii/063763a6b5fc64544f4f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{'NurbsPath.055': | |
[[(0.12160392850637436, 0.05287003517150879, -0.03692507743835449, 1.0), | |
(0.20541998744010925, 0.13668608665466309, -0.03692507743835449, 1.0), | |
(0.06398054212331772, 0.10001659393310547, -0.03692507743835449, 1.0)]], | |
'NurbsPath.054': | |
[[(0.415458083152771, 0.9291355013847351, -0.03692507743835449, 1.0), | |
(0.6130191087722778, 0.9274251461029053, -0.03692507743835449, 1.0), | |
(0.5703786015510559, 0.5558017492294312, -0.03692507743835449, 1.0), | |
(0.7150659561157227, 0.47425976395606995, -0.03692507743835449, 1.0), | |
(0.5637456178665161, 0.4129241108894348, -0.03692507743835449, 1.0), | |
(0.5316658020019531, 0.06014527380466461, -0.03692507743835449, 1.0), | |
(0.3511592447757721, 0.053005240857601166, -0.03692507743835449, 1.0)]], | |
'NurbsPath.008': | |
[[(0.5607476830482483, 0.4897465705871582, -0.00020861624216195196, 1.0), | |
(0.0384027361869812, 0.2695145606994629, -0.00020861624216195196, 1.0)], | |
[(0.5466302037239075, 0.715625524520874, -0.00020861624216195196, 1.0), | |
(0.540983259677887, -0.0071868896484375, -0.00020861624216195196, 1.0)], | |
[(0.038402676582336426, 0.6902141571044922, -0.00020861624216195196, 1.0), | |
(0.021461784839630127, -0.010010480880737305, -0.00020861624216195196, 1.0)]], | |
'NurbsPath.009': | |
[[(0.2994694709777832, 0.7355355620384216, -0.03692507743835449, 1.0), | |
(0.29066646099090576, 0.5358754992485046, -0.03692507743835449, 1.0), | |
(0.2926567792892456, 0.38330334424972534, -0.03692507743835449, 1.0), | |
(0.29684174060821533, 0.19116611778736115, -0.03692507743835449, 1.0), | |
(0.30375492572784424, -0.008899256587028503, -0.03692507743835449, 1.0)]], | |
'NurbsPath.063': | |
[[(0.5825906991958618, 0.7639280557632446, -2.4164577553165145e-05, 1.0), | |
(0.6532086133956909, 0.786568284034729, -2.4164817659766413e-05, 1.0), | |
(0.7415952682495117, 0.7815278768539429, -2.4164817659766413e-05, 1.0), | |
(0.8221925497055054, 0.7448988556861877, -2.4164817659766413e-05, 1.0), | |
(0.8841153979301453, 0.6816280484199524, -2.4164817659766413e-05, 1.0), | |
(0.9190006852149963, 0.6002607345581055, -2.4164817659766413e-05, 1.0), | |
(0.9221370220184326, 0.5117862224578857, -2.4164817659766413e-05, 1.0), | |
(0.8931007385253906, 0.4281531274318695, -2.4164817659766413e-05, 1.0), | |
(0.8358133435249329, 0.3606565594673157, -2.4166223738575354e-05, 1.0), | |
(0.7580122947692871, 0.3184124529361725, -2.4165829017874785e-05, 1.0), | |
(0.6702045202255249, 0.3071260452270508, -2.4164930437109433e-05, 1.0), | |
(0.5842487812042236, 0.3283219039440155, -2.4166516595869325e-05, 1.0), | |
(0.5117545127868652, 0.37913674116134644, -2.4166685761883855e-05, 1.0), | |
(0.46251195669174194, 0.45270851254463196, -2.4166449293261394e-05, 1.0), | |
(0.44317197799682617, 0.5391003489494324, -2.416646202618722e-05, 1.0), | |
(0.4563460946083069, 0.6266451478004456, -2.4166680304915644e-05, 1.0), | |
(0.5002557039260864, 0.7035186886787415, -2.416662755422294e-05, 1.0), | |
(0.5689696073532104, 0.7593393325805664, -2.4164874048437923e-05, 1.0)], | |
[(0.6904276013374329, 0.878528356552124, -2.4161177861969918e-05, 1.0), | |
(0.6651899814605713, 0.22607457637786865, -2.4169059543055482e-05, 1.0)], | |
[(0.5176569223403931, 0.9383336305618286, -2.4160257453331724e-05, 1.0), | |
(0.8791463971138, 0.9383336305618286, -2.416218376311008e-05, 1.0)], | |
[(0.8392762541770935, 0.1940906047821045, -2.4161970941349864e-05, 1.0), | |
(0.4691482186317444, 0.19010359048843384, -2.415999915683642e-05, 1.0)]], | |
'NurbsPath.006': | |
[[(0.46304431557655334, 0.5449604988098145, -0.03692507743835449, 1.0), | |
(0.22976231575012207, 0.4439518451690674, -0.03692507743835449, 1.0), | |
(0.025339901447296143, 0.36458778381347656, -0.03692507743835449, 1.0)], | |
[(0.010910093784332275, 0.6050846576690674, -0.03692507743835449, 1.0), | |
(0.4317798614501953, 0.7926723957061768, -0.03692507743835449, 1.0)], | |
[(0.03736478090286255, 0.7229282855987549, -0.03692507743835449, 1.0), | |
(0.03255486488342285, 0.07839632034301758, -0.03692507743835449, 1.0)]], | |
'NurbsPath.007': | |
[[(0.6617488265037537, 0.693581223487854, -0.03692507743835449, 1.0), | |
(0.5596298575401306, 0.6827367544174194, -0.03692507743835449, 1.0), | |
(0.4809858202934265, 0.6568995714187622, -0.03692507743835449, 1.0), | |
(0.3916046917438507, 0.6037315130233765, -0.03692507743835449, 1.0), | |
(0.25453174114227295, 0.4872640371322632, -0.03692507743835449, 1.0), | |
(0.1608118712902069, 0.3597909212112427, -0.03692507743835449, 1.0), | |
(0.09393464773893356, 0.22743713855743408, -0.03692507743835449, 1.0), | |
(0.0677264854311943, 0.08998346328735352, -0.03692507743835449, 1.0), | |
(0.09221669286489487, 0.02844059467315674, -0.03692507743835449, 1.0), | |
(0.23301848769187927, 0.021207690238952637, -0.03692507743835449, 1.0), | |
(0.44160035252571106, 0.1851428747177124, -0.03692507743835449, 1.0), | |
(0.5988492965698242, 0.36335837841033936, -0.03692507743835449, 1.0), | |
(0.6857901811599731, 0.4842771291732788, -0.03692507743835449, 1.0), | |
(0.6044520735740662, 0.1019890308380127, -0.03692507743835449, 1.0), | |
(0.5930609107017517, 0.0417252779006958, -0.03692507743835449, 1.0), | |
(0.5936076641082764, -0.01928079128265381, -0.03692507743835449, 1.0)]], | |
'NurbsPath.004': | |
[[(-0.07212066650390625, 0.6023721694946289, -0.03853440284729004, 1.0), | |
(0.10473942756652832, 0.6757645606994629, -0.03853440284729004, 1.0), | |
(0.3018900156021118, 0.7231409549713135, -0.03853440284729004, 1.0), | |
(0.4637033939361572, 0.6998424530029297, -0.03853440284729004, 1.0), | |
(0.542320728302002, 0.6555969715118408, -0.03853440284729004, 1.0), | |
(0.5314477682113647, 0.5523223876953125, -0.03853440284729004, 1.0), | |
(0.4689987897872925, 0.4182000160217285, -0.03853440284729004, 1.0), | |
(0.3901177644729614, 0.30594635009765625, -0.03853440284729004, 1.0), | |
(0.23298704624176025, 0.15949547290802002, -0.03853440284729004, 1.0), | |
(0.06619381904602051, 0.055344462394714355, -0.03853440284729004, 1.0), | |
(-0.03766012191772461, 0.023795008659362793, -0.03853440284729004, 1.0), | |
(0.020299434661865234, 0.057973384857177734, -0.03853440284729004, 1.0), | |
(0.0029201507568359375, 0.7301294803619385, -0.03853440284729004, 1.0)]], | |
'NurbsPath.005': | |
[[(0.03209495544433594, 0.7078229188919067, -0.03853440284729004, 1.0), | |
(0.027042269706726074, 0.5162419080734253, -0.03853440284729004, 1.0), | |
(0.004316449165344238, -0.02375054359436035, -0.03853440284729004, 1.0), | |
(0.37653470039367676, 0.1798553466796875, -0.03853440284729004, 1.0), | |
(0.43769586086273193, 0.24101650714874268, -0.03853440284729004, 1.0)], | |
[(-0.02469789981842041, 0.21632635593414307, -0.03853440284729004, 1.0), | |
(0.37452709674835205, 0.42796385288238525, -0.03853440284729004, 1.0)], | |
[(-0.007863044738769531, 0.4760631322860718, -0.03853440284729004, 1.0), | |
(0.43465137481689453, 0.6828905344009399, -0.03853440284729004, 1.0)]], | |
'NurbsPath.002': | |
[[(-0.007921218872070312, 0.6932384967803955, -0.001043081283569336, 1.0), | |
(0.008693695068359375, 0.28063464164733887, -0.001043081283569336, 1.0), | |
(-0.017123937606811523, 0.17474067211151123, -0.001043081283569336, 1.0), | |
(-0.005297660827636719, 0.02826690673828125, -0.001043081283569336, 1.0), | |
(0.14715147018432617, -0.021203041076660156, -0.001043081283569336, 1.0), | |
(0.28560900688171387, 0.04802584648132324, -0.001043081283569336, 1.0), | |
(0.4960646629333496, 0.21140599250793457, -0.001043081283569336, 1.0), | |
(0.565293550491333, 0.2723274230957031, -0.001043081283569336, 1.0), | |
(0.601292610168457, 0.3470945358276367, -0.001043081283569336, 1.0), | |
(0.5791394710540771, 0.38863182067871094, -0.001043081283569336, 1.0), | |
(0.5071415901184082, 0.4080159664154053, -0.001043081283569336, 1.0), | |
(0.42406702041625977, 0.41355419158935547, -0.001043081283569336, 1.0), | |
(0.2745327949523926, 0.38863182067871094, -0.001043081283569336, 1.0), | |
(0.03990936279296875, 0.29117608070373535, -0.001043081283569336, 1.0), | |
(0.31719446182250977, 0.4331674575805664, -0.001043081283569336, 1.0), | |
(0.40468287467956543, 0.5021672248840332, -0.001043081283569336, 1.0), | |
(0.449509859085083, 0.5516581535339355, -0.001043081283569336, 1.0), | |
(0.44942641258239746, 0.6314847469329834, -0.001043081283569336, 1.0), | |
(0.4174666404724121, 0.6348316669464111, -0.001043081283569336, 1.0), | |
(0.3471968173980713, 0.623812198638916, -0.001043081283569336, 1.0), | |
(0.20665693283081055, 0.5874073505401611, -0.001043081283569336, 1.0), | |
(0.05839276313781738, 0.5366671085357666, -0.001043081283569336, 1.0), | |
(-0.0819387435913086, 0.46466922760009766, -0.001043081283569336, 1.0)]], | |
'NurbsPath.003': | |
[[(0.49138307571411133, 0.6590880155563354, -0.03853440284729004, 1.0), | |
(0.4180610179901123, 0.7096549272537231, -0.03853440284729004, 1.0), | |
(0.3641817569732666, 0.7115136384963989, -0.03853440284729004, 1.0), | |
(0.3000061511993408, 0.6824833154678345, -0.03853440284729004, 1.0), | |
(0.2006230354309082, 0.6135774850845337, -0.03853440284729004, 1.0), | |
(0.12477254867553711, 0.5201655626296997, -0.03853440284729004, 1.0), | |
(0.046393632888793945, 0.3784409761428833, -0.03853440284729004, 1.0), | |
(-0.0016450881958007812, 0.17617309093475342, -0.03853440284729004, 1.0), | |
(0.005939960479736328, 0.06998240947723389, -0.03853440284729004, 1.0), | |
(0.038808584213256836, 0.009302020072937012, -0.03853440284729004, 1.0), | |
(0.08684730529785156, -0.005868077278137207, -0.03853440284729004, 1.0), | |
(0.14757323265075684, -0.0061424970626831055, -0.03853440284729004, 1.0), | |
(0.22360658645629883, 0.02930009365081787, -0.03853440284729004, 1.0), | |
(0.3674938678741455, 0.1357194185256958, -0.03853440284729004, 1.0), | |
(0.4357593059539795, 0.20398485660552979, -0.03853440284729004, 1.0)]], | |
'NurbsPath.001': | |
[[(0.4164540767669678, 0.3535494804382324, -0.03948807343840599, 1.0), | |
(0.16884803771972656, 0.23049592971801758, -0.03948807343840599, 1.0), | |
(0.09645891189575195, 0.18557453155517578, -0.03948807343840599, 1.0), | |
(0.0030088424682617188, -0.004129171371459961, -0.03948807343840599, 1.0), | |
(0.3045039176940918, 0.7108116149902344, -0.03948807343840599, 1.0), | |
(0.5035665035247803, 0.14567339420318604, -0.03948807343840599, 1.0), | |
(0.5420267581939697, -0.0197066068649292, -0.03948807343840599, 1.0)]], | |
'NurbsPath.042': | |
[[(0.4950389266014099, -0.012750715017318726, -0.03692508116364479, 1.0), | |
(0.5998205542564392, -0.05640968680381775, -0.03692508116364479, 1.0), | |
(0.7395294308662415, 0.0309084951877594, -0.03692508116364479, 1.0), | |
(0.6827725768089294, 0.174983412027359, -0.03692508116364479, 1.0), | |
(0.626015841960907, 0.19681301712989807, -0.03692508116364479, 1.0), | |
(0.5125023722648621, 0.10949483513832092, -0.03692508116364479, 1.0), | |
(0.4644774794578552, -0.02148231863975525, -0.03692508116364479, 1.0)], | |
[(0.560527503490448, 0.7643803358078003, -0.03692508116364479, 1.0), | |
(0.4819411635398865, 0.6115736961364746, -0.03692508116364479, 1.0), | |
(0.25491422414779663, -0.20048460364341736, -0.03692508116364479, 1.0), | |
(0.1719619631767273, -0.37948665022850037, -0.03692508116364479, 1.0)], | |
[(0.22871869802474976, 0.5941100120544434, -0.03692508116364479, 1.0), | |
(0.1414005160331726, 0.5722805261611938, -0.03692508116364479, 1.0), | |
(0.06281417608261108, 0.41510799527168274, -0.03692508116364479, 1.0), | |
(0.08900970220565796, 0.33652177453041077, -0.03692508116364479, 1.0), | |
(0.18069380521774292, 0.35398533940315247, -0.03692508116364479, 1.0), | |
(0.26364606618881226, 0.5111578702926636, -0.03692508116364479, 1.0), | |
(0.23745054006576538, 0.5941100120544434, -0.03692508116364479, 1.0)]], | |
'NurbsPath.043': | |
[[(0.30335402488708496, 0.842111349105835, -0.03692508116364479, 1.0), | |
(0.2934194803237915, 0.6263052225112915, -0.03692508116364479, 1.0), | |
(0.3872445821762085, 0.619269609451294, -0.03692508116364479, 1.0), | |
(0.4832944869995117, 0.6323673725128174, -0.03692508116364479, 1.0), | |
(0.22173666954040527, 0.5498601198196411, -0.03692508116364479, 1.0), | |
(0.16894936561584473, 0.4926583766937256, -0.03692508116364479, 1.0), | |
(0.16212952136993408, 0.34871578216552734, -0.03692508116364479, 1.0), | |
(0.15838921070098877, 0.31935715675354004, -0.03692508116364479, 1.0), | |
(0.1427539587020874, 0.2176065444946289, -0.03692508116364479, 1.0), | |
(0.18641304969787598, 0.1826794147491455, -0.03692508116364479, 1.0), | |
(0.41218888759613037, 0.19399738311767578, -0.03692508116364479, 1.0), | |
(0.269677996635437, 0.17249131202697754, -0.03692508116364479, 1.0), | |
(0.25506484508514404, -0.16988801956176758, -0.03692508116364479, 1.0)], | |
[(0.19692456722259521, 0.3455526828765869, -0.03692508116364479, 1.0), | |
(0.3962055444717407, 0.386674165725708, -0.03692508116364479, 1.0)]], | |
'NurbsPath.040': | |
[[(0.14707118272781372, 0.03750002384185791, -0.03692508116364479, 1.0), | |
(0.09031301736831665, -0.0017940402030944824, -0.03692508116364479, 1.0)], | |
[(0.14707118272781372, 0.5832510590553284, -0.03692508116364479, 1.0), | |
(0.23002535104751587, 0.6574732065200806, -0.03692508116364479, 1.0), | |
(0.41776376962661743, 0.7928194999694824, -0.03692508116364479, 1.0), | |
(0.5225480198860168, 0.8364796042442322, -0.03692508116364479, 1.0), | |
(0.5574761033058167, 0.8190155625343323, -0.03692508116364479, 1.0), | |
(0.5494590997695923, 0.7603117227554321, -0.03692508116364479, 1.0), | |
(0.5204677581787109, 0.685117244720459, -0.03692508116364479, 1.0), | |
(0.4745055139064789, 0.6002250909805298, -0.03692508116364479, 1.0), | |
(0.35663968324661255, 0.430440753698349, -0.03692508116364479, 1.0), | |
(0.263975590467453, 0.3409324586391449, -0.03692508116364479, 1.0), | |
(0.20673364400863647, 0.29690563678741455, -0.03692508116364479, 1.0), | |
(0.17228126525878906, 0.2780928313732147, -0.03692508116364479, 1.0), | |
(0.11409511417150497, 0.1738426387310028, -0.03692508116364479, 1.0)]], | |
'NurbsPath.041': | |
[[(0.3192421793937683, 0.6303468942642212, -0.03692507743835449, 1.0), | |
(0.12043949961662292, -0.03879377245903015, -0.03692507743835449, 1.0)], | |
[(0.5638125538825989, 0.6806008815765381, -0.03692507743835449, 1.0), | |
(0.3529930114746094, -0.13877004384994507, -0.03692507743835449, 1.0)], | |
[(0.0834917426109314, 0.23940116167068481, -0.03692507743835449, 1.0), | |
(0.672482430934906, 0.23722776770591736, -0.03692507743835449, 1.0)], | |
[(0.7137770056724548, 0.43283355236053467, -0.03692507743835449, 1.0), | |
(0.07045131921768188, 0.4828217029571533, -0.03692507743835449, 1.0)]], | |
'NurbsPath.046': | |
[[(0.41079074144363403, 0.4898638129234314, -2.321581371589332e-09, 1.0), | |
(0.8603819012641907, 0.4898638129234314, -2.321581371589332e-09, 1.0)], | |
[(0.3777661919593811, 0.24768395721912384, -1.1738332528210549e-09, 1.0), | |
(0.8273573517799377, 0.24768395721912384, -1.1738332528210549e-09, 1.0)]], | |
'NurbsPath.047': | |
[[(0.30888718366622925, 0.9250880479812622, -0.03692507743835449, 1.0), | |
(0.31761687994003296, 0.4842391014099121, -0.03692507743835449, 1.0)], | |
[(0.594855785369873, 0.6079188585281372, -0.03692507743835449, 1.0), | |
(0.1000947505235672, 0.8516614437103271, -0.03692507743835449, 1.0)], | |
[(0.51482093334198, 0.8625752925872803, -0.03692507743835449, 1.0), | |
(0.1473880559206009, 0.5497117042541504, -0.03692507743835449, 1.0)]], | |
'NurbsPath.044': | |
[[(0.09790359437465668, -0.08602237701416016, -0.03692507743835449, 1.0), | |
(0.3751627206802368, 0.10588502883911133, -0.03692507743835449, 1.0), | |
(0.4582345485687256, 0.19060397148132324, -0.03692507743835449, 1.0), | |
(0.503664493560791, 0.2844961881637573, -0.03692507743835449, 1.0), | |
(0.5039181709289551, 0.33745503425598145, -0.03692507743835449, 1.0), | |
(0.42096900939941406, 0.3199920654296875, -0.03692507743835449, 1.0), | |
(0.2681678533554077, 0.28070032596588135, -0.03692507743835449, 1.0), | |
(0.21141313016414642, 0.30252909660339355, -0.03692507743835449, 1.0), | |
(0.2418423742055893, 0.40116333961486816, -0.03692507743835449, 1.0), | |
(0.3177018165588379, 0.5035961866378784, -0.03692507743835449, 1.0), | |
(0.41287004947662354, 0.5860490798950195, -0.03692507743835449, 1.0), | |
(0.6504446864128113, 0.7228952646255493, -0.03692507743835449, 1.0), | |
(0.2080671638250351, 0.5247378349304199, -0.03692507743835449, 1.0)], | |
[(0.3435307741165161, -0.16298604011535645, -0.03692507743835449, 1.0), | |
(0.36250996589660645, 0.16282248497009277, -0.03692507743835449, 1.0)], | |
[(0.3277149200439453, 0.41271448135375977, -0.03692507743835449, 1.0), | |
(0.3688364028930664, 0.7669917345046997, -0.03692507743835449, 1.0)]], | |
'NurbsPath.045': | |
[[(0.3653140068054199, -0.10991096496582031, -0.04002451151609421, 1.0), | |
(0.29982781410217285, -0.15356850624084473, -0.04002451151609421, 1.0), | |
(0.16885536909103394, -0.15793418884277344, -0.04002451151609421, 1.0), | |
(0.016054213047027588, -0.09244799613952637, -0.04002451151609421, 1.0), | |
(0.01297082006931305, -0.0052505917847156525, -0.04002451151609421, 1.0), | |
(0.042248666286468506, 0.11274218559265137, -0.04002451151609421, 1.0), | |
(0.2125127911567688, 0.3877842426300049, -0.04002451151609421, 1.0), | |
(0.3827769160270691, 0.5449512004852295, -0.04002451151609421, 1.0), | |
(0.5617725253105164, 0.5798771381378174, -0.04002451151609421, 1.0), | |
(0.6447217464447021, 0.5536826848983765, -0.04002451151609421, 1.0), | |
(0.6752819418907166, 0.40524721145629883, -0.04002451151609421, 1.0), | |
(0.6316244602203369, 0.29610347747802734, -0.04002451151609421, 1.0), | |
(0.5312122702598572, 0.1782282590866089, -0.04002451151609421, 1.0), | |
(0.39150840044021606, 0.09964489936828613, -0.04002451151609421, 1.0), | |
(0.3914117217063904, 0.16000822186470032, -0.04002451151609421, 1.0), | |
(0.5294079780578613, 0.35897988080978394, -0.04002451151609421, 1.0), | |
(0.4046056568622589, 0.19569122791290283, -0.04002451151609421, 1.0), | |
(0.24307304620742798, 0.13457083702087402, -0.04002451151609421, 1.0), | |
(0.18631833791732788, 0.15203380584716797, -0.04002451151609421, 1.0), | |
(0.20235885679721832, 0.19832520186901093, -0.04002451151609421, 1.0), | |
(0.25180453062057495, 0.25244593620300293, -0.04002451151609421, 1.0), | |
(0.3478509783744812, 0.33539509773254395, -0.04002451151609421, 1.0), | |
(0.513749361038208, 0.35722386837005615, -0.04002451151609421, 1.0)]], | |
'NurbsPath.028': | |
[[(0.1768486499786377, 0.7312984466552734, -0.03692507743835449, 1.0), | |
(0.1894829273223877, 0.07221263647079468, -0.03692507743835449, 1.0), | |
(0.2231743335723877, -0.02043837308883667, -0.03692507743835449, 1.0), | |
(0.1873774528503418, 0.6491758823394775, -0.03692507743835449, 1.0)]], | |
'NurbsPath.029': | |
[[(0.06505739688873291, 0.5909897089004517, -0.040024515241384506, 1.0), | |
(0.1408621072769165, 0.6693213582038879, -0.040024515241384506, 1.0), | |
(0.3177400827407837, 0.7602871060371399, -0.040024515241384506, 1.0), | |
(0.42639362812042236, 0.762813925743103, -0.040024515241384506, 1.0), | |
(0.48451054096221924, 0.7324920296669006, -0.040024515241384506, 1.0), | |
(0.48956429958343506, 0.6819554567337036, -0.040024515241384506, 1.0), | |
(0.46429598331451416, 0.6288921236991882, -0.040024515241384506, 1.0), | |
(0.30763280391693115, 0.40147775411605835, -0.040024515241384506, 1.0), | |
(0.16360366344451904, 0.22712677717208862, -0.040024515241384506, 1.0), | |
(-0.008220553398132324, 0.01740020513534546, -0.040024515241384506, 1.0), | |
(0.19897925853729248, 0.019927024841308594, -0.040024515241384506, 1.0), | |
(0.41375958919525146, 0.1311073899269104, -0.040024515241384506, 1.0), | |
(0.4314473867416382, 0.12605375051498413, -0.040024515241384506, 1.0), | |
(0.4036523103713989, 0.09825867414474487, -0.040024515241384506, 1.0), | |
(0.3177403211593628, 0.08815139532089233, -0.040024515241384506, 1.0)]], | |
'NurbsPath.020': | |
[[(0.4056393504142761, 0.7705115675926208, -0.03692507743835449, 1.0), | |
(0.4283048212528229, -0.02559107542037964, -0.03692507743835449, 1.0), | |
(0.35634976625442505, 0.08703422546386719, -0.03692507743835449, 1.0)], | |
[(0.1592554748058319, 0.534406840801239, -0.03692507743835449, 1.0), | |
(0.6817116737365723, 0.7252441048622131, -0.03692507743835449, 1.0)]], | |
'NurbsPath.021': | |
[[(0.04752401262521744, 0.6891152858734131, -0.040024518966674805, 1.0), | |
(0.0569438710808754, 0.6004568338394165, -0.040024518966674805, 1.0), | |
(0.051142819225788116, 0.4138221740722656, -0.040024518966674805, 1.0), | |
(0.04803832620382309, 0.284893274307251, -0.040024518966674805, 1.0), | |
(0.04803832620382309, -0.03656893968582153, -0.040024518966674805, 1.0), | |
(0.014679037034511566, -0.02140563726425171, -0.040024518966674805, 1.0), | |
(0.12385490536689758, -0.06992822885513306, -0.040024518966674805, 1.0), | |
(0.21476292610168457, 0.0017552375793457031, -0.040024518966674805, 1.0), | |
(0.34273242950439453, 0.1501401662826538, -0.040024518966674805, 1.0), | |
(0.407013863325119, 0.25262290239334106, -0.040024518966674805, 1.0), | |
(0.451655775308609, 0.3319922089576721, -0.040024518966674805, 1.0), | |
(0.47261109948158264, 0.3880038261413574, -0.040024518966674805, 1.0), | |
(0.4786764085292816, 0.7306946516036987, -0.040024518966674805, 1.0), | |
(0.4604804217815399, -0.00017708539962768555, -0.040024518966674805, 1.0), | |
(0.4999050498008728, -0.07296097278594971, -0.040024518966674805, 1.0)]], | |
'NurbsPath.022': | |
[[(-0.011470258235931396, 0.6782718896865845, -19.6971492767334, 1.0), | |
(0.25896579027175903, 0.00030428171157836914, -19.6971492767334, 1.0), | |
(0.30291301012039185, 0.13094627857208252, -19.6971492767334, 1.0), | |
(0.5705679059028625, 0.6491289138793945, -19.6971492767334, 1.0), | |
(0.5086727738380432, 0.6546317338943481, -19.6971492767334, 1.0), | |
(0.5610771775245667, 0.6860743761062622, -19.6971492767334, 1.0)]], | |
'NurbsPath.023': | |
[[(-0.027193546295166016, 0.6664046049118042, -0.036922454833984375, 1.0), | |
(0.1874992847442627, -0.10139547288417816, -0.036922454833984375, 1.0), | |
(0.46769165992736816, 0.6882376670837402, -0.036922454833984375, 1.0), | |
(0.7660782337188721, -0.01042400673031807, -0.036922454833984375, 1.0), | |
(0.9589378833770752, 0.680959939956665, -0.036922454833984375, 1.0)]], | |
'NurbsPath.024': | |
[[(0.10653972625732422, 0.699917733669281, -19.6971492767334, 1.0), | |
(0.6095762252807617, -0.03367692232131958, -19.6971492767334, 1.0)], | |
[(0.5998098850250244, 0.705302894115448, -19.6971492767334, 1.0), | |
(0.23520302772521973, 0.19908541440963745, -19.6971492767334, 1.0), | |
(0.046388864517211914, -0.033676981925964355, -19.6971492767334, 1.0), | |
(0.0040683746337890625, -0.033676981925964355, -19.6971492767334, 1.0)]], | |
'NurbsPath.025': | |
[[(0.034317731857299805, 0.6304168701171875, -0.03692436218261719, 1.0), | |
(0.3329956531524658, 0.21645987033843994, -0.03692436218261719, 1.0), | |
(0.3920626640319824, 0.10133713483810425, -0.03692436218261719, 1.0), | |
(0.40000081062316895, -0.035771965980529785, -0.03692436218261719, 1.0)], | |
[(0.6897330284118652, 0.641355037689209, -0.03692436218261719, 1.0), | |
(0.6343910694122314, 0.5925236940383911, -0.03692436218261719, 1.0), | |
(0.5820271968841553, 0.5169870853424072, -0.03692436218261719, 1.0), | |
(0.5122575759887695, 0.3993879556655884, -0.03692436218261719, 1.0), | |
(0.4325549602508545, 0.24744939804077148, -0.03692436218261719, 1.0), | |
(0.3957688808441162, 0.13318419456481934, -0.03692436218261719, 1.0)]], | |
'NurbsPath.026': | |
[[(0.08805203437805176, 0.6681181192398071, -0.03692507743835449, 1.0), | |
(0.14983630180358887, 0.6443551778793335, -0.03692507743835449, 1.0), | |
(0.27121853828430176, 0.6404581069946289, -0.03692507743835449, 1.0), | |
(0.5796873569488525, 0.6454761028289795, -0.03692507743835449, 1.0), | |
(0.4478781223297119, 0.43605053424835205, -0.03692507743835449, 1.0), | |
(0.27052950859069824, 0.20007938146591187, -0.03692507743835449, 1.0), | |
(0.06617093086242676, -0.04095888137817383, -0.03692507743835449, 1.0), | |
(0.26590609550476074, -0.030236423015594482, -0.03692507743835449, 1.0), | |
(0.6456186771392822, -0.042197227478027344, -0.03692507743835449, 1.0), | |
(0.5491273403167725, 0.037266433238983154, -0.03692507743835449, 1.0)]], | |
'NurbsPath.027': | |
[[(0.37494587898254395, 0.7269366979598999, -0.03692507743835449, 1.0), | |
(0.21080470085144043, 0.6326196193695068, -0.03692507743835449, 1.0), | |
(0.14743852615356445, 0.5582863092422485, -0.03692507743835449, 1.0), | |
(0.05482649803161621, 0.35722070932388306, -0.03692507743835449, 1.0), | |
(0.023143529891967773, 0.14153212308883667, -0.03692507743835449, 1.0), | |
(0.07066822052001953, 0.03551572561264038, -0.03692507743835449, 1.0), | |
(0.1620616912841797, 0.0038326382637023926, -0.03692507743835449, 1.0), | |
(0.24614357948303223, 0.02332991361618042, -0.03692507743835449, 1.0), | |
(0.37531304359436035, 0.10010039806365967, -0.03692507743835449, 1.0), | |
(0.4764552116394043, 0.17443376779556274, -0.03692507743835449, 1.0), | |
(0.5386028289794922, 0.2658272385597229, -0.03692507743835449, 1.0), | |
(0.5910017490386963, 0.3925595283508301, -0.03692507743835449, 1.0), | |
(0.6068432331085205, 0.5083245635032654, -0.03692507743835449, 1.0), | |
(0.5910017490386963, 0.6204338669776917, -0.03692507743835449, 1.0), | |
(0.5422585010528564, 0.6862371563911438, -0.03692507743835449, 1.0), | |
(0.4520835876464844, 0.7191388010978699, -0.03692507743835449, 1.0), | |
(0.40090322494506836, 0.6886743307113647, -0.03692507743835449, 1.0), | |
(0.42649340629577637, 0.7532590627670288, -0.03692507743835449, 1.0)]], | |
'NurbsPath.059': | |
[[(0.8585157990455627, 0.9514881372451782, -2.416374809399713e-05, 1.0), | |
(0.9787337779998779, 0.876655101776123, -2.416420466033742e-05, 1.0), | |
(1.0806090831756592, 0.7417507171630859, -2.416420466033742e-05, 1.0), | |
(1.1268718242645264, 0.5791544914245605, -2.416420466033742e-05, 1.0), | |
(1.1112737655639648, 0.4108257293701172, -2.416420466033742e-05, 1.0), | |
(1.0359218120574951, 0.25949859619140625, -2.416420466033742e-05, 1.0), | |
(0.9109928607940674, 0.14561080932617188, -2.416420466033742e-05, 1.0), | |
(0.7533588409423828, 0.08454322814941406, -2.416420466033742e-05, 1.0), | |
(0.5843089818954468, 0.08454334735870361, -2.4166889488697052e-05, 1.0), | |
(0.4266752004623413, 0.14561061561107635, -2.4166136427083984e-05, 1.0), | |
(0.301746129989624, 0.25949838757514954, -2.4164419301087037e-05, 1.0), | |
(0.22639423608779907, 0.4108259081840515, -2.4167449737433344e-05, 1.0), | |
(0.2107960283756256, 0.5791540145874023, -2.4167771698557772e-05, 1.0), | |
(0.2570587694644928, 0.7417504787445068, -2.4167320589185692e-05, 1.0), | |
(0.35893386602401733, 0.8766547441482544, -2.416734423604794e-05, 1.0), | |
(0.5026629567146301, 0.9656484127044678, -2.4167762603610754e-05, 1.0), | |
(0.6688340902328491, 0.9967106580734253, -2.4167660740204155e-05, 1.0), | |
(0.8350047469139099, 0.9656482934951782, -2.4164311980712228e-05, 1.0)], | |
[(1.0261822938919067, 0.8244203925132751, -2.4154542188625783e-05, 1.0), | |
(0.6856909990310669, 0.5312005281448364, -2.418272015347611e-05, 1.0)]], | |
'NurbsPath.060': | |
[[(1.1397929191589355, 1.0420265197753906, -2.41648103838088e-05, 1.0), | |
(1.1900633573532104, 1.0107343196868896, -2.4164999558706768e-05, 1.0), | |
(1.232663631439209, 0.9543225765228271, -2.4164999558706768e-05, 1.0), | |
(1.2520087957382202, 0.8863312602043152, -2.4164999558706768e-05, 1.0), | |
(1.2454862594604492, 0.8159428834915161, -2.4164999558706768e-05, 1.0), | |
(1.2139770984649658, 0.7526637315750122, -2.4164999558706768e-05, 1.0), | |
(1.1617367267608643, 0.705040454864502, -2.4164999558706768e-05, 1.0), | |
(1.0958203077316284, 0.6795042753219604, -2.4164999558706768e-05, 1.0), | |
(1.0251303911209106, 0.6795042753219604, -2.4166121875168756e-05, 1.0), | |
(0.9592142105102539, 0.705040454864502, -2.4165807190001942e-05, 1.0), | |
(0.9069737792015076, 0.7526637315750122, -2.4165090508176945e-05, 1.0), | |
(0.8754644989967346, 0.8159428834915161, -2.4166358343791217e-05, 1.0), | |
(0.8689419627189636, 0.8863310813903809, -2.4166491130017675e-05, 1.0), | |
(0.8882871866226196, 0.9543225765228271, -2.416630377410911e-05, 1.0), | |
(0.9308874607086182, 1.0107343196868896, -2.4166312869056128e-05, 1.0), | |
(0.9909893274307251, 1.0479477643966675, -2.416648749203887e-05, 1.0), | |
(1.060475468635559, 1.0609368085861206, -2.416644747427199e-05, 1.0), | |
(1.129961609840393, 1.0479477643966675, -2.4165043214452453e-05, 1.0)]], | |
'NurbsPath.058': | |
[[(0.8585157990455627, 0.9514881372451782, -2.416374809399713e-05, 1.0), | |
(0.9787337779998779, 0.876655101776123, -2.416420466033742e-05, 1.0), | |
(1.0806090831756592, 0.7417507171630859, -2.416420466033742e-05, 1.0), | |
(1.1268718242645264, 0.5791544914245605, -2.416420466033742e-05, 1.0), | |
(1.1112737655639648, 0.4108257293701172, -2.416420466033742e-05, 1.0), | |
(1.0359218120574951, 0.25949859619140625, -2.416420466033742e-05, 1.0), | |
(0.9109928607940674, 0.14561080932617188, -2.416420466033742e-05, 1.0), | |
(0.7533588409423828, 0.08454322814941406, -2.416420466033742e-05, 1.0), | |
(0.5843089818954468, 0.08454334735870361, -2.4166889488697052e-05, 1.0), | |
(0.4266752004623413, 0.14561061561107635, -2.4166136427083984e-05, 1.0), | |
(0.301746129989624, 0.25949838757514954, -2.4164419301087037e-05, 1.0), | |
(0.22639423608779907, 0.4108259081840515, -2.4167449737433344e-05, 1.0), | |
(0.2107960283756256, 0.5791540145874023, -2.4167771698557772e-05, 1.0), | |
(0.2570587694644928, 0.7417504787445068, -2.4167320589185692e-05, 1.0), | |
(0.35893386602401733, 0.8766547441482544, -2.416734423604794e-05, 1.0), | |
(0.5026629567146301, 0.9656484127044678, -2.4167762603610754e-05, 1.0), | |
(0.6688340902328491, 0.9967106580734253, -2.4167660740204155e-05, 1.0), | |
(0.8350047469139099, 0.9656482934951782, -2.4164311980712228e-05, 1.0)], | |
[(1.1586014032363892, 0.9360991716384888, -2.4157256120815873e-05, 1.0), | |
(0.1775524616241455, 0.16664904356002808, -2.4172304620151408e-05, 1.0)]], | |
'NurbsPath.062': | |
[[(1.0915476083755493, 0.9738783240318298, -2.4172304620151408e-05, 1.0), | |
(0.32232943177223206, 0.9723612070083618, -2.4172304620151408e-05, 1.0)], | |
[(0.49902382493019104, 0.9003833532333374, -2.4172304620151408e-05, 1.0), | |
(0.39567670226097107, 0.07647678256034851, -2.4172304620151408e-05, 1.0), | |
(0.2360154688358307, 0.07113200426101685, -2.4172304620151408e-05, 1.0), | |
(0.5613676905632019, 0.07400275766849518, -2.4172304620151408e-05, 1.0)], | |
[(0.9191109538078308, 0.9185647964477539, -2.4172304620151408e-05, 1.0), | |
(0.8195914030075073, 0.07169216871261597, -2.4172304620151408e-05, 1.0), | |
(0.6961489319801331, 0.0745629221200943, -2.4172304620151408e-05, 1.0), | |
(0.9535599946975708, 0.07839059829711914, -2.4172304620151408e-05, 1.0)]], | |
'NurbsPath.048': | |
[[(0.7813330888748169, 0.9615643620491028, -0.03692507743835449, 1.0), | |
(0.5135884284973145, 0.9609048366546631, -0.03692507743835449, 1.0), | |
(0.465687096118927, 0.588226318359375, -0.03692507743835449, 1.0), | |
(0.34988075494766235, 0.5025233030319214, -0.03692507743835449, 1.0), | |
(0.45841121673583984, 0.42815664410591125, -0.03692507743835449, 1.0), | |
(0.4262777268886566, 0.05505561828613281, -0.03692507743835449, 1.0), | |
(0.7289796471595764, 0.059250105172395706, -0.03692507743835449, 1.0)]], | |
'NurbsPath.049': | |
[[(0.5748172998428345, 1.016723871231079, -0.03692507743835449, 1.0), | |
(0.5137004852294922, 0.8508353233337402, -0.03692507743835449, 1.0), | |
(0.4656800925731659, 0.5714441537857056, -0.03692507743835449, 1.0), | |
(0.4787765443325043, 0.3357079029083252, -0.03692507743835449, 1.0), | |
(0.5137004852294922, 0.13926100730895996, -0.03692507743835449, 1.0), | |
(0.5529898405075073, 0.003930807113647461, -0.03692507743835449, 1.0)]], | |
'NurbsPath.061': | |
[[(1.0924090147018433, 0.8132843971252441, -2.4157256120815873e-05, 1.0), | |
(1.1586014032363892, 0.9360991716384888, -2.4157256120815873e-05, 1.0), | |
(0.3091397285461426, 1.0064151287078857, -2.4172304620151408e-05, 1.0), | |
(0.7437764406204224, 0.5095734596252441, -2.4172304620151408e-05, 1.0), | |
(0.21742737293243408, 0.04702425003051758, -2.4172304620151408e-05, 1.0), | |
(1.1592732667922974, 0.04303675889968872, -2.4172304620151408e-05, 1.0), | |
(1.1616657972335815, 0.20413148403167725, -2.4172304620151408e-05, 1.0)]], | |
'Plane': | |
[], | |
'NurbsPath.015': | |
[[(0.4934704303741455, 0.7029994130134583, -0.010162591002881527, 1.0), | |
(0.2205209732055664, 0.6817700266838074, -0.010162591002881527, 1.0), | |
(0.26234865188598633, 0.6432445645332336, -0.010162591002881527, 1.0), | |
(0.17439818382263184, 0.5351155400276184, -0.010162591002881527, 1.0), | |
(0.06188559532165527, 0.3631480932235718, -0.010162591002881527, 1.0), | |
(0.011259794235229492, 0.2723458409309387, -0.010162591002881527, 1.0), | |
(-0.006936788558959961, 0.09947782754898071, -0.010162591002881527, 1.0), | |
(0.02035808563232422, 0.03882241249084473, -0.010162591002881527, 1.0), | |
(0.06281685829162598, 0.014560222625732422, -0.010162591002881527, 1.0), | |
(0.13257050514221191, 0.014560222625732422, -0.010162591002881527, 1.0), | |
(0.2447831630706787, 0.06308454275131226, -0.010162591002881527, 1.0), | |
(0.35093021392822266, 0.16923153400421143, -0.010162591002881527, 1.0), | |
(0.4843721389770508, 0.4027549624443054, -0.010162591002881527, 1.0), | |
(0.548060417175293, 0.5998851656913757, -0.010162591002881527, 1.0), | |
(0.5510931015014648, 0.6484095454216003, -0.010162591002881527, 1.0), | |
(0.47830653190612793, 0.7060322165489197, -0.010162591002881527, 1.0)]], | |
'NurbsPath.014': | |
[[(0.048399925231933594, 0.7034642100334167, -0.010162591002881527, 1.0), | |
(0.05743837356567383, 0.42741483449935913, -0.010162591002881527, 1.0), | |
(0.2334895133972168, 0.3102529048919678, -0.010162591002881527, 1.0), | |
(0.4092698097229004, 0.1963455080986023, -0.010162591002881527, 1.0), | |
(0.5761966705322266, 0.09871804714202881, -0.010162591002881527, 1.0), | |
(0.5839042663574219, -0.0255279541015625, -0.010162591002881527, 1.0), | |
(0.5717053413391113, 0.24218642711639404, -0.010162591002881527, 1.0), | |
(0.5796575546264648, 0.6991540789604187, -0.010162591002881527, 1.0)], | |
[(0.04637861251831055, -0.01039046049118042, -0.010162591002881527, 1.0), | |
(0.05837440490722656, 0.4143175482749939, -0.010162591002881527, 1.0)]], | |
'NurbsPath.017': | |
[[(0.432439923286438, 0.7487557530403137, -0.03692507743835449, 1.0), | |
(0.2681680917739868, 0.6476654410362244, -0.03692507743835449, 1.0), | |
(0.1628655195236206, 0.5360447764396667, -0.03692507743835449, 1.0), | |
(0.09968411922454834, 0.4412725567817688, -0.03692507743835449, 1.0), | |
(0.05545699596405029, 0.3422882556915283, -0.03692507743835449, 1.0), | |
(0.03439652919769287, 0.2454100251197815, -0.03692507743835449, 1.0), | |
(0.030184388160705566, 0.1632741093635559, -0.03692507743835449, 1.0), | |
(0.05335104465484619, 0.13800150156021118, -0.03692507743835449, 1.0), | |
(0.10179007053375244, 0.1043047308921814, -0.03692507743835449, 1.0), | |
(0.1565474271774292, 0.09588050842285156, -0.03692507743835449, 1.0), | |
(0.2492135763168335, 0.12536519765853882, -0.03692507743835449, 1.0), | |
(0.28143489360809326, 0.06038612127304077, -0.03692507743835449, 1.0), | |
(0.329243540763855, -0.04101264476776123, -0.03692507743835449, 1.0), | |
(0.38610684871673584, -0.1610574722290039, -0.03692507743835449, 1.0), | |
(0.3954836130142212, -0.15832099318504333, -0.03692507743835449, 1.0), | |
(0.2991284132003784, 0.051760852336883545, -0.03692507743835449, 1.0), | |
(0.2713204622268677, 0.14937692880630493, -0.03692507743835449, 1.0), | |
(0.32081925868988037, 0.20539510250091553, -0.03692507743835449, 1.0), | |
(0.4345458745956421, 0.3633487820625305, -0.03692507743835449, 1.0), | |
(0.5272120237350464, 0.5381508469581604, -0.03692507743835449, 1.0), | |
(0.5588027238845825, 0.6371352076530457, -0.03692507743835449, 1.0), | |
(0.5482724905014038, 0.7045287489891052, -0.03692507743835449, 1.0), | |
(0.5103636980056763, 0.7424376606941223, -0.03692507743835449, 1.0), | |
(0.3692582845687866, 0.7571800351142883, -0.03692507743835449, 1.0), | |
(0.4513942003250122, 0.7108469605445862, -0.03692507743835449, 1.0), | |
(0.5187877416610718, 0.7108469605445862, -0.03692507743835449, 1.0)]], | |
'NurbsPath.016': | |
[[(0.03650999069213867, -0.10696226358413696, -0.010162591002881527, 1.0), | |
(0.04785966873168945, 0.5115422010421753, -0.010162591002881527, 1.0), | |
(0.10560154914855957, 0.5628299713134766, -0.010162591002881527, 1.0), | |
(0.33480286598205566, 0.6836905479431152, -0.010162591002881527, 1.0), | |
(0.41904163360595703, 0.7021874189376831, -0.010162591002881527, 1.0), | |
(0.48079562187194824, 0.6889748573303223, -0.010162591002881527, 1.0), | |
(0.5050253868103027, 0.6249812841415405, -0.010162591002881527, 1.0), | |
(0.512535810470581, 0.5448448657989502, -0.010162591002881527, 1.0), | |
(0.4237990379333496, 0.44753170013427734, -0.010162591002881527, 1.0), | |
(0.32180190086364746, 0.3721269369125366, -0.010162591002881527, 1.0), | |
(0.19730854034423828, 0.3106595277786255, -0.010162591002881527, 1.0), | |
(0.119476318359375, 0.29912883043289185, -0.010162591002881527, 1.0), | |
(0.07911896705627441, 0.3106595277786255, -0.010162591002881527, 1.0)], | |
[(0.03276371955871582, 0.6906567811965942, -0.010162591002881527, 1.0), | |
(0.026998281478881836, 0.5119311809539795, -0.010162591002881527, 1.0)]], | |
'NurbsPath.011': | |
[[(0.020039796829223633, -0.029479622840881348, -0.00813603401184082, 1.0), | |
(0.05422568321228027, 0.3743150234222412, -0.00813603401184082, 1.0), | |
(0.35640692710876465, 0.5843231678009033, -0.00813603401184082, 1.0), | |
(0.41876673698425293, 0.662308931350708, -0.00813603401184082, 1.0)], | |
[(0.6325643062591553, -0.014730334281921387, -0.00813603401184082, 1.0), | |
(0.5812656879425049, 0.09128665924072266, -0.00813603401184082, 1.0), | |
(0.09050917625427246, 0.39964818954467773, -0.00813603401184082, 1.0)], | |
[(0.05423879623413086, 0.4094083309173584, -0.00813603401184082, 1.0), | |
(0.059938669204711914, 0.757098913192749, -0.00813603401184082, 1.0)]], | |
'NurbsPath.010': | |
[[(0.5196927785873413, 0.781814455986023, -0.00813603401184082, 1.0), | |
(0.5144516229629517, 0.6140962839126587, -0.00813603401184082, 1.0), | |
(0.5101277828216553, -0.04482007771730423, -0.00813603401184082, 1.0), | |
(0.37690258026123047, -0.014388209208846092, -0.00813603401184082, 1.0), | |
(0.1919867843389511, 0.03700839728116989, -0.00813603401184082, 1.0), | |
(0.11133836209774017, 0.12951529026031494, -0.00813603401184082, 1.0), | |
(0.09469746053218842, 0.18736445903778076, -0.00813603401184082, 1.0)]], | |
'NurbsPath.013': | |
[[(0.01766180992126465, 0.008024215698242188, -0.010579823516309261, 1.0), | |
(0.0406646728515625, 0.1949540376663208, -0.010579823516309261, 1.0), | |
(0.09190893173217773, 0.5364879369735718, -0.010579823516309261, 1.0), | |
(0.11728501319885254, 0.680993914604187, -0.010579823516309261, 1.0), | |
(0.13558340072631836, 0.7548614740371704, -0.010579823516309261, 1.0), | |
(0.3334994316101074, 0.16762900352478027, -0.010579823516309261, 1.0), | |
(0.44804930686950684, 0.3560417890548706, -0.010579823516309261, 1.0), | |
(0.5838251113891602, 0.6080533266067505, -0.010579823516309261, 1.0), | |
(0.6160049438476562, 0.7592290639877319, -0.010579823516309261, 1.0), | |
(0.6488742828369141, 0.5307408571243286, -0.010579823516309261, 1.0), | |
(0.7692499160766602, -0.007603168487548828, -0.010579823516309261, 1.0)]], | |
'NurbsPath.012': | |
[[(0.021579504013061523, 0.7170728445053101, -0.02053379826247692, 1.0), | |
(-0.0030226707458496094, -0.0342022180557251, -0.02053379826247692, 1.0), | |
(0.06740593910217285, 0.01996016502380371, -0.02053379826247692, 1.0), | |
(0.22057533264160156, 0.1283198595046997, -0.02053379826247692, 1.0), | |
(0.4838888645172119, 0.3092540502548218, -0.02053379826247692, 1.0)]], | |
'NurbsPath.051': | |
[[(0.6961318254470825, 1.1084961891174316, -0.036925073713064194, 1.0), | |
(0.661207914352417, 0.09133768081665039, -0.036925073713064194, 1.0)]], | |
'NurbsPath.050': | |
[[(0.8161721229553223, 0.9748294353485107, -0.036925073713064194, 1.0), | |
(0.5149534940719604, 0.20213831961154938, -0.036925073713064194, 1.0)]], | |
'NurbsPath.053': | |
[[(0.6766154766082764, 1.041566014289856, -0.03692507743835449, 1.0), | |
(0.7246358394622803, 0.8625810146331787, -0.03692507743835449, 1.0), | |
(0.7464632987976074, 0.5919208526611328, -0.03692507743835449, 1.0), | |
(0.7290012836456299, 0.3168952465057373, -0.03692507743835449, 1.0), | |
(0.6853463649749756, 0.15537214279174805, -0.03692507743835449, 1.0), | |
(0.5936710834503174, -0.0017855167388916016, -0.03692507743835449, 1.0), | |
(0.5412852764129639, -0.03234386444091797, -0.03692507743835449, 1.0)]], | |
'NurbsPath.052': | |
[[(0.5512487888336182, 0.9919787645339966, -0.03692507743835449, 1.0), | |
(0.8437364101409912, 0.22801852226257324, -0.03692507743835449, 1.0)]], | |
'NurbsPath.019': | |
[[(0.5108546018600464, 0.7542005777359009, -0.036925073713064194, 1.0), | |
(0.342759370803833, 0.7043108940124512, -0.036925073713064194, 1.0), | |
(0.2523987293243408, 0.6578875780105591, -0.036925073713064194, 1.0), | |
(0.1746143102645874, 0.5839159488677979, -0.036925073713064194, 1.0), | |
(0.13237214088439941, 0.5030920505523682, -0.036925073713064194, 1.0), | |
(0.10427069664001465, 0.4207485318183899, -0.036925073713064194, 1.0), | |
(0.17475342750549316, 0.38159143924713135, -0.036925073713064194, 1.0), | |
(0.27702033519744873, 0.406283438205719, -0.036925073713064194, 1.0), | |
(0.5719166994094849, 0.4725726842880249, -0.036925073713064194, 1.0), | |
(0.6215759515762329, 0.46851909160614014, -0.036925073713064194, 1.0), | |
(0.645183801651001, 0.4342219829559326, -0.036925073713064194, 1.0), | |
(0.6052215695381165, 0.3537670373916626, -0.036925073713064194, 1.0), | |
(0.4746930003166199, 0.23459362983703613, -0.036925073713064194, 1.0), | |
(0.31463420391082764, 0.11083537340164185, -0.036925073713064194, 1.0), | |
(0.21126151084899902, 0.05624788999557495, -0.036925073713064194, 1.0), | |
(0.13988173007965088, 0.027801036834716797, -0.036925073713064194, 1.0), | |
(0.14447617530822754, 0.11495286226272583, -0.036925073713064194, 1.0)]], | |
'NurbsPath.018': | |
[[(0.008942604064941406, 0.5507491230964661, -0.03376603126525879, 1.0), | |
(0.2973893880844116, 0.6489294171333313, -0.03376603126525879, 1.0), | |
(0.45048749446868896, 0.6769012808799744, -0.03376603126525879, 1.0), | |
(0.4932277202606201, 0.663647472858429, -0.03376603126525879, 1.0), | |
(0.48453497886657715, 0.614724338054657, -0.03376603126525879, 1.0), | |
(0.4585784673690796, 0.5613636374473572, -0.03376603126525879, 1.0), | |
(0.39005565643310547, 0.47412723302841187, -0.03376603126525879, 1.0), | |
(0.3053395748138428, 0.3953250050544739, -0.03376603126525879, 1.0), | |
(0.21104145050048828, 0.3267037868499756, -0.03376603126525879, 1.0), | |
(0.11837530136108398, 0.2782646417617798, -0.03376603126525879, 1.0), | |
(0.2456578016281128, 0.20878928899765015, -0.03376603126525879, 1.0), | |
(0.42796456813812256, 0.10135656595230103, -0.03376603126525879, 1.0), | |
(0.5164428949356079, 0.0540311336517334, -0.03376603126525879, 1.0), | |
(0.5921878814697266, -0.0071656107902526855, -0.03376603126525879, 1.0)], | |
[(0.023914575576782227, 0.6645364165306091, -0.03376603126525879, 1.0), | |
(0.029903411865234375, -0.027170777320861816, -0.03376603126525879, 1.0)]], | |
'NurbsPath.057': | |
[[(0.2803448736667633, 0.7507555484771729, -1.3619568806078064e-09, 1.0), | |
(0.5084428191184998, 1.0331131219863892, -1.386251224921864e-09, 1.0), | |
(0.7299360036849976, 0.7507555484771729, -1.3619568806078064e-09, 1.0)]], | |
'NurbsPath.056': | |
[[(0.09932804107666016, 0.05413818359375, -0.03692507743835449, 1.0), | |
(0.25124454498291016, 0.16414666175842285, -0.03692507743835449, 1.0), | |
(0.18314409255981445, 0.027945518493652344, -0.03692507743835449, 1.0), | |
(0.18314409255981445, -0.09254002571105957, -0.03692507743835449, 1.0)]], | |
'NurbsPath.039': | |
[[(0.1258021593093872, -0.05565077066421509, -0.03692507743835449, 1.0), | |
(0.13016831874847412, 0.03167009353637695, -0.03692507743835449, 1.0)], | |
[(0.2786139249801636, 0.8262900710105896, -0.03692507743835449, 1.0), | |
(0.13016831874847412, 0.1975797414779663, -0.03692507743835449, 1.0)]], | |
'NurbsPath.038': | |
[[(0.8360209465026855, 0.39463287591934204, -0.03692508488893509, 1.0), | |
(0.354636013507843, 0.40062659978866577, -0.036925069987773895, 1.0)], | |
[(0.6141976118087769, 0.6296515464782715, -0.0369250662624836, 1.0), | |
(0.5989292860031128, 0.14106497168540955, -0.036925073713064194, 1.0)]], | |
'NurbsPath.037': | |
[[(0.8360209465026855, 0.39463287591934204, -0.03692508488893509, 1.0), | |
(0.354636013507843, 0.40062659978866577, -0.036925069987773895, 1.0)]], | |
'NurbsPath.036': | |
[[(0.5315234661102295, 0.5871373414993286, -0.03692507743835449, 1.0), | |
(0.46436697244644165, 0.5257993936538696, -0.03692507743835449, 1.0), | |
(0.3370848000049591, 0.44967252016067505, -0.03692507743835449, 1.0), | |
(0.24495674669742584, 0.41330617666244507, -0.03692507743835449, 1.0), | |
(0.18434618413448334, 0.40845733880996704, -0.03692507743835449, 1.0), | |
(0.1358577311038971, 0.4181550145149231, -0.03692507743835449, 1.0), | |
(0.1164623498916626, 0.44967252016067505, -0.03692507743835449, 1.0), | |
(0.12131119519472122, 0.524829626083374, -0.03692507743835449, 1.0), | |
(0.1576775312423706, 0.6290798187255859, -0.03692507743835449, 1.0), | |
(0.22313696146011353, 0.7090857625007629, -0.03692507743835449, 1.0), | |
(0.3031429052352905, 0.7696963548660278, -0.03692507743835449, 1.0), | |
(0.36957210302352905, 0.8067899942398071, -0.03692507743835449, 1.0), | |
(0.434061735868454, 0.8230336308479309, -0.03692507743835449, 1.0), | |
(0.47772249579429626, 0.8266720175743103, -0.03692507743835449, 1.0), | |
(0.52664715051651, 0.8060520887374878, -0.03692507743835449, 1.0), | |
(0.5576310753822327, 0.7762193083763123, -0.03692507743835449, 1.0), | |
(0.575959324836731, 0.7247968912124634, -0.03692507743835449, 1.0), | |
(0.5753461122512817, 0.6471915245056152, -0.03692507743835449, 1.0), | |
(0.5461248755455017, 0.5341895818710327, -0.03692507743835449, 1.0), | |
(0.488637775182724, 0.4009793996810913, -0.03692507743835449, 1.0), | |
(0.41574418544769287, 0.2716977000236511, -0.03692507743835449, 1.0), | |
(0.32490989565849304, 0.1535683274269104, -0.03692507743835449, 1.0), | |
(0.20484277606010437, 0.02258598804473877, -0.03692507743835449, 1.0)]], | |
'NurbsPath.035': | |
[[(0.30558741092681885, 0.40254077315330505, -0.010758639313280582, 1.0), | |
(0.1962672472000122, 0.375877320766449, -0.010758639313280582, 1.0), | |
(0.15893840789794922, 0.375877320766449, -0.010758639313280582, 1.0), | |
(0.12694227695465088, 0.3865426778793335, -0.010758639313280582, 1.0), | |
(0.11094415187835693, 0.4238714873790741, -0.010758639313280582, 1.0), | |
(0.114410400390625, 0.4969293177127838, -0.010758639313280582, 1.0), | |
(0.16960382461547852, 0.6078492403030396, -0.010758639313280582, 1.0), | |
(0.22826337814331055, 0.6771742105484009, -0.010758639313280582, 1.0), | |
(0.2895892858505249, 0.7145030498504639, -0.010758639313280582, 1.0), | |
(0.33491718769073486, 0.7225020527839661, -0.010758639313280582, 1.0), | |
(0.41224122047424316, 0.6985049247741699, -0.010758639313280582, 1.0), | |
(0.4415709972381592, 0.6585097908973694, -0.010758639313280582, 1.0), | |
(0.4502105712890625, 0.6152942180633545, -0.010758639313280582, 1.0), | |
(0.4342188835144043, 0.5448819398880005, -0.010758639313280582, 1.0), | |
(0.39264070987701416, 0.4819185733795166, -0.010758639313280582, 1.0), | |
(0.2944495677947998, 0.4103492498397827, -0.010758639313280582, 1.0), | |
(0.4040740728378296, 0.421014666557312, -0.010758639313280582, 1.0), | |
(0.469332218170166, 0.4137546718120575, -0.010758639313280582, 1.0), | |
(0.5100599527359009, 0.3899633288383484, -0.010758639313280582, 1.0), | |
(0.5246134996414185, 0.30628013610839844, -0.010758639313280582, 1.0), | |
(0.49186789989471436, 0.20076656341552734, -0.010758639313280582, 1.0), | |
(0.4081847667694092, 0.1098065972328186, -0.010758639313280582, 1.0), | |
(0.2772023677825928, 0.03340023756027222, -0.010758639313280582, 1.0), | |
(0.10635292530059814, 0.0030207037925720215, -0.010758639313280582, 1.0), | |
(0.007944107055664062, 0.018563151359558105, -0.010758639313280582, 1.0), | |
(0.004227995872497559, 0.0796160101890564, -0.010758639313280582, 1.0), | |
(0.03706812858581543, 0.18621289730072021, -0.010758639313280582, 1.0), | |
(0.10983610153198242, 0.2953648567199707, -0.010758639313280582, 1.0), | |
(0.24809527397155762, 0.39360159635543823, -0.010758639313280582, 1.0)]], | |
'NurbsPath.034': | |
[[(0.09447512030601501, 0.633185863494873, -0.03692508116364479, 1.0), | |
(0.3489893078804016, 0.6861135959625244, -0.03692508116364479, 1.0), | |
(0.5565517544746399, 0.6986770629882812, -0.03692508116364479, 1.0), | |
(0.5083821415901184, 0.6272751092910767, -0.03692508116364479, 1.0), | |
(0.31532537937164307, 0.2967383861541748, -0.03692508116364479, 1.0), | |
(0.1344975233078003, -0.058109819889068604, -0.03692508116364479, 1.0), | |
(0.0981135368347168, -0.050833046436309814, -0.03692508116364479, 1.0)]], | |
'NurbsPath.033': | |
[[(0.3534121811389923, 0.796201229095459, -0.03692510351538658, 1.0), | |
(0.24981394410133362, 0.6723886728286743, -0.03692510351538658, 1.0), | |
(0.15884964168071747, 0.5409958362579346, -0.03692510351538658, 1.0), | |
(0.09062640368938446, 0.38938868045806885, -0.03692510351538658, 1.0), | |
(0.07232281565666199, 0.2776264548301697, -0.03692510351538658, 1.0), | |
(0.07423433661460876, 0.19152182340621948, -0.03692510351538658, 1.0), | |
(0.08545906096696854, 0.14092040061950684, -0.03692510351538658, 1.0), | |
(0.10057131201028824, 0.11027497053146362, -0.03692510351538658, 1.0), | |
(0.13105498254299164, 0.08112078905105591, -0.03692510351538658, 1.0), | |
(0.18794052302837372, 0.06809788942337036, -0.03692510351538658, 1.0), | |
(0.2772187888622284, 0.07133734226226807, -0.03692510351538658, 1.0), | |
(0.36099252104759216, 0.10133510828018188, -0.03692510351538658, 1.0), | |
(0.43294182419776917, 0.16920244693756104, -0.03692510351538658, 1.0), | |
(0.4851944148540497, 0.2536565661430359, -0.03692510351538658, 1.0), | |
(0.517653226852417, 0.3641209006309509, -0.03692510351538658, 1.0), | |
(0.5249099135398865, 0.4097003936767578, -0.03692510351538658, 1.0), | |
(0.5171349048614502, 0.4550206661224365, -0.03692510351538658, 1.0), | |
(0.4970828592777252, 0.47818294167518616, -0.03692510351538658, 1.0), | |
(0.46459075808525085, 0.49046018719673157, -0.03692510351538658, 1.0), | |
(0.39073070883750916, 0.47601252794265747, -0.03692510351538658, 1.0), | |
(0.2905021011829376, 0.42515355348587036, -0.03692510351538658, 1.0), | |
(0.19454868137836456, 0.34831327199935913, -0.03692510351538658, 1.0), | |
(0.11660686135292053, 0.26376450061798096, -0.03692510351538658, 1.0)]], | |
'NurbsPath.032': | |
[[(0.5338555574417114, 0.8113511800765991, -0.03692508116364479, 1.0), | |
(0.3478529453277588, 0.7499346733093262, -0.03692508116364479, 1.0), | |
(0.2420816719532013, 0.7167162895202637, -0.03692508116364479, 1.0), | |
(0.16630974411964417, 0.7010359168052673, -0.03692508116364479, 1.0), | |
(0.10154280066490173, 0.6998372673988342, -0.03692508116364479, 1.0), | |
(0.0911003053188324, 0.3003859519958496, -0.03692508116364479, 1.0), | |
(0.19921085238456726, 0.36761635541915894, -0.03692508116364479, 1.0), | |
(0.3685055077075958, 0.4712145924568176, -0.03692508116364479, 1.0), | |
(0.4645233750343323, 0.4964824616909027, -0.03692508116364479, 1.0), | |
(0.5201126337051392, 0.4914288818836212, -0.03692508116364479, 1.0), | |
(0.5479073524475098, 0.44594672322273254, -0.03692508116364479, 1.0), | |
(0.5504341125488281, 0.3853038549423218, -0.03692508116364479, 1.0), | |
(0.5074787139892578, 0.2918127775192261, -0.03692508116364479, 1.0), | |
(0.39882692694664, 0.18568778038024902, -0.03692508116364479, 1.0), | |
(0.19668403267860413, 0.07198237627744675, -0.03692508116364479, 1.0), | |
(0.07539829611778259, 0.03913413733243942, -0.03692508116364479, 1.0)]], | |
'NurbsPath.031': | |
[[(0.3823544979095459, 0.024504244327545166, -0.03895163536071777, 1.0), | |
(0.3646667003631592, 0.4136355221271515, -0.03895163536071777, 1.0), | |
(0.36972033977508545, 0.663791298866272, -0.03895163536071777, 1.0), | |
(0.3747739791870117, 0.7497034072875977, -0.03895163536071777, 1.0), | |
(0.14735960960388184, 0.42121604084968567, -0.03895163536071777, 1.0), | |
(-0.009303689002990723, 0.22159677743911743, -0.03895163536071777, 1.0), | |
(0.10693037509918213, 0.22412359714508057, -0.03895163536071777, 1.0), | |
(0.37730085849761963, 0.26960647106170654, -0.03895163536071777, 1.0), | |
(0.519432544708252, 0.2994365692138672, -0.03895163536071777, 1.0), | |
(0.6089228987693787, 0.32400256395339966, -0.03895163536071777, 1.0), | |
(0.6861302852630615, 0.3696250915527344, -0.03895163536071777, 1.0)]], | |
'NurbsPath.030': | |
[[(0.13005980849266052, 0.6574902534484863, -0.036925073713064194, 1.0), | |
(0.25134751200675964, 0.7181340456008911, -0.036925073713064194, 1.0), | |
(0.42569848895072937, 0.8090997934341431, -0.036925073713064194, 1.0), | |
(0.5090837478637695, 0.8040461540222168, -0.036925073713064194, 1.0), | |
(0.5242446660995483, 0.766143798828125, -0.036925073713064194, 1.0), | |
(0.4787617623806, 0.675178050994873, -0.036925073713064194, 1.0), | |
(0.27661558985710144, 0.4427099823951721, -0.036925073713064194, 1.0), | |
(0.4231714904308319, 0.498300164937973, -0.036925073713064194, 1.0), | |
(0.5065567493438721, 0.5008269548416138, -0.036925073713064194, 1.0), | |
(0.574781060218811, 0.4705050587654114, -0.036925073713064194, 1.0), | |
(0.5874152183532715, 0.41491490602493286, -0.036925073713064194, 1.0), | |
(0.5469859838485718, 0.3163686990737915, -0.036925073713064194, 1.0), | |
(0.4054836928844452, 0.16475909948349, -0.036925073713064194, 1.0), | |
(0.2816692292690277, 0.1015884280204773, -0.036925073713064194, 1.0), | |
(0.17048892378807068, 0.07632017135620117, -0.036925073713064194, 1.0), | |
(0.04920133948326111, 0.0712665319442749, -0.036925073713064194, 1.0)]]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import bpy | |
from node_s import * | |
from util import * | |
import bpy | |
from mathutils import Vector | |
import random | |
from random import random | |
import re | |
import ast | |
import os | |
def openjson_asdict(fname): | |
sv_path = os.path.dirname(os.path.realpath(__file__)) | |
path_to_json = os.path.join(sv_path, fname) | |
with open(path_to_json) as d: | |
return ast.literal_eval(''.join(d.readlines())) | |
fontdict = openjson_asdict('font1.dict') | |
fdict = { | |
str(ord('a')): 'NurbsPath.001', | |
str(ord('b')): 'NurbsPath.002', | |
str(ord('c')): 'NurbsPath.003', | |
str(ord('d')): 'NurbsPath.004', | |
str(ord('e')): 'NurbsPath.005', | |
str(ord('f')): 'NurbsPath.006', | |
str(ord('g')): 'NurbsPath.007', | |
str(ord('h')): 'NurbsPath.008', | |
str(ord('i')): 'NurbsPath.009', | |
str(ord('j')): 'NurbsPath.010', | |
str(ord('k')): 'NurbsPath.011', | |
str(ord('l')): 'NurbsPath.012', | |
str(ord('m')): 'NurbsPath.013', | |
str(ord('n')): 'NurbsPath.014', | |
str(ord('o')): 'NurbsPath.015', | |
str(ord('p')): 'NurbsPath.016', | |
str(ord('q')): 'NurbsPath.017', | |
str(ord('r')): 'NurbsPath.018', | |
str(ord('s')): 'NurbsPath.019', | |
str(ord('t')): 'NurbsPath.020', | |
str(ord('u')): 'NurbsPath.021', | |
str(ord('v')): 'NurbsPath.022', | |
str(ord('w')): 'NurbsPath.023', | |
str(ord('x')): 'NurbsPath.024', | |
str(ord('y')): 'NurbsPath.025', | |
str(ord('z')): 'NurbsPath.026', | |
str(ord('0')): 'NurbsPath.027', | |
str(ord('1')): 'NurbsPath.028', | |
str(ord('2')): 'NurbsPath.029', | |
str(ord('3')): 'NurbsPath.030', | |
str(ord('4')): 'NurbsPath.031', | |
str(ord('5')): 'NurbsPath.032', | |
str(ord('6')): 'NurbsPath.033', | |
str(ord('7')): 'NurbsPath.034', | |
str(ord('8')): 'NurbsPath.035', | |
str(ord('9')): 'NurbsPath.036', | |
str(ord('!')): 'NurbsPath.039', | |
str(ord('?')): 'NurbsPath.040', | |
str(ord('#')): 'NurbsPath.041', | |
str(ord('%')): 'NurbsPath.042', | |
str(ord('&')): 'NurbsPath.043', | |
str(ord('$')): 'NurbsPath.044', | |
str(ord('@')): 'NurbsPath.045', | |
str(ord('*')): 'NurbsPath.047', | |
str(ord('.')): 'NurbsPath.055', | |
str(ord(',')): 'NurbsPath.056', | |
str(ord('{')): 'NurbsPath.048', | |
str(ord('(')): 'NurbsPath.049', | |
str(ord('/')): 'NurbsPath.050', | |
str(ord('|')): 'NurbsPath.051', | |
str(ord('\\')): 'NurbsPath.052', | |
str(ord(')')): 'NurbsPath.053', | |
str(ord('}')): 'NurbsPath.051', | |
str(ord('-')): 'NurbsPath.037', | |
str(ord('+')): 'NurbsPath.038', | |
str(ord('=')): 'NurbsPath.046', | |
str(ord('^')): 'NurbsPath.057', | |
'RAD': 'NurbsPath.059', | |
'DIAM': 'NurbsPath.058', | |
'DEG': 'NurbsPath.060', | |
'SIGMA': 'NurbsPath.061', | |
} | |
remaps = { | |
'\\r': 'RAD', | |
'\D': 'DIAM', | |
'\d': 'DEG', | |
'\z': 'SIGMA' | |
} | |
def font_map(ch, fontdict): | |
if ch in remaps: | |
remapable = remaps[ch] | |
else: | |
if len(ch) > 1: | |
print(ch) | |
return | |
remapable = fdict.get(str(ord(ch)), None) | |
if remapable: | |
# print('>>>', remapable) | |
# print((remapable in fontdict), 'in fontdict') | |
return fontdict.get(remapable, "") | |
else: | |
print(repr(ch), 'not found in charmap') | |
return | |
def generate_greasepencil(node, text, col, pxwide, pos, fontdict): | |
line_height = 38 | |
char_width = pxwide | |
spaces = 0 | |
yof = 0 | |
xof = 0 | |
bcx, bcy = pos | |
nt = node.id_data | |
node_name = node.name | |
tree_name = nt.name | |
grease_pencil_name = tree_name + "_grease" | |
# get grease pencil data | |
if grease_pencil_name not in bpy.data.grease_pencil: | |
nt.grease_pencil = bpy.data.grease_pencil.new(grease_pencil_name) | |
else: | |
nt.grease_pencil = bpy.data.grease_pencil[grease_pencil_name] | |
gp = nt.grease_pencil | |
# get grease pencil layer | |
if not (node_name in gp.layers): | |
layer = gp.layers.new(node_name) | |
layer.frames.new(1) | |
else: | |
layer = gp.layers[node_name] | |
layer.frames[0].clear() | |
layer.line_width = 1 | |
# this gives lines, split by newline. | |
tokens = [] | |
ptext = re.split("(\n)", text) | |
for j in ptext: | |
ftoken = [] | |
if any(k in j for k in remaps.keys()): | |
ftoken = re.split("(,| )", j) | |
ftoken = [i for i in ftoken if len(i) > 0] | |
tokens.extend(ftoken) | |
else: | |
tokens.extend([i for i in j]) | |
for ch in tokens: | |
if ch == "\n": | |
yof -= line_height | |
xof = 0 | |
continue | |
if ch == " ": | |
xof += char_width | |
continue | |
if ch in remaps: | |
remapped = remaps[ch] | |
v = fontdict[fdict[remapped]] | |
else: | |
v = font_map(ch, fontdict) | |
if not v: | |
xof += char_width | |
continue | |
r = lambda v: v + v * ((random() + 0.769) * 0.037) | |
humanize = lambda x, y: (r(x), r(y)) | |
for chain in v: | |
s = layer.frames[0].strokes.new() | |
s.draw_mode = '2DSPACE' | |
s.points.add(len(chain)) | |
for idx, p in enumerate(chain): | |
ap = Vector(p) * 25 | |
x, y = ap[:2] | |
x, y = humanize(x, y) | |
xyz = ((x + bcx + xof), (y + bcy + yof), 0) | |
s.points[idx].co = xyz | |
xof += char_width | |
class SverchokGText(bpy.types.Operator): | |
bl_idname = "node.sverchok_gtext_button" | |
bl_label = "Sverchok gtext" | |
bl_options = {'REGISTER', 'UNDO'} | |
mode = bpy.props.StringProperty(default="") | |
def execute(self, context): | |
node = context.node | |
if self.mode == 'set': | |
node.draw_gtext() | |
if self.mode == 'clear': | |
node.erase_gtext() | |
if self.mode == 'clipboard': | |
node.set_gtest() | |
return {'FINISHED'} | |
class GTextNode(Node, SverchCustomTreeNode): | |
''' Note ''' | |
bl_idname = 'GTextNode' | |
bl_label = 'GText' | |
bl_icon = 'OUTLINER_OB_EMPTY' | |
text = bpy.props.StringProperty(name='text', default='your text here') | |
intx = bpy.props.IntProperty(default=0) | |
inty = bpy.props.IntProperty(default=0) | |
def draw_buttons(self, context, layout): | |
row = layout.row(align=True) | |
row.operator('node.sverchok_gtext_button', text='Set').mode = 'set' | |
row.operator('node.sverchok_gtext_button', text='Clear').mode = 'clear' | |
pass | |
def draw_buttons_ext(self, context, layout): | |
row = layout.row(align=True) | |
row.operator( | |
'node.sverchok_gtext_button', text='Get from Clipboard' | |
).mode = 'clipboard' | |
def init(self, context): | |
# self.intx, self.inty = self.location | |
pass | |
def update(self): | |
# if not (self.intx, self.inty) == self.location: | |
# self.intx, self.inty = self.location | |
# self.draw_gtext() | |
pass | |
def set_gtest(self): | |
self.text = bpy.context.window_manager.clipboard | |
self.draw_gtext() | |
def erase_gtext(self): | |
print("should be erasing") | |
nt = self.id_data | |
node_name = self.name | |
tree_name = nt.name | |
grease_pencil_name = tree_name + "_grease" | |
# get grease pencil data | |
gp = nt.grease_pencil | |
if (node_name in gp.layers): | |
layer = gp.layers[node_name] | |
layer.frames[0].clear() | |
def draw_gtext(self): | |
text = self.text | |
col = [] | |
pxwide = 28 | |
pos = self.location | |
x_offset = 0 | |
y_offset = -90 | |
offset = lambda x, y: (x+x_offset, y+y_offset) | |
pos = offset(*pos) | |
generate_greasepencil(self, text, col, pxwide, pos, fontdict) | |
def register(): | |
bpy.utils.register_class(GTextNode) | |
bpy.utils.register_class(SverchokGText) | |
def unregister(): | |
bpy.utils.unregister_class(SverchokGText) | |
bpy.utils.unregister_class(GTextNode) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment