| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039 |
- <?xml version="1.0" encoding="utf-8" standalone="yes"?>
- <Archive name="Root">
- <!--Grasshopper archive-->
- <!--Grasshopper and GH_IO.dll are copyrighted by Robert McNeel & Associates-->
- <!--Archive generated by GH_IO.dll file utility library {0.2.0002}-->
- <items count="1">
- <item name="ArchiveVersion" type_name="gh_version" type_code="80">
- <Major>0</Major>
- <Minor>2</Minor>
- <Revision>2</Revision>
- </item>
- </items>
- <chunks count="2">
- <chunk name="Definition">
- <items count="1">
- <item name="plugin_version" type_name="gh_version" type_code="80">
- <Major>1</Major>
- <Minor>0</Minor>
- <Revision>7</Revision>
- </item>
- </items>
- <chunks count="4">
- <chunk name="DocumentHeader">
- <items count="5">
- <item name="DocumentID" type_name="gh_guid" type_code="9">1c961c8b-9745-4a92-a43d-080de1ead765</item>
- <item name="Preview" type_name="gh_string" type_code="10">Shaded</item>
- <item name="PreviewMeshType" type_name="gh_int32" type_code="3">1</item>
- <item name="PreviewNormal" type_name="gh_drawing_color" type_code="36">
- <ARGB>100;150;0;0</ARGB>
- </item>
- <item name="PreviewSelected" type_name="gh_drawing_color" type_code="36">
- <ARGB>100;0;150;0</ARGB>
- </item>
- </items>
- </chunk>
- <chunk name="DefinitionProperties">
- <items count="3">
- <item name="Date" type_name="gh_date" type_code="8">635273898765795129</item>
- <item name="Description" type_name="gh_string" type_code="10"></item>
- <item name="Name" type_name="gh_string" type_code="10">elastica_curve_examples - Copy.ghx</item>
- </items>
- <chunks count="3">
- <chunk name="Revisions">
- <items count="1">
- <item name="RevisionCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- </chunk>
- <chunk name="Projection">
- <items count="2">
- <item name="Target" type_name="gh_drawing_point" type_code="30">
- <X>-102</X>
- <Y>40</Y>
- </item>
- <item name="Zoom" type_name="gh_single" type_code="5">1</item>
- </items>
- </chunk>
- <chunk name="Views">
- <items count="1">
- <item name="ViewCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="RcpLayout">
- <items count="1">
- <item name="GroupCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- </chunk>
- <chunk name="DefinitionObjects">
- <items count="1">
- <item name="ObjectCount" type_name="gh_int32" type_code="3">149</item>
- </items>
- <chunks count="149">
- <chunk name="Object" index="0">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">c552a431-af5b-46a9-a8a4-0fcbc27ef596</item>
- <item name="Name" type_name="gh_string" type_code="10">Group</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="24">
- <item name="Border" type_name="gh_int32" type_code="3">1</item>
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>150;170;135;255</ARGB>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A group of Grasshopper objects</item>
- <item name="ID" index="0" type_name="gh_guid" type_code="9">d013dc08-a8cd-4383-aa4a-7e9f0b202f67</item>
- <item name="ID" index="1" type_name="gh_guid" type_code="9">19d4e5e6-a3fb-4e4d-b426-93c0b41f974c</item>
- <item name="ID" index="2" type_name="gh_guid" type_code="9">ce2f14ec-483c-4899-a8cb-784a62168957</item>
- <item name="ID" index="3" type_name="gh_guid" type_code="9">b2a67d0f-c66e-46a9-8efd-f7442d233d5d</item>
- <item name="ID" index="4" type_name="gh_guid" type_code="9">32bb1a9f-9575-4b8c-8a60-a65a7b9dd15f</item>
- <item name="ID" index="5" type_name="gh_guid" type_code="9">98102773-859e-4cf3-83a5-41f68379af66</item>
- <item name="ID" index="6" type_name="gh_guid" type_code="9">d68f5884-1ed1-4bd5-ab64-b7040370d59b</item>
- <item name="ID" index="7" type_name="gh_guid" type_code="9">8cd6ad76-7f71-4948-8c5e-9a3e2549985f</item>
- <item name="ID" index="8" type_name="gh_guid" type_code="9">d53a1087-053a-44d5-b485-68a8b5d09ce4</item>
- <item name="ID" index="9" type_name="gh_guid" type_code="9">cc8dfb80-5022-4b13-83c9-a787888900e8</item>
- <item name="ID" index="10" type_name="gh_guid" type_code="9">072c5f2f-5efd-4587-8eb9-f4eacb6f59a9</item>
- <item name="ID" index="11" type_name="gh_guid" type_code="9">25d0b3b4-fc42-4433-a4bf-e70bfa828143</item>
- <item name="ID" index="12" type_name="gh_guid" type_code="9">5137ef09-783f-4981-a9ec-aa4f2fc8e019</item>
- <item name="ID" index="13" type_name="gh_guid" type_code="9">225afdb2-480f-435b-a1cb-84170b3afd2f</item>
- <item name="ID" index="14" type_name="gh_guid" type_code="9">20228f31-e357-4d65-8747-46e12348391c</item>
- <item name="ID" index="15" type_name="gh_guid" type_code="9">7c2a1ac2-4916-4aa3-9b0a-566a67f36e60</item>
- <item name="ID" index="16" type_name="gh_guid" type_code="9">95f9fd7f-37dc-4bd8-8105-7301ef052bdd</item>
- <item name="ID_Count" type_name="gh_int32" type_code="3">17</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">07a70634-4e1a-4226-b5d3-17b0a4e0f460</item>
- <item name="Name" type_name="gh_string" type_code="10">Group</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- </items>
- <chunks count="1">
- <chunk name="Attributes" />
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="1">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">079bd9bd-54a0-41d4-98af-db999015f63d</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="10">
- <item name="AdditionalSource" type_name="gh_string" type_code="10"> Private Function IsSet(ByVal param As String) As Boolean ' Check if an input parameter has data
- Dim i As Integer = Component.Params.IndexOfInputParam(param)
- If i > -1 Then
- Return Component.Params.Input.ElementAt(i).DataType > 1 ' input parameter DataType of 1 means it's not receiving input (internal or external)
- Else
- Msg("error", "Input parameter '" & param & "' not found")
- Return False
- End If
- End Function
-
- Private Sub Msg(ByVal type As String, ByVal msg As String) ' Output an error, warning, or informational message
- Select Case type
- Case "error"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Error, msg)
- Print("Error: " & msg)
- Case "warning"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, msg)
- Print("Warning: " & msg)
- Case "info"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Remark, msg)
- Print(msg)
- End Select
- End Sub
-
- ' Solve for the m parameter from length and width (reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m))
- Private Function SolveMFromLenWid(ByVal L As Double, ByVal w As Double) As Double
- If w = 0 Then
- Return Defined.M_ZERO_W ' for the boundry condition width = 0, bypass the function and return the known m value
- End If
-
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwl As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwl = 2 * EllipticE(m) / EllipticK(m) - 1 ' calculate w/L with the test value of m
- If cwl < w / L Then ' compares the calculated w/L with the actual w/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- Return m
- End Function
-
- ' Solve for the m parameter from length and height (reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m))
- ' Note that it's actually possible to find 2 valid values for m (hence 2 width values) at certain height values
- Private Function SolveMFromLenHt(ByVal L As Double, ByVal h As Double) As List(Of Double)
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim twoWidths As Boolean = h / L >= Defined.DOUBLE_W_HL_RATIO And h / L < Defined.MAX_HL_RATIO ' check to see if h/L is within the range where 2 solutions for the width are possible
- Dim m As Double
- Dim mult_m As New List(Of Double)
- Dim chl As Double
-
- If twoWidths Then
- ' find the first of two possible solutions for m with the following limits:
- lower = Defined.M_DOUBLE_W ' see constants at bottom of script
- upper = Defined.M_MAXHEIGHT ' see constants at bottom of script
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
-
- ' then find the second of two possible solutions for m with the following limits:
- lower = Defined.M_MAXHEIGHT ' see constants at bottom of script
- upper = 1
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl < h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- If m <= Defined.M_MAX Then ' return this m parameter only if it falls within the maximum useful value (above which the curve breaks down)
- mult_m.Add(m)
- End If
-
- Else
- ' find the one possible solution for the m parameter
- upper = Defined.M_DOUBLE_W ' limit the upper end of the search to the maximum value of m for which only one solution exists
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
- End If
-
- Return mult_m
- End Function
-
- ' Solve for the m parameter from width and height (derived from reference {1} equations (33) and (34) with same notes as above)
- Private Function SolveMFromWidHt(ByVal w As Double, ByVal h As Double) As Double
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwh As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwh = (2 * EllipticE(m) - EllipticK(m)) / Math.Sqrt(m) ' calculate w/h with the test value of m
- If cwh < w / h Then ' compares the calculated w/h with the actual w/h then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- Return m
- End Function
-
- ' Calculate length based on height and an m parameter, derived from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_L(ByVal h As Double, ByVal m As Double) As Double
- Return h * EllipticK(m) / Math.Sqrt(m)
- End Function
-
- ' Calculate width based on length and an m parameter, derived from reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m)
- Private Function Cal_W(ByVal L As Double, ByVal m As Double) As Double
- Return L * (2 * EllipticE(m) / EllipticK(m) - 1)
- End Function
-
- ' Calculate height based on length and an m parameter, from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_H(ByVal L As Double, ByVal m As Double) As Double
- Return L * Math.Sqrt(m) / EllipticK(m)
- End Function
-
- ' Calculate the unique m parameter based on a start tangent angle, from reference {2}, just above equation (9a), that states k = Sin(angle / 2 + Pi / 4),
- ' but as m = k^2 and due to this script's need for an angle rotated 90° versus the one in reference {1}, the following formula is the result
- ' New note: verified by reference {4}, pg. 78 at the bottom
- Private Function Cal_M(ByVal a As Double) As Double
- Return (1 - Math.Cos(a)) / 2 ' equal to Sin^2(a/2) too
- End Function
-
- ' Calculate start tangent angle based on an m parameter, derived from above formula
- Private Function Cal_A(ByVal m As Double) As Double
- Return Math.Acos(1 - 2 * m)
- End Function
-
- ' This is the heart of this script, taking the found (or specified) length, width, and angle values along with the found m parameter to create
- ' a list of points that approximate the shape or form of the elastica. It works by finding the x and y coordinates (which are reversed versus
- ' the original equations (12a) and (12b) from reference {2} due to the 90° difference in orientation) based on the tangent angle along the curve.
- ' See reference {2} for more details on how they derived it. Note that to simplify things, the algorithm only calculates the points for half of the
- ' curve, then mirrors those points along the y-axis.
- Private Function FindBendForm(ByVal L As Double, ByVal w As Double, ByVal m As Double, ByVal ang As Double, ByVal refPln As Plane) As List(Of Point3d)
- L = L / 2 ' because the below algorithm is based on the formulas in reference {2} for only half of the curve
- w = w / 2 ' same
-
- If ang = 0 Then ' if angle (and height) = 0, then simply return the start and end points of the straight line
- Dim out As New List(Of Point3d)
- out.Add(refPln.PointAt(w, 0, 0))
- out.Add(refPln.PointAt(-w, 0, 0))
- Return out
- End If
-
- Dim x As Double
- Dim y As Double
- Dim halfCurvePts As New List(Of Point3d)
- Dim fullCurvePts As New List(Of Point3d)
- Dim translatedPts As New List(Of Point3d)
-
- ang -= Math.PI / 2 ' a hack to allow this algorithm to work, since the original curve in paper {2} was rotated 90°
- Dim angB As Double = ang + (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' angB is the 'lowercase theta' which should be in formula {2}(12b) as the interval
- ' start [a typo...see equation(3)]. It's necessary to start angB at ang + [interval] instead of just ang due to integration failing at angB = ang
- halfCurvePts.Add(New Point3d(w, 0, 0)) ' start with this known initial point, as integration will fail when angB = ang
-
- ' each point {x, y} is calculated from the tangent angle, angB, that occurs at each point (which is why this iterates from ~ang to -pi/2, the known end condition)
- Do While Math.Round(angB, Defined.ROUNDTO) >= Math.Round(-Math.PI / 2, Defined.ROUNDTO)
- y = (Math.Sqrt(2) * Math.Sqrt(Math.Sin(ang) - Math.Sin(angB)) * (w + L)) / (2 * EllipticE(m)) ' note that x and y are swapped vs. (12a) and (12b)
- x = (L / (Math.Sqrt(2) * EllipticK(m))) * Simpson(angB, -Math.PI / 2, 500, ang) ' calculate the Simpson approximation of the integral (function f below)
- ' over the interval angB ('lowercase theta') to -pi/2. side note: is 500 too few iterations for the Simson algorithm?
-
- If Math.Round(x, Defined.ROUNDTO) = 0 Then x = 0
- halfCurvePts.Add(New Point3d(x, y, 0))
-
- angB += (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' onto the next tangent angle
- Loop
-
- ' After finding the x and y values for half of the curve, add the {-x, y} values for the rest of the curve
- For Each point As Point3d In halfCurvePts
- If Math.Round(point.X, Defined.ROUNDTO) = 0 Then
- If Math.Round(point.Y, Defined.ROUNDTO) = 0 Then
- fullCurvePts.Add(New Point3d(0, 0, 0)) ' special case when width = 0: when x = 0, only duplicate the point when y = 0 too
- End If
- Else
- fullCurvePts.Add(New Point3d(-point.X, point.Y, 0))
- End If
- Next
- halfCurvePts.Reverse
- fullCurvePts.AddRange(halfCurvePts)
-
- For Each p As Point3d In fullCurvePts
- translatedPts.Add(refPln.PointAt(p.X, p.Y, p.Z)) ' translate the points from the reference plane to the world plane
- Next
-
- Return translatedPts
- End Function
-
- ' Interpolates the points from FindBendForm to create the Elastica curve. Uses start & end tangents for greater accuracy.
- Private Function MakeCurve(ByVal pts As List(Of Point3d), ByVal ang As Double, ByVal refPln As Plane) As Curve
- If ang <> 0 Then
- Dim ts, te As New Vector3d(refPln.XAxis)
- ts.Rotate(ang, refPln.ZAxis)
- te.Rotate(-ang, refPln.ZAxis)
- Return Curve.CreateInterpolatedCurve(pts, 3, CurveKnotStyle.Chord, ts, te) ' 3rd degree curve with 'Chord' Knot Style
- Else
- Return Curve.CreateInterpolatedCurve(pts, 3) ' if angle (and height) = 0, then simply interpolate the straight line (no start/end tangents)
- End If
- End Function
-
- ' Implements the Simpson approximation for an integral of function f below
- Public Function Simpson(a As Double, b As Double, n As Integer, theta As Double) As Double 'n should be an even number
- Dim j As Integer, s1 As Double, s2 As Double, h As Double
- h = (b - a) / n
- s1 = 0
- s2 = 0
- For j = 1 To n - 1 Step 2
- s1 = s1 + fn(a + j * h, theta)
- Next j
- For j = 2 To n - 2 Step 2
- s2 = s2 + fn(a + j * h, theta)
- Next j
- Simpson = h / 3 * (fn(a, theta) + 4 * s1 + 2 * s2 + fn(b, theta))
- End Function
-
- ' Specific calculation for the above integration
- Public Function fn(x As Double, theta As Double) As Double
- fn = Math.Sin(x) / (Math.Sqrt(Math.Sin(theta) - Math.Sin(x))) ' from reference {2} formula (12b)
- End Function
-
-
- ' Return the Complete Elliptic integral of the 1st kind
- ' Abramowitz and Stegun p.591, formula 17.3.11
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticK(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum += Math.Pow(m, i) * Math.Pow(term, 2)
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
-
- ' Return the Complete Elliptic integral of the 2nd kind
- ' Abramowitz and Stegun p.591, formula 17.3.12
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticE(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum -= Math.Pow(m, i) * Math.Pow(term, 2) / above
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
- Friend Partial NotInheritable Class Defined
- Private Sub New()
- End Sub
-
- ' Note: most of these values for m and h/L ratio were found with Wolfram Alpha and either specific intercepts (x=0) or local minima/maxima. They should be constant.
- Public Const M_SKETCHY As Double = 0.95 ' value of the m parameter where the curvature near the ends of the curve gets wonky
- Public Const M_MAX As Double = 0.993 ' maximum useful value of the m parameter, above which this algorithm for the form of the curve breaks down
- Public Const M_ZERO_W As Double = 0.826114765984970336 ' value of the m parameter when width = 0
- Public Const M_MAXHEIGHT As Double = 0.701327460663101223 ' value of the m parameter at maximum possible height of the bent rod/wire
- Public Const M_DOUBLE_W As Double = 0.180254422335013983 ' minimum value of the m parameter when two width values are possible for a given height and length
- Public Const DOUBLE_W_HL_RATIO As Double = 0.257342117984635757 ' value of the height/length ratio above which there are two possible width values
- Public Const MAX_HL_RATIO As Double = 0.403140189705650243 ' maximum possible value of the height/length ratio
-
- Public Const MAXERR As Double = 0.0000000001 ' error tolerance
- Public Const MAXIT As Integer = 100 ' maximum number of iterations
- Public Const ROUNDTO As Integer = 10 ' number of decimal places to round off to
- Public Const CURVEDIVS As Integer = 50 ' number of sample points for building the curve (or half-curve as it were)
- End Class</item>
- <item name="Description" type_name="gh_string" type_code="10">A VB.NET scriptable component</item>
- <item name="EditorPosition" type_name="gh_drawing_point" type_code="30">
- <X>98</X>
- <Y>86</Y>
- </item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d013dc08-a8cd-4383-aa4a-7e9f0b202f67</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- <item name="NickName" type_name="gh_string" type_code="10">VB</item>
- <item name="OutParameter" type_name="gh_bool" type_code="1">true</item>
- <item name="ReferenceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="ScriptSource" type_name="gh_string" type_code="10"> ' -----------------------------------------------------------------
- ' Elastic Bending Script by Will McElwain
- ' Created February 2014
- '
- ' DESCRIPTION:
- ' This beast creates the so-called 'elastica curve', the shape a long, thin rod or wire makes when it is bent elastically (i.e. not permanently). In this case, force
- ' is assumed to only be applied horizontally (which would be in line with the rod at rest) and both ends are assumed to be pinned or hinged meaning they are free
- ' to rotate (as opposed to clamped, when the end tangent angle is fixed, usually horizontally). An interesting finding is that it doesn't matter what the material or
- ' cross-sectional area is, as long as they're uniform along the entire length. Everything makes the same shape when bent as long as it doesn't cross the threshold
- ' from elastic to plastic (permanent) deformation (I don't bother to find that limit here, but can be found if the yield stress for a material is known).
- '
- ' Key to the formulas used in this script are elliptic integrals, specifically K(m), the complete elliptic integral of the first kind, and E(m), the complete elliptic
- ' integral of the second kind. There was a lot of confusion over the 'm' and 'k' parameters for these functions, as some people use them interchangeably, but they are
- ' not the same. m = k^2 (thus k = Sqrt(m)). I try to use the 'm' parameter exclusively to avoid this confusion. Note that there is a unique 'm' parameter for every
- ' configuration/shape of the elastica curve.
- '
- ' This script tries to find that unique 'm' parameter based on the inputs. The algorithm starts with a test version of m, evaluates an expression, say 2*E(m)/K(m)-1,
- ' then compares the result to what it should be (in this case, a known width/length ratio). Iterate until the correct m is found. Once we have m, we can then calculate
- ' all of the other unknowns, then find points that lie on that curve, then interpolate those points for the actual curve. You can also use Wolfram|Alpha as I did to
- ' find the m parameter based on the equations in this script (example here: http://tiny.cc/t4tpbx for when say width=45.2 and length=67.1).
- '
- ' Other notes:
- ' * This script works with negative values for width, which will creat a self-intersecting curve (as it should). The curvature of the elastica starts to break down around
- ' m=0.95 (~154°), but this script will continue to work until M_MAX, m=0.993 (~169°). If you wish to ignore self-intersecting curves, set ignoreSelfIntersecting to True
- ' * When the only known values are length and height, it is actually possible for certain ratios of height to length to have two valid m values (thus 2 possible widths
- ' and angles). This script will return them both.
- ' * Only the first two valid parameters (of the required ones) will be used, meaning if all four are connected (length, width or a PtB, height, and angle), this script will
- ' only use length and width (or a PtB).
- ' * Depending on the magnitude of your inputs (say if they're really small, like if length < 10), you might have to increase the constant ROUNDTO at the bottom
- '
- ' REFERENCES:
- ' {1} "The elastic rod" by M.E. Pacheco Q. & E. Pina, http://www.scielo.org.mx/pdf/rmfe/v53n2/v53n2a8.pdf
- ' {2} "An experiment in nonlinear beam theory" by A. Valiente, http://www.deepdyve.com/lp/doc/I3lwnxdfGz , also here: http://tiny.cc/Valiente_AEiNBT
- ' {3} "Snap buckling, writhing and Loop formation In twisted rods" by V.G.A. GOSS, http://myweb.lsbu.ac.uk/~gossga/thesisFinal.pdf
- ' {4} "Theory of Elastic Stability" by Stephen Timoshenko, http://www.scribd.com/doc/50402462/Timoshenko-Theory-of-Elastic-Stability (start on p. 76)
- '
- ' INPUT:
- ' PtA - First anchor point (required)
- ' PtB - Second anchor point (optional, though 2 out of the 4--length, width, height, angle--need to be specified)
- ' [note that PtB can be the same as PtA (meaning width would be zero)]
- ' [also note that if a different width is additionally specified that's not equal to the distance between PtA and PtB, then the end point will not equal PtB anymore]
- ' Pln - Plane of the bent rod/wire, which bends up in the +y direction. The line between PtA and PtB (if specified) must be parallel to the x-axis of this plane
- '
- ' ** 2 of the following 4 need to be specified **
- ' Len - Length of the rod/wire, which needs to be > 0
- ' Wid - Width between the endpoints of the curve [note: if PtB is specified in addition, and distance between PtA and PtB <> width, the end point will be relocated
- ' Ht - Height of the bent rod/wire (when negative, curve will bend downward, relative to the input plane, instead)
- ' Ang - Inner departure angle or tangent angle (in radians) at the ends of the bent rod/wire. Set up so as width approaches length (thus height approaches zero), angle approaches zero
- '
- ' * Following variables only needed for optional calculating of bending force, not for shape of curve.
- ' E - Young's modulus (modulus of elasticity) in GPa (=N/m^2) (material-specific. for example, 7075 aluminum is roughly 71.7 GPa)
- ' I - Second moment of area (or area moment of inertia) in m^4 (cross-section-specific. for example, a hollow rod
- ' would have I = pi * (outer_diameter^4 - inner_diameter^4) / 32
- ' Note: E*I is also known as flexural rigidity or bending stiffness
- '
- ' OUTPUT:
- ' out - only for debugging messages
- ' Pts - the list of points that approximate the shape of the elastica
- ' Crv - the 3rd-degree curve interpolated from those points (with accurate start & end tangents)
- ' L - the length of the rod/wire
- ' W - the distance (width) between the endpoints of the rod/wire
- ' H - the height of the bent rod/wire
- ' A - the tangent angle at the (start) end of the rod/wire
- ' F - the force needed to hold the rod/wire in a specific shape (based on the material properties & cross-section) **be sure your units for 'I' match your units for the
- ' rest of your inputs (length, width, etc.). Also note that the critical buckling load (force) that makes the rod/wire start to bend can be found at height=0
- '
- ' THANKS TO:
- ' Mårten Nettelbladt (thegeometryofbending.blogspot.com)
- ' Daniel Piker (Kangaroo plugin)
- ' David Rutten (Grasshopper guru)
- ' Euler & Bernoulli (the O.G.'s)
- '
- ' -----------------------------------------------------------------
-
- Dim ignoreSelfIntersecting As Boolean = False ' set to True if you don't want to output curves where width < 0, which creates a self-intersecting curve
-
- Dim inCt As Integer = 0 ' count the number of required parameters that are receiving data
- Dim length As Double
- Dim width As System.Object = Nothing ' need to set as Nothing so we can check if it has been assigned a value later
- Dim height As Double
- Dim angle As Double
- Dim m As Double
- Dim multiple_m As New List(Of Double)
- Dim AtoB As Line
- Dim flip_H As Boolean = False ' if height is negative, this flag will be set
- Dim flip_A As Boolean = False ' if angle is negative, this flag will be set
-
- If Not IsSet("Pln") Then
- Msg("error", "Base plane is not set")
- Return
- End If
-
- If Not IsSet("PtA") Then
- Msg("error", "Point A is not set")
- Return
- End If
-
- If Math.Round(Pln.DistanceTo(PtA), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point A is not on the base plane")
- Return
- End If
-
- Dim refPlane As Plane = Pln ' create a reference plane = input plane and set the origin of it to PtA in case PtA isn't the origin already
- refPlane.Origin = PtA
-
- If IsSet("PtB") Then
- If Math.Round(Pln.DistanceTo(PtB), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point B is not on the base plane")
- Return
- End If
-
- AtoB = New Line(PtA, PtB)
- If AtoB.Length <> 0 And Not AtoB.Direction.IsPerpendicularTo(Pln.YAxis) Then
- Msg("error", "The line between PtA and PtB is not perpendicular to the Y-axis of the specified plane")
- Return
- End If
-
- inCt += 1
- If IsSet("Wid") Then Msg("info", "Wid will override the distance between PtA and PtB. If you do not want this to happen, disconnect PtB or Wid.")
-
- width = PtA.DistanceTo(PtB) ' get the width (distance) between PtA and PtB
-
- Dim refPtB As Point3d
- refPlane.RemapToPlaneSpace(PtB, refPtB)
- If refPtB.X < 0 Then width = -width ' check if PtB is to the left of PtA...if so, width is negative
- End If
-
- If IsSet("Len") Then inCt += 1
- If IsSet("Wid") Then inCt += 1
- If IsSet("Ht") Then inCt += 1
- If IsSet("Ang") Then inCt += 1
- If inCt > 2 Then Msg("info", "More parameters set than are required (out of length, width, height, angle). Only using the first two valid ones.")
-
- ' check for connected/specified inputs. note: only the first two that it comes across will be used
- If IsSet("Len") Then ' if length is specified then...
- If Len <= 0 Then
- Msg("error", "Length cannot be negative or zero")
- Return
- End If
- If IsSet("Wid") Then ' find height & angle based on length and specified width
- If Wid > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If Wid = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- width = Wid
- Else
- m = SolveMFromLenWid(Len, Wid)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- width = Wid
- End If
-
- Else If width IsNot Nothing Then ' find height & angle based on length and calculated width (distance between PtA and PtB)
- If width > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If width = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- Else
- m = SolveMFromLenWid(Len, width)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
-
- Else If IsSet("Ht") Then ' find width & angle based on length and height ** possible to return 2 results **
- If Math.Abs(Ht / Len) > Defined.MAX_HL_RATIO Then
- Msg("error", "Height not possible with given length")
- Return
- End If
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- width = Len
- angle = 0
- Else
- multiple_m = SolveMFromLenHt(Len, Ht) ' note that it's possible for two values of m to be found if height is close to max height
- If multiple_m.Count = 1 Then ' if there's only one m value returned, calculate the width & angle here. we'll deal with multiple m values later
- m = multiple_m.Item(0)
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find width & height based on length and angle
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- width = Len
- height = 0
- Else
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to length")
- Return
- End If
- length = Len
-
- Else If IsSet("Wid") Then ' if width is specified then...
- If IsSet("Ht") Then ' find length & angle based on specified width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = Wid
- angle = 0
- Else
- m = SolveMFromWidHt(Wid, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on specified width and angle
- If Wid = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = Wid
- height = 0
- Else
- length = Wid / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to width (Wid)")
- Return
- End If
- width = Wid
-
- Else If width IsNot Nothing Then ' if width is determined by PtA and PtB then...
- If IsSet("Ht") Then ' find length & angle based on calculated width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = width
- angle = 0
- Else
- m = SolveMFromWidHt(width, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on calculated width and angle
- If width = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = width
- height = 0
- Else
- length = width / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to PtA and PtB")
- Return
- End If
-
- Else If IsSet("Ht") Then ' if height is specified then...
- If IsSet("Ang") Then ' find length & width based on height and angle
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_H = True
- flip_A = True
- End If
- If Ht = 0 Then
- Msg("error", "Height can't = 0 if only height and angle are specified")
- Return
- Else
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = Not flip_A
- flip_H = Not flip_H
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then
- Msg("error", "Angle can't = 0 if only height and angle are specified")
- Return
- Else
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- width = Cal_W(length, m) ' L * (2 * E(m) / K(m) - 1)
- End If
- angle = Ang
- End If
- height = Ht
-
- Else
- Msg("error", "Need to specify one more parameter in addition to height")
- Return
- End If
-
- Else If IsSet("Ang") Then
- Msg("error", "Need to specify one more parameter in addition to angle")
- Return
- Else
- Msg("error", "Need to specify two of the four parameters: length, width (or PtB), height, and angle")
- Return
- End If
-
- If m > Defined.M_MAX Then
- Msg("error", "Form of curve not solvable with current algorithm and given inputs")
- Return
- End If
-
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- If multiple_m.Count > 1 Then ' if there is more than one m value returned, calculate the width, angle, and curve for each
- Dim multi_pts As New DataTree(Of Point3d)
- Dim multi_crv As New List(Of Curve)
- Dim tmp_pts As New List(Of Point3d)
- Dim multi_W, multi_A, multi_F As New List(Of Double)
- Dim j As Integer = 0 ' used for creating a new branch (GH_Path) for storing pts which is itself a list of points
-
- For Each m_val As Double In multiple_m
- width = Cal_W(length, m_val) 'length * (2 * EllipticE(m_val) / EllipticK(m_val) - 1)
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("warning", "One curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Continue For
- End If
-
- If m_val >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve whose width = " & Math.Round(width, 4) & " is not guaranteed")
-
- angle = Cal_A(m_val) 'Math.Asin(2 * m_val - 1)
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- tmp_pts = FindBendForm(length, width, m_val, angle, refPlane)
- multi_pts.AddRange(tmp_pts, New GH_Path(j))
- multi_crv.Add(MakeCurve(tmp_pts, angle, refPlane))
-
- multi_W.Add(width)
- If flip_A Then angle = -angle
- multi_A.Add(angle)
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- multi_F.Add(EllipticK(m_val) ^ 2 * E * I / length ^ 2) ' from reference {4} pg. 79
-
- j += 1
- refPlane.Origin = PtA ' reset the reference plane origin to PtA for the next m_val
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m_val & ", k=" & Math.Sqrt(m_val) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- Next
-
- ' assign the outputs
- Pts = multi_pts
- Crv = multi_crv
- L = length
- W = multi_W
- If flip_H Then height = -height
- H = height
- A = multi_A
- F = multi_F
-
- Else ' only deal with the single m value
- If m >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve at these parameters is not guaranteed")
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("error", "Curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Return
- End If
-
- Pts = FindBendForm(length, width, m, angle, refPlane)
- Crv = MakeCurve(pts, angle, refPlane)
- L = length
- W = width
- If flip_H Then height = -height
- H = height
- If flip_A Then angle = -angle
- A = angle
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- F = EllipticK(m) ^ 2 * E * I / length ^ 2 ' from reference {4} pg. 79. Note: the critical buckling (that makes the rod/wire start to bend) can be found at height=0 (width=length)
-
- 'height = Math.Sqrt(((2 * Len / 5) ^ 2 - ((Wid - Len / 5) / 2) ^ 2) ' quick approximation discovered by Mårten of 'Geometry of Bending' fame ( http://tiny.cc/it2pbx )
- 'width = (Len +/- 2 * Math.Sqrt(4 * Len ^ 2 - 25 * Ht ^ 2)) / 5 ' derived from above
- 'length = (2 * Math.Sqrt(15 * Ht ^ 2 + 4 * Wid ^ 2) - Wid) / 3 ' derived from above
-
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m & ", k=" & Math.Sqrt(m) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- End If
- </item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>612</X>
- <Y>233</Y>
- <W>84</W>
- <H>184</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>654</X>
- <Y>325</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="19">
- <item name="InputCount" type_name="gh_int32" type_code="3">9</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="2" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="3" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="4" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="5" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="6" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="7" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="8" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">8</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">3ede854e-c753-40eb-84cb-b48008f14fd4</item>
- <item name="OutputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="2" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="3" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="4" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="5" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="6" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="7" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="17">
- <chunk name="InputParam" index="0">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtA</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">920df659-6d29-453d-9295-577245828ba6</item>
- <item name="Name" type_name="gh_string" type_code="10">PtA</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtA</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">7451bc70-5fc3-43a3-bb48-ff10952414e7</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>235</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>245</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtB</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">eeb8ccaa-8966-4eab-8949-3eb384a12d84</item>
- <item name="Name" type_name="gh_string" type_code="10">PtB</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtB</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">d5104343-e872-4369-9a14-a75a852c1a15</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>255</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>265</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="2">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Pln</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ee4f4d3f-f195-437b-88af-35d3a73d66ad</item>
- <item name="Name" type_name="gh_string" type_code="10">Pln</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pln</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">df7d1e6a-049f-4594-9fb2-7dda33d26e57</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">3897522d-58e9-4d60-b38c-978ddacfedd8</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>275</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>285</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="3">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Len</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">999531d8-8fc7-4421-8afb-076eb4ce3f6e</item>
- <item name="Name" type_name="gh_string" type_code="10">Len</item>
- <item name="NickName" type_name="gh_string" type_code="10">Len</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">ce2f14ec-483c-4899-a8cb-784a62168957</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>295</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>305</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="4">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Wid</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8aba3acb-d87c-46a0-aef3-179156140406</item>
- <item name="Name" type_name="gh_string" type_code="10">Wid</item>
- <item name="NickName" type_name="gh_string" type_code="10">Wid</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>315</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>325</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="5">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ht</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">54082c0a-ad9c-49e6-97c2-34b9d8c0e605</item>
- <item name="Name" type_name="gh_string" type_code="10">Ht</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ht</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>335</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>345</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="6">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ang</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">998111e9-4c7d-4b27-88a9-01982081691a</item>
- <item name="Name" type_name="gh_string" type_code="10">Ang</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ang</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>355</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>365</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="7">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable E</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b0ed1e4b-bad1-4910-9cd3-3178fc1a708a</item>
- <item name="Name" type_name="gh_string" type_code="10">E</item>
- <item name="NickName" type_name="gh_string" type_code="10">E</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>375</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>385</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="8">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable I</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8058a335-90ef-4152-920c-88e68de69acc</item>
- <item name="Name" type_name="gh_string" type_code="10">I</item>
- <item name="NickName" type_name="gh_string" type_code="10">I</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>614</X>
- <Y>395</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>628</X>
- <Y>405</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Print, Reflect and Error streams</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">17655ef3-6a9d-43b9-a699-bb23d2e2baff</item>
- <item name="Name" type_name="gh_string" type_code="10">out</item>
- <item name="NickName" type_name="gh_string" type_code="10">out</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>235</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>246.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Pts</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d4f9a77d-b3a2-46c6-91de-6ce275666f2d</item>
- <item name="Name" type_name="gh_string" type_code="10">Pts</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pts</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>257</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>268.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Crv</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1b8d948b-eedb-4c3c-bfba-ceaee74ff110</item>
- <item name="Name" type_name="gh_string" type_code="10">Crv</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>280</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>291.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="3">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter L</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0d6fe24b-f96e-4e86-bad3-d29ae034394e</item>
- <item name="Name" type_name="gh_string" type_code="10">L</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>302</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>313.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="4">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter W</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">816f49f4-39a6-4705-80c7-e2a924ac1e0c</item>
- <item name="Name" type_name="gh_string" type_code="10">W</item>
- <item name="NickName" type_name="gh_string" type_code="10">W</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>325</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>336.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="5">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter H</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b00909dc-b385-4e3e-a3a8-9e76efdaadeb</item>
- <item name="Name" type_name="gh_string" type_code="10">H</item>
- <item name="NickName" type_name="gh_string" type_code="10">H</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>347</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>358.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="6">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter A</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9632d9b7-ad5c-4b42-bc41-5bf9a4af0115</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>370</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>381.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="7">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter F</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">28c91c87-29e8-4bc8-a5ff-18aadc6f0ecd</item>
- <item name="Name" type_name="gh_string" type_code="10">F</item>
- <item name="NickName" type_name="gh_string" type_code="10">F</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>669</X>
- <Y>392</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>681.5</X>
- <Y>403.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="2">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">19d4e5e6-a3fb-4e4d-b426-93c0b41f974c</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">width</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>158</X>
- <Y>312</Y>
- <W>384</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>158.3465</X>
- <Y>312.3785</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">-130</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">183.21</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="3">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ce2f14ec-483c-4899-a8cb-784a62168957</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">length</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>158</X>
- <Y>285</Y>
- <W>385</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>158.0028</X>
- <Y>285.5286</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">300</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="4">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b2a67d0f-c66e-46a9-8efd-f7442d233d5d</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">d4f9a77d-b3a2-46c6-91de-6ce275666f2d</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>782</X>
- <Y>194</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>807.4574</X>
- <Y>206.2478</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="5">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">32bb1a9f-9575-4b8c-8a60-a65a7b9dd15f</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2296b093-286c-438d-aa59-465d23147f1c</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>855</X>
- <Y>408</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>855.6731</X>
- <Y>408.6088</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="6">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">0d77c51e-584f-44e8-aed2-c2ddf4803888</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in radians to degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">98102773-859e-4cf3-83a5-41f68379af66</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">Deg</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>754</X>
- <Y>421</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>784</X>
- <Y>435</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f013de98-8461-42d6-94e2-d4f473814c3f</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">9632d9b7-ad5c-4b42-bc41-5bf9a4af0115</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>756</X>
- <Y>423</Y>
- <W>13</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>764</X>
- <Y>435</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2296b093-286c-438d-aa59-465d23147f1c</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>799</X>
- <Y>423</Y>
- <W>17</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>807.5</X>
- <Y>435</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="7">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d68f5884-1ed1-4bd5-ab64-b7040370d59b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>392</X>
- <Y>101</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>423</X>
- <Y>133</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b9e9716b-aaed-4e63-90f0-fd69bffec388</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>394</X>
- <Y>103</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>402.5</X>
- <Y>113</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">961e58c0-1cd5-49a0-8fd1-0e419a2c0b34</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>394</X>
- <Y>123</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>402.5</X>
- <Y>133</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">54bdcf81-cd9a-447c-bad3-a55fe7ef5dc1</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>394</X>
- <Y>143</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>402.5</X>
- <Y>153</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7451bc70-5fc3-43a3-bb48-ff10952414e7</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>438</X>
- <Y>103</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>447.5</X>
- <Y>133</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="8">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8cd6ad76-7f71-4948-8c5e-9a3e2549985f</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>392</X>
- <Y>173</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>423</X>
- <Y>205</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">cc48fd1f-8953-40bd-a5f6-a9a203bcabd4</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">95f9fd7f-37dc-4bd8-8105-7301ef052bdd</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>394</X>
- <Y>175</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>402.5</X>
- <Y>185</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">80</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a1e74152-bea6-4daf-a4cf-bbaa027d9769</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>394</X>
- <Y>195</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>402.5</X>
- <Y>205</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e34fa320-f5a3-4aaf-beaf-4207678e6e88</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>394</X>
- <Y>215</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>402.5</X>
- <Y>225</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d5104343-e872-4369-9a14-a75a852c1a15</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>438</X>
- <Y>175</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>447.5</X>
- <Y>205</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="9">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">d5967b9f-e8ee-436b-a8ad-29fdcecf32d5</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of generic curves</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d53a1087-053a-44d5-b485-68a8b5d09ce4</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">1b8d948b-eedb-4c3c-bfba-ceaee74ff110</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>782</X>
- <Y>236</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>807.4463</X>
- <Y>248.7776</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="10">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">17b7152b-d30d-4d50-b9ef-c9fe25576fc2</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">cc8dfb80-5022-4b13-83c9-a787888900e8</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">XY</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>474</X>
- <Y>246</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>505</X>
- <Y>260</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">36223dd6-39d8-43d1-85f3-16523a2c0069</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>476</X>
- <Y>248</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>484.5</X>
- <Y>260</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">df7d1e6a-049f-4594-9fb2-7dda33d26e57</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>520</X>
- <Y>248</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>528</X>
- <Y>260</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="11">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a4cd2751-414d-42ec-8916-476ebf62d7fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in degrees to radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">072c5f2f-5efd-4587-8eb9-f4eacb6f59a9</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">Rad</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>478</X>
- <Y>365</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>509</X>
- <Y>379</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7201253d-ef74-40ae-8173-4b941b44547b</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">25d0b3b4-fc42-4433-a4bf-e70bfa828143</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>480</X>
- <Y>367</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>488.5</X>
- <Y>379</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c64ce2fc-64f4-4ffc-abb1-8343f67d6c30</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>524</X>
- <Y>367</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>532</X>
- <Y>379</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="12">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">25d0b3b4-fc42-4433-a4bf-e70bfa828143</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">angle °</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>160</X>
- <Y>370</Y>
- <W>295</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>160.2554</X>
- <Y>370.2197</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">170</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">110.7</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="13">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">c98a6015-7a2f-423c-bc66-bdc505249b45</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane 3Pt</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Create a plane through three points.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">78631b64-b599-490f-b493-9d449559b6c0</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane 3Pt</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pl 3Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-129</X>
- <Y>197</Y>
- <W>66</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-98</X>
- <Y>229</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Origin point</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c03438e8-8e89-47d2-b5c9-ca10c981173e</item>
- <item name="Name" type_name="gh_string" type_code="10">Point A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">c318333b-fa9e-426b-b869-991ed69f1b64</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-127</X>
- <Y>199</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-118.5</X>
- <Y>209</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">X-direction point</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">88046baa-f5c6-4fbc-97be-c88ee826709d</item>
- <item name="Name" type_name="gh_string" type_code="10">Point B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">5252af42-8b65-437c-a487-5eac1156e2cc</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-127</X>
- <Y>219</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-118.5</X>
- <Y>229</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Orientation point</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9ece8cd3-edbb-4986-9f6d-886138f5abd4</item>
- <item name="Name" type_name="gh_string" type_code="10">Point C</item>
- <item name="NickName" type_name="gh_string" type_code="10">C</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f4cf1901-0cd0-4475-9dd6-bf34f5ebc6e1</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-127</X>
- <Y>239</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-118.5</X>
- <Y>249</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Plane definition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">af793683-207b-4276-a8a1-cc931d61589e</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pl</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-83</X>
- <Y>199</Y>
- <W>18</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-74</X>
- <Y>229</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="14">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">03b41596-1093-42df-8cb9-728ff4c83a73</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-281</X>
- <Y>116</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-250</X>
- <Y>148</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">46b26c29-1295-4a56-90de-e2187690ca0a</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">39c22776-a388-46d7-abe4-caaffd8004f9</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-279</X>
- <Y>118</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-270.5</X>
- <Y>128</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">05cdff1f-dab0-4d5c-8b53-f69ce1483ebc</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">108fecb2-82c4-4ef7-b31a-2d6517c32268</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-279</X>
- <Y>138</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-270.5</X>
- <Y>148</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1cd02656-25ae-4866-8098-c3757e985576</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">ca67e373-c39e-4d29-980d-1c76d91a2de9</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-279</X>
- <Y>158</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-270.5</X>
- <Y>168</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c318333b-fa9e-426b-b869-991ed69f1b64</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-235</X>
- <Y>118</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-225.5</X>
- <Y>148</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="15">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">39c22776-a388-46d7-abe4-caaffd8004f9</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-594</X>
- <Y>112</Y>
- <W>260</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-593.6757</X>
- <Y>112.793</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">24.03</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="16">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">108fecb2-82c4-4ef7-b31a-2d6517c32268</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-593</X>
- <Y>139</Y>
- <W>258</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-592.4278</X>
- <Y>139.043</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-17.28</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="17">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ca67e373-c39e-4d29-980d-1c76d91a2de9</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-592</X>
- <Y>164</Y>
- <W>258</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-591.1778</X>
- <Y>164.043</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-9.72</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="18">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7d81920e-fe3b-4fcc-856a-7444755fcc4a</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-284</X>
- <Y>208</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-253</X>
- <Y>240</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5e590f17-28b6-4fcb-aeb8-acdb345f0c4b</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">abfd65c5-05aa-4b81-a108-6a5355e6816a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-282</X>
- <Y>210</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-273.5</X>
- <Y>220</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7d22d623-e49c-4769-b49e-88c16b2a4f4e</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">81a1d1b0-c109-4a52-8403-b06d094902c8</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-282</X>
- <Y>230</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-273.5</X>
- <Y>240</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0fafe809-64a8-4448-af4b-21caa924776e</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">b53d373c-ad33-4aaa-a8de-83a088e127a5</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-282</X>
- <Y>250</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-273.5</X>
- <Y>260</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5252af42-8b65-437c-a487-5eac1156e2cc</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-238</X>
- <Y>210</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-228.5</X>
- <Y>240</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="19">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">abfd65c5-05aa-4b81-a108-6a5355e6816a</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-597</X>
- <Y>205</Y>
- <W>260</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-596.1757</X>
- <Y>205.293</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">3.28</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="20">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">81a1d1b0-c109-4a52-8403-b06d094902c8</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-595</X>
- <Y>230</Y>
- <W>258</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-594.9278</X>
- <Y>230.293</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">0.25</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="21">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b53d373c-ad33-4aaa-a8de-83a088e127a5</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-594</X>
- <Y>256</Y>
- <W>258</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-593.6778</X>
- <Y>256.543</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">18.96</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="22">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">759d1f2d-c1de-45b6-9548-4d3ad4b27781</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-286</X>
- <Y>296</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-255</X>
- <Y>328</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0ec6b789-6c06-4ce4-a442-c0cdb61b63ea</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f24c7c6f-3341-48d7-b5dd-11493225c086</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-284</X>
- <Y>298</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-275.5</X>
- <Y>308</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">cadc8592-52b0-4c3f-9cd8-6474d8000ca7</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2313a88f-2ff0-48dc-b09b-dee536af8862</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-284</X>
- <Y>318</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-275.5</X>
- <Y>328</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">003f761f-6321-417a-9a6f-83613eba8698</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">da887b2c-91f5-4fc7-b9b2-dd3c06bf079f</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-284</X>
- <Y>338</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-275.5</X>
- <Y>348</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f4cf1901-0cd0-4475-9dd6-bf34f5ebc6e1</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-240</X>
- <Y>298</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-230.5</X>
- <Y>328</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="23">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f24c7c6f-3341-48d7-b5dd-11493225c086</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-598</X>
- <Y>294</Y>
- <W>260</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-597.4257</X>
- <Y>294.043</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-7.63</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="24">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2313a88f-2ff0-48dc-b09b-dee536af8862</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-597</X>
- <Y>319</Y>
- <W>258</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-596.1778</X>
- <Y>319.043</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-14.68</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="25">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">da887b2c-91f5-4fc7-b9b2-dd3c06bf079f</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-595</X>
- <Y>345</Y>
- <W>258</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-594.9278</X>
- <Y>345.293</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">50</item>
- <item name="Min" type_name="gh_double" type_code="6">-50</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-6.5</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="26">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5137ef09-783f-4981-a9ec-aa4f2fc8e019</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">height</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>159</X>
- <Y>339</Y>
- <W>384</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>159.0849</X>
- <Y>339.4185</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">200</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">112.83</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="27">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">225afdb2-480f-435b-a1cb-84170b3afd2f</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">0d6fe24b-f96e-4e86-bad3-d29ae034394e</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>737</X>
- <Y>288</Y>
- <W>106</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>737.476</X>
- <Y>288.175</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="28">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">20228f31-e357-4d65-8747-46e12348391c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">816f49f4-39a6-4705-80c7-e2a924ac1e0c</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>856</X>
- <Y>313</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>856.035</X>
- <Y>313.0428</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="29">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7c2a1ac2-4916-4aa3-9b0a-566a67f36e60</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">b00909dc-b385-4e3e-a3a8-9e76efdaadeb</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>736</X>
- <Y>348</Y>
- <W>108</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>736.4249</X>
- <Y>348.559</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="30">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">aaa665bd-fd6e-4ccb-8d2c-c5b33072125d</item>
- <item name="Name" type_name="gh_string" type_code="10">Curvature</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Evaluate the curvature of a curve at a specified parameter.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">40932656-6c80-4daa-9ad2-8cf8b338fc8d</item>
- <item name="Name" type_name="gh_string" type_code="10">Curvature</item>
- <item name="NickName" type_name="gh_string" type_code="10">Curvature</item>
- </items>
- <chunks count="6">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1151</X>
- <Y>798</Y>
- <W>65</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1182</X>
- <Y>830</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Curve to evaluate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ef98c1a5-25c1-49b1-b59b-6afb9264b710</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">C</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">12b4fe3c-7f43-444b-be77-19b89104763b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1153</X>
- <Y>800</Y>
- <W>14</W>
- <H>30</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1161.5</X>
- <Y>815</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Parameter on curve domain to evaluate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bb19201b-82f6-46a3-968e-8457acb1864d</item>
- <item name="Name" type_name="gh_string" type_code="10">Parameter</item>
- <item name="NickName" type_name="gh_string" type_code="10">t</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">3dad486f-e4dc-4c1a-a3e3-edd2e0fd1459</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1153</X>
- <Y>830</Y>
- <W>14</W>
- <H>30</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1161.5</X>
- <Y>845</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point on curve at {t}</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6666272a-5753-4a2f-bade-d2d52bc5e52d</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1197</X>
- <Y>800</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1205.5</X>
- <Y>810</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Curvature vector at {t}</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">aa220db5-3068-4ca2-8821-8b9c90d1979a</item>
- <item name="Name" type_name="gh_string" type_code="10">Curvature</item>
- <item name="NickName" type_name="gh_string" type_code="10">K</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1197</X>
- <Y>820</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1205.5</X>
- <Y>830</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Curvature circle at {t}</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">10cf8192-1856-476a-b1e6-4b0f3c70a20b</item>
- <item name="Name" type_name="gh_string" type_code="10">Curvature</item>
- <item name="NickName" type_name="gh_string" type_code="10">C</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1197</X>
- <Y>840</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1205.5</X>
- <Y>850</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="31">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">6b021f56-b194-4210-b9a1-6cef3b7d0848</item>
- <item name="Name" type_name="gh_string" type_code="10">Evaluate Length</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Evaluate a curve at a certain factor along its length. Length factors can be supplied both in curve units and normalized units. Change the [N] parameter to toggle between the two modes.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7a3bf5ad-d8df-4c78-ab33-33f2a1b8fdd3</item>
- <item name="Name" type_name="gh_string" type_code="10">Evaluate Length</item>
- <item name="NickName" type_name="gh_string" type_code="10">Eval</item>
- </items>
- <chunks count="7">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1057</X>
- <Y>823</Y>
- <W>64</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1088</X>
- <Y>855</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Curve to evaluate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">315efe79-3e18-4f12-9a9f-48c3fd619f70</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">C</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">12b4fe3c-7f43-444b-be77-19b89104763b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1059</X>
- <Y>825</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1067.5</X>
- <Y>835</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Length factor for curve evaluation</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2bfe1d34-4f3b-4bb0-be9e-0296d2d11a85</item>
- <item name="Name" type_name="gh_string" type_code="10">Length</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">6f2330d2-0e46-4e09-9ac5-7b7d2a1d3954</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1059</X>
- <Y>845</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1067.5</X>
- <Y>855</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0.5</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">If True, the Length factor is normalized (0.0 ~ 1.0)</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">768df78b-ea9f-4024-8585-81b6a0c10891</item>
- <item name="Name" type_name="gh_string" type_code="10">Normalized</item>
- <item name="NickName" type_name="gh_string" type_code="10">N</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1059</X>
- <Y>865</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1067.5</X>
- <Y>875</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="boolean" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point at the specified length</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d2445ed4-e075-4562-b765-47e17a5185ca</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1103</X>
- <Y>825</Y>
- <W>16</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1111</X>
- <Y>835</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Tangent vector at the specified length</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5a606323-3c66-46dd-a374-a92dc7ab1c86</item>
- <item name="Name" type_name="gh_string" type_code="10">Tangent</item>
- <item name="NickName" type_name="gh_string" type_code="10">T</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1103</X>
- <Y>845</Y>
- <W>16</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1111</X>
- <Y>855</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Curve parameter at the specified length</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">3dad486f-e4dc-4c1a-a3e3-edd2e0fd1459</item>
- <item name="Name" type_name="gh_string" type_code="10">Parameter</item>
- <item name="NickName" type_name="gh_string" type_code="10">t</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1103</X>
- <Y>865</Y>
- <W>16</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1111</X>
- <Y>875</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="32">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">23862862-049a-40be-b558-2418aacbd916</item>
- <item name="Name" type_name="gh_string" type_code="10">Deconstruct Arc</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Retrieve the base plane, radius and angle domain of an arc.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">55c865ff-19b4-4378-9996-badcb44a9589</item>
- <item name="Name" type_name="gh_string" type_code="10">Deconstruct Arc</item>
- <item name="NickName" type_name="gh_string" type_code="10">DArc</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1267</X>
- <Y>847</Y>
- <W>65</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1298</X>
- <Y>879</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Arc or Circle to deconstruct</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e0a2a9c6-de9b-4ae3-854d-8bf414396827</item>
- <item name="Name" type_name="gh_string" type_code="10">Arc</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">10cf8192-1856-476a-b1e6-4b0f3c70a20b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1269</X>
- <Y>849</Y>
- <W>14</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1277.5</X>
- <Y>879</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Base plane of arc or circle</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">81d935f9-4a1b-49ca-b92c-718561d9b488</item>
- <item name="Name" type_name="gh_string" type_code="10">Base Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1313</X>
- <Y>849</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1321.5</X>
- <Y>859</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Radius of arc or circle</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">64504e23-6a31-41c8-aef7-9ea0c21e3465</item>
- <item name="Name" type_name="gh_string" type_code="10">Radius</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1313</X>
- <Y>869</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1321.5</X>
- <Y>879</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle domain (in radians) of arc</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">3c6d7169-cc80-4199-8fef-ce0a92463c3a</item>
- <item name="Name" type_name="gh_string" type_code="10">Angle</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1313</X>
- <Y>889</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1321.5</X>
- <Y>899</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="33">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a04f3471-a7fc-4cd9-b101-bb6f71dec549</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">64504e23-6a31-41c8-aef7-9ea0c21e3465</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1377</X>
- <Y>830</Y>
- <W>96</W>
- <H>42</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1377.688</X>
- <Y>830.6463</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="34">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">f12daa2f-4fd5-48c1-8ac3-5dea476912ca</item>
- <item name="Name" type_name="gh_string" type_code="10">Mirror</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Mirror an object.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">864b9457-bf65-45dc-a49e-8e972abffb2b</item>
- <item name="Name" type_name="gh_string" type_code="10">Mirror</item>
- <item name="NickName" type_name="gh_string" type_code="10">Mirror</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1277</X>
- <Y>665</Y>
- <W>65</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1308</X>
- <Y>687</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Base geometry</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ef1ac667-f8c6-4a26-800e-9f64490f8b70</item>
- <item name="Name" type_name="gh_string" type_code="10">Geometry</item>
- <item name="NickName" type_name="gh_string" type_code="10">G</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">12b4fe3c-7f43-444b-be77-19b89104763b</item>
- <item name="Source" index="1" type_name="gh_guid" type_code="9">10cf8192-1856-476a-b1e6-4b0f3c70a20b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">2</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1279</X>
- <Y>667</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1287.5</X>
- <Y>677</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Mirror plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fb82719d-d33e-4bcc-ab84-9035150adc96</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">0654eb92-001e-43e0-b38a-58a5d0d80f8e</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1279</X>
- <Y>687</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1287.5</X>
- <Y>697</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="plane" type_name="gh_plane" type_code="72">
- <Ox>0</Ox>
- <Oy>0</Oy>
- <Oz>0</Oz>
- <Xx>0</Xx>
- <Xy>0</Xy>
- <Xz>1</Xz>
- <Yx>1</Yx>
- <Yy>0</Yy>
- <Yz>0</Yz>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Mirrored geometry</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fef45908-0b4b-4554-b56b-334d7b9a07c0</item>
- <item name="Name" type_name="gh_string" type_code="10">Geometry</item>
- <item name="NickName" type_name="gh_string" type_code="10">G</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1323</X>
- <Y>667</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1331.5</X>
- <Y>677</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Transformation data</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b1d2e017-d6c1-487a-925f-7e6b3170b50c</item>
- <item name="Name" type_name="gh_string" type_code="10">Transform</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1323</X>
- <Y>687</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1331.5</X>
- <Y>697</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="35">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">9df5e896-552d-4c8c-b9ca-4fc147ffa022</item>
- <item name="Name" type_name="gh_string" type_code="10">Expression</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Evaluate an expression</item>
- <item name="Expression" type_name="gh_string" type_code="10">x*2</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8a2af1f2-b070-42bc-acff-393a560d94c6</item>
- <item name="Name" type_name="gh_string" type_code="10">Expression</item>
- <item name="NickName" type_name="gh_string" type_code="10">Expression</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1379</X>
- <Y>892</Y>
- <W>84</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1419</X>
- <Y>906</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="4">
- <item name="InputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">ba80fd98-91a1-4958-b6a7-a94e40e52bdb</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="2">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Expression variable</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9378e904-7029-4099-9a7d-0a61740c8db5</item>
- <item name="Name" type_name="gh_string" type_code="10">Variable x</item>
- <item name="NickName" type_name="gh_string" type_code="10">x</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">64504e23-6a31-41c8-aef7-9ea0c21e3465</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1381</X>
- <Y>894</Y>
- <W>12</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1388.5</X>
- <Y>906</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of expression</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ae803c56-82b6-4b49-9bf4-1997a330a545</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1445</X>
- <Y>894</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1453</X>
- <Y>906</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="36">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7ff6881c-7677-4071-a632-b6c8ea1ac4d3</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">ae803c56-82b6-4b49-9bf4-1997a330a545</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1489</X>
- <Y>887</Y>
- <W>96</W>
- <H>42</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1489.256</X>
- <Y>887.1902</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="37">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0068d51d-c81e-4187-8df3-5835ab363a73</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">71.7</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>486</X>
- <Y>1016</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>486.351</X>
- <Y>1016.602</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="38">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">65023053-5666-4c0b-b753-08fe81bad98b</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">0.09</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>51</X>
- <Y>1103</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>51.64487</X>
- <Y>1103.176</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="39">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b958296d-1f29-45e4-a204-834500f3a2c8</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">0.0055</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>50</X>
- <Y>1130</Y>
- <W>62</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>50.66486</X>
- <Y>1130.595</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="40">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">9df5e896-552d-4c8c-b9ca-4fc147ffa022</item>
- <item name="Name" type_name="gh_string" type_code="10">Expression</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Evaluate an expression</item>
- <item name="Expression" type_name="gh_string" type_code="10">π*(outer^4-(outer-thick)^4)/32</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c6fb6177-2d5c-4ea6-801e-f1d602a9945f</item>
- <item name="Name" type_name="gh_string" type_code="10">Expression</item>
- <item name="NickName" type_name="gh_string" type_code="10">Expression</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>197</X>
- <Y>1105</Y>
- <W>324</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>366</X>
- <Y>1127</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="5">
- <item name="InputCount" type_name="gh_int32" type_code="3">2</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">ba80fd98-91a1-4958-b6a7-a94e40e52bdb</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">ba80fd98-91a1-4958-b6a7-a94e40e52bdb</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="3">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Expression variable</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">cf3ef3e5-5024-4f5c-a4c6-0baf27546401</item>
- <item name="Name" type_name="gh_string" type_code="10">Variable outer</item>
- <item name="NickName" type_name="gh_string" type_code="10">outer</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">65023053-5666-4c0b-b753-08fe81bad98b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>199</X>
- <Y>1107</Y>
- <W>30</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>215.5</X>
- <Y>1117</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Expression variable</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">275aff5f-fca5-430e-bd77-af734dc26d01</item>
- <item name="Name" type_name="gh_string" type_code="10">Variable thick</item>
- <item name="NickName" type_name="gh_string" type_code="10">thick</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">b958296d-1f29-45e4-a204-834500f3a2c8</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>199</X>
- <Y>1127</Y>
- <W>30</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>215.5</X>
- <Y>1137</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of expression</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c29e43b1-f147-4596-9a27-65e202efbf44</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>503</X>
- <Y>1107</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>511</X>
- <Y>1127</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="41">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">61e14a85-7063-4c93-bec1-f130a2a79f94</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">20b5374e-e220-4840-8424-dcf1b57d3ad2</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>744</X>
- <Y>1065</Y>
- <W>97</W>
- <H>58</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>744.1909</X>
- <Y>1065.401</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="42">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">d5967b9f-e8ee-436b-a8ad-29fdcecf32d5</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of generic curves</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9ce607e3-994c-4bda-99e3-6e421454263b</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">10cf8192-1856-476a-b1e6-4b0f3c70a20b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1303</X>
- <Y>728</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1328.596</X>
- <Y>740.7537</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="43">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>147.2881</X>
- <Y>1085.861</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>504.9157</X>
- <Y>1084.888</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>504.9566</X>
- <Y>1099.915</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>147.329</X>
- <Y>1100.889</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a2b3599b-d7ad-4dff-aca4-d6dbc30755af</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">16</item>
- <item name="Text" type_name="gh_string" type_code="10">area moment of inertia for a hollow rod (in m^4)</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>142.2881</X>
- <Y>1079.888</Y>
- <W>367.6685</W>
- <H>26.00085</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>147.2881</X>
- <Y>1085.861</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="44">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>544.7806</X>
- <Y>1376.747</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>735.764</X>
- <Y>1376.736</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>735.7651</X>
- <Y>1391.763</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>544.7817</X>
- <Y>1391.774</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">37f949de-70f1-4437-96b3-797739d591c1</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">16</item>
- <item name="Text" type_name="gh_string" type_code="10">One height, two solutions</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>539.7806</X>
- <Y>1371.736</Y>
- <W>200.9845</W>
- <H>25.03821</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>544.7806</X>
- <Y>1376.747</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="45">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">079bd9bd-54a0-41d4-98af-db999015f63d</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="10">
- <item name="AdditionalSource" type_name="gh_string" type_code="10"> Private Function IsSet(ByVal param As String) As Boolean ' Check if an input parameter has data
- Dim i As Integer = Component.Params.IndexOfInputParam(param)
- If i > -1 Then
- Return Component.Params.Input.ElementAt(i).DataType > 1 ' input parameter DataType of 1 means it's not receiving input (internal or external)
- Else
- Msg("error", "Input parameter '" & param & "' not found")
- Return False
- End If
- End Function
-
- Private Sub Msg(ByVal type As String, ByVal msg As String) ' Output an error, warning, or informational message
- Select Case type
- Case "error"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Error, msg)
- Print("Error: " & msg)
- Case "warning"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, msg)
- Print("Warning: " & msg)
- Case "info"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Remark, msg)
- Print(msg)
- End Select
- End Sub
-
- ' Solve for the m parameter from length and width (reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m))
- Private Function SolveMFromLenWid(ByVal L As Double, ByVal w As Double) As Double
- If w = 0 Then
- Return Defined.M_ZERO_W ' for the boundry condition width = 0, bypass the function and return the known m value
- End If
-
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwl As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwl = 2 * EllipticE(m) / EllipticK(m) - 1 ' calculate w/L with the test value of m
- If cwl < w / L Then ' compares the calculated w/L with the actual w/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- Return m
- End Function
-
- ' Solve for the m parameter from length and height (reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m))
- ' Note that it's actually possible to find 2 valid values for m (hence 2 width values) at certain height values
- Private Function SolveMFromLenHt(ByVal L As Double, ByVal h As Double) As List(Of Double)
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim twoWidths As Boolean = h / L >= Defined.DOUBLE_W_HL_RATIO And h / L < Defined.MAX_HL_RATIO ' check to see if h/L is within the range where 2 solutions for the width are possible
- Dim m As Double
- Dim mult_m As New List(Of Double)
- Dim chl As Double
-
- If twoWidths Then
- ' find the first of two possible solutions for m with the following limits:
- lower = Defined.M_DOUBLE_W ' see constants at bottom of script
- upper = Defined.M_MAXHEIGHT ' see constants at bottom of script
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
-
- ' then find the second of two possible solutions for m with the following limits:
- lower = Defined.M_MAXHEIGHT ' see constants at bottom of script
- upper = 1
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl < h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- If m <= Defined.M_MAX Then ' return this m parameter only if it falls within the maximum useful value (above which the curve breaks down)
- mult_m.Add(m)
- End If
-
- Else
- ' find the one possible solution for the m parameter
- upper = Defined.M_DOUBLE_W ' limit the upper end of the search to the maximum value of m for which only one solution exists
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
- End If
-
- Return mult_m
- End Function
-
- ' Solve for the m parameter from width and height (derived from reference {1} equations (33) and (34) with same notes as above)
- Private Function SolveMFromWidHt(ByVal w As Double, ByVal h As Double) As Double
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwh As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwh = (2 * EllipticE(m) - EllipticK(m)) / Math.Sqrt(m) ' calculate w/h with the test value of m
- If cwh < w / h Then ' compares the calculated w/h with the actual w/h then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- Return m
- End Function
-
- ' Calculate length based on height and an m parameter, derived from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_L(ByVal h As Double, ByVal m As Double) As Double
- Return h * EllipticK(m) / Math.Sqrt(m)
- End Function
-
- ' Calculate width based on length and an m parameter, derived from reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m)
- Private Function Cal_W(ByVal L As Double, ByVal m As Double) As Double
- Return L * (2 * EllipticE(m) / EllipticK(m) - 1)
- End Function
-
- ' Calculate height based on length and an m parameter, from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_H(ByVal L As Double, ByVal m As Double) As Double
- Return L * Math.Sqrt(m) / EllipticK(m)
- End Function
-
- ' Calculate the unique m parameter based on a start tangent angle, from reference {2}, just above equation (9a), that states k = Sin(angle / 2 + Pi / 4),
- ' but as m = k^2 and due to this script's need for an angle rotated 90° versus the one in reference {1}, the following formula is the result
- ' New note: verified by reference {4}, pg. 78 at the bottom
- Private Function Cal_M(ByVal a As Double) As Double
- Return (1 - Math.Cos(a)) / 2 ' equal to Sin^2(a/2) too
- End Function
-
- ' Calculate start tangent angle based on an m parameter, derived from above formula
- Private Function Cal_A(ByVal m As Double) As Double
- Return Math.Acos(1 - 2 * m)
- End Function
-
- ' This is the heart of this script, taking the found (or specified) length, width, and angle values along with the found m parameter to create
- ' a list of points that approximate the shape or form of the elastica. It works by finding the x and y coordinates (which are reversed versus
- ' the original equations (12a) and (12b) from reference {2} due to the 90° difference in orientation) based on the tangent angle along the curve.
- ' See reference {2} for more details on how they derived it. Note that to simplify things, the algorithm only calculates the points for half of the
- ' curve, then mirrors those points along the y-axis.
- Private Function FindBendForm(ByVal L As Double, ByVal w As Double, ByVal m As Double, ByVal ang As Double, ByVal refPln As Plane) As List(Of Point3d)
- L = L / 2 ' because the below algorithm is based on the formulas in reference {2} for only half of the curve
- w = w / 2 ' same
-
- If ang = 0 Then ' if angle (and height) = 0, then simply return the start and end points of the straight line
- Dim out As New List(Of Point3d)
- out.Add(refPln.PointAt(w, 0, 0))
- out.Add(refPln.PointAt(-w, 0, 0))
- Return out
- End If
-
- Dim x As Double
- Dim y As Double
- Dim halfCurvePts As New List(Of Point3d)
- Dim fullCurvePts As New List(Of Point3d)
- Dim translatedPts As New List(Of Point3d)
-
- ang -= Math.PI / 2 ' a hack to allow this algorithm to work, since the original curve in paper {2} was rotated 90°
- Dim angB As Double = ang + (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' angB is the 'lowercase theta' which should be in formula {2}(12b) as the interval
- ' start [a typo...see equation(3)]. It's necessary to start angB at ang + [interval] instead of just ang due to integration failing at angB = ang
- halfCurvePts.Add(New Point3d(w, 0, 0)) ' start with this known initial point, as integration will fail when angB = ang
-
- ' each point {x, y} is calculated from the tangent angle, angB, that occurs at each point (which is why this iterates from ~ang to -pi/2, the known end condition)
- Do While Math.Round(angB, Defined.ROUNDTO) >= Math.Round(-Math.PI / 2, Defined.ROUNDTO)
- y = (Math.Sqrt(2) * Math.Sqrt(Math.Sin(ang) - Math.Sin(angB)) * (w + L)) / (2 * EllipticE(m)) ' note that x and y are swapped vs. (12a) and (12b)
- x = (L / (Math.Sqrt(2) * EllipticK(m))) * Simpson(angB, -Math.PI / 2, 500, ang) ' calculate the Simpson approximation of the integral (function f below)
- ' over the interval angB ('lowercase theta') to -pi/2. side note: is 500 too few iterations for the Simson algorithm?
-
- If Math.Round(x, Defined.ROUNDTO) = 0 Then x = 0
- halfCurvePts.Add(New Point3d(x, y, 0))
-
- angB += (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' onto the next tangent angle
- Loop
-
- ' After finding the x and y values for half of the curve, add the {-x, y} values for the rest of the curve
- For Each point As Point3d In halfCurvePts
- If Math.Round(point.X, Defined.ROUNDTO) = 0 Then
- If Math.Round(point.Y, Defined.ROUNDTO) = 0 Then
- fullCurvePts.Add(New Point3d(0, 0, 0)) ' special case when width = 0: when x = 0, only duplicate the point when y = 0 too
- End If
- Else
- fullCurvePts.Add(New Point3d(-point.X, point.Y, 0))
- End If
- Next
- halfCurvePts.Reverse
- fullCurvePts.AddRange(halfCurvePts)
-
- For Each p As Point3d In fullCurvePts
- translatedPts.Add(refPln.PointAt(p.X, p.Y, p.Z)) ' translate the points from the reference plane to the world plane
- Next
-
- Return translatedPts
- End Function
-
- ' Interpolates the points from FindBendForm to create the Elastica curve. Uses start & end tangents for greater accuracy.
- Private Function MakeCurve(ByVal pts As List(Of Point3d), ByVal ang As Double, ByVal refPln As Plane) As Curve
- If ang <> 0 Then
- Dim ts, te As New Vector3d(refPln.XAxis)
- ts.Rotate(ang, refPln.ZAxis)
- te.Rotate(-ang, refPln.ZAxis)
- Return Curve.CreateInterpolatedCurve(pts, 3, CurveKnotStyle.Chord, ts, te) ' 3rd degree curve with 'Chord' Knot Style
- Else
- Return Curve.CreateInterpolatedCurve(pts, 3) ' if angle (and height) = 0, then simply interpolate the straight line (no start/end tangents)
- End If
- End Function
-
- ' Implements the Simpson approximation for an integral of function f below
- Public Function Simpson(a As Double, b As Double, n As Integer, theta As Double) As Double 'n should be an even number
- Dim j As Integer, s1 As Double, s2 As Double, h As Double
- h = (b - a) / n
- s1 = 0
- s2 = 0
- For j = 1 To n - 1 Step 2
- s1 = s1 + fn(a + j * h, theta)
- Next j
- For j = 2 To n - 2 Step 2
- s2 = s2 + fn(a + j * h, theta)
- Next j
- Simpson = h / 3 * (fn(a, theta) + 4 * s1 + 2 * s2 + fn(b, theta))
- End Function
-
- ' Specific calculation for the above integration
- Public Function fn(x As Double, theta As Double) As Double
- fn = Math.Sin(x) / (Math.Sqrt(Math.Sin(theta) - Math.Sin(x))) ' from reference {2} formula (12b)
- End Function
-
-
- ' Return the Complete Elliptic integral of the 1st kind
- ' Abramowitz and Stegun p.591, formula 17.3.11
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticK(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum += Math.Pow(m, i) * Math.Pow(term, 2)
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
-
- ' Return the Complete Elliptic integral of the 2nd kind
- ' Abramowitz and Stegun p.591, formula 17.3.12
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticE(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum -= Math.Pow(m, i) * Math.Pow(term, 2) / above
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
- Friend Partial NotInheritable Class Defined
- Private Sub New()
- End Sub
-
- ' Note: most of these values for m and h/L ratio were found with Wolfram Alpha and either specific intercepts (x=0) or local minima/maxima. They should be constant.
- Public Const M_SKETCHY As Double = 0.95 ' value of the m parameter where the curvature near the ends of the curve gets wonky
- Public Const M_MAX As Double = 0.993 ' maximum useful value of the m parameter, above which this algorithm for the form of the curve breaks down
- Public Const M_ZERO_W As Double = 0.826114765984970336 ' value of the m parameter when width = 0
- Public Const M_MAXHEIGHT As Double = 0.701327460663101223 ' value of the m parameter at maximum possible height of the bent rod/wire
- Public Const M_DOUBLE_W As Double = 0.180254422335013983 ' minimum value of the m parameter when two width values are possible for a given height and length
- Public Const DOUBLE_W_HL_RATIO As Double = 0.257342117984635757 ' value of the height/length ratio above which there are two possible width values
- Public Const MAX_HL_RATIO As Double = 0.403140189705650243 ' maximum possible value of the height/length ratio
-
- Public Const MAXERR As Double = 0.0000000001 ' error tolerance
- Public Const MAXIT As Integer = 100 ' maximum number of iterations
- Public Const ROUNDTO As Integer = 10 ' number of decimal places to round off to
- Public Const CURVEDIVS As Integer = 50 ' number of sample points for building the curve (or half-curve as it were)
- End Class</item>
- <item name="Description" type_name="gh_string" type_code="10">A VB.NET scriptable component</item>
- <item name="EditorPosition" type_name="gh_drawing_point" type_code="30">
- <X>98</X>
- <Y>86</Y>
- </item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">34e9c6ff-5f0a-453a-89bb-504c40c19604</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- <item name="NickName" type_name="gh_string" type_code="10">VB</item>
- <item name="OutParameter" type_name="gh_bool" type_code="1">true</item>
- <item name="ReferenceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="ScriptSource" type_name="gh_string" type_code="10"> ' -----------------------------------------------------------------
- ' Elastic Bending Script by Will McElwain
- ' Created February 2014
- '
- ' DESCRIPTION:
- ' This beast creates the so-called 'elastica curve', the shape a long, thin rod or wire makes when it is bent elastically (i.e. not permanently). In this case, force
- ' is assumed to only be applied horizontally (which would be in line with the rod at rest) and both ends are assumed to be pinned or hinged meaning they are free
- ' to rotate (as opposed to clamped, when the end tangent angle is fixed, usually horizontally). An interesting finding is that it doesn't matter what the material or
- ' cross-sectional area is, as long as they're uniform along the entire length. Everything makes the same shape when bent as long as it doesn't cross the threshold
- ' from elastic to plastic (permanent) deformation (I don't bother to find that limit here, but can be found if the yield stress for a material is known).
- '
- ' Key to the formulas used in this script are elliptic integrals, specifically K(m), the complete elliptic integral of the first kind, and E(m), the complete elliptic
- ' integral of the second kind. There was a lot of confusion over the 'm' and 'k' parameters for these functions, as some people use them interchangeably, but they are
- ' not the same. m = k^2 (thus k = Sqrt(m)). I try to use the 'm' parameter exclusively to avoid this confusion. Note that there is a unique 'm' parameter for every
- ' configuration/shape of the elastica curve.
- '
- ' This script tries to find that unique 'm' parameter based on the inputs. The algorithm starts with a test version of m, evaluates an expression, say 2*E(m)/K(m)-1,
- ' then compares the result to what it should be (in this case, a known width/length ratio). Iterate until the correct m is found. Once we have m, we can then calculate
- ' all of the other unknowns, then find points that lie on that curve, then interpolate those points for the actual curve. You can also use Wolfram|Alpha as I did to
- ' find the m parameter based on the equations in this script (example here: http://tiny.cc/t4tpbx for when say width=45.2 and length=67.1).
- '
- ' Other notes:
- ' * This script works with negative values for width, which will creat a self-intersecting curve (as it should). The curvature of the elastica starts to break down around
- ' m=0.95 (~154°), but this script will continue to work until M_MAX, m=0.993 (~169°). If you wish to ignore self-intersecting curves, set ignoreSelfIntersecting to True
- ' * When the only known values are length and height, it is actually possible for certain ratios of height to length to have two valid m values (thus 2 possible widths
- ' and angles). This script will return them both.
- ' * Only the first two valid parameters (of the required ones) will be used, meaning if all four are connected (length, width or a PtB, height, and angle), this script will
- ' only use length and width (or a PtB).
- ' * Depending on the magnitude of your inputs (say if they're really small, like if length < 10), you might have to increase the constant ROUNDTO at the bottom
- '
- ' REFERENCES:
- ' {1} "The elastic rod" by M.E. Pacheco Q. & E. Pina, http://www.scielo.org.mx/pdf/rmfe/v53n2/v53n2a8.pdf
- ' {2} "An experiment in nonlinear beam theory" by A. Valiente, http://www.deepdyve.com/lp/doc/I3lwnxdfGz , also here: http://tiny.cc/Valiente_AEiNBT
- ' {3} "Snap buckling, writhing and Loop formation In twisted rods" by V.G.A. GOSS, http://myweb.lsbu.ac.uk/~gossga/thesisFinal.pdf
- ' {4} "Theory of Elastic Stability" by Stephen Timoshenko, http://www.scribd.com/doc/50402462/Timoshenko-Theory-of-Elastic-Stability (start on p. 76)
- '
- ' INPUT:
- ' PtA - First anchor point (required)
- ' PtB - Second anchor point (optional, though 2 out of the 4--length, width, height, angle--need to be specified)
- ' [note that PtB can be the same as PtA (meaning width would be zero)]
- ' [also note that if a different width is additionally specified that's not equal to the distance between PtA and PtB, then the end point will not equal PtB anymore]
- ' Pln - Plane of the bent rod/wire, which bends up in the +y direction. The line between PtA and PtB (if specified) must be parallel to the x-axis of this plane
- '
- ' ** 2 of the following 4 need to be specified **
- ' Len - Length of the rod/wire, which needs to be > 0
- ' Wid - Width between the endpoints of the curve [note: if PtB is specified in addition, and distance between PtA and PtB <> width, the end point will be relocated
- ' Ht - Height of the bent rod/wire (when negative, curve will bend downward, relative to the input plane, instead)
- ' Ang - Inner departure angle or tangent angle (in radians) at the ends of the bent rod/wire. Set up so as width approaches length (thus height approaches zero), angle approaches zero
- '
- ' * Following variables only needed for optional calculating of bending force, not for shape of curve.
- ' E - Young's modulus (modulus of elasticity) in GPa (=N/m^2) (material-specific. for example, 7075 aluminum is roughly 71.7 GPa)
- ' I - Second moment of area (or area moment of inertia) in m^4 (cross-section-specific. for example, a hollow rod
- ' would have I = pi * (outer_diameter^4 - inner_diameter^4) / 32
- ' Note: E*I is also known as flexural rigidity or bending stiffness
- '
- ' OUTPUT:
- ' out - only for debugging messages
- ' Pts - the list of points that approximate the shape of the elastica
- ' Crv - the 3rd-degree curve interpolated from those points (with accurate start & end tangents)
- ' L - the length of the rod/wire
- ' W - the distance (width) between the endpoints of the rod/wire
- ' H - the height of the bent rod/wire
- ' A - the tangent angle at the (start) end of the rod/wire
- ' F - the force needed to hold the rod/wire in a specific shape (based on the material properties & cross-section) **be sure your units for 'I' match your units for the
- ' rest of your inputs (length, width, etc.). Also note that the critical buckling load (force) that makes the rod/wire start to bend can be found at height=0
- '
- ' THANKS TO:
- ' Mårten Nettelbladt (thegeometryofbending.blogspot.com)
- ' Daniel Piker (Kangaroo plugin)
- ' David Rutten (Grasshopper guru)
- ' Euler & Bernoulli (the O.G.'s)
- '
- ' -----------------------------------------------------------------
-
- Dim ignoreSelfIntersecting As Boolean = False ' set to True if you don't want to output curves where width < 0, which creates a self-intersecting curve
-
- Dim inCt As Integer = 0 ' count the number of required parameters that are receiving data
- Dim length As Double
- Dim width As System.Object = Nothing ' need to set as Nothing so we can check if it has been assigned a value later
- Dim height As Double
- Dim angle As Double
- Dim m As Double
- Dim multiple_m As New List(Of Double)
- Dim AtoB As Line
- Dim flip_H As Boolean = False ' if height is negative, this flag will be set
- Dim flip_A As Boolean = False ' if angle is negative, this flag will be set
-
- If Not IsSet("Pln") Then
- Msg("error", "Base plane is not set")
- Return
- End If
-
- If Not IsSet("PtA") Then
- Msg("error", "Point A is not set")
- Return
- End If
-
- If Math.Round(Pln.DistanceTo(PtA), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point A is not on the base plane")
- Return
- End If
-
- Dim refPlane As Plane = Pln ' create a reference plane = input plane and set the origin of it to PtA in case PtA isn't the origin already
- refPlane.Origin = PtA
-
- If IsSet("PtB") Then
- If Math.Round(Pln.DistanceTo(PtB), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point B is not on the base plane")
- Return
- End If
-
- AtoB = New Line(PtA, PtB)
- If AtoB.Length <> 0 And Not AtoB.Direction.IsPerpendicularTo(Pln.YAxis) Then
- Msg("error", "The line between PtA and PtB is not perpendicular to the Y-axis of the specified plane")
- Return
- End If
-
- inCt += 1
- If IsSet("Wid") Then Msg("info", "Wid will override the distance between PtA and PtB. If you do not want this to happen, disconnect PtB or Wid.")
-
- width = PtA.DistanceTo(PtB) ' get the width (distance) between PtA and PtB
-
- Dim refPtB As Point3d
- refPlane.RemapToPlaneSpace(PtB, refPtB)
- If refPtB.X < 0 Then width = -width ' check if PtB is to the left of PtA...if so, width is negative
- End If
-
- If IsSet("Len") Then inCt += 1
- If IsSet("Wid") Then inCt += 1
- If IsSet("Ht") Then inCt += 1
- If IsSet("Ang") Then inCt += 1
- If inCt > 2 Then Msg("info", "More parameters set than are required (out of length, width, height, angle). Only using the first two valid ones.")
-
- ' check for connected/specified inputs. note: only the first two that it comes across will be used
- If IsSet("Len") Then ' if length is specified then...
- If Len <= 0 Then
- Msg("error", "Length cannot be negative or zero")
- Return
- End If
- If IsSet("Wid") Then ' find height & angle based on length and specified width
- If Wid > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If Wid = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- width = Wid
- Else
- m = SolveMFromLenWid(Len, Wid)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- width = Wid
- End If
-
- Else If width IsNot Nothing Then ' find height & angle based on length and calculated width (distance between PtA and PtB)
- If width > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If width = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- Else
- m = SolveMFromLenWid(Len, width)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
-
- Else If IsSet("Ht") Then ' find width & angle based on length and height ** possible to return 2 results **
- If Math.Abs(Ht / Len) > Defined.MAX_HL_RATIO Then
- Msg("error", "Height not possible with given length")
- Return
- End If
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- width = Len
- angle = 0
- Else
- multiple_m = SolveMFromLenHt(Len, Ht) ' note that it's possible for two values of m to be found if height is close to max height
- If multiple_m.Count = 1 Then ' if there's only one m value returned, calculate the width & angle here. we'll deal with multiple m values later
- m = multiple_m.Item(0)
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find width & height based on length and angle
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- width = Len
- height = 0
- Else
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to length")
- Return
- End If
- length = Len
-
- Else If IsSet("Wid") Then ' if width is specified then...
- If IsSet("Ht") Then ' find length & angle based on specified width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = Wid
- angle = 0
- Else
- m = SolveMFromWidHt(Wid, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on specified width and angle
- If Wid = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = Wid
- height = 0
- Else
- length = Wid / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to width (Wid)")
- Return
- End If
- width = Wid
-
- Else If width IsNot Nothing Then ' if width is determined by PtA and PtB then...
- If IsSet("Ht") Then ' find length & angle based on calculated width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = width
- angle = 0
- Else
- m = SolveMFromWidHt(width, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on calculated width and angle
- If width = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = width
- height = 0
- Else
- length = width / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to PtA and PtB")
- Return
- End If
-
- Else If IsSet("Ht") Then ' if height is specified then...
- If IsSet("Ang") Then ' find length & width based on height and angle
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_H = True
- flip_A = True
- End If
- If Ht = 0 Then
- Msg("error", "Height can't = 0 if only height and angle are specified")
- Return
- Else
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = Not flip_A
- flip_H = Not flip_H
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then
- Msg("error", "Angle can't = 0 if only height and angle are specified")
- Return
- Else
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- width = Cal_W(length, m) ' L * (2 * E(m) / K(m) - 1)
- End If
- angle = Ang
- End If
- height = Ht
-
- Else
- Msg("error", "Need to specify one more parameter in addition to height")
- Return
- End If
-
- Else If IsSet("Ang") Then
- Msg("error", "Need to specify one more parameter in addition to angle")
- Return
- Else
- Msg("error", "Need to specify two of the four parameters: length, width (or PtB), height, and angle")
- Return
- End If
-
- If m > Defined.M_MAX Then
- Msg("error", "Form of curve not solvable with current algorithm and given inputs")
- Return
- End If
-
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- If multiple_m.Count > 1 Then ' if there is more than one m value returned, calculate the width, angle, and curve for each
- Dim multi_pts As New DataTree(Of Point3d)
- Dim multi_crv As New List(Of Curve)
- Dim tmp_pts As New List(Of Point3d)
- Dim multi_W, multi_A, multi_F As New List(Of Double)
- Dim j As Integer = 0 ' used for creating a new branch (GH_Path) for storing pts which is itself a list of points
-
- For Each m_val As Double In multiple_m
- width = Cal_W(length, m_val) 'length * (2 * EllipticE(m_val) / EllipticK(m_val) - 1)
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("warning", "One curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Continue For
- End If
-
- If m_val >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve whose width = " & Math.Round(width, 4) & " is not guaranteed")
-
- angle = Cal_A(m_val) 'Math.Asin(2 * m_val - 1)
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- tmp_pts = FindBendForm(length, width, m_val, angle, refPlane)
- multi_pts.AddRange(tmp_pts, New GH_Path(j))
- multi_crv.Add(MakeCurve(tmp_pts, angle, refPlane))
-
- multi_W.Add(width)
- If flip_A Then angle = -angle
- multi_A.Add(angle)
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- multi_F.Add(EllipticK(m_val) ^ 2 * E * I / length ^ 2) ' from reference {4} pg. 79
-
- j += 1
- refPlane.Origin = PtA ' reset the reference plane origin to PtA for the next m_val
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m_val & ", k=" & Math.Sqrt(m_val) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- Next
-
- ' assign the outputs
- Pts = multi_pts
- Crv = multi_crv
- L = length
- W = multi_W
- If flip_H Then height = -height
- H = height
- A = multi_A
- F = multi_F
-
- Else ' only deal with the single m value
- If m >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve at these parameters is not guaranteed")
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("error", "Curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Return
- End If
-
- Pts = FindBendForm(length, width, m, angle, refPlane)
- Crv = MakeCurve(pts, angle, refPlane)
- L = length
- W = width
- If flip_H Then height = -height
- H = height
- If flip_A Then angle = -angle
- A = angle
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- F = EllipticK(m) ^ 2 * E * I / length ^ 2 ' from reference {4} pg. 79. Note: the critical buckling (that makes the rod/wire start to bend) can be found at height=0 (width=length)
-
- 'height = Math.Sqrt(((2 * Len / 5) ^ 2 - ((Wid - Len / 5) / 2) ^ 2) ' quick approximation discovered by Mårten of 'Geometry of Bending' fame ( http://tiny.cc/it2pbx )
- 'width = (Len +/- 2 * Math.Sqrt(4 * Len ^ 2 - 25 * Ht ^ 2)) / 5 ' derived from above
- 'length = (2 * Math.Sqrt(15 * Ht ^ 2 + 4 * Wid ^ 2) - Wid) / 3 ' derived from above
-
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m & ", k=" & Math.Sqrt(m) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- End If
- </item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>615</X>
- <Y>822</Y>
- <W>84</W>
- <H>184</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>657</X>
- <Y>914</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="19">
- <item name="InputCount" type_name="gh_int32" type_code="3">9</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="2" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="3" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="4" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="5" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="6" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="7" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="8" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">8</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">3ede854e-c753-40eb-84cb-b48008f14fd4</item>
- <item name="OutputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="2" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="3" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="4" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="5" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="6" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="7" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="17">
- <chunk name="InputParam" index="0">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtA</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e44ef3d7-d80d-4847-b3c9-7145c5d256c7</item>
- <item name="Name" type_name="gh_string" type_code="10">PtA</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtA</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">544607c8-b250-4465-bd1a-e6ed510b2090</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>824</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>834</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtB</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f3a5f81b-cbeb-43a5-b9d7-95ddf8329091</item>
- <item name="Name" type_name="gh_string" type_code="10">PtB</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtB</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>844</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>854</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="2">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Pln</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">25fe63c8-a9a1-43dd-ba6c-ff444bb1bd38</item>
- <item name="Name" type_name="gh_string" type_code="10">Pln</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pln</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2e367eec-73c9-49fe-931b-de57feb15198</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">3897522d-58e9-4d60-b38c-978ddacfedd8</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>864</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>874</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="3">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Len</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c645a879-0d63-4de2-8207-39e77ea0b36a</item>
- <item name="Name" type_name="gh_string" type_code="10">Len</item>
- <item name="NickName" type_name="gh_string" type_code="10">Len</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">7e001f0c-1ecd-4198-95f7-0d0278815c2b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>884</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>894</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="4">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Wid</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">563b27b8-1de0-4076-9540-f1f6287d4585</item>
- <item name="Name" type_name="gh_string" type_code="10">Wid</item>
- <item name="NickName" type_name="gh_string" type_code="10">Wid</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>904</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>914</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="5">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ht</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f945874f-3911-45dd-a65b-5931b59aaeda</item>
- <item name="Name" type_name="gh_string" type_code="10">Ht</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ht</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>924</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>934</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="6">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ang</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7cbb4f70-f9aa-4f07-bc67-aac4eaace9e1</item>
- <item name="Name" type_name="gh_string" type_code="10">Ang</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ang</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">b2a8f43d-df9e-4385-bfbe-4e7a54acdc52</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>944</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>954</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="7">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable E</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">757c9fbf-c87a-438c-9240-7ed119111c17</item>
- <item name="Name" type_name="gh_string" type_code="10">E</item>
- <item name="NickName" type_name="gh_string" type_code="10">E</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">0068d51d-c81e-4187-8df3-5835ab363a73</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>964</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>974</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="8">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable I</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">dfba63c4-6cba-4504-bd15-6d7b03b308e0</item>
- <item name="Name" type_name="gh_string" type_code="10">I</item>
- <item name="NickName" type_name="gh_string" type_code="10">I</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">c29e43b1-f147-4596-9a27-65e202efbf44</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>617</X>
- <Y>984</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>631</X>
- <Y>994</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Print, Reflect and Error streams</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e74891fd-659b-4fdb-833d-cbae9b2064f7</item>
- <item name="Name" type_name="gh_string" type_code="10">out</item>
- <item name="NickName" type_name="gh_string" type_code="10">out</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>824</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>835.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Pts</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">74a1959d-f66e-4c81-8b36-b26ed2379bb0</item>
- <item name="Name" type_name="gh_string" type_code="10">Pts</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pts</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>846</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>857.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Crv</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9cf1549b-e355-4e34-8c66-56776a6693a3</item>
- <item name="Name" type_name="gh_string" type_code="10">Crv</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>869</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>880.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="3">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter L</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">03e53700-d1d7-480a-9312-c1af517baedd</item>
- <item name="Name" type_name="gh_string" type_code="10">L</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>891</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>902.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="4">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter W</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">09f794fe-078e-4e7b-840b-9d52b913b097</item>
- <item name="Name" type_name="gh_string" type_code="10">W</item>
- <item name="NickName" type_name="gh_string" type_code="10">W</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>914</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>925.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="5">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter H</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2373426a-a151-4361-9f8e-d19fef664dc8</item>
- <item name="Name" type_name="gh_string" type_code="10">H</item>
- <item name="NickName" type_name="gh_string" type_code="10">H</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>936</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>947.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="6">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter A</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">619887fe-9427-4cea-b7fd-0b8e37ad0966</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>959</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>970.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="7">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter F</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">20b5374e-e220-4840-8424-dcf1b57d3ad2</item>
- <item name="Name" type_name="gh_string" type_code="10">F</item>
- <item name="NickName" type_name="gh_string" type_code="10">F</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>672</X>
- <Y>981</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>684.5</X>
- <Y>992.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="46">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7e001f0c-1ecd-4198-95f7-0d0278815c2b</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">length</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>160</X>
- <Y>874</Y>
- <W>382</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>160.4443</X>
- <Y>874.5179</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">145.76</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="47">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">37000574-d15c-4f7d-92d9-b148cb8b434c</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">74a1959d-f66e-4c81-8b36-b26ed2379bb0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>784</X>
- <Y>791</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>809.0988</X>
- <Y>803.2372</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="48">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">982de226-ec32-4b13-b043-f53881d2e028</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">1487d807-5f9b-4abc-9b8d-effa22608b5d</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>849</X>
- <Y>986</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>849.9546</X>
- <Y>986.3983</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="49">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">0d77c51e-584f-44e8-aed2-c2ddf4803888</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in radians to degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f53628df-d187-47f6-8939-9a7cff89ea30</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">Deg</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>764</X>
- <Y>997</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>794</X>
- <Y>1011</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6e9d9246-ea82-40e7-a5c7-6200a0750140</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">619887fe-9427-4cea-b7fd-0b8e37ad0966</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>766</X>
- <Y>999</Y>
- <W>13</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>774</X>
- <Y>1011</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1487d807-5f9b-4abc-9b8d-effa22608b5d</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>809</X>
- <Y>999</Y>
- <W>17</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>817.5</X>
- <Y>1011</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="50">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f1c497f2-a656-46bd-97ff-e6f55517ad83</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>390</X>
- <Y>743</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>421</X>
- <Y>775</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f274b47b-1218-4782-8247-527101e3221f</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>392</X>
- <Y>745</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>400.5</X>
- <Y>755</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8bb61e7c-9fbb-42a5-be49-c22980dcde8c</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">fd7d6e04-d8e1-46ec-9660-5d3b6392bb5c</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>392</X>
- <Y>765</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>400.5</X>
- <Y>775</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">-100</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fd7813a9-1054-41ca-9f6b-83a5fd0efcce</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>392</X>
- <Y>785</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>400.5</X>
- <Y>795</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">544607c8-b250-4465-bd1a-e6ed510b2090</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>436</X>
- <Y>745</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>445.5</X>
- <Y>775</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="51">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">d5967b9f-e8ee-436b-a8ad-29fdcecf32d5</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of generic curves</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">12b4fe3c-7f43-444b-be77-19b89104763b</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">9cf1549b-e355-4e34-8c66-56776a6693a3</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>784</X>
- <Y>825</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>809.8876</X>
- <Y>837.7669</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="52">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">17b7152b-d30d-4d50-b9ef-c9fe25576fc2</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8cd68a99-5c0c-40f6-8f6c-c57b65a7c0fb</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">XY</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>492</X>
- <Y>837</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>523</X>
- <Y>851</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d599495e-da0d-4b5f-96ca-d429779f4f7e</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">544607c8-b250-4465-bd1a-e6ed510b2090</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>494</X>
- <Y>839</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>502.5</X>
- <Y>851</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2e367eec-73c9-49fe-931b-de57feb15198</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>538</X>
- <Y>839</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>546</X>
- <Y>851</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="53">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a4cd2751-414d-42ec-8916-476ebf62d7fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in degrees to radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0de50cbe-99d5-4598-bc61-8cc3eacb616f</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">Rad</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>481</X>
- <Y>954</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>512</X>
- <Y>968</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8514650b-5a4b-4bd4-b272-4db0089c786a</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">5eda29cf-b445-43dc-9fe0-d002172bab75</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>483</X>
- <Y>956</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>491.5</X>
- <Y>968</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b2a8f43d-df9e-4385-bfbe-4e7a54acdc52</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>527</X>
- <Y>956</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>535</X>
- <Y>968</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="54">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5eda29cf-b445-43dc-9fe0-d002172bab75</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">angle °</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>167</X>
- <Y>960</Y>
- <W>295</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>167.2024</X>
- <Y>960.4379</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">170</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">60</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="55">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e59fa8de-3b01-40cb-9090-35007fc19bba</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">03e53700-d1d7-480a-9312-c1af517baedd</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>739</X>
- <Y>877</Y>
- <W>97</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>739.8782</X>
- <Y>877.1644</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="56">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">552a2357-924c-4919-bc11-da8244c7b3c6</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">09f794fe-078e-4e7b-840b-9d52b913b097</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>850</X>
- <Y>902</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>850.7964</X>
- <Y>902.0322</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="57">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7d007978-016f-4867-9bef-68c359c70508</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2373426a-a151-4361-9f8e-d19fef664dc8</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>738</X>
- <Y>937</Y>
- <W>97</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>738.8221</X>
- <Y>937.5484</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="58">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6f2330d2-0e46-4e09-9ac5-7b7d2a1d3954</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">0.5</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>988</X>
- <Y>843</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>988.351</X>
- <Y>843.602</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="59">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fd7d6e04-d8e1-46ec-9660-5d3b6392bb5c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">-100</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>312</X>
- <Y>766</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>312.841</X>
- <Y>766.482</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="60">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">8cc3a196-f6a0-49ea-9ed9-0cb343a3ae64</item>
- <item name="Name" type_name="gh_string" type_code="10">XZ Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World XZ plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8b551e34-6c38-4a2b-9e47-c0b841fb2d47</item>
- <item name="Name" type_name="gh_string" type_code="10">XZ Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">XZ</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1145</X>
- <Y>713</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1176</X>
- <Y>727</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6e5d1c51-960b-46f9-898e-f2b11bdb8846</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">544607c8-b250-4465-bd1a-e6ed510b2090</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1147</X>
- <Y>715</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1155.5</X>
- <Y>727</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World XZ plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0654eb92-001e-43e0-b38a-58a5d0d80f8e</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1191</X>
- <Y>715</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1199</X>
- <Y>727</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="61">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">95f9fd7f-37dc-4bd8-8105-7301ef052bdd</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">160</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>306</X>
- <Y>175</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>306.7406</X>
- <Y>175.2052</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="62">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>-552.3402</X>
- <Y>73.81226</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>-194.0922</X>
- <Y>73.81226</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>-194.0922</X>
- <Y>88.8396</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>-552.3402</X>
- <Y>88.8396</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">501dc92a-f2db-4bb4-8054-89bd8827333b</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">16</item>
- <item name="Text" type_name="gh_string" type_code="10">for testing different points on an alternate plane</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>-557.3402</X>
- <Y>68.81226</Y>
- <W>368.248</W>
- <H>25.02734</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>-552.3402</X>
- <Y>73.81226</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="63">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>317.6904</X>
- <Y>47.65552</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>768.3664</X>
- <Y>47.65552</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>768.3664</X>
- <Y>71.13574</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>317.6904</X>
- <Y>71.13574</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">32f0e79e-6dca-4f24-9b30-17ca99e1ac07</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">25</item>
- <item name="Text" type_name="gh_string" type_code="10">Elastic Bending Script - Main Example</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>312.6904</X>
- <Y>42.65552</Y>
- <W>460.676</W>
- <H>33.48022</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>317.6904</X>
- <Y>47.65552</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="64">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>559.8143</X>
- <Y>683.617</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>913.3091</X>
- <Y>683.2137</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>913.3262</X>
- <Y>698.241</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>559.8313</X>
- <Y>698.6443</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">834f8190-7e8f-4039-8f4f-5e398c86ddfa</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">16</item>
- <item name="Text" type_name="gh_string" type_code="10">At 60°, minimum curve radius = height. Try 90°</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>554.8143</X>
- <Y>678.2137</Y>
- <W>363.5119</W>
- <H>25.43066</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>559.8143</X>
- <Y>683.617</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="65">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">079bd9bd-54a0-41d4-98af-db999015f63d</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="10">
- <item name="AdditionalSource" type_name="gh_string" type_code="10"> Private Function IsSet(ByVal param As String) As Boolean ' Check if an input parameter has data
- Dim i As Integer = Component.Params.IndexOfInputParam(param)
- If i > -1 Then
- Return Component.Params.Input.ElementAt(i).DataType > 1 ' input parameter DataType of 1 means it's not receiving input (internal or external)
- Else
- Msg("error", "Input parameter '" & param & "' not found")
- Return False
- End If
- End Function
-
- Private Sub Msg(ByVal type As String, ByVal msg As String) ' Output an error, warning, or informational message
- Select Case type
- Case "error"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Error, msg)
- Print("Error: " & msg)
- Case "warning"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, msg)
- Print("Warning: " & msg)
- Case "info"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Remark, msg)
- Print(msg)
- End Select
- End Sub
-
- ' Solve for the m parameter from length and width (reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m))
- Private Function SolveMFromLenWid(ByVal L As Double, ByVal w As Double) As Double
- If w = 0 Then
- Return Defined.M_ZERO_W ' for the boundry condition width = 0, bypass the function and return the known m value
- End If
-
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwl As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwl = 2 * EllipticE(m) / EllipticK(m) - 1 ' calculate w/L with the test value of m
- If cwl < w / L Then ' compares the calculated w/L with the actual w/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- Return m
- End Function
-
- ' Solve for the m parameter from length and height (reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m))
- ' Note that it's actually possible to find 2 valid values for m (hence 2 width values) at certain height values
- Private Function SolveMFromLenHt(ByVal L As Double, ByVal h As Double) As List(Of Double)
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim twoWidths As Boolean = h / L >= Defined.DOUBLE_W_HL_RATIO And h / L < Defined.MAX_HL_RATIO ' check to see if h/L is within the range where 2 solutions for the width are possible
- Dim m As Double
- Dim mult_m As New List(Of Double)
- Dim chl As Double
-
- If twoWidths Then
- ' find the first of two possible solutions for m with the following limits:
- lower = Defined.M_DOUBLE_W ' see constants at bottom of script
- upper = Defined.M_MAXHEIGHT ' see constants at bottom of script
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
-
- ' then find the second of two possible solutions for m with the following limits:
- lower = Defined.M_MAXHEIGHT ' see constants at bottom of script
- upper = 1
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl < h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- If m <= Defined.M_MAX Then ' return this m parameter only if it falls within the maximum useful value (above which the curve breaks down)
- mult_m.Add(m)
- End If
-
- Else
- ' find the one possible solution for the m parameter
- upper = Defined.M_DOUBLE_W ' limit the upper end of the search to the maximum value of m for which only one solution exists
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
- End If
-
- Return mult_m
- End Function
-
- ' Solve for the m parameter from width and height (derived from reference {1} equations (33) and (34) with same notes as above)
- Private Function SolveMFromWidHt(ByVal w As Double, ByVal h As Double) As Double
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwh As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwh = (2 * EllipticE(m) - EllipticK(m)) / Math.Sqrt(m) ' calculate w/h with the test value of m
- If cwh < w / h Then ' compares the calculated w/h with the actual w/h then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- Return m
- End Function
-
- ' Calculate length based on height and an m parameter, derived from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_L(ByVal h As Double, ByVal m As Double) As Double
- Return h * EllipticK(m) / Math.Sqrt(m)
- End Function
-
- ' Calculate width based on length and an m parameter, derived from reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m)
- Private Function Cal_W(ByVal L As Double, ByVal m As Double) As Double
- Return L * (2 * EllipticE(m) / EllipticK(m) - 1)
- End Function
-
- ' Calculate height based on length and an m parameter, from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_H(ByVal L As Double, ByVal m As Double) As Double
- Return L * Math.Sqrt(m) / EllipticK(m)
- End Function
-
- ' Calculate the unique m parameter based on a start tangent angle, from reference {2}, just above equation (9a), that states k = Sin(angle / 2 + Pi / 4),
- ' but as m = k^2 and due to this script's need for an angle rotated 90° versus the one in reference {1}, the following formula is the result
- ' New note: verified by reference {4}, pg. 78 at the bottom
- Private Function Cal_M(ByVal a As Double) As Double
- Return (1 - Math.Cos(a)) / 2 ' equal to Sin^2(a/2) too
- End Function
-
- ' Calculate start tangent angle based on an m parameter, derived from above formula
- Private Function Cal_A(ByVal m As Double) As Double
- Return Math.Acos(1 - 2 * m)
- End Function
-
- ' This is the heart of this script, taking the found (or specified) length, width, and angle values along with the found m parameter to create
- ' a list of points that approximate the shape or form of the elastica. It works by finding the x and y coordinates (which are reversed versus
- ' the original equations (12a) and (12b) from reference {2} due to the 90° difference in orientation) based on the tangent angle along the curve.
- ' See reference {2} for more details on how they derived it. Note that to simplify things, the algorithm only calculates the points for half of the
- ' curve, then mirrors those points along the y-axis.
- Private Function FindBendForm(ByVal L As Double, ByVal w As Double, ByVal m As Double, ByVal ang As Double, ByVal refPln As Plane) As List(Of Point3d)
- L = L / 2 ' because the below algorithm is based on the formulas in reference {2} for only half of the curve
- w = w / 2 ' same
-
- If ang = 0 Then ' if angle (and height) = 0, then simply return the start and end points of the straight line
- Dim out As New List(Of Point3d)
- out.Add(refPln.PointAt(w, 0, 0))
- out.Add(refPln.PointAt(-w, 0, 0))
- Return out
- End If
-
- Dim x As Double
- Dim y As Double
- Dim halfCurvePts As New List(Of Point3d)
- Dim fullCurvePts As New List(Of Point3d)
- Dim translatedPts As New List(Of Point3d)
-
- ang -= Math.PI / 2 ' a hack to allow this algorithm to work, since the original curve in paper {2} was rotated 90°
- Dim angB As Double = ang + (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' angB is the 'lowercase theta' which should be in formula {2}(12b) as the interval
- ' start [a typo...see equation(3)]. It's necessary to start angB at ang + [interval] instead of just ang due to integration failing at angB = ang
- halfCurvePts.Add(New Point3d(w, 0, 0)) ' start with this known initial point, as integration will fail when angB = ang
-
- ' each point {x, y} is calculated from the tangent angle, angB, that occurs at each point (which is why this iterates from ~ang to -pi/2, the known end condition)
- Do While Math.Round(angB, Defined.ROUNDTO) >= Math.Round(-Math.PI / 2, Defined.ROUNDTO)
- y = (Math.Sqrt(2) * Math.Sqrt(Math.Sin(ang) - Math.Sin(angB)) * (w + L)) / (2 * EllipticE(m)) ' note that x and y are swapped vs. (12a) and (12b)
- x = (L / (Math.Sqrt(2) * EllipticK(m))) * Simpson(angB, -Math.PI / 2, 500, ang) ' calculate the Simpson approximation of the integral (function f below)
- ' over the interval angB ('lowercase theta') to -pi/2. side note: is 500 too few iterations for the Simson algorithm?
-
- If Math.Round(x, Defined.ROUNDTO) = 0 Then x = 0
- halfCurvePts.Add(New Point3d(x, y, 0))
-
- angB += (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' onto the next tangent angle
- Loop
-
- ' After finding the x and y values for half of the curve, add the {-x, y} values for the rest of the curve
- For Each point As Point3d In halfCurvePts
- If Math.Round(point.X, Defined.ROUNDTO) = 0 Then
- If Math.Round(point.Y, Defined.ROUNDTO) = 0 Then
- fullCurvePts.Add(New Point3d(0, 0, 0)) ' special case when width = 0: when x = 0, only duplicate the point when y = 0 too
- End If
- Else
- fullCurvePts.Add(New Point3d(-point.X, point.Y, 0))
- End If
- Next
- halfCurvePts.Reverse
- fullCurvePts.AddRange(halfCurvePts)
-
- For Each p As Point3d In fullCurvePts
- translatedPts.Add(refPln.PointAt(p.X, p.Y, p.Z)) ' translate the points from the reference plane to the world plane
- Next
-
- Return translatedPts
- End Function
-
- ' Interpolates the points from FindBendForm to create the Elastica curve. Uses start & end tangents for greater accuracy.
- Private Function MakeCurve(ByVal pts As List(Of Point3d), ByVal ang As Double, ByVal refPln As Plane) As Curve
- If ang <> 0 Then
- Dim ts, te As New Vector3d(refPln.XAxis)
- ts.Rotate(ang, refPln.ZAxis)
- te.Rotate(-ang, refPln.ZAxis)
- Return Curve.CreateInterpolatedCurve(pts, 3, CurveKnotStyle.Chord, ts, te) ' 3rd degree curve with 'Chord' Knot Style
- Else
- Return Curve.CreateInterpolatedCurve(pts, 3) ' if angle (and height) = 0, then simply interpolate the straight line (no start/end tangents)
- End If
- End Function
-
- ' Implements the Simpson approximation for an integral of function f below
- Public Function Simpson(a As Double, b As Double, n As Integer, theta As Double) As Double 'n should be an even number
- Dim j As Integer, s1 As Double, s2 As Double, h As Double
- h = (b - a) / n
- s1 = 0
- s2 = 0
- For j = 1 To n - 1 Step 2
- s1 = s1 + fn(a + j * h, theta)
- Next j
- For j = 2 To n - 2 Step 2
- s2 = s2 + fn(a + j * h, theta)
- Next j
- Simpson = h / 3 * (fn(a, theta) + 4 * s1 + 2 * s2 + fn(b, theta))
- End Function
-
- ' Specific calculation for the above integration
- Public Function fn(x As Double, theta As Double) As Double
- fn = Math.Sin(x) / (Math.Sqrt(Math.Sin(theta) - Math.Sin(x))) ' from reference {2} formula (12b)
- End Function
-
-
- ' Return the Complete Elliptic integral of the 1st kind
- ' Abramowitz and Stegun p.591, formula 17.3.11
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticK(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum += Math.Pow(m, i) * Math.Pow(term, 2)
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
-
- ' Return the Complete Elliptic integral of the 2nd kind
- ' Abramowitz and Stegun p.591, formula 17.3.12
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticE(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum -= Math.Pow(m, i) * Math.Pow(term, 2) / above
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
- Friend Partial NotInheritable Class Defined
- Private Sub New()
- End Sub
-
- ' Note: most of these values for m and h/L ratio were found with Wolfram Alpha and either specific intercepts (x=0) or local minima/maxima. They should be constant.
- Public Const M_SKETCHY As Double = 0.95 ' value of the m parameter where the curvature near the ends of the curve gets wonky
- Public Const M_MAX As Double = 0.993 ' maximum useful value of the m parameter, above which this algorithm for the form of the curve breaks down
- Public Const M_ZERO_W As Double = 0.826114765984970336 ' value of the m parameter when width = 0
- Public Const M_MAXHEIGHT As Double = 0.701327460663101223 ' value of the m parameter at maximum possible height of the bent rod/wire
- Public Const M_DOUBLE_W As Double = 0.180254422335013983 ' minimum value of the m parameter when two width values are possible for a given height and length
- Public Const DOUBLE_W_HL_RATIO As Double = 0.257342117984635757 ' value of the height/length ratio above which there are two possible width values
- Public Const MAX_HL_RATIO As Double = 0.403140189705650243 ' maximum possible value of the height/length ratio
-
- Public Const MAXERR As Double = 0.0000000001 ' error tolerance
- Public Const MAXIT As Integer = 100 ' maximum number of iterations
- Public Const ROUNDTO As Integer = 10 ' number of decimal places to round off to
- Public Const CURVEDIVS As Integer = 50 ' number of sample points for building the curve (or half-curve as it were)
- End Class</item>
- <item name="Description" type_name="gh_string" type_code="10">A VB.NET scriptable component</item>
- <item name="EditorPosition" type_name="gh_drawing_point" type_code="30">
- <X>98</X>
- <Y>86</Y>
- </item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bf1f4616-5fd9-426e-9474-52a076d17bf4</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- <item name="NickName" type_name="gh_string" type_code="10">VB</item>
- <item name="OutParameter" type_name="gh_bool" type_code="1">true</item>
- <item name="ReferenceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="ScriptSource" type_name="gh_string" type_code="10"> ' -----------------------------------------------------------------
- ' Elastic Bending Script by Will McElwain
- ' Created February 2014
- '
- ' DESCRIPTION:
- ' This beast creates the so-called 'elastica curve', the shape a long, thin rod or wire makes when it is bent elastically (i.e. not permanently). In this case, force
- ' is assumed to only be applied horizontally (which would be in line with the rod at rest) and both ends are assumed to be pinned or hinged meaning they are free
- ' to rotate (as opposed to clamped, when the end tangent angle is fixed, usually horizontally). An interesting finding is that it doesn't matter what the material or
- ' cross-sectional area is, as long as they're uniform along the entire length. Everything makes the same shape when bent as long as it doesn't cross the threshold
- ' from elastic to plastic (permanent) deformation (I don't bother to find that limit here, but can be found if the yield stress for a material is known).
- '
- ' Key to the formulas used in this script are elliptic integrals, specifically K(m), the complete elliptic integral of the first kind, and E(m), the complete elliptic
- ' integral of the second kind. There was a lot of confusion over the 'm' and 'k' parameters for these functions, as some people use them interchangeably, but they are
- ' not the same. m = k^2 (thus k = Sqrt(m)). I try to use the 'm' parameter exclusively to avoid this confusion. Note that there is a unique 'm' parameter for every
- ' configuration/shape of the elastica curve.
- '
- ' This script tries to find that unique 'm' parameter based on the inputs. The algorithm starts with a test version of m, evaluates an expression, say 2*E(m)/K(m)-1,
- ' then compares the result to what it should be (in this case, a known width/length ratio). Iterate until the correct m is found. Once we have m, we can then calculate
- ' all of the other unknowns, then find points that lie on that curve, then interpolate those points for the actual curve. You can also use Wolfram|Alpha as I did to
- ' find the m parameter based on the equations in this script (example here: http://tiny.cc/t4tpbx for when say width=45.2 and length=67.1).
- '
- ' Other notes:
- ' * This script works with negative values for width, which will creat a self-intersecting curve (as it should). The curvature of the elastica starts to break down around
- ' m=0.95 (~154°), but this script will continue to work until M_MAX, m=0.993 (~169°). If you wish to ignore self-intersecting curves, set ignoreSelfIntersecting to True
- ' * When the only known values are length and height, it is actually possible for certain ratios of height to length to have two valid m values (thus 2 possible widths
- ' and angles). This script will return them both.
- ' * Only the first two valid parameters (of the required ones) will be used, meaning if all four are connected (length, width or a PtB, height, and angle), this script will
- ' only use length and width (or a PtB).
- ' * Depending on the magnitude of your inputs (say if they're really small, like if length < 10), you might have to increase the constant ROUNDTO at the bottom
- '
- ' REFERENCES:
- ' {1} "The elastic rod" by M.E. Pacheco Q. & E. Pina, http://www.scielo.org.mx/pdf/rmfe/v53n2/v53n2a8.pdf
- ' {2} "An experiment in nonlinear beam theory" by A. Valiente, http://www.deepdyve.com/lp/doc/I3lwnxdfGz , also here: http://tiny.cc/Valiente_AEiNBT
- ' {3} "Snap buckling, writhing and Loop formation In twisted rods" by V.G.A. GOSS, http://myweb.lsbu.ac.uk/~gossga/thesisFinal.pdf
- ' {4} "Theory of Elastic Stability" by Stephen Timoshenko, http://www.scribd.com/doc/50402462/Timoshenko-Theory-of-Elastic-Stability (start on p. 76)
- '
- ' INPUT:
- ' PtA - First anchor point (required)
- ' PtB - Second anchor point (optional, though 2 out of the 4--length, width, height, angle--need to be specified)
- ' [note that PtB can be the same as PtA (meaning width would be zero)]
- ' [also note that if a different width is additionally specified that's not equal to the distance between PtA and PtB, then the end point will not equal PtB anymore]
- ' Pln - Plane of the bent rod/wire, which bends up in the +y direction. The line between PtA and PtB (if specified) must be parallel to the x-axis of this plane
- '
- ' ** 2 of the following 4 need to be specified **
- ' Len - Length of the rod/wire, which needs to be > 0
- ' Wid - Width between the endpoints of the curve [note: if PtB is specified in addition, and distance between PtA and PtB <> width, the end point will be relocated
- ' Ht - Height of the bent rod/wire (when negative, curve will bend downward, relative to the input plane, instead)
- ' Ang - Inner departure angle or tangent angle (in radians) at the ends of the bent rod/wire. Set up so as width approaches length (thus height approaches zero), angle approaches zero
- '
- ' * Following variables only needed for optional calculating of bending force, not for shape of curve.
- ' E - Young's modulus (modulus of elasticity) in GPa (=N/m^2) (material-specific. for example, 7075 aluminum is roughly 71.7 GPa)
- ' I - Second moment of area (or area moment of inertia) in m^4 (cross-section-specific. for example, a hollow rod
- ' would have I = pi * (outer_diameter^4 - inner_diameter^4) / 32
- ' Note: E*I is also known as flexural rigidity or bending stiffness
- '
- ' OUTPUT:
- ' out - only for debugging messages
- ' Pts - the list of points that approximate the shape of the elastica
- ' Crv - the 3rd-degree curve interpolated from those points (with accurate start & end tangents)
- ' L - the length of the rod/wire
- ' W - the distance (width) between the endpoints of the rod/wire
- ' H - the height of the bent rod/wire
- ' A - the tangent angle at the (start) end of the rod/wire
- ' F - the force needed to hold the rod/wire in a specific shape (based on the material properties & cross-section) **be sure your units for 'I' match your units for the
- ' rest of your inputs (length, width, etc.). Also note that the critical buckling load (force) that makes the rod/wire start to bend can be found at height=0
- '
- ' THANKS TO:
- ' Mårten Nettelbladt (thegeometryofbending.blogspot.com)
- ' Daniel Piker (Kangaroo plugin)
- ' David Rutten (Grasshopper guru)
- ' Euler & Bernoulli (the O.G.'s)
- '
- ' -----------------------------------------------------------------
-
- Dim ignoreSelfIntersecting As Boolean = False ' set to True if you don't want to output curves where width < 0, which creates a self-intersecting curve
-
- Dim inCt As Integer = 0 ' count the number of required parameters that are receiving data
- Dim length As Double
- Dim width As System.Object = Nothing ' need to set as Nothing so we can check if it has been assigned a value later
- Dim height As Double
- Dim angle As Double
- Dim m As Double
- Dim multiple_m As New List(Of Double)
- Dim AtoB As Line
- Dim flip_H As Boolean = False ' if height is negative, this flag will be set
- Dim flip_A As Boolean = False ' if angle is negative, this flag will be set
-
- If Not IsSet("Pln") Then
- Msg("error", "Base plane is not set")
- Return
- End If
-
- If Not IsSet("PtA") Then
- Msg("error", "Point A is not set")
- Return
- End If
-
- If Math.Round(Pln.DistanceTo(PtA), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point A is not on the base plane")
- Return
- End If
-
- Dim refPlane As Plane = Pln ' create a reference plane = input plane and set the origin of it to PtA in case PtA isn't the origin already
- refPlane.Origin = PtA
-
- If IsSet("PtB") Then
- If Math.Round(Pln.DistanceTo(PtB), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point B is not on the base plane")
- Return
- End If
-
- AtoB = New Line(PtA, PtB)
- If AtoB.Length <> 0 And Not AtoB.Direction.IsPerpendicularTo(Pln.YAxis) Then
- Msg("error", "The line between PtA and PtB is not perpendicular to the Y-axis of the specified plane")
- Return
- End If
-
- inCt += 1
- If IsSet("Wid") Then Msg("info", "Wid will override the distance between PtA and PtB. If you do not want this to happen, disconnect PtB or Wid.")
-
- width = PtA.DistanceTo(PtB) ' get the width (distance) between PtA and PtB
-
- Dim refPtB As Point3d
- refPlane.RemapToPlaneSpace(PtB, refPtB)
- If refPtB.X < 0 Then width = -width ' check if PtB is to the left of PtA...if so, width is negative
- End If
-
- If IsSet("Len") Then inCt += 1
- If IsSet("Wid") Then inCt += 1
- If IsSet("Ht") Then inCt += 1
- If IsSet("Ang") Then inCt += 1
- If inCt > 2 Then Msg("info", "More parameters set than are required (out of length, width, height, angle). Only using the first two valid ones.")
-
- ' check for connected/specified inputs. note: only the first two that it comes across will be used
- If IsSet("Len") Then ' if length is specified then...
- If Len <= 0 Then
- Msg("error", "Length cannot be negative or zero")
- Return
- End If
- If IsSet("Wid") Then ' find height & angle based on length and specified width
- If Wid > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If Wid = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- width = Wid
- Else
- m = SolveMFromLenWid(Len, Wid)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- width = Wid
- End If
-
- Else If width IsNot Nothing Then ' find height & angle based on length and calculated width (distance between PtA and PtB)
- If width > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If width = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- Else
- m = SolveMFromLenWid(Len, width)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
-
- Else If IsSet("Ht") Then ' find width & angle based on length and height ** possible to return 2 results **
- If Math.Abs(Ht / Len) > Defined.MAX_HL_RATIO Then
- Msg("error", "Height not possible with given length")
- Return
- End If
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- width = Len
- angle = 0
- Else
- multiple_m = SolveMFromLenHt(Len, Ht) ' note that it's possible for two values of m to be found if height is close to max height
- If multiple_m.Count = 1 Then ' if there's only one m value returned, calculate the width & angle here. we'll deal with multiple m values later
- m = multiple_m.Item(0)
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find width & height based on length and angle
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- width = Len
- height = 0
- Else
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to length")
- Return
- End If
- length = Len
-
- Else If IsSet("Wid") Then ' if width is specified then...
- If IsSet("Ht") Then ' find length & angle based on specified width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = Wid
- angle = 0
- Else
- m = SolveMFromWidHt(Wid, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on specified width and angle
- If Wid = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = Wid
- height = 0
- Else
- length = Wid / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to width (Wid)")
- Return
- End If
- width = Wid
-
- Else If width IsNot Nothing Then ' if width is determined by PtA and PtB then...
- If IsSet("Ht") Then ' find length & angle based on calculated width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = width
- angle = 0
- Else
- m = SolveMFromWidHt(width, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on calculated width and angle
- If width = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = width
- height = 0
- Else
- length = width / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to PtA and PtB")
- Return
- End If
-
- Else If IsSet("Ht") Then ' if height is specified then...
- If IsSet("Ang") Then ' find length & width based on height and angle
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_H = True
- flip_A = True
- End If
- If Ht = 0 Then
- Msg("error", "Height can't = 0 if only height and angle are specified")
- Return
- Else
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = Not flip_A
- flip_H = Not flip_H
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then
- Msg("error", "Angle can't = 0 if only height and angle are specified")
- Return
- Else
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- width = Cal_W(length, m) ' L * (2 * E(m) / K(m) - 1)
- End If
- angle = Ang
- End If
- height = Ht
-
- Else
- Msg("error", "Need to specify one more parameter in addition to height")
- Return
- End If
-
- Else If IsSet("Ang") Then
- Msg("error", "Need to specify one more parameter in addition to angle")
- Return
- Else
- Msg("error", "Need to specify two of the four parameters: length, width (or PtB), height, and angle")
- Return
- End If
-
- If m > Defined.M_MAX Then
- Msg("error", "Form of curve not solvable with current algorithm and given inputs")
- Return
- End If
-
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- If multiple_m.Count > 1 Then ' if there is more than one m value returned, calculate the width, angle, and curve for each
- Dim multi_pts As New DataTree(Of Point3d)
- Dim multi_crv As New List(Of Curve)
- Dim tmp_pts As New List(Of Point3d)
- Dim multi_W, multi_A, multi_F As New List(Of Double)
- Dim j As Integer = 0 ' used for creating a new branch (GH_Path) for storing pts which is itself a list of points
-
- For Each m_val As Double In multiple_m
- width = Cal_W(length, m_val) 'length * (2 * EllipticE(m_val) / EllipticK(m_val) - 1)
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("warning", "One curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Continue For
- End If
-
- If m_val >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve whose width = " & Math.Round(width, 4) & " is not guaranteed")
-
- angle = Cal_A(m_val) 'Math.Asin(2 * m_val - 1)
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- tmp_pts = FindBendForm(length, width, m_val, angle, refPlane)
- multi_pts.AddRange(tmp_pts, New GH_Path(j))
- multi_crv.Add(MakeCurve(tmp_pts, angle, refPlane))
-
- multi_W.Add(width)
- If flip_A Then angle = -angle
- multi_A.Add(angle)
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- multi_F.Add(EllipticK(m_val) ^ 2 * E * I / length ^ 2) ' from reference {4} pg. 79
-
- j += 1
- refPlane.Origin = PtA ' reset the reference plane origin to PtA for the next m_val
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m_val & ", k=" & Math.Sqrt(m_val) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- Next
-
- ' assign the outputs
- Pts = multi_pts
- Crv = multi_crv
- L = length
- W = multi_W
- If flip_H Then height = -height
- H = height
- A = multi_A
- F = multi_F
-
- Else ' only deal with the single m value
- If m >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve at these parameters is not guaranteed")
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("error", "Curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Return
- End If
-
- Pts = FindBendForm(length, width, m, angle, refPlane)
- Crv = MakeCurve(pts, angle, refPlane)
- L = length
- W = width
- If flip_H Then height = -height
- H = height
- If flip_A Then angle = -angle
- A = angle
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- F = EllipticK(m) ^ 2 * E * I / length ^ 2 ' from reference {4} pg. 79. Note: the critical buckling (that makes the rod/wire start to bend) can be found at height=0 (width=length)
-
- 'height = Math.Sqrt(((2 * Len / 5) ^ 2 - ((Wid - Len / 5) / 2) ^ 2) ' quick approximation discovered by Mårten of 'Geometry of Bending' fame ( http://tiny.cc/it2pbx )
- 'width = (Len +/- 2 * Math.Sqrt(4 * Len ^ 2 - 25 * Ht ^ 2)) / 5 ' derived from above
- 'length = (2 * Math.Sqrt(15 * Ht ^ 2 + 4 * Wid ^ 2) - Wid) / 3 ' derived from above
-
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m & ", k=" & Math.Sqrt(m) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- End If
- </item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>618</X>
- <Y>1502</Y>
- <W>84</W>
- <H>184</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>660</X>
- <Y>1594</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="19">
- <item name="InputCount" type_name="gh_int32" type_code="3">9</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="2" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="3" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="4" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="5" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="6" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="7" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="8" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">8</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">3ede854e-c753-40eb-84cb-b48008f14fd4</item>
- <item name="OutputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="2" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="3" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="4" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="5" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="6" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="7" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="17">
- <chunk name="InputParam" index="0">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtA</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fc00bec5-e331-4012-b0a8-a6f9d0f686f7</item>
- <item name="Name" type_name="gh_string" type_code="10">PtA</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtA</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">7470aaae-fe5c-4a6e-a5d7-3c8c950bb9fb</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1504</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1514</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtB</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c5bc96c5-9e28-4cb8-9259-356c9db2b9fb</item>
- <item name="Name" type_name="gh_string" type_code="10">PtB</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtB</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1524</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1534</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="2">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Pln</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">71f32d80-b186-4e03-b761-b9bb960ea743</item>
- <item name="Name" type_name="gh_string" type_code="10">Pln</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pln</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">c7f844d2-ba5e-476f-b4d4-193dcea7a216</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">3897522d-58e9-4d60-b38c-978ddacfedd8</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1544</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1554</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="3">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Len</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0aa34a2c-a64a-42a7-9ee2-ff1e67f56177</item>
- <item name="Name" type_name="gh_string" type_code="10">Len</item>
- <item name="NickName" type_name="gh_string" type_code="10">Len</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">7d11a12d-1f6f-4777-9bc7-965dd3035809</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1564</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1574</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="4">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Wid</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1af65384-240e-46e3-8309-6fc1ae7504d7</item>
- <item name="Name" type_name="gh_string" type_code="10">Wid</item>
- <item name="NickName" type_name="gh_string" type_code="10">Wid</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1584</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1594</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="5">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ht</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8d0b03a7-827e-4902-8b4f-5bb0e815b41b</item>
- <item name="Name" type_name="gh_string" type_code="10">Ht</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ht</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">d1327bed-c875-4acd-82dd-5fed4b45b311</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1604</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1614</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="6">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ang</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2deaf321-2e08-44e8-a80f-9628891997a5</item>
- <item name="Name" type_name="gh_string" type_code="10">Ang</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ang</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1624</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1634</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="7">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable E</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8dff382d-9d65-40bc-ac45-64afb28a006d</item>
- <item name="Name" type_name="gh_string" type_code="10">E</item>
- <item name="NickName" type_name="gh_string" type_code="10">E</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1644</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1654</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="8">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable I</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">33d1c654-7377-4887-9445-52cefe06021d</item>
- <item name="Name" type_name="gh_string" type_code="10">I</item>
- <item name="NickName" type_name="gh_string" type_code="10">I</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>620</X>
- <Y>1664</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>634</X>
- <Y>1674</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Print, Reflect and Error streams</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">964ae01d-510e-42cb-b06f-38805376764d</item>
- <item name="Name" type_name="gh_string" type_code="10">out</item>
- <item name="NickName" type_name="gh_string" type_code="10">out</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1504</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1515.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Pts</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">17f99969-6a6b-431e-8210-f6e15df9a9af</item>
- <item name="Name" type_name="gh_string" type_code="10">Pts</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pts</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1526</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1537.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Crv</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6548d62a-dfa5-4478-9f16-8d4fb96732c9</item>
- <item name="Name" type_name="gh_string" type_code="10">Crv</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1549</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1560.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="3">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter L</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a2a9f9ae-744d-4886-a3ee-4c33b8365028</item>
- <item name="Name" type_name="gh_string" type_code="10">L</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1571</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1582.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="4">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter W</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0c900729-ed6e-40e8-809f-e2432521ac54</item>
- <item name="Name" type_name="gh_string" type_code="10">W</item>
- <item name="NickName" type_name="gh_string" type_code="10">W</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1594</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1605.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="5">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter H</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7772d1f7-9786-4d55-8690-af9d6877a777</item>
- <item name="Name" type_name="gh_string" type_code="10">H</item>
- <item name="NickName" type_name="gh_string" type_code="10">H</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1616</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1627.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="6">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter A</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bc883717-6d8a-41a6-bb0b-3d7c5d7a61ea</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1639</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1650.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="7">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter F</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fc8245e0-b2d0-471d-9254-01a0eff7a0b4</item>
- <item name="Name" type_name="gh_string" type_code="10">F</item>
- <item name="NickName" type_name="gh_string" type_code="10">F</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>675</X>
- <Y>1661</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>687.5</X>
- <Y>1672.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="66">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7d11a12d-1f6f-4777-9bc7-965dd3035809</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">length</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>163</X>
- <Y>1555</Y>
- <W>382</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>163.9633</X>
- <Y>1555.108</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">225</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="67">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">108e145a-a9f8-4c1a-856f-eef3be9eef4b</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">17f99969-6a6b-431e-8210-f6e15df9a9af</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>788</X>
- <Y>1463</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>813.4178</X>
- <Y>1475.827</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="68">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">de6e3b3a-9675-45ae-ad2f-bfc0988f9582</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">a0d9174c-2b33-4845-86da-70d722e564b7</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>846</X>
- <Y>1678</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>846.2736</X>
- <Y>1678.188</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="69">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">0d77c51e-584f-44e8-aed2-c2ddf4803888</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in radians to degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9bc218b0-faa5-4566-a292-b5565b343ee8</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">Deg</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>759</X>
- <Y>1690</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>789</X>
- <Y>1704</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8dd5ffda-e6b3-4328-a1c1-726386b31dd7</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">bc883717-6d8a-41a6-bb0b-3d7c5d7a61ea</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>761</X>
- <Y>1692</Y>
- <W>13</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>769</X>
- <Y>1704</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a0d9174c-2b33-4845-86da-70d722e564b7</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>804</X>
- <Y>1692</Y>
- <W>17</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>812.5</X>
- <Y>1704</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="70">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5bb8544d-21ed-430d-b9a1-3d097d9c0f85</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>474</X>
- <Y>1440</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>505</X>
- <Y>1472</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fd05bf19-e5b9-428a-a0b7-1183ddb4d4cb</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">18da725f-8fce-4b5c-bfc0-b35f534747f4</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>476</X>
- <Y>1442</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>484.5</X>
- <Y>1452</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5d500e04-4c0a-4e2e-90e3-a69f12e6e56b</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">bdda70a3-abe5-47d3-bab1-d54eaac87273</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>476</X>
- <Y>1462</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>484.5</X>
- <Y>1472</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b73aa23e-da5e-429b-a2ad-c29573433d8d</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>476</X>
- <Y>1482</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>484.5</X>
- <Y>1492</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7470aaae-fe5c-4a6e-a5d7-3c8c950bb9fb</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>520</X>
- <Y>1442</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>529.5</X>
- <Y>1472</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="71">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">d5967b9f-e8ee-436b-a8ad-29fdcecf32d5</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of generic curves</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d707c7a6-ce24-45bb-a3b3-c616b13d07dc</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">6548d62a-dfa5-4478-9f16-8d4fb96732c9</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>788</X>
- <Y>1506</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>813.4067</X>
- <Y>1518.357</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="72">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">17b7152b-d30d-4d50-b9ef-c9fe25576fc2</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1653bea2-6780-45be-ad4a-2c29f59e4c19</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">XY</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>479</X>
- <Y>1515</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>510</X>
- <Y>1529</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6ccdcfe2-c623-42d1-8da5-1e99c86f6f52</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>481</X>
- <Y>1517</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>489.5</X>
- <Y>1529</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c7f844d2-ba5e-476f-b4d4-193dcea7a216</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>525</X>
- <Y>1517</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>533</X>
- <Y>1529</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="73">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d1327bed-c875-4acd-82dd-5fed4b45b311</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">height</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>168</X>
- <Y>1608</Y>
- <W>381</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>168.731</X>
- <Y>1608.997</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">200</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">89</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="74">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e3db26aa-60fb-43b8-8092-d7ecfc283153</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">a2a9f9ae-744d-4886-a3ee-4c33b8365028</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>743</X>
- <Y>1557</Y>
- <W>97</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>743.3972</X>
- <Y>1557.754</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="75">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">dfa914e0-e01f-4bbe-b66d-a9d4a08bb5c7</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">0c900729-ed6e-40e8-809f-e2432521ac54</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>854</X>
- <Y>1582</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>854.3154</X>
- <Y>1582.622</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="76">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b487f9ab-5cec-404a-9235-d2a5f0e79007</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">7772d1f7-9786-4d55-8690-af9d6877a777</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>742</X>
- <Y>1618</Y>
- <W>97</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>742.3411</X>
- <Y>1618.138</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="77">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bdda70a3-abe5-47d3-bab1-d54eaac87273</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">-150</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>378</X>
- <Y>1465</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>378.501</X>
- <Y>1465.184</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="78">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">18da725f-8fce-4b5c-bfc0-b35f534747f4</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">-150</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>377</X>
- <Y>1434</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>377.701</X>
- <Y>1434.784</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="79">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>1685.887</X>
- <Y>79.1758</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>1984.071</X>
- <Y>81.3421</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>1983.831</X>
- <Y>114.478</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>1685.647</X>
- <Y>112.3117</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">18f8db3f-bb9b-4a79-9d98-1a46a8a0c59b</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">16</item>
- <item name="Text" type_name="gh_string" type_code="10">Negative width = self-intersecting result
- Negative height and angle work too</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1680.647</X>
- <Y>74.1758</Y>
- <W>308.4244</W>
- <H>45.30215</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1685.887</X>
- <Y>79.1758</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="80">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">079bd9bd-54a0-41d4-98af-db999015f63d</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="10">
- <item name="AdditionalSource" type_name="gh_string" type_code="10"> Private Function IsSet(ByVal param As String) As Boolean ' Check if an input parameter has data
- Dim i As Integer = Component.Params.IndexOfInputParam(param)
- If i > -1 Then
- Return Component.Params.Input.ElementAt(i).DataType > 1 ' input parameter DataType of 1 means it's not receiving input (internal or external)
- Else
- Msg("error", "Input parameter '" & param & "' not found")
- Return False
- End If
- End Function
-
- Private Sub Msg(ByVal type As String, ByVal msg As String) ' Output an error, warning, or informational message
- Select Case type
- Case "error"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Error, msg)
- Print("Error: " & msg)
- Case "warning"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, msg)
- Print("Warning: " & msg)
- Case "info"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Remark, msg)
- Print(msg)
- End Select
- End Sub
-
- ' Solve for the m parameter from length and width (reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m))
- Private Function SolveMFromLenWid(ByVal L As Double, ByVal w As Double) As Double
- If w = 0 Then
- Return Defined.M_ZERO_W ' for the boundry condition width = 0, bypass the function and return the known m value
- End If
-
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwl As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwl = 2 * EllipticE(m) / EllipticK(m) - 1 ' calculate w/L with the test value of m
- If cwl < w / L Then ' compares the calculated w/L with the actual w/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- Return m
- End Function
-
- ' Solve for the m parameter from length and height (reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m))
- ' Note that it's actually possible to find 2 valid values for m (hence 2 width values) at certain height values
- Private Function SolveMFromLenHt(ByVal L As Double, ByVal h As Double) As List(Of Double)
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim twoWidths As Boolean = h / L >= Defined.DOUBLE_W_HL_RATIO And h / L < Defined.MAX_HL_RATIO ' check to see if h/L is within the range where 2 solutions for the width are possible
- Dim m As Double
- Dim mult_m As New List(Of Double)
- Dim chl As Double
-
- If twoWidths Then
- ' find the first of two possible solutions for m with the following limits:
- lower = Defined.M_DOUBLE_W ' see constants at bottom of script
- upper = Defined.M_MAXHEIGHT ' see constants at bottom of script
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
-
- ' then find the second of two possible solutions for m with the following limits:
- lower = Defined.M_MAXHEIGHT ' see constants at bottom of script
- upper = 1
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl < h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- If m <= Defined.M_MAX Then ' return this m parameter only if it falls within the maximum useful value (above which the curve breaks down)
- mult_m.Add(m)
- End If
-
- Else
- ' find the one possible solution for the m parameter
- upper = Defined.M_DOUBLE_W ' limit the upper end of the search to the maximum value of m for which only one solution exists
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
- End If
-
- Return mult_m
- End Function
-
- ' Solve for the m parameter from width and height (derived from reference {1} equations (33) and (34) with same notes as above)
- Private Function SolveMFromWidHt(ByVal w As Double, ByVal h As Double) As Double
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwh As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwh = (2 * EllipticE(m) - EllipticK(m)) / Math.Sqrt(m) ' calculate w/h with the test value of m
- If cwh < w / h Then ' compares the calculated w/h with the actual w/h then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- Return m
- End Function
-
- ' Calculate length based on height and an m parameter, derived from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_L(ByVal h As Double, ByVal m As Double) As Double
- Return h * EllipticK(m) / Math.Sqrt(m)
- End Function
-
- ' Calculate width based on length and an m parameter, derived from reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m)
- Private Function Cal_W(ByVal L As Double, ByVal m As Double) As Double
- Return L * (2 * EllipticE(m) / EllipticK(m) - 1)
- End Function
-
- ' Calculate height based on length and an m parameter, from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_H(ByVal L As Double, ByVal m As Double) As Double
- Return L * Math.Sqrt(m) / EllipticK(m)
- End Function
-
- ' Calculate the unique m parameter based on a start tangent angle, from reference {2}, just above equation (9a), that states k = Sin(angle / 2 + Pi / 4),
- ' but as m = k^2 and due to this script's need for an angle rotated 90° versus the one in reference {1}, the following formula is the result
- ' New note: verified by reference {4}, pg. 78 at the bottom
- Private Function Cal_M(ByVal a As Double) As Double
- Return (1 - Math.Cos(a)) / 2 ' equal to Sin^2(a/2) too
- End Function
-
- ' Calculate start tangent angle based on an m parameter, derived from above formula
- Private Function Cal_A(ByVal m As Double) As Double
- Return Math.Acos(1 - 2 * m)
- End Function
-
- ' This is the heart of this script, taking the found (or specified) length, width, and angle values along with the found m parameter to create
- ' a list of points that approximate the shape or form of the elastica. It works by finding the x and y coordinates (which are reversed versus
- ' the original equations (12a) and (12b) from reference {2} due to the 90° difference in orientation) based on the tangent angle along the curve.
- ' See reference {2} for more details on how they derived it. Note that to simplify things, the algorithm only calculates the points for half of the
- ' curve, then mirrors those points along the y-axis.
- Private Function FindBendForm(ByVal L As Double, ByVal w As Double, ByVal m As Double, ByVal ang As Double, ByVal refPln As Plane) As List(Of Point3d)
- L = L / 2 ' because the below algorithm is based on the formulas in reference {2} for only half of the curve
- w = w / 2 ' same
-
- If ang = 0 Then ' if angle (and height) = 0, then simply return the start and end points of the straight line
- Dim out As New List(Of Point3d)
- out.Add(refPln.PointAt(w, 0, 0))
- out.Add(refPln.PointAt(-w, 0, 0))
- Return out
- End If
-
- Dim x As Double
- Dim y As Double
- Dim halfCurvePts As New List(Of Point3d)
- Dim fullCurvePts As New List(Of Point3d)
- Dim translatedPts As New List(Of Point3d)
-
- ang -= Math.PI / 2 ' a hack to allow this algorithm to work, since the original curve in paper {2} was rotated 90°
- Dim angB As Double = ang + (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' angB is the 'lowercase theta' which should be in formula {2}(12b) as the interval
- ' start [a typo...see equation(3)]. It's necessary to start angB at ang + [interval] instead of just ang due to integration failing at angB = ang
- halfCurvePts.Add(New Point3d(w, 0, 0)) ' start with this known initial point, as integration will fail when angB = ang
-
- ' each point {x, y} is calculated from the tangent angle, angB, that occurs at each point (which is why this iterates from ~ang to -pi/2, the known end condition)
- Do While Math.Round(angB, Defined.ROUNDTO) >= Math.Round(-Math.PI / 2, Defined.ROUNDTO)
- y = (Math.Sqrt(2) * Math.Sqrt(Math.Sin(ang) - Math.Sin(angB)) * (w + L)) / (2 * EllipticE(m)) ' note that x and y are swapped vs. (12a) and (12b)
- x = (L / (Math.Sqrt(2) * EllipticK(m))) * Simpson(angB, -Math.PI / 2, 500, ang) ' calculate the Simpson approximation of the integral (function f below)
- ' over the interval angB ('lowercase theta') to -pi/2. side note: is 500 too few iterations for the Simson algorithm?
-
- If Math.Round(x, Defined.ROUNDTO) = 0 Then x = 0
- halfCurvePts.Add(New Point3d(x, y, 0))
-
- angB += (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' onto the next tangent angle
- Loop
-
- ' After finding the x and y values for half of the curve, add the {-x, y} values for the rest of the curve
- For Each point As Point3d In halfCurvePts
- If Math.Round(point.X, Defined.ROUNDTO) = 0 Then
- If Math.Round(point.Y, Defined.ROUNDTO) = 0 Then
- fullCurvePts.Add(New Point3d(0, 0, 0)) ' special case when width = 0: when x = 0, only duplicate the point when y = 0 too
- End If
- Else
- fullCurvePts.Add(New Point3d(-point.X, point.Y, 0))
- End If
- Next
- halfCurvePts.Reverse
- fullCurvePts.AddRange(halfCurvePts)
-
- For Each p As Point3d In fullCurvePts
- translatedPts.Add(refPln.PointAt(p.X, p.Y, p.Z)) ' translate the points from the reference plane to the world plane
- Next
-
- Return translatedPts
- End Function
-
- ' Interpolates the points from FindBendForm to create the Elastica curve. Uses start & end tangents for greater accuracy.
- Private Function MakeCurve(ByVal pts As List(Of Point3d), ByVal ang As Double, ByVal refPln As Plane) As Curve
- If ang <> 0 Then
- Dim ts, te As New Vector3d(refPln.XAxis)
- ts.Rotate(ang, refPln.ZAxis)
- te.Rotate(-ang, refPln.ZAxis)
- Return Curve.CreateInterpolatedCurve(pts, 3, CurveKnotStyle.Chord, ts, te) ' 3rd degree curve with 'Chord' Knot Style
- Else
- Return Curve.CreateInterpolatedCurve(pts, 3) ' if angle (and height) = 0, then simply interpolate the straight line (no start/end tangents)
- End If
- End Function
-
- ' Implements the Simpson approximation for an integral of function f below
- Public Function Simpson(a As Double, b As Double, n As Integer, theta As Double) As Double 'n should be an even number
- Dim j As Integer, s1 As Double, s2 As Double, h As Double
- h = (b - a) / n
- s1 = 0
- s2 = 0
- For j = 1 To n - 1 Step 2
- s1 = s1 + fn(a + j * h, theta)
- Next j
- For j = 2 To n - 2 Step 2
- s2 = s2 + fn(a + j * h, theta)
- Next j
- Simpson = h / 3 * (fn(a, theta) + 4 * s1 + 2 * s2 + fn(b, theta))
- End Function
-
- ' Specific calculation for the above integration
- Public Function fn(x As Double, theta As Double) As Double
- fn = Math.Sin(x) / (Math.Sqrt(Math.Sin(theta) - Math.Sin(x))) ' from reference {2} formula (12b)
- End Function
-
-
- ' Return the Complete Elliptic integral of the 1st kind
- ' Abramowitz and Stegun p.591, formula 17.3.11
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticK(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum += Math.Pow(m, i) * Math.Pow(term, 2)
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
-
- ' Return the Complete Elliptic integral of the 2nd kind
- ' Abramowitz and Stegun p.591, formula 17.3.12
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticE(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum -= Math.Pow(m, i) * Math.Pow(term, 2) / above
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
- Friend Partial NotInheritable Class Defined
- Private Sub New()
- End Sub
-
- ' Note: most of these values for m and h/L ratio were found with Wolfram Alpha and either specific intercepts (x=0) or local minima/maxima. They should be constant.
- Public Const M_SKETCHY As Double = 0.95 ' value of the m parameter where the curvature near the ends of the curve gets wonky
- Public Const M_MAX As Double = 0.993 ' maximum useful value of the m parameter, above which this algorithm for the form of the curve breaks down
- Public Const M_ZERO_W As Double = 0.826114765984970336 ' value of the m parameter when width = 0
- Public Const M_MAXHEIGHT As Double = 0.701327460663101223 ' value of the m parameter at maximum possible height of the bent rod/wire
- Public Const M_DOUBLE_W As Double = 0.180254422335013983 ' minimum value of the m parameter when two width values are possible for a given height and length
- Public Const DOUBLE_W_HL_RATIO As Double = 0.257342117984635757 ' value of the height/length ratio above which there are two possible width values
- Public Const MAX_HL_RATIO As Double = 0.403140189705650243 ' maximum possible value of the height/length ratio
-
- Public Const MAXERR As Double = 0.0000000001 ' error tolerance
- Public Const MAXIT As Integer = 100 ' maximum number of iterations
- Public Const ROUNDTO As Integer = 10 ' number of decimal places to round off to
- Public Const CURVEDIVS As Integer = 50 ' number of sample points for building the curve (or half-curve as it were)
- End Class</item>
- <item name="Description" type_name="gh_string" type_code="10">A VB.NET scriptable component</item>
- <item name="EditorPosition" type_name="gh_drawing_point" type_code="30">
- <X>98</X>
- <Y>86</Y>
- </item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">15a333e8-a6e9-40f9-ae49-542ab7d2e084</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- <item name="NickName" type_name="gh_string" type_code="10">VB</item>
- <item name="OutParameter" type_name="gh_bool" type_code="1">true</item>
- <item name="ReferenceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="ScriptSource" type_name="gh_string" type_code="10"> ' -----------------------------------------------------------------
- ' Elastic Bending Script by Will McElwain
- ' Created February 2014
- '
- ' DESCRIPTION:
- ' This beast creates the so-called 'elastica curve', the shape a long, thin rod or wire makes when it is bent elastically (i.e. not permanently). In this case, force
- ' is assumed to only be applied horizontally (which would be in line with the rod at rest) and both ends are assumed to be pinned or hinged meaning they are free
- ' to rotate (as opposed to clamped, when the end tangent angle is fixed, usually horizontally). An interesting finding is that it doesn't matter what the material or
- ' cross-sectional area is, as long as they're uniform along the entire length. Everything makes the same shape when bent as long as it doesn't cross the threshold
- ' from elastic to plastic (permanent) deformation (I don't bother to find that limit here, but can be found if the yield stress for a material is known).
- '
- ' Key to the formulas used in this script are elliptic integrals, specifically K(m), the complete elliptic integral of the first kind, and E(m), the complete elliptic
- ' integral of the second kind. There was a lot of confusion over the 'm' and 'k' parameters for these functions, as some people use them interchangeably, but they are
- ' not the same. m = k^2 (thus k = Sqrt(m)). I try to use the 'm' parameter exclusively to avoid this confusion. Note that there is a unique 'm' parameter for every
- ' configuration/shape of the elastica curve.
- '
- ' This script tries to find that unique 'm' parameter based on the inputs. The algorithm starts with a test version of m, evaluates an expression, say 2*E(m)/K(m)-1,
- ' then compares the result to what it should be (in this case, a known width/length ratio). Iterate until the correct m is found. Once we have m, we can then calculate
- ' all of the other unknowns, then find points that lie on that curve, then interpolate those points for the actual curve. You can also use Wolfram|Alpha as I did to
- ' find the m parameter based on the equations in this script (example here: http://tiny.cc/t4tpbx for when say width=45.2 and length=67.1).
- '
- ' Other notes:
- ' * This script works with negative values for width, which will creat a self-intersecting curve (as it should). The curvature of the elastica starts to break down around
- ' m=0.95 (~154°), but this script will continue to work until M_MAX, m=0.993 (~169°). If you wish to ignore self-intersecting curves, set ignoreSelfIntersecting to True
- ' * When the only known values are length and height, it is actually possible for certain ratios of height to length to have two valid m values (thus 2 possible widths
- ' and angles). This script will return them both.
- ' * Only the first two valid parameters (of the required ones) will be used, meaning if all four are connected (length, width or a PtB, height, and angle), this script will
- ' only use length and width (or a PtB).
- ' * Depending on the magnitude of your inputs (say if they're really small, like if length < 10), you might have to increase the constant ROUNDTO at the bottom
- '
- ' REFERENCES:
- ' {1} "The elastic rod" by M.E. Pacheco Q. & E. Pina, http://www.scielo.org.mx/pdf/rmfe/v53n2/v53n2a8.pdf
- ' {2} "An experiment in nonlinear beam theory" by A. Valiente, http://www.deepdyve.com/lp/doc/I3lwnxdfGz , also here: http://tiny.cc/Valiente_AEiNBT
- ' {3} "Snap buckling, writhing and Loop formation In twisted rods" by V.G.A. GOSS, http://myweb.lsbu.ac.uk/~gossga/thesisFinal.pdf
- ' {4} "Theory of Elastic Stability" by Stephen Timoshenko, http://www.scribd.com/doc/50402462/Timoshenko-Theory-of-Elastic-Stability (start on p. 76)
- '
- ' INPUT:
- ' PtA - First anchor point (required)
- ' PtB - Second anchor point (optional, though 2 out of the 4--length, width, height, angle--need to be specified)
- ' [note that PtB can be the same as PtA (meaning width would be zero)]
- ' [also note that if a different width is additionally specified that's not equal to the distance between PtA and PtB, then the end point will not equal PtB anymore]
- ' Pln - Plane of the bent rod/wire, which bends up in the +y direction. The line between PtA and PtB (if specified) must be parallel to the x-axis of this plane
- '
- ' ** 2 of the following 4 need to be specified **
- ' Len - Length of the rod/wire, which needs to be > 0
- ' Wid - Width between the endpoints of the curve [note: if PtB is specified in addition, and distance between PtA and PtB <> width, the end point will be relocated
- ' Ht - Height of the bent rod/wire (when negative, curve will bend downward, relative to the input plane, instead)
- ' Ang - Inner departure angle or tangent angle (in radians) at the ends of the bent rod/wire. Set up so as width approaches length (thus height approaches zero), angle approaches zero
- '
- ' * Following variables only needed for optional calculating of bending force, not for shape of curve.
- ' E - Young's modulus (modulus of elasticity) in GPa (=N/m^2) (material-specific. for example, 7075 aluminum is roughly 71.7 GPa)
- ' I - Second moment of area (or area moment of inertia) in m^4 (cross-section-specific. for example, a hollow rod
- ' would have I = pi * (outer_diameter^4 - inner_diameter^4) / 32
- ' Note: E*I is also known as flexural rigidity or bending stiffness
- '
- ' OUTPUT:
- ' out - only for debugging messages
- ' Pts - the list of points that approximate the shape of the elastica
- ' Crv - the 3rd-degree curve interpolated from those points (with accurate start & end tangents)
- ' L - the length of the rod/wire
- ' W - the distance (width) between the endpoints of the rod/wire
- ' H - the height of the bent rod/wire
- ' A - the tangent angle at the (start) end of the rod/wire
- ' F - the force needed to hold the rod/wire in a specific shape (based on the material properties & cross-section) **be sure your units for 'I' match your units for the
- ' rest of your inputs (length, width, etc.). Also note that the critical buckling load (force) that makes the rod/wire start to bend can be found at height=0
- '
- ' THANKS TO:
- ' Mårten Nettelbladt (thegeometryofbending.blogspot.com)
- ' Daniel Piker (Kangaroo plugin)
- ' David Rutten (Grasshopper guru)
- ' Euler & Bernoulli (the O.G.'s)
- '
- ' -----------------------------------------------------------------
-
- Dim ignoreSelfIntersecting As Boolean = False ' set to True if you don't want to output curves where width < 0, which creates a self-intersecting curve
-
- Dim inCt As Integer = 0 ' count the number of required parameters that are receiving data
- Dim length As Double
- Dim width As System.Object = Nothing ' need to set as Nothing so we can check if it has been assigned a value later
- Dim height As Double
- Dim angle As Double
- Dim m As Double
- Dim multiple_m As New List(Of Double)
- Dim AtoB As Line
- Dim flip_H As Boolean = False ' if height is negative, this flag will be set
- Dim flip_A As Boolean = False ' if angle is negative, this flag will be set
-
- If Not IsSet("Pln") Then
- Msg("error", "Base plane is not set")
- Return
- End If
-
- If Not IsSet("PtA") Then
- Msg("error", "Point A is not set")
- Return
- End If
-
- If Math.Round(Pln.DistanceTo(PtA), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point A is not on the base plane")
- Return
- End If
-
- Dim refPlane As Plane = Pln ' create a reference plane = input plane and set the origin of it to PtA in case PtA isn't the origin already
- refPlane.Origin = PtA
-
- If IsSet("PtB") Then
- If Math.Round(Pln.DistanceTo(PtB), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point B is not on the base plane")
- Return
- End If
-
- AtoB = New Line(PtA, PtB)
- If AtoB.Length <> 0 And Not AtoB.Direction.IsPerpendicularTo(Pln.YAxis) Then
- Msg("error", "The line between PtA and PtB is not perpendicular to the Y-axis of the specified plane")
- Return
- End If
-
- inCt += 1
- If IsSet("Wid") Then Msg("info", "Wid will override the distance between PtA and PtB. If you do not want this to happen, disconnect PtB or Wid.")
-
- width = PtA.DistanceTo(PtB) ' get the width (distance) between PtA and PtB
-
- Dim refPtB As Point3d
- refPlane.RemapToPlaneSpace(PtB, refPtB)
- If refPtB.X < 0 Then width = -width ' check if PtB is to the left of PtA...if so, width is negative
- End If
-
- If IsSet("Len") Then inCt += 1
- If IsSet("Wid") Then inCt += 1
- If IsSet("Ht") Then inCt += 1
- If IsSet("Ang") Then inCt += 1
- If inCt > 2 Then Msg("info", "More parameters set than are required (out of length, width, height, angle). Only using the first two valid ones.")
-
- ' check for connected/specified inputs. note: only the first two that it comes across will be used
- If IsSet("Len") Then ' if length is specified then...
- If Len <= 0 Then
- Msg("error", "Length cannot be negative or zero")
- Return
- End If
- If IsSet("Wid") Then ' find height & angle based on length and specified width
- If Wid > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If Wid = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- width = Wid
- Else
- m = SolveMFromLenWid(Len, Wid)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- width = Wid
- End If
-
- Else If width IsNot Nothing Then ' find height & angle based on length and calculated width (distance between PtA and PtB)
- If width > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If width = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- Else
- m = SolveMFromLenWid(Len, width)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
-
- Else If IsSet("Ht") Then ' find width & angle based on length and height ** possible to return 2 results **
- If Math.Abs(Ht / Len) > Defined.MAX_HL_RATIO Then
- Msg("error", "Height not possible with given length")
- Return
- End If
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- width = Len
- angle = 0
- Else
- multiple_m = SolveMFromLenHt(Len, Ht) ' note that it's possible for two values of m to be found if height is close to max height
- If multiple_m.Count = 1 Then ' if there's only one m value returned, calculate the width & angle here. we'll deal with multiple m values later
- m = multiple_m.Item(0)
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find width & height based on length and angle
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- width = Len
- height = 0
- Else
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to length")
- Return
- End If
- length = Len
-
- Else If IsSet("Wid") Then ' if width is specified then...
- If IsSet("Ht") Then ' find length & angle based on specified width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = Wid
- angle = 0
- Else
- m = SolveMFromWidHt(Wid, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on specified width and angle
- If Wid = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = Wid
- height = 0
- Else
- length = Wid / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to width (Wid)")
- Return
- End If
- width = Wid
-
- Else If width IsNot Nothing Then ' if width is determined by PtA and PtB then...
- If IsSet("Ht") Then ' find length & angle based on calculated width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = width
- angle = 0
- Else
- m = SolveMFromWidHt(width, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on calculated width and angle
- If width = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = width
- height = 0
- Else
- length = width / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to PtA and PtB")
- Return
- End If
-
- Else If IsSet("Ht") Then ' if height is specified then...
- If IsSet("Ang") Then ' find length & width based on height and angle
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_H = True
- flip_A = True
- End If
- If Ht = 0 Then
- Msg("error", "Height can't = 0 if only height and angle are specified")
- Return
- Else
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = Not flip_A
- flip_H = Not flip_H
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then
- Msg("error", "Angle can't = 0 if only height and angle are specified")
- Return
- Else
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- width = Cal_W(length, m) ' L * (2 * E(m) / K(m) - 1)
- End If
- angle = Ang
- End If
- height = Ht
-
- Else
- Msg("error", "Need to specify one more parameter in addition to height")
- Return
- End If
-
- Else If IsSet("Ang") Then
- Msg("error", "Need to specify one more parameter in addition to angle")
- Return
- Else
- Msg("error", "Need to specify two of the four parameters: length, width (or PtB), height, and angle")
- Return
- End If
-
- If m > Defined.M_MAX Then
- Msg("error", "Form of curve not solvable with current algorithm and given inputs")
- Return
- End If
-
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- If multiple_m.Count > 1 Then ' if there is more than one m value returned, calculate the width, angle, and curve for each
- Dim multi_pts As New DataTree(Of Point3d)
- Dim multi_crv As New List(Of Curve)
- Dim tmp_pts As New List(Of Point3d)
- Dim multi_W, multi_A, multi_F As New List(Of Double)
- Dim j As Integer = 0 ' used for creating a new branch (GH_Path) for storing pts which is itself a list of points
-
- For Each m_val As Double In multiple_m
- width = Cal_W(length, m_val) 'length * (2 * EllipticE(m_val) / EllipticK(m_val) - 1)
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("warning", "One curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Continue For
- End If
-
- If m_val >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve whose width = " & Math.Round(width, 4) & " is not guaranteed")
-
- angle = Cal_A(m_val) 'Math.Asin(2 * m_val - 1)
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- tmp_pts = FindBendForm(length, width, m_val, angle, refPlane)
- multi_pts.AddRange(tmp_pts, New GH_Path(j))
- multi_crv.Add(MakeCurve(tmp_pts, angle, refPlane))
-
- multi_W.Add(width)
- If flip_A Then angle = -angle
- multi_A.Add(angle)
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- multi_F.Add(EllipticK(m_val) ^ 2 * E * I / length ^ 2) ' from reference {4} pg. 79
-
- j += 1
- refPlane.Origin = PtA ' reset the reference plane origin to PtA for the next m_val
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m_val & ", k=" & Math.Sqrt(m_val) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- Next
-
- ' assign the outputs
- Pts = multi_pts
- Crv = multi_crv
- L = length
- W = multi_W
- If flip_H Then height = -height
- H = height
- A = multi_A
- F = multi_F
-
- Else ' only deal with the single m value
- If m >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve at these parameters is not guaranteed")
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("error", "Curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Return
- End If
-
- Pts = FindBendForm(length, width, m, angle, refPlane)
- Crv = MakeCurve(pts, angle, refPlane)
- L = length
- W = width
- If flip_H Then height = -height
- H = height
- If flip_A Then angle = -angle
- A = angle
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- F = EllipticK(m) ^ 2 * E * I / length ^ 2 ' from reference {4} pg. 79. Note: the critical buckling (that makes the rod/wire start to bend) can be found at height=0 (width=length)
-
- 'height = Math.Sqrt(((2 * Len / 5) ^ 2 - ((Wid - Len / 5) / 2) ^ 2) ' quick approximation discovered by Mårten of 'Geometry of Bending' fame ( http://tiny.cc/it2pbx )
- 'width = (Len +/- 2 * Math.Sqrt(4 * Len ^ 2 - 25 * Ht ^ 2)) / 5 ' derived from above
- 'length = (2 * Math.Sqrt(15 * Ht ^ 2 + 4 * Wid ^ 2) - Wid) / 3 ' derived from above
-
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m & ", k=" & Math.Sqrt(m) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- End If
- </item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1797</X>
- <Y>201</Y>
- <W>84</W>
- <H>184</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1839</X>
- <Y>293</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="19">
- <item name="InputCount" type_name="gh_int32" type_code="3">9</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="2" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="3" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="4" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="5" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="6" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="7" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="8" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">8</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">3ede854e-c753-40eb-84cb-b48008f14fd4</item>
- <item name="OutputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="2" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="3" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="4" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="5" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="6" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="7" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="17">
- <chunk name="InputParam" index="0">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtA</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">512bccc3-6c0e-4ef4-ba24-8685c3ee8d8c</item>
- <item name="Name" type_name="gh_string" type_code="10">PtA</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtA</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">1813e6b2-8594-4cdf-882c-e312c60bd7f7</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>203</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>213</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtB</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d879c694-aa7a-49cc-885b-4d3c9e0e85df</item>
- <item name="Name" type_name="gh_string" type_code="10">PtB</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtB</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>223</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>233</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="2">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Pln</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0b814522-7d00-47c6-9c48-1e46bee924f2</item>
- <item name="Name" type_name="gh_string" type_code="10">Pln</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pln</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f9c309f7-e784-42bd-ac1d-c6f978935e00</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">3897522d-58e9-4d60-b38c-978ddacfedd8</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>243</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>253</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="3">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Len</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">693f977f-077d-410b-a1cc-bc37f0473ad9</item>
- <item name="Name" type_name="gh_string" type_code="10">Len</item>
- <item name="NickName" type_name="gh_string" type_code="10">Len</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">ce3bf1e3-3694-43ca-b804-94bf1ac205b6</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>263</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>273</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="4">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Wid</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e718cabe-f163-44e2-bf0e-4866946c6c49</item>
- <item name="Name" type_name="gh_string" type_code="10">Wid</item>
- <item name="NickName" type_name="gh_string" type_code="10">Wid</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2dac057e-8756-4d2f-b7af-61904cb5801a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>283</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>293</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="5">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ht</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f8027746-ba7f-4f8e-bb9c-fa5b544e826b</item>
- <item name="Name" type_name="gh_string" type_code="10">Ht</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ht</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>303</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>313</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="6">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ang</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">50106206-1bb3-43fe-bd4f-366e3b16274a</item>
- <item name="Name" type_name="gh_string" type_code="10">Ang</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ang</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>323</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>333</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="7">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable E</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1d6edbeb-7707-43da-8d81-c55c2a788b19</item>
- <item name="Name" type_name="gh_string" type_code="10">E</item>
- <item name="NickName" type_name="gh_string" type_code="10">E</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>343</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>353</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="8">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable I</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">06ae685a-2839-4dc2-a276-de0409a26bad</item>
- <item name="Name" type_name="gh_string" type_code="10">I</item>
- <item name="NickName" type_name="gh_string" type_code="10">I</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1799</X>
- <Y>363</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1813</X>
- <Y>373</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Print, Reflect and Error streams</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">20755b5a-7694-4c4e-82c2-fb013dc3fe1b</item>
- <item name="Name" type_name="gh_string" type_code="10">out</item>
- <item name="NickName" type_name="gh_string" type_code="10">out</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>203</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>214.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Pts</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b6862774-22a9-4557-8df9-4e105338905c</item>
- <item name="Name" type_name="gh_string" type_code="10">Pts</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pts</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>225</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>236.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Crv</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8f545f02-550b-41fb-8dd0-70baaad81a72</item>
- <item name="Name" type_name="gh_string" type_code="10">Crv</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>248</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>259.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="3">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter L</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d7f4a38f-b681-4226-a169-d484336986a2</item>
- <item name="Name" type_name="gh_string" type_code="10">L</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>270</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>281.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="4">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter W</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ce2227d2-88d5-44a1-b925-e842136dca13</item>
- <item name="Name" type_name="gh_string" type_code="10">W</item>
- <item name="NickName" type_name="gh_string" type_code="10">W</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>293</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>304.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="5">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter H</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1c6a682f-bab0-45c4-b876-7f71802d69ab</item>
- <item name="Name" type_name="gh_string" type_code="10">H</item>
- <item name="NickName" type_name="gh_string" type_code="10">H</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>315</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>326.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="6">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter A</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">24ef080a-aae1-4bd9-a2eb-97cd1569a733</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>338</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>349.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="7">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter F</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">057d392c-b422-4b34-a8df-30546d6c59e2</item>
- <item name="Name" type_name="gh_string" type_code="10">F</item>
- <item name="NickName" type_name="gh_string" type_code="10">F</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1854</X>
- <Y>360</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1866.5</X>
- <Y>371.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="81">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2dac057e-8756-4d2f-b7af-61904cb5801a</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">width</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1346</X>
- <Y>281</Y>
- <W>382</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1346.563</X>
- <Y>281.9091</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">-130</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-43.19</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="82">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ce3bf1e3-3694-43ca-b804-94bf1ac205b6</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">length</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1344</X>
- <Y>255</Y>
- <W>382</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1344.994</X>
- <Y>255.0591</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">225</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="83">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8083dba1-6a1d-4290-9c38-1186214db9bc</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">b6862774-22a9-4557-8df9-4e105338905c</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1969</X>
- <Y>163</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1994.448</X>
- <Y>175.7781</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="84">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">3e685539-f44c-4607-be6b-cd3c05e3c5eb</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">4cd71eb6-cfaa-4a47-a72d-f24e55334beb</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2027</X>
- <Y>378</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2027.304</X>
- <Y>378.139</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="85">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">0d77c51e-584f-44e8-aed2-c2ddf4803888</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in radians to degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">25514f49-1dae-40e1-8f32-66e3ea2dc7bd</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">Deg</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1939</X>
- <Y>389</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1969</X>
- <Y>403</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">811b950c-3df2-44de-b7c6-6ffa4c6f2250</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">24ef080a-aae1-4bd9-a2eb-97cd1569a733</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1941</X>
- <Y>391</Y>
- <W>13</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1949</X>
- <Y>403</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">4cd71eb6-cfaa-4a47-a72d-f24e55334beb</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1984</X>
- <Y>391</Y>
- <W>17</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1992.5</X>
- <Y>403</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="86">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f3d440d6-99af-4801-8175-5110376379c5</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1654</X>
- <Y>139</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1685</X>
- <Y>171</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">30c954ff-f9a8-4e9e-8c9e-f59a9c5d291c</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">7feb34e6-c435-40ef-a40e-e2792a845fb9</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1656</X>
- <Y>141</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1664.5</X>
- <Y>151</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ae4bac11-a219-4f42-a0e6-d6bf63aeb9fa</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1656</X>
- <Y>161</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1664.5</X>
- <Y>171</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">24106b26-bc67-44c4-a1e9-15b116c3613c</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1656</X>
- <Y>181</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1664.5</X>
- <Y>191</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1813e6b2-8594-4cdf-882c-e312c60bd7f7</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1700</X>
- <Y>141</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1709.5</X>
- <Y>171</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="87">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">d5967b9f-e8ee-436b-a8ad-29fdcecf32d5</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of generic curves</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">3be0014f-c7bb-45c2-a96c-88d0e7dd1d16</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">8f545f02-550b-41fb-8dd0-70baaad81a72</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1969</X>
- <Y>206</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1994.437</X>
- <Y>218.3081</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="88">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">17b7152b-d30d-4d50-b9ef-c9fe25576fc2</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d0010e01-3735-4f83-b1a6-500844575bf9</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">XY</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1659</X>
- <Y>214</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1690</X>
- <Y>228</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2c415a43-0493-4511-bc80-751474a0da20</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1661</X>
- <Y>216</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1669.5</X>
- <Y>228</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f9c309f7-e784-42bd-ac1d-c6f978935e00</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1705</X>
- <Y>216</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1713</X>
- <Y>228</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="89">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a4cd2751-414d-42ec-8916-476ebf62d7fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in degrees to radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8fe257f5-d9cb-49d1-b6c9-0275b7bb1e07</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">Rad</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1664</X>
- <Y>333</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1695</X>
- <Y>347</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6b4b4cf1-fd46-40c8-9f67-929d72db351b</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">364d3276-a223-4ce8-826c-4071f2924b37</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1666</X>
- <Y>335</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1674.5</X>
- <Y>347</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c9958f3c-a438-4f78-a3b0-79c2730cd794</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1710</X>
- <Y>335</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1718</X>
- <Y>347</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="90">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">364d3276-a223-4ce8-826c-4071f2924b37</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">angle °</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1351</X>
- <Y>340</Y>
- <W>295</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1351.752</X>
- <Y>340.978</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">170</item>
- <item name="Min" type_name="gh_double" type_code="6">-170</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-42.08</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="91">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">49784903-21d7-4279-9bef-a75b6aa5db52</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">d7f4a38f-b681-4226-a169-d484336986a2</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1924</X>
- <Y>257</Y>
- <W>97</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1924.427</X>
- <Y>257.7051</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="92">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">4aa4b973-077b-4bf3-b682-1bab56120052</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">ce2227d2-88d5-44a1-b925-e842136dca13</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2035</X>
- <Y>282</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2035.346</X>
- <Y>282.573</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="93">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">372b06f9-a8b8-4e7d-b9a0-47795f8b6db6</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">1c6a682f-bab0-45c4-b876-7f71802d69ab</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1923</X>
- <Y>318</Y>
- <W>97</W>
- <H>38</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1923.371</X>
- <Y>318.089</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="94">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7feb34e6-c435-40ef-a40e-e2792a845fb9</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">-75</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1568</X>
- <Y>140</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1568.331</X>
- <Y>140.4951</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="95">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>2269.006</X>
- <Y>1162.356</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>2646.125</X>
- <Y>1163.049</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>2646.09</X>
- <Y>1181.682</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>2268.972</X>
- <Y>1180.989</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">61792023-c3a4-44db-a658-c546e321f080</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">25</item>
- <item name="Text" type_name="gh_string" type_code="10">And the real raison d'être: tents!</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2263.972</X>
- <Y>1157.356</Y>
- <W>387.1528</W>
- <H>29.32556</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2269.006</X>
- <Y>1162.356</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="96">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">575660b1-8c79-4b8d-9222-7ab4a6ddb359</item>
- <item name="Name" type_name="gh_string" type_code="10">Rectangle 2Pt</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Create a rectangle from a base plane and two points</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b8a48901-2a87-4e7d-870b-46ddd3c0a406</item>
- <item name="Name" type_name="gh_string" type_code="10">Rectangle 2Pt</item>
- <item name="NickName" type_name="gh_string" type_code="10">Rec 2Pt</item>
- </items>
- <chunks count="7">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2171</X>
- <Y>1539</Y>
- <W>64</W>
- <H>84</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2202</X>
- <Y>1581</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Rectangle base plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e2d6cfd4-201c-479e-a449-d47449b5d99c</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">8d8d0823-8c31-466e-89ab-c417764715c3</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2173</X>
- <Y>1541</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2181.5</X>
- <Y>1551</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="plane" type_name="gh_plane" type_code="72">
- <Ox>0</Ox>
- <Oy>0</Oy>
- <Oz>0</Oz>
- <Xx>1</Xx>
- <Xy>0</Xy>
- <Xz>0</Xz>
- <Yx>0</Yx>
- <Yy>1</Yy>
- <Yz>0</Yz>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">First corner point.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c31a60ef-1b6b-45b3-b296-290087f567bf</item>
- <item name="Name" type_name="gh_string" type_code="10">Point A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">9ac73f55-39ae-429e-8dc8-8e7f958b4042</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2173</X>
- <Y>1561</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2181.5</X>
- <Y>1571</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Second corner point.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">84fdc143-bd3e-4515-a76c-b9793c5c039d</item>
- <item name="Name" type_name="gh_string" type_code="10">Point B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">a8fa466b-7cde-4211-998f-da025b67f6b6</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2173</X>
- <Y>1581</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2181.5</X>
- <Y>1591</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>10</X>
- <Y>5</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="3">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Rectangle corner fillet radius</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">789908b6-b304-431d-b593-c2d0b7f80aa3</item>
- <item name="Name" type_name="gh_string" type_code="10">Radius</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2173</X>
- <Y>1601</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2181.5</X>
- <Y>1611</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Rectangle defined by P, A and B</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5cf2e6df-da94-4f18-9535-133a50f579e9</item>
- <item name="Name" type_name="gh_string" type_code="10">Rectangle</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2217</X>
- <Y>1541</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2225</X>
- <Y>1561</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Length of rectangle curve</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7e0b11dd-d81c-4da2-b222-5309b51b0636</item>
- <item name="Name" type_name="gh_string" type_code="10">Length</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2217</X>
- <Y>1581</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2225</X>
- <Y>1601</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="97">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">17b7152b-d30d-4d50-b9ef-c9fe25576fc2</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">03446bc9-f51d-46c6-85eb-615230f3c249</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">XY</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2099</X>
- <Y>1495</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2130</X>
- <Y>1509</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8b2fbbc3-5be3-46d2-9834-1a1a5caea969</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2101</X>
- <Y>1497</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2109.5</X>
- <Y>1509</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8d8d0823-8c31-466e-89ab-c417764715c3</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2145</X>
- <Y>1497</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2153</X>
- <Y>1509</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="98">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7d498686-2e4d-42a6-adc7-13da767447ec</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1530</X>
- <Y>1185</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1561</X>
- <Y>1217</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bb3e48a5-a17f-4d87-8d40-67dd01b081eb</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">0903a6c2-e102-41a9-8326-3f9533f91f9f</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1532</X>
- <Y>1187</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1540.5</X>
- <Y>1197</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c46a319c-3740-4362-8bff-3454b1d2a6cc</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">17a61eca-a95a-4f8b-aa55-052523e686bc</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1532</X>
- <Y>1207</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1540.5</X>
- <Y>1217</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6c63b308-c5d5-44f6-a259-04c99b457c22</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1532</X>
- <Y>1227</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1540.5</X>
- <Y>1237</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f70a66ec-d9db-496d-9885-4b577f135593</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1576</X>
- <Y>1187</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1585.5</X>
- <Y>1217</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="99">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a0d62394-a118-422d-abb3-6af115c75b25</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Mathematical addition</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f35af83d-b4d8-44ef-9f78-7dc1ed1ad4dd</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- <item name="NickName" type_name="gh_string" type_code="10">A+B</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1688</X>
- <Y>1286</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1719</X>
- <Y>1308</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="5">
- <item name="InputCount" type_name="gh_int32" type_code="3">2</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="3">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">First item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f3b877be-ea2c-4706-b8e6-cf34d2796bca</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f70a66ec-d9db-496d-9885-4b577f135593</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1690</X>
- <Y>1288</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1698.5</X>
- <Y>1298</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Second item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">16e574ce-9435-47c5-850d-a8fc5152e81d</item>
- <item name="Name" type_name="gh_string" type_code="10">B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">60a1321b-0d85-4215-ac31-f94c7015ccf2</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1690</X>
- <Y>1308</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1698.5</X>
- <Y>1318</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9ac73f55-39ae-429e-8dc8-8e7f958b4042</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1734</X>
- <Y>1288</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1742</X>
- <Y>1308</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="100">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">56b92eab-d121-43f7-94d3-6cd8f0ddead8</item>
- <item name="Name" type_name="gh_string" type_code="10">Vector XYZ</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Create a vector from {xyz} components.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">25bf0db5-4adb-4408-bfee-7d3611f1d1b6</item>
- <item name="Name" type_name="gh_string" type_code="10">Vector XYZ</item>
- <item name="NickName" type_name="gh_string" type_code="10">Vec</item>
- </items>
- <chunks count="6">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1576</X>
- <Y>1323</Y>
- <W>64</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1607</X>
- <Y>1355</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Vector {x} component</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ec060dc1-0d2b-4706-ac14-728c097f877f</item>
- <item name="Name" type_name="gh_string" type_code="10">X component</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">9b5d1997-6eb6-419e-84a2-da5dc70f5477</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1578</X>
- <Y>1325</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1586.5</X>
- <Y>1335</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Vector {y} component</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1554f826-50eb-4842-ad0c-e1591646e701</item>
- <item name="Name" type_name="gh_string" type_code="10">Y component</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">b582b4c2-046d-4816-9bf2-b7e40b12e3a1</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1578</X>
- <Y>1345</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1586.5</X>
- <Y>1355</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Vector {z} component</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c5b4970d-6668-445e-b8a3-7d736d0f83dc</item>
- <item name="Name" type_name="gh_string" type_code="10">Z component</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1578</X>
- <Y>1365</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1586.5</X>
- <Y>1375</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Vector construct</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">60a1321b-0d85-4215-ac31-f94c7015ccf2</item>
- <item name="Name" type_name="gh_string" type_code="10">Vector</item>
- <item name="NickName" type_name="gh_string" type_code="10">V</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1622</X>
- <Y>1325</Y>
- <W>16</W>
- <H>30</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1630</X>
- <Y>1340</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Vector length</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">614a3c6d-0b33-40ad-81d3-d0dfd2cda65f</item>
- <item name="Name" type_name="gh_string" type_code="10">Length</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1622</X>
- <Y>1355</Y>
- <W>16</W>
- <H>30</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1630</X>
- <Y>1370</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="101">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9b5d1997-6eb6-419e-84a2-da5dc70f5477</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">3</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1491</X>
- <Y>1321</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1491.106</X>
- <Y>1321.658</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="102">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b582b4c2-046d-4816-9bf2-b7e40b12e3a1</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">2</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1489</X>
- <Y>1351</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1489.186</X>
- <Y>1351.098</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="103">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">9abae6b7-fa1d-448c-9209-4a8155345841</item>
- <item name="Name" type_name="gh_string" type_code="10">Deconstruct</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Deconstruct a point into its component parts.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">04d13d9d-5383-4696-b406-0fc16bb9a913</item>
- <item name="Name" type_name="gh_string" type_code="10">Deconstruct</item>
- <item name="NickName" type_name="gh_string" type_code="10">pDecon</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1704</X>
- <Y>1432</Y>
- <W>64</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1734</X>
- <Y>1464</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Input point</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ac0ad7b1-bf77-4354-ae03-3ed56f7694ac</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">9ac73f55-39ae-429e-8dc8-8e7f958b4042</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1706</X>
- <Y>1434</Y>
- <W>13</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1714</X>
- <Y>1464</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point {x} component</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">986c6ad6-35ae-433f-bd24-072861a5425d</item>
- <item name="Name" type_name="gh_string" type_code="10">X component</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1749</X>
- <Y>1434</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1757.5</X>
- <Y>1444</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point {y} component</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2c914091-22c1-40d8-abc1-4ccddd24e6ea</item>
- <item name="Name" type_name="gh_string" type_code="10">Y component</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1749</X>
- <Y>1454</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1757.5</X>
- <Y>1464</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point {z} component</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">eb73bdaa-9667-4377-9a20-f2e4e4e9cdbf</item>
- <item name="Name" type_name="gh_string" type_code="10">Z component</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1749</X>
- <Y>1474</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1757.5</X>
- <Y>1484</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="104">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">91f17ed9-335a-446e-9d6c-b9c687cba0f0</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">Length</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1456</X>
- <Y>1597</Y>
- <W>263</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1456.337</X>
- <Y>1597.275</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">1</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">100</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">88</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="105">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0fd09915-ec8a-4a40-989a-123b9e68d06c</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">Width</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1457</X>
- <Y>1655</Y>
- <W>264</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1457.087</X>
- <Y>1655.275</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">1</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">100</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">54</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="106">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a0d62394-a118-422d-abb3-6af115c75b25</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Mathematical addition</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">425cffae-604f-493a-a5c9-d68e3739d648</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- <item name="NickName" type_name="gh_string" type_code="10">A+B</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1786</X>
- <Y>1573</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1817</X>
- <Y>1595</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="5">
- <item name="InputCount" type_name="gh_int32" type_code="3">2</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="3">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">First item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bd91b324-b139-4235-80e4-f5e0f3620809</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">986c6ad6-35ae-433f-bd24-072861a5425d</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1788</X>
- <Y>1575</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1796.5</X>
- <Y>1585</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Second item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a87172e3-431e-4ddf-a937-60b5bc804451</item>
- <item name="Name" type_name="gh_string" type_code="10">B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">91f17ed9-335a-446e-9d6c-b9c687cba0f0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1788</X>
- <Y>1595</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1796.5</X>
- <Y>1605</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ef5b5c46-d28c-4d3d-8719-82ebb12862d2</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1832</X>
- <Y>1575</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1840</X>
- <Y>1595</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="107">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a0d62394-a118-422d-abb3-6af115c75b25</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Mathematical addition</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c608fbec-5b75-4c4d-b4d8-48a376f3cd5c</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- <item name="NickName" type_name="gh_string" type_code="10">A+B</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1790</X>
- <Y>1635</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1821</X>
- <Y>1657</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="5">
- <item name="InputCount" type_name="gh_int32" type_code="3">2</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="3">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">First item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bd152880-8e47-4e39-af2c-724b79caa7ea</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2c914091-22c1-40d8-abc1-4ccddd24e6ea</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1792</X>
- <Y>1637</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1800.5</X>
- <Y>1647</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Second item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2ff8f792-cc71-4183-9cdf-57524cacfb82</item>
- <item name="Name" type_name="gh_string" type_code="10">B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">0fd09915-ec8a-4a40-989a-123b9e68d06c</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1792</X>
- <Y>1657</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1800.5</X>
- <Y>1667</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">49b19326-ddaa-450c-a91b-d85295831ca1</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1836</X>
- <Y>1637</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1844</X>
- <Y>1657</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="108">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0025b0b3-cd63-4b6e-a883-c991f59c2549</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1994</X>
- <Y>1573</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2025</X>
- <Y>1605</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e0588cd2-61aa-4863-98e0-1e9a7f21a1be</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">ef5b5c46-d28c-4d3d-8719-82ebb12862d2</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1996</X>
- <Y>1575</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2004.5</X>
- <Y>1585</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">037a8251-883a-40af-a11c-21b9ae0ecb92</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">49b19326-ddaa-450c-a91b-d85295831ca1</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1996</X>
- <Y>1595</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2004.5</X>
- <Y>1605</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">54de041d-38b7-41dc-8680-c6bfa86d9ba3</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1996</X>
- <Y>1615</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2004.5</X>
- <Y>1625</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a8fa466b-7cde-4211-998f-da025b67f6b6</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2040</X>
- <Y>1575</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2049.5</X>
- <Y>1605</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="109">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a0d62394-a118-422d-abb3-6af115c75b25</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Mathematical addition</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">66ed28c2-e779-444a-9c0b-9bd8f26ea017</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- <item name="NickName" type_name="gh_string" type_code="10">A+B</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2124</X>
- <Y>1296</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2155</X>
- <Y>1318</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="5">
- <item name="InputCount" type_name="gh_int32" type_code="3">2</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="3">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">First item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e86f9ce0-a5ad-4770-854f-f91bc82511aa</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">a8fa466b-7cde-4211-998f-da025b67f6b6</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2126</X>
- <Y>1298</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2134.5</X>
- <Y>1308</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Second item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">372d26ca-bd41-418e-9a3f-36c4cb124978</item>
- <item name="Name" type_name="gh_string" type_code="10">B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">60a1321b-0d85-4215-ac31-f94c7015ccf2</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2126</X>
- <Y>1318</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2134.5</X>
- <Y>1328</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">79d26b1a-d554-4adf-802a-54c1a82df2de</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2170</X>
- <Y>1298</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2178</X>
- <Y>1318</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="110">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">f12daa2f-4fd5-48c1-8ac3-5dea476912ca</item>
- <item name="Name" type_name="gh_string" type_code="10">Mirror</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Mirror an object.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5caa758f-68a9-4e10-8541-d9dcff111255</item>
- <item name="Name" type_name="gh_string" type_code="10">Mirror</item>
- <item name="NickName" type_name="gh_string" type_code="10">Mirror</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2176</X>
- <Y>1350</Y>
- <W>65</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2207</X>
- <Y>1372</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Base geometry</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c1d5c25c-8138-49ab-bd00-a02680a1f99d</item>
- <item name="Name" type_name="gh_string" type_code="10">Geometry</item>
- <item name="NickName" type_name="gh_string" type_code="10">G</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">60a1321b-0d85-4215-ac31-f94c7015ccf2</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2178</X>
- <Y>1352</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2186.5</X>
- <Y>1362</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Mirror plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e3d075b2-072b-47d9-9463-c3aa654ad224</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">48d4eb53-6ad2-481f-8610-55d9944a22c3</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2178</X>
- <Y>1372</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2186.5</X>
- <Y>1382</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="plane" type_name="gh_plane" type_code="72">
- <Ox>0</Ox>
- <Oy>0</Oy>
- <Oz>0</Oz>
- <Xx>0</Xx>
- <Xy>1</Xy>
- <Xz>0</Xz>
- <Yx>0</Yx>
- <Yy>0</Yy>
- <Yz>1</Yz>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Mirrored geometry</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bf8b3e5d-d755-43fb-8734-c94ed4d00bba</item>
- <item name="Name" type_name="gh_string" type_code="10">Geometry</item>
- <item name="NickName" type_name="gh_string" type_code="10">G</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2222</X>
- <Y>1352</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2230.5</X>
- <Y>1362</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Transformation data</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">4ee0f674-5c0f-410f-b9f6-08a3604b4334</item>
- <item name="Name" type_name="gh_string" type_code="10">Transform</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2222</X>
- <Y>1372</Y>
- <W>17</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2230.5</X>
- <Y>1382</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="111">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fad344bc-09b1-4855-a2e6-437ef5715fe3</item>
- <item name="Name" type_name="gh_string" type_code="10">YZ Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World YZ plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">272c02f3-8054-4da2-b750-4109a8b8c37e</item>
- <item name="Name" type_name="gh_string" type_code="10">YZ Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">YZ</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2091</X>
- <Y>1367</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2122</X>
- <Y>1381</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">37e34f49-3112-4952-89a1-4b43e1db22f2</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2093</X>
- <Y>1369</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2101.5</X>
- <Y>1381</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World YZ plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">48d4eb53-6ad2-481f-8610-55d9944a22c3</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2137</X>
- <Y>1369</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2145</X>
- <Y>1381</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="112">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">158a8811-4a85-4636-9d80-bb6a389c6dc5</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1987</X>
- <Y>1388</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2018</X>
- <Y>1420</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9c32aac2-60cd-43ce-8916-e951db46c16d</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">986c6ad6-35ae-433f-bd24-072861a5425d</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1989</X>
- <Y>1390</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1997.5</X>
- <Y>1400</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a95132f4-4546-4352-9af9-19e27eedb3c9</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">49b19326-ddaa-450c-a91b-d85295831ca1</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1989</X>
- <Y>1410</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1997.5</X>
- <Y>1420</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8802bfb6-39ba-40ec-84a0-199a2ccc0b6a</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1989</X>
- <Y>1430</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1997.5</X>
- <Y>1440</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">21b1fb4d-d8f9-4dca-a50f-bda44d8d40b3</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2033</X>
- <Y>1390</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2042.5</X>
- <Y>1420</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="113">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a0d62394-a118-422d-abb3-6af115c75b25</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Mathematical addition</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e0d2b78b-5b2e-48e8-af51-67f77e6fe2e3</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- <item name="NickName" type_name="gh_string" type_code="10">A+B</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2364</X>
- <Y>1520</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2395</X>
- <Y>1542</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="5">
- <item name="InputCount" type_name="gh_int32" type_code="3">2</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="3">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">First item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">06d9a75f-442d-48a1-ace0-8e88067ed67f</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">21b1fb4d-d8f9-4dca-a50f-bda44d8d40b3</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2366</X>
- <Y>1522</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2374.5</X>
- <Y>1532</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Second item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">6e986d97-59c1-46d7-8208-3fa2d487fe5c</item>
- <item name="Name" type_name="gh_string" type_code="10">B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">bf8b3e5d-d755-43fb-8734-c94ed4d00bba</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2366</X>
- <Y>1542</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2374.5</X>
- <Y>1552</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5b37f206-7db4-44b0-ba0f-6175cec13953</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2410</X>
- <Y>1522</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2418</X>
- <Y>1542</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="114">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8ecbb3d6-8916-43ff-9ea1-e19a4fb39844</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1996</X>
- <Y>1662</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2027</X>
- <Y>1694</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8e8e1801-b640-4212-9871-fb70a85ac93c</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">ef5b5c46-d28c-4d3d-8719-82ebb12862d2</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1998</X>
- <Y>1664</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2006.5</X>
- <Y>1674</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">26f967a7-45e3-4567-8d5b-e583254c129a</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2c914091-22c1-40d8-abc1-4ccddd24e6ea</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1998</X>
- <Y>1684</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2006.5</X>
- <Y>1694</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">dfcf11d4-ae95-4bcd-afb7-606d1755dc76</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1998</X>
- <Y>1704</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2006.5</X>
- <Y>1714</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e825beda-2c01-4b73-b180-297fcfe8bbc3</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2042</X>
- <Y>1664</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2051.5</X>
- <Y>1694</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="115">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">2c56ab33-c7cc-4129-886c-d5856b714010</item>
- <item name="Name" type_name="gh_string" type_code="10">Subtraction</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Mathematical subtraction</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">716d8d38-b0b8-409b-9809-4626eaa49feb</item>
- <item name="Name" type_name="gh_string" type_code="10">Subtraction</item>
- <item name="NickName" type_name="gh_string" type_code="10">A-B</item>
- </items>
- <chunks count="4">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2368</X>
- <Y>1584</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2399</X>
- <Y>1606</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Item to subtract from (minuend)</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1104ec21-7fa5-4dae-af48-1016aa881210</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">e825beda-2c01-4b73-b180-297fcfe8bbc3</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2370</X>
- <Y>1586</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2378.5</X>
- <Y>1596</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Item to subtract (subtrahend)</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a3acb875-c63e-4a60-8e24-40c0d03aba55</item>
- <item name="Name" type_name="gh_string" type_code="10">B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">bf8b3e5d-d755-43fb-8734-c94ed4d00bba</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2370</X>
- <Y>1606</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2378.5</X>
- <Y>1616</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">The result of the Subtraction</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">40a43f7c-5b18-42a9-934b-a3fca8b86584</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2414</X>
- <Y>1586</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2422</X>
- <Y>1606</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="116">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5c0c8191-e5d5-44d8-9b74-ad7b50095c12</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">40a43f7c-5b18-42a9-934b-a3fca8b86584</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2466</X>
- <Y>1587</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2491.524</X>
- <Y>1599.556</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="117">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">83dc0e24-1c12-445e-8647-dffc452baa6a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">5b37f206-7db4-44b0-ba0f-6175cec13953</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2464</X>
- <Y>1538</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2489.024</X>
- <Y>1550.806</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="118">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c54e879a-bb6c-47c6-b366-aaa5a16a426a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f70a66ec-d9db-496d-9885-4b577f135593</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2387</X>
- <Y>1270</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2412.399</X>
- <Y>1282.068</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="119">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">fbac3e32-f100-4292-8692-77240a42fd1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of three-dimensional points</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">72b7092f-b51c-4a8b-b457-5cc6f58de91d</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">79d26b1a-d554-4adf-802a-54c1a82df2de</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2387</X>
- <Y>1315</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2412.599</X>
- <Y>1327.418</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="120">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8526fdb2-be35-4339-84b0-0de9c353ed2c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">3</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2586</X>
- <Y>1726</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2586.39</X>
- <Y>1726.995</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="121">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">a0d62394-a118-422d-abb3-6af115c75b25</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Mathematical addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e9472173-0e76-45e7-b4b3-2d927d4baecc</item>
- <item name="Name" type_name="gh_string" type_code="10">Addition</item>
- <item name="NickName" type_name="gh_string" type_code="10">A+B</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2663</X>
- <Y>1691</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2694</X>
- <Y>1713</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="5">
- <item name="InputCount" type_name="gh_int32" type_code="3">2</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">1</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="3">
- <chunk name="InputParam" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">First item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">da0b56ad-280a-4f2a-8298-030632f1527e</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">14cc88f5-707d-4e86-a518-ccdcce6ded66</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2665</X>
- <Y>1693</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2673.5</X>
- <Y>1703</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Second item for addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7467100d-05d3-4ae7-a577-8da37d4b9e55</item>
- <item name="Name" type_name="gh_string" type_code="10">B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">8526fdb2-be35-4339-84b0-0de9c353ed2c</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2665</X>
- <Y>1713</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2673.5</X>
- <Y>1723</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Result of addition</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">cd2f5af0-b741-48d5-8bbd-e9695d5278d8</item>
- <item name="Name" type_name="gh_string" type_code="10">Result</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2709</X>
- <Y>1693</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2717</X>
- <Y>1713</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="122">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">14cc88f5-707d-4e86-a518-ccdcce6ded66</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">Peak Height</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2372</X>
- <Y>1693</Y>
- <W>263</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2372.275</X>
- <Y>1693.369</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">1</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">72</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">44</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="123">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">9103c240-a6a9-4223-9b42-dbd19bf38e2b</item>
- <item name="Name" type_name="gh_string" type_code="10">Unit Z</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Unit vector parallel to the world {z} axis.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c51aaec6-9bc7-40d7-ab2d-705fd2e20e1e</item>
- <item name="Name" type_name="gh_string" type_code="10">Unit Z</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2553</X>
- <Y>1260</Y>
- <W>62</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2582</X>
- <Y>1274</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Unit multiplication</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2414a112-d958-411b-b27f-8cdf9d0d2480</item>
- <item name="Name" type_name="gh_string" type_code="10">Factor</item>
- <item name="NickName" type_name="gh_string" type_code="10">F</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2555</X>
- <Y>1262</Y>
- <W>12</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2562.5</X>
- <Y>1274</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">1</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World {z} vector</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fdc6f14b-d2af-4143-9fa5-98d72e1496f4</item>
- <item name="Name" type_name="gh_string" type_code="10">Unit vector</item>
- <item name="NickName" type_name="gh_string" type_code="10">V</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2597</X>
- <Y>1262</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2605</X>
- <Y>1274</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="124">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">934ede4a-924a-4973-bb05-0dc4b36fae75</item>
- <item name="Name" type_name="gh_string" type_code="10">Vector 2Pt</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Create a vector between two points.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">361f13b0-f722-496a-b487-cfffdce2f9cb</item>
- <item name="Name" type_name="gh_string" type_code="10">Vector 2Pt</item>
- <item name="NickName" type_name="gh_string" type_code="10">Vec2Pt</item>
- </items>
- <chunks count="6">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2548</X>
- <Y>1387</Y>
- <W>64</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2579</X>
- <Y>1419</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Base point</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5e0ee3e7-7ca6-486b-a276-9290daec2c1d</item>
- <item name="Name" type_name="gh_string" type_code="10">Point A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">c54e879a-bb6c-47c6-b366-aaa5a16a426a</item>
- <item name="Source" index="1" type_name="gh_guid" type_code="9">83dc0e24-1c12-445e-8647-dffc452baa6a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">2</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2550</X>
- <Y>1389</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2558.5</X>
- <Y>1399</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Tip point</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">69e066b8-5497-4517-9782-d03091f32b49</item>
- <item name="Name" type_name="gh_string" type_code="10">Point B</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">72b7092f-b51c-4a8b-b457-5cc6f58de91d</item>
- <item name="Source" index="1" type_name="gh_guid" type_code="9">5c0c8191-e5d5-44d8-9b74-ad7b50095c12</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">2</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2550</X>
- <Y>1409</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2558.5</X>
- <Y>1419</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Unitize output</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e01e96a4-176c-42b4-baed-01d2da98668f</item>
- <item name="Name" type_name="gh_string" type_code="10">Unitize</item>
- <item name="NickName" type_name="gh_string" type_code="10">U</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2550</X>
- <Y>1429</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2558.5</X>
- <Y>1439</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="boolean" type_name="gh_bool" type_code="1">false</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Vector</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a09f5810-c5e6-41cf-a732-76ade1d918e1</item>
- <item name="Name" type_name="gh_string" type_code="10">Vector</item>
- <item name="NickName" type_name="gh_string" type_code="10">V</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2594</X>
- <Y>1389</Y>
- <W>16</W>
- <H>30</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2602</X>
- <Y>1404</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Vector length</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">15154730-ac41-4df7-abd3-5125f66ed008</item>
- <item name="Name" type_name="gh_string" type_code="10">Length</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2594</X>
- <Y>1419</Y>
- <W>16</W>
- <H>30</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2602</X>
- <Y>1434</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="125">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">bc3e379e-7206-4e7b-b63a-ff61f4b38a3e</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">Construct a plane from an origin point and {x}, {y} axes.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1b6a1009-88b9-418a-8918-f95aabbb1c52</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pl</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2674</X>
- <Y>1295</Y>
- <W>66</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2705</X>
- <Y>1327</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7a695424-f044-41a8-9bf1-a2cbf28cc226</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">c54e879a-bb6c-47c6-b366-aaa5a16a426a</item>
- <item name="Source" index="1" type_name="gh_guid" type_code="9">83dc0e24-1c12-445e-8647-dffc452baa6a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">2</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2676</X>
- <Y>1297</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2684.5</X>
- <Y>1307</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">X-Axis direction of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c61582e5-1354-459b-babb-382f6952792a</item>
- <item name="Name" type_name="gh_string" type_code="10">X-Axis</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">a09f5810-c5e6-41cf-a732-76ade1d918e1</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2676</X>
- <Y>1317</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2684.5</X>
- <Y>1327</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="vector" type_name="gh_point3d" type_code="51">
- <X>1</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Y-Axis direction of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ec988c3e-fd2b-4d2b-aa6a-5e3a9c15a503</item>
- <item name="Name" type_name="gh_string" type_code="10">Y-Axis</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">fdc6f14b-d2af-4143-9fa5-98d72e1496f4</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2676</X>
- <Y>1337</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2684.5</X>
- <Y>1347</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="vector" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>1</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Constructed plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f5ef3118-8c76-4765-bdd9-16087c3ebb2d</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pl</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2720</X>
- <Y>1297</Y>
- <W>18</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2729</X>
- <Y>1327</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="126">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">079bd9bd-54a0-41d4-98af-db999015f63d</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="10">
- <item name="AdditionalSource" type_name="gh_string" type_code="10"> Private Function IsSet(ByVal param As String) As Boolean ' Check if an input parameter has data
- Dim i As Integer = Component.Params.IndexOfInputParam(param)
- If i > -1 Then
- Return Component.Params.Input.ElementAt(i).DataType > 1 ' input parameter DataType of 1 means it's not receiving input (internal or external)
- Else
- Msg("error", "Input parameter '" & param & "' not found")
- Return False
- End If
- End Function
-
- Private Sub Msg(ByVal type As String, ByVal msg As String) ' Output an error, warning, or informational message
- Select Case type
- Case "error"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Error, msg)
- Print("Error: " & msg)
- Case "warning"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, msg)
- Print("Warning: " & msg)
- Case "info"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Remark, msg)
- Print(msg)
- End Select
- End Sub
-
- ' Solve for the m parameter from length and width (reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m))
- Private Function SolveMFromLenWid(ByVal L As Double, ByVal w As Double) As Double
- If w = 0 Then
- Return Defined.M_ZERO_W ' for the boundry condition width = 0, bypass the function and return the known m value
- End If
-
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwl As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwl = 2 * EllipticE(m) / EllipticK(m) - 1 ' calculate w/L with the test value of m
- If cwl < w / L Then ' compares the calculated w/L with the actual w/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- Return m
- End Function
-
- ' Solve for the m parameter from length and height (reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m))
- ' Note that it's actually possible to find 2 valid values for m (hence 2 width values) at certain height values
- Private Function SolveMFromLenHt(ByVal L As Double, ByVal h As Double) As List(Of Double)
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim twoWidths As Boolean = h / L >= Defined.DOUBLE_W_HL_RATIO And h / L < Defined.MAX_HL_RATIO ' check to see if h/L is within the range where 2 solutions for the width are possible
- Dim m As Double
- Dim mult_m As New List(Of Double)
- Dim chl As Double
-
- If twoWidths Then
- ' find the first of two possible solutions for m with the following limits:
- lower = Defined.M_DOUBLE_W ' see constants at bottom of script
- upper = Defined.M_MAXHEIGHT ' see constants at bottom of script
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
-
- ' then find the second of two possible solutions for m with the following limits:
- lower = Defined.M_MAXHEIGHT ' see constants at bottom of script
- upper = 1
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl < h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- If m <= Defined.M_MAX Then ' return this m parameter only if it falls within the maximum useful value (above which the curve breaks down)
- mult_m.Add(m)
- End If
-
- Else
- ' find the one possible solution for the m parameter
- upper = Defined.M_DOUBLE_W ' limit the upper end of the search to the maximum value of m for which only one solution exists
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
- End If
-
- Return mult_m
- End Function
-
- ' Solve for the m parameter from width and height (derived from reference {1} equations (33) and (34) with same notes as above)
- Private Function SolveMFromWidHt(ByVal w As Double, ByVal h As Double) As Double
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwh As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwh = (2 * EllipticE(m) - EllipticK(m)) / Math.Sqrt(m) ' calculate w/h with the test value of m
- If cwh < w / h Then ' compares the calculated w/h with the actual w/h then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- Return m
- End Function
-
- ' Calculate length based on height and an m parameter, derived from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_L(ByVal h As Double, ByVal m As Double) As Double
- Return h * EllipticK(m) / Math.Sqrt(m)
- End Function
-
- ' Calculate width based on length and an m parameter, derived from reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m)
- Private Function Cal_W(ByVal L As Double, ByVal m As Double) As Double
- Return L * (2 * EllipticE(m) / EllipticK(m) - 1)
- End Function
-
- ' Calculate height based on length and an m parameter, from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_H(ByVal L As Double, ByVal m As Double) As Double
- Return L * Math.Sqrt(m) / EllipticK(m)
- End Function
-
- ' Calculate the unique m parameter based on a start tangent angle, from reference {2}, just above equation (9a), that states k = Sin(angle / 2 + Pi / 4),
- ' but as m = k^2 and due to this script's need for an angle rotated 90° versus the one in reference {1}, the following formula is the result
- ' New note: verified by reference {4}, pg. 78 at the bottom
- Private Function Cal_M(ByVal a As Double) As Double
- Return (1 - Math.Cos(a)) / 2 ' equal to Sin^2(a/2) too
- End Function
-
- ' Calculate start tangent angle based on an m parameter, derived from above formula
- Private Function Cal_A(ByVal m As Double) As Double
- Return Math.Acos(1 - 2 * m)
- End Function
-
- ' This is the heart of this script, taking the found (or specified) length, width, and angle values along with the found m parameter to create
- ' a list of points that approximate the shape or form of the elastica. It works by finding the x and y coordinates (which are reversed versus
- ' the original equations (12a) and (12b) from reference {2} due to the 90° difference in orientation) based on the tangent angle along the curve.
- ' See reference {2} for more details on how they derived it. Note that to simplify things, the algorithm only calculates the points for half of the
- ' curve, then mirrors those points along the y-axis.
- Private Function FindBendForm(ByVal L As Double, ByVal w As Double, ByVal m As Double, ByVal ang As Double, ByVal refPln As Plane) As List(Of Point3d)
- L = L / 2 ' because the below algorithm is based on the formulas in reference {2} for only half of the curve
- w = w / 2 ' same
-
- If ang = 0 Then ' if angle (and height) = 0, then simply return the start and end points of the straight line
- Dim out As New List(Of Point3d)
- out.Add(refPln.PointAt(w, 0, 0))
- out.Add(refPln.PointAt(-w, 0, 0))
- Return out
- End If
-
- Dim x As Double
- Dim y As Double
- Dim halfCurvePts As New List(Of Point3d)
- Dim fullCurvePts As New List(Of Point3d)
- Dim translatedPts As New List(Of Point3d)
-
- ang -= Math.PI / 2 ' a hack to allow this algorithm to work, since the original curve in paper {2} was rotated 90°
- Dim angB As Double = ang + (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' angB is the 'lowercase theta' which should be in formula {2}(12b) as the interval
- ' start [a typo...see equation(3)]. It's necessary to start angB at ang + [interval] instead of just ang due to integration failing at angB = ang
- halfCurvePts.Add(New Point3d(w, 0, 0)) ' start with this known initial point, as integration will fail when angB = ang
-
- ' each point {x, y} is calculated from the tangent angle, angB, that occurs at each point (which is why this iterates from ~ang to -pi/2, the known end condition)
- Do While Math.Round(angB, Defined.ROUNDTO) >= Math.Round(-Math.PI / 2, Defined.ROUNDTO)
- y = (Math.Sqrt(2) * Math.Sqrt(Math.Sin(ang) - Math.Sin(angB)) * (w + L)) / (2 * EllipticE(m)) ' note that x and y are swapped vs. (12a) and (12b)
- x = (L / (Math.Sqrt(2) * EllipticK(m))) * Simpson(angB, -Math.PI / 2, 500, ang) ' calculate the Simpson approximation of the integral (function f below)
- ' over the interval angB ('lowercase theta') to -pi/2. side note: is 500 too few iterations for the Simson algorithm?
-
- If Math.Round(x, Defined.ROUNDTO) = 0 Then x = 0
- halfCurvePts.Add(New Point3d(x, y, 0))
-
- angB += (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' onto the next tangent angle
- Loop
-
- ' After finding the x and y values for half of the curve, add the {-x, y} values for the rest of the curve
- For Each point As Point3d In halfCurvePts
- If Math.Round(point.X, Defined.ROUNDTO) = 0 Then
- If Math.Round(point.Y, Defined.ROUNDTO) = 0 Then
- fullCurvePts.Add(New Point3d(0, 0, 0)) ' special case when width = 0: when x = 0, only duplicate the point when y = 0 too
- End If
- Else
- fullCurvePts.Add(New Point3d(-point.X, point.Y, 0))
- End If
- Next
- halfCurvePts.Reverse
- fullCurvePts.AddRange(halfCurvePts)
-
- For Each p As Point3d In fullCurvePts
- translatedPts.Add(refPln.PointAt(p.X, p.Y, p.Z)) ' translate the points from the reference plane to the world plane
- Next
-
- Return translatedPts
- End Function
-
- ' Interpolates the points from FindBendForm to create the Elastica curve. Uses start & end tangents for greater accuracy.
- Private Function MakeCurve(ByVal pts As List(Of Point3d), ByVal ang As Double, ByVal refPln As Plane) As Curve
- If ang <> 0 Then
- Dim ts, te As New Vector3d(refPln.XAxis)
- ts.Rotate(ang, refPln.ZAxis)
- te.Rotate(-ang, refPln.ZAxis)
- Return Curve.CreateInterpolatedCurve(pts, 3, CurveKnotStyle.Chord, ts, te) ' 3rd degree curve with 'Chord' Knot Style
- Else
- Return Curve.CreateInterpolatedCurve(pts, 3) ' if angle (and height) = 0, then simply interpolate the straight line (no start/end tangents)
- End If
- End Function
-
- ' Implements the Simpson approximation for an integral of function f below
- Public Function Simpson(a As Double, b As Double, n As Integer, theta As Double) As Double 'n should be an even number
- Dim j As Integer, s1 As Double, s2 As Double, h As Double
- h = (b - a) / n
- s1 = 0
- s2 = 0
- For j = 1 To n - 1 Step 2
- s1 = s1 + fn(a + j * h, theta)
- Next j
- For j = 2 To n - 2 Step 2
- s2 = s2 + fn(a + j * h, theta)
- Next j
- Simpson = h / 3 * (fn(a, theta) + 4 * s1 + 2 * s2 + fn(b, theta))
- End Function
-
- ' Specific calculation for the above integration
- Public Function fn(x As Double, theta As Double) As Double
- fn = Math.Sin(x) / (Math.Sqrt(Math.Sin(theta) - Math.Sin(x))) ' from reference {2} formula (12b)
- End Function
-
-
- ' Return the Complete Elliptic integral of the 1st kind
- ' Abramowitz and Stegun p.591, formula 17.3.11
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticK(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum += Math.Pow(m, i) * Math.Pow(term, 2)
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
-
- ' Return the Complete Elliptic integral of the 2nd kind
- ' Abramowitz and Stegun p.591, formula 17.3.12
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticE(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum -= Math.Pow(m, i) * Math.Pow(term, 2) / above
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
- Friend Partial NotInheritable Class Defined
- Private Sub New()
- End Sub
-
- ' Note: most of these values for m and h/L ratio were found with Wolfram Alpha and either specific intercepts (x=0) or local minima/maxima. They should be constant.
- Public Const M_SKETCHY As Double = 0.95 ' value of the m parameter where the curvature near the ends of the curve gets wonky
- Public Const M_MAX As Double = 0.993 ' maximum useful value of the m parameter, above which this algorithm for the form of the curve breaks down
- Public Const M_ZERO_W As Double = 0.826114765984970336 ' value of the m parameter when width = 0
- Public Const M_MAXHEIGHT As Double = 0.701327460663101223 ' value of the m parameter at maximum possible height of the bent rod/wire
- Public Const M_DOUBLE_W As Double = 0.180254422335013983 ' minimum value of the m parameter when two width values are possible for a given height and length
- Public Const DOUBLE_W_HL_RATIO As Double = 0.257342117984635757 ' value of the height/length ratio above which there are two possible width values
- Public Const MAX_HL_RATIO As Double = 0.403140189705650243 ' maximum possible value of the height/length ratio
-
- Public Const MAXERR As Double = 0.0000000001 ' error tolerance
- Public Const MAXIT As Integer = 100 ' maximum number of iterations
- Public Const ROUNDTO As Integer = 10 ' number of decimal places to round off to
- Public Const CURVEDIVS As Integer = 50 ' number of sample points for building the curve (or half-curve as it were)
- End Class</item>
- <item name="Description" type_name="gh_string" type_code="10">A VB.NET scriptable component</item>
- <item name="EditorPosition" type_name="gh_drawing_point" type_code="30">
- <X>98</X>
- <Y>86</Y>
- </item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">efeac80e-aaa9-43ef-acff-f0dc08a37ca1</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- <item name="NickName" type_name="gh_string" type_code="10">VB</item>
- <item name="OutParameter" type_name="gh_bool" type_code="1">true</item>
- <item name="ReferenceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="ScriptSource" type_name="gh_string" type_code="10"> ' -----------------------------------------------------------------
- ' Elastic Bending Script by Will McElwain
- ' Created February 2014
- '
- ' DESCRIPTION:
- ' This beast creates the so-called 'elastica curve', the shape a long, thin rod or wire makes when it is bent elastically (i.e. not permanently). In this case, force
- ' is assumed to only be applied horizontally (which would be in line with the rod at rest) and both ends are assumed to be pinned or hinged meaning they are free
- ' to rotate (as opposed to clamped, when the end tangent angle is fixed, usually horizontally). An interesting finding is that it doesn't matter what the material or
- ' cross-sectional area is, as long as they're uniform along the entire length. Everything makes the same shape when bent as long as it doesn't cross the threshold
- ' from elastic to plastic (permanent) deformation (I don't bother to find that limit here, but can be found if the yield stress for a material is known).
- '
- ' Key to the formulas used in this script are elliptic integrals, specifically K(m), the complete elliptic integral of the first kind, and E(m), the complete elliptic
- ' integral of the second kind. There was a lot of confusion over the 'm' and 'k' parameters for these functions, as some people use them interchangeably, but they are
- ' not the same. m = k^2 (thus k = Sqrt(m)). I try to use the 'm' parameter exclusively to avoid this confusion. Note that there is a unique 'm' parameter for every
- ' configuration/shape of the elastica curve.
- '
- ' This script tries to find that unique 'm' parameter based on the inputs. The algorithm starts with a test version of m, evaluates an expression, say 2*E(m)/K(m)-1,
- ' then compares the result to what it should be (in this case, a known width/length ratio). Iterate until the correct m is found. Once we have m, we can then calculate
- ' all of the other unknowns, then find points that lie on that curve, then interpolate those points for the actual curve. You can also use Wolfram|Alpha as I did to
- ' find the m parameter based on the equations in this script (example here: http://tiny.cc/t4tpbx for when say width=45.2 and length=67.1).
- '
- ' Other notes:
- ' * This script works with negative values for width, which will creat a self-intersecting curve (as it should). The curvature of the elastica starts to break down around
- ' m=0.95 (~154°), but this script will continue to work until M_MAX, m=0.993 (~169°). If you wish to ignore self-intersecting curves, set ignoreSelfIntersecting to True
- ' * When the only known values are length and height, it is actually possible for certain ratios of height to length to have two valid m values (thus 2 possible widths
- ' and angles). This script will return them both.
- ' * Only the first two valid parameters (of the required ones) will be used, meaning if all four are connected (length, width or a PtB, height, and angle), this script will
- ' only use length and width (or a PtB).
- ' * Depending on the magnitude of your inputs (say if they're really small, like if length < 10), you might have to increase the constant ROUNDTO at the bottom
- '
- ' REFERENCES:
- ' {1} "The elastic rod" by M.E. Pacheco Q. & E. Pina, http://www.scielo.org.mx/pdf/rmfe/v53n2/v53n2a8.pdf
- ' {2} "An experiment in nonlinear beam theory" by A. Valiente, http://www.deepdyve.com/lp/doc/I3lwnxdfGz , also here: http://tiny.cc/Valiente_AEiNBT
- ' {3} "Snap buckling, writhing and Loop formation In twisted rods" by V.G.A. GOSS, http://myweb.lsbu.ac.uk/~gossga/thesisFinal.pdf
- ' {4} "Theory of Elastic Stability" by Stephen Timoshenko, http://www.scribd.com/doc/50402462/Timoshenko-Theory-of-Elastic-Stability (start on p. 76)
- '
- ' INPUT:
- ' PtA - First anchor point (required)
- ' PtB - Second anchor point (optional, though 2 out of the 4--length, width, height, angle--need to be specified)
- ' [note that PtB can be the same as PtA (meaning width would be zero)]
- ' [also note that if a different width is additionally specified that's not equal to the distance between PtA and PtB, then the end point will not equal PtB anymore]
- ' Pln - Plane of the bent rod/wire, which bends up in the +y direction. The line between PtA and PtB (if specified) must be parallel to the x-axis of this plane
- '
- ' ** 2 of the following 4 need to be specified **
- ' Len - Length of the rod/wire, which needs to be > 0
- ' Wid - Width between the endpoints of the curve [note: if PtB is specified in addition, and distance between PtA and PtB <> width, the end point will be relocated
- ' Ht - Height of the bent rod/wire (when negative, curve will bend downward, relative to the input plane, instead)
- ' Ang - Inner departure angle or tangent angle (in radians) at the ends of the bent rod/wire. Set up so as width approaches length (thus height approaches zero), angle approaches zero
- '
- ' * Following variables only needed for optional calculating of bending force, not for shape of curve.
- ' E - Young's modulus (modulus of elasticity) in GPa (=N/m^2) (material-specific. for example, 7075 aluminum is roughly 71.7 GPa)
- ' I - Second moment of area (or area moment of inertia) in m^4 (cross-section-specific. for example, a hollow rod
- ' would have I = pi * (outer_diameter^4 - inner_diameter^4) / 32
- ' Note: E*I is also known as flexural rigidity or bending stiffness
- '
- ' OUTPUT:
- ' out - only for debugging messages
- ' Pts - the list of points that approximate the shape of the elastica
- ' Crv - the 3rd-degree curve interpolated from those points (with accurate start & end tangents)
- ' L - the length of the rod/wire
- ' W - the distance (width) between the endpoints of the rod/wire
- ' H - the height of the bent rod/wire
- ' A - the tangent angle at the (start) end of the rod/wire
- ' F - the force needed to hold the rod/wire in a specific shape (based on the material properties & cross-section) **be sure your units for 'I' match your units for the
- ' rest of your inputs (length, width, etc.). Also note that the critical buckling load (force) that makes the rod/wire start to bend can be found at height=0
- '
- ' THANKS TO:
- ' Mårten Nettelbladt (thegeometryofbending.blogspot.com)
- ' Daniel Piker (Kangaroo plugin)
- ' David Rutten (Grasshopper guru)
- ' Euler & Bernoulli (the O.G.'s)
- '
- ' -----------------------------------------------------------------
-
- Dim ignoreSelfIntersecting As Boolean = False ' set to True if you don't want to output curves where width < 0, which creates a self-intersecting curve
-
- Dim inCt As Integer = 0 ' count the number of required parameters that are receiving data
- Dim length As Double
- Dim width As System.Object = Nothing ' need to set as Nothing so we can check if it has been assigned a value later
- Dim height As Double
- Dim angle As Double
- Dim m As Double
- Dim multiple_m As New List(Of Double)
- Dim AtoB As Line
- Dim flip_H As Boolean = False ' if height is negative, this flag will be set
- Dim flip_A As Boolean = False ' if angle is negative, this flag will be set
-
- If Not IsSet("Pln") Then
- Msg("error", "Base plane is not set")
- Return
- End If
-
- If Not IsSet("PtA") Then
- Msg("error", "Point A is not set")
- Return
- End If
-
- If Math.Round(Pln.DistanceTo(PtA), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point A is not on the base plane")
- Return
- End If
-
- Dim refPlane As Plane = Pln ' create a reference plane = input plane and set the origin of it to PtA in case PtA isn't the origin already
- refPlane.Origin = PtA
-
- If IsSet("PtB") Then
- If Math.Round(Pln.DistanceTo(PtB), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point B is not on the base plane")
- Return
- End If
-
- AtoB = New Line(PtA, PtB)
- If AtoB.Length <> 0 And Not AtoB.Direction.IsPerpendicularTo(Pln.YAxis) Then
- Msg("error", "The line between PtA and PtB is not perpendicular to the Y-axis of the specified plane")
- Return
- End If
-
- inCt += 1
- If IsSet("Wid") Then Msg("info", "Wid will override the distance between PtA and PtB. If you do not want this to happen, disconnect PtB or Wid.")
-
- width = PtA.DistanceTo(PtB) ' get the width (distance) between PtA and PtB
-
- Dim refPtB As Point3d
- refPlane.RemapToPlaneSpace(PtB, refPtB)
- If refPtB.X < 0 Then width = -width ' check if PtB is to the left of PtA...if so, width is negative
- End If
-
- If IsSet("Len") Then inCt += 1
- If IsSet("Wid") Then inCt += 1
- If IsSet("Ht") Then inCt += 1
- If IsSet("Ang") Then inCt += 1
- If inCt > 2 Then Msg("info", "More parameters set than are required (out of length, width, height, angle). Only using the first two valid ones.")
-
- ' check for connected/specified inputs. note: only the first two that it comes across will be used
- If IsSet("Len") Then ' if length is specified then...
- If Len <= 0 Then
- Msg("error", "Length cannot be negative or zero")
- Return
- End If
- If IsSet("Wid") Then ' find height & angle based on length and specified width
- If Wid > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If Wid = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- width = Wid
- Else
- m = SolveMFromLenWid(Len, Wid)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- width = Wid
- End If
-
- Else If width IsNot Nothing Then ' find height & angle based on length and calculated width (distance between PtA and PtB)
- If width > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If width = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- Else
- m = SolveMFromLenWid(Len, width)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
-
- Else If IsSet("Ht") Then ' find width & angle based on length and height ** possible to return 2 results **
- If Math.Abs(Ht / Len) > Defined.MAX_HL_RATIO Then
- Msg("error", "Height not possible with given length")
- Return
- End If
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- width = Len
- angle = 0
- Else
- multiple_m = SolveMFromLenHt(Len, Ht) ' note that it's possible for two values of m to be found if height is close to max height
- If multiple_m.Count = 1 Then ' if there's only one m value returned, calculate the width & angle here. we'll deal with multiple m values later
- m = multiple_m.Item(0)
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find width & height based on length and angle
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- width = Len
- height = 0
- Else
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to length")
- Return
- End If
- length = Len
-
- Else If IsSet("Wid") Then ' if width is specified then...
- If IsSet("Ht") Then ' find length & angle based on specified width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = Wid
- angle = 0
- Else
- m = SolveMFromWidHt(Wid, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on specified width and angle
- If Wid = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = Wid
- height = 0
- Else
- length = Wid / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to width (Wid)")
- Return
- End If
- width = Wid
-
- Else If width IsNot Nothing Then ' if width is determined by PtA and PtB then...
- If IsSet("Ht") Then ' find length & angle based on calculated width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = width
- angle = 0
- Else
- m = SolveMFromWidHt(width, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on calculated width and angle
- If width = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = width
- height = 0
- Else
- length = width / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to PtA and PtB")
- Return
- End If
-
- Else If IsSet("Ht") Then ' if height is specified then...
- If IsSet("Ang") Then ' find length & width based on height and angle
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_H = True
- flip_A = True
- End If
- If Ht = 0 Then
- Msg("error", "Height can't = 0 if only height and angle are specified")
- Return
- Else
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = Not flip_A
- flip_H = Not flip_H
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then
- Msg("error", "Angle can't = 0 if only height and angle are specified")
- Return
- Else
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- width = Cal_W(length, m) ' L * (2 * E(m) / K(m) - 1)
- End If
- angle = Ang
- End If
- height = Ht
-
- Else
- Msg("error", "Need to specify one more parameter in addition to height")
- Return
- End If
-
- Else If IsSet("Ang") Then
- Msg("error", "Need to specify one more parameter in addition to angle")
- Return
- Else
- Msg("error", "Need to specify two of the four parameters: length, width (or PtB), height, and angle")
- Return
- End If
-
- If m > Defined.M_MAX Then
- Msg("error", "Form of curve not solvable with current algorithm and given inputs")
- Return
- End If
-
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- If multiple_m.Count > 1 Then ' if there is more than one m value returned, calculate the width, angle, and curve for each
- Dim multi_pts As New DataTree(Of Point3d)
- Dim multi_crv As New List(Of Curve)
- Dim tmp_pts As New List(Of Point3d)
- Dim multi_W, multi_A, multi_F As New List(Of Double)
- Dim j As Integer = 0 ' used for creating a new branch (GH_Path) for storing pts which is itself a list of points
-
- For Each m_val As Double In multiple_m
- width = Cal_W(length, m_val) 'length * (2 * EllipticE(m_val) / EllipticK(m_val) - 1)
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("warning", "One curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Continue For
- End If
-
- If m_val >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve whose width = " & Math.Round(width, 4) & " is not guaranteed")
-
- angle = Cal_A(m_val) 'Math.Asin(2 * m_val - 1)
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- tmp_pts = FindBendForm(length, width, m_val, angle, refPlane)
- multi_pts.AddRange(tmp_pts, New GH_Path(j))
- multi_crv.Add(MakeCurve(tmp_pts, angle, refPlane))
-
- multi_W.Add(width)
- If flip_A Then angle = -angle
- multi_A.Add(angle)
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- multi_F.Add(EllipticK(m_val) ^ 2 * E * I / length ^ 2) ' from reference {4} pg. 79
-
- j += 1
- refPlane.Origin = PtA ' reset the reference plane origin to PtA for the next m_val
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m_val & ", k=" & Math.Sqrt(m_val) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- Next
-
- ' assign the outputs
- Pts = multi_pts
- Crv = multi_crv
- L = length
- W = multi_W
- If flip_H Then height = -height
- H = height
- A = multi_A
- F = multi_F
-
- Else ' only deal with the single m value
- If m >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve at these parameters is not guaranteed")
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("error", "Curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Return
- End If
-
- Pts = FindBendForm(length, width, m, angle, refPlane)
- Crv = MakeCurve(pts, angle, refPlane)
- L = length
- W = width
- If flip_H Then height = -height
- H = height
- If flip_A Then angle = -angle
- A = angle
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- F = EllipticK(m) ^ 2 * E * I / length ^ 2 ' from reference {4} pg. 79. Note: the critical buckling (that makes the rod/wire start to bend) can be found at height=0 (width=length)
-
- 'height = Math.Sqrt(((2 * Len / 5) ^ 2 - ((Wid - Len / 5) / 2) ^ 2) ' quick approximation discovered by Mårten of 'Geometry of Bending' fame ( http://tiny.cc/it2pbx )
- 'width = (Len +/- 2 * Math.Sqrt(4 * Len ^ 2 - 25 * Ht ^ 2)) / 5 ' derived from above
- 'length = (2 * Math.Sqrt(15 * Ht ^ 2 + 4 * Wid ^ 2) - Wid) / 3 ' derived from above
-
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m & ", k=" & Math.Sqrt(m) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- End If
- </item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2806</X>
- <Y>1380</Y>
- <W>84</W>
- <H>184</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2848</X>
- <Y>1472</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="19">
- <item name="InputCount" type_name="gh_int32" type_code="3">9</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="2" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="3" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="4" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="5" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="6" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="7" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="8" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">8</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">3ede854e-c753-40eb-84cb-b48008f14fd4</item>
- <item name="OutputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="2" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="3" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="4" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="5" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="6" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="7" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="17">
- <chunk name="InputParam" index="0">
- <items count="12">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtA</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">89fe7d9c-b998-43b5-8788-30064fd07e47</item>
- <item name="Name" type_name="gh_string" type_code="10">PtA</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtA</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">c54e879a-bb6c-47c6-b366-aaa5a16a426a</item>
- <item name="Source" index="1" type_name="gh_guid" type_code="9">83dc0e24-1c12-445e-8647-dffc452baa6a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">2</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1382</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1392</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="12">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtB</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d6635d82-91c7-476c-acf5-3f2feae5d91b</item>
- <item name="Name" type_name="gh_string" type_code="10">PtB</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtB</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">72b7092f-b51c-4a8b-b457-5cc6f58de91d</item>
- <item name="Source" index="1" type_name="gh_guid" type_code="9">5c0c8191-e5d5-44d8-9b74-ad7b50095c12</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">2</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1402</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1412</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="2">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Pln</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8a5ea10d-8baa-47cd-8970-989b44d90853</item>
- <item name="Name" type_name="gh_string" type_code="10">Pln</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pln</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f5ef3118-8c76-4765-bdd9-16087c3ebb2d</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">3897522d-58e9-4d60-b38c-978ddacfedd8</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1422</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1432</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="3">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Len</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">4adfaa55-4523-43d7-9887-fcfc9daa5d32</item>
- <item name="Name" type_name="gh_string" type_code="10">Len</item>
- <item name="NickName" type_name="gh_string" type_code="10">Len</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1442</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1452</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="4">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Wid</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8d352101-30bc-4590-8ef7-3bebef383668</item>
- <item name="Name" type_name="gh_string" type_code="10">Wid</item>
- <item name="NickName" type_name="gh_string" type_code="10">Wid</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1462</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1472</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="5">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ht</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ed97f943-b85a-4bc0-84db-64b077475aca</item>
- <item name="Name" type_name="gh_string" type_code="10">Ht</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ht</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">cd2f5af0-b741-48d5-8bbd-e9695d5278d8</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1482</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1492</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="6">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ang</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c30d75f7-bb99-4be5-88aa-f992b8386696</item>
- <item name="Name" type_name="gh_string" type_code="10">Ang</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ang</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1502</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1512</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="7">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable E</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">33bfc033-c0d3-4ebb-a5b0-659df3a0b51e</item>
- <item name="Name" type_name="gh_string" type_code="10">E</item>
- <item name="NickName" type_name="gh_string" type_code="10">E</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1522</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1532</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="8">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable I</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">66f1e54b-d2c1-43dd-8716-e6fa7a1ddeca</item>
- <item name="Name" type_name="gh_string" type_code="10">I</item>
- <item name="NickName" type_name="gh_string" type_code="10">I</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2808</X>
- <Y>1542</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2822</X>
- <Y>1552</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Print, Reflect and Error streams</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">be85f9e8-bde2-44f9-9bb8-80b1010c9d68</item>
- <item name="Name" type_name="gh_string" type_code="10">out</item>
- <item name="NickName" type_name="gh_string" type_code="10">out</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1382</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1393.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Pts</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bacf233a-c717-41ce-b241-8552418f09f9</item>
- <item name="Name" type_name="gh_string" type_code="10">Pts</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pts</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1404</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1415.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Crv</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">4fa97325-f527-43c0-a006-78cf944c5e40</item>
- <item name="Name" type_name="gh_string" type_code="10">Crv</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1427</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1438.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="3">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter L</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b9ed95d2-8f4a-49e9-a734-c73e21c200b4</item>
- <item name="Name" type_name="gh_string" type_code="10">L</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1449</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1460.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="4">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter W</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">264cbae0-f043-490d-9121-0e45630a0b2f</item>
- <item name="Name" type_name="gh_string" type_code="10">W</item>
- <item name="NickName" type_name="gh_string" type_code="10">W</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1472</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1483.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="5">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter H</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">1578bf3a-8211-4a77-85d0-3cd951789283</item>
- <item name="Name" type_name="gh_string" type_code="10">H</item>
- <item name="NickName" type_name="gh_string" type_code="10">H</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1494</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1505.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="6">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter A</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">97c17859-cbbf-4962-a448-d8665c3e706a</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1517</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1528.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="7">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter F</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8f3ba33f-2383-4ae9-b911-b9b6e4553a35</item>
- <item name="Name" type_name="gh_string" type_code="10">F</item>
- <item name="NickName" type_name="gh_string" type_code="10">F</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2863</X>
- <Y>1539</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2875.5</X>
- <Y>1550.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="127">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">c277f778-6fdf-4890-8f78-347efb23c406</item>
- <item name="Name" type_name="gh_string" type_code="10">Pipe</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Create a pipe surface around a rail curve.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a18b4542-f317-4532-9634-9ef245df4e2c</item>
- <item name="Name" type_name="gh_string" type_code="10">Pipe</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pipe</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3076</X>
- <Y>1319</Y>
- <W>64</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3107</X>
- <Y>1351</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Base curve</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9be76020-39f2-465f-b508-f09d3f48a425</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">C</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">4fa97325-f527-43c0-a006-78cf944c5e40</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3078</X>
- <Y>1321</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3086.5</X>
- <Y>1331</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Pipe radius</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0f317bff-3048-480b-865a-13a2e1cb5106</item>
- <item name="Name" type_name="gh_string" type_code="10">Radius</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f2abb0db-802c-4f59-83cb-393711b4a3d9</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3078</X>
- <Y>1341</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3086.5</X>
- <Y>1351</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">1</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Specifies the type of caps (0=None, 1=Flat, 2=Round)</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">38981e04-97f9-4736-a46b-c55825f5b8fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Caps</item>
- <item name="NickName" type_name="gh_string" type_code="10">E</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3078</X>
- <Y>1361</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3086.5</X>
- <Y>1371</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_int32" type_code="3">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Resulting Pipe</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d118f269-0338-4d1d-b06d-018819a25f1a</item>
- <item name="Name" type_name="gh_string" type_code="10">Pipe</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3122</X>
- <Y>1321</Y>
- <W>16</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3130</X>
- <Y>1351</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="128">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f2abb0db-802c-4f59-83cb-393711b4a3d9</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">.25</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2955</X>
- <Y>1314</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2955.289</X>
- <Y>1314.952</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="129">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">26ed0e55-cf0a-436e-9447-805704984e62</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">087cd096-ba72-4a81-a462-a9ce3ce43ec4</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3045</X>
- <Y>1553</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3045.485</X>
- <Y>1553.607</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="130">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">0d77c51e-584f-44e8-aed2-c2ddf4803888</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Convert an angle specified in radians to degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">bb620c76-8624-412c-8f17-4aa82e09f1b9</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">Deg</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2955</X>
- <Y>1562</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2985</X>
- <Y>1576</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Angle in radians</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">e10ae9f2-834e-4fd3-afbb-6416a8f9ca28</item>
- <item name="Name" type_name="gh_string" type_code="10">Radians</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">97c17859-cbbf-4962-a448-d8665c3e706a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2957</X>
- <Y>1564</Y>
- <W>13</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2965</X>
- <Y>1576</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Angle in degrees</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">087cd096-ba72-4a81-a462-a9ce3ce43ec4</item>
- <item name="Name" type_name="gh_string" type_code="10">Degrees</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3000</X>
- <Y>1564</Y>
- <W>17</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3008.5</X>
- <Y>1576</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="131">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">4ddb17a4-9e5f-4fb4-9f06-84399d240517</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">b9ed95d2-8f4a-49e9-a734-c73e21c200b4</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2941</X>
- <Y>1424</Y>
- <W>97</W>
- <H>54</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2941.968</X>
- <Y>1424.592</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="132">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">97a1d833-23ef-4dd7-a8f6-0467955bf4f5</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">264cbae0-f043-490d-9121-0e45630a0b2f</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>3053</X>
- <Y>1458</Y>
- <W>105</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>3053.527</X>
- <Y>1458.041</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="133">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="9">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8e36a5c6-61f4-4366-8856-2c787fd9a806</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">1578bf3a-8211-4a77-85d0-3cd951789283</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="UserText" type_name="gh_string" type_code="10">Double click to edit panel content…</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2941</X>
- <Y>1493</Y>
- <W>97</W>
- <H>55</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2941.552</X>
- <Y>1493.67</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="134">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0903a6c2-e102-41a9-8326-3f9533f91f9f</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">-150</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1440</X>
- <Y>1185</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1440.106</X>
- <Y>1185.658</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="135">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">17a61eca-a95a-4f8b-aa55-052523e686bc</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">150</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1441</X>
- <Y>1215</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1441.106</X>
- <Y>1215.658</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="136">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">d1a28e95-cf96-4936-bf34-8bf142d731bf</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Domain</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Create a numeric domain from two numeric extremes.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">14534673-98f6-45e8-b11f-39da628bc4ca</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Domain</item>
- <item name="NickName" type_name="gh_string" type_code="10">Dom</item>
- </items>
- <chunks count="4">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2193</X>
- <Y>764</Y>
- <W>61</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2224</X>
- <Y>786</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Start value of numeric domain</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c60598bb-4ac8-4310-9f9f-0d75cea21cfe</item>
- <item name="Name" type_name="gh_string" type_code="10">Domain start</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">64b83d9b-5ae1-4022-b79e-c9135d3cdfc6</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2195</X>
- <Y>766</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2203.5</X>
- <Y>776</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">End value of numeric domain</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c4f2cdcf-3ac3-420a-925f-c2653c042270</item>
- <item name="Name" type_name="gh_string" type_code="10">Domain end</item>
- <item name="NickName" type_name="gh_string" type_code="10">B</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2398bd00-b514-4723-b31f-c436e1ae908b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2195</X>
- <Y>786</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2203.5</X>
- <Y>796</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">1</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric domain between {A} and {B}</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">035d494c-d9fa-434d-874c-206716be82af</item>
- <item name="Name" type_name="gh_string" type_code="10">Domain</item>
- <item name="NickName" type_name="gh_string" type_code="10">I</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2239</X>
- <Y>766</Y>
- <W>13</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2245.5</X>
- <Y>786</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="137">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">9445ca40-cc73-4861-a455-146308676855</item>
- <item name="Name" type_name="gh_string" type_code="10">Range</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Create a range of numbers.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fbb4ab09-bb2a-42d6-a9a9-345b5f2473bc</item>
- <item name="Name" type_name="gh_string" type_code="10">Range</item>
- <item name="NickName" type_name="gh_string" type_code="10">Range</item>
- </items>
- <chunks count="4">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2295</X>
- <Y>775</Y>
- <W>64</W>
- <H>44</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2326</X>
- <Y>797</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Domain of numeric range</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">0dd6e136-7641-43ed-94ff-d87c8b3a4a7f</item>
- <item name="Name" type_name="gh_string" type_code="10">Domain</item>
- <item name="NickName" type_name="gh_string" type_code="10">D</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">035d494c-d9fa-434d-874c-206716be82af</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2297</X>
- <Y>777</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2305.5</X>
- <Y>787</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="Interval" type_name="gh_interval1d" type_code="60">
- <A>0</A>
- <B>1</B>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Number of steps</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b991e2eb-aa24-4a37-b83b-4de89b217793</item>
- <item name="Name" type_name="gh_string" type_code="10">Steps</item>
- <item name="NickName" type_name="gh_string" type_code="10">N</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">cc8db470-d2c6-4bbc-92b0-9305165143f7</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2297</X>
- <Y>797</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2305.5</X>
- <Y>807</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_int32" type_code="3">10</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Range of numbers</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">9b2fc3d6-5abb-46f8-a49e-0ae9e8dc1647</item>
- <item name="Name" type_name="gh_string" type_code="10">Range</item>
- <item name="NickName" type_name="gh_string" type_code="10">R</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2341</X>
- <Y>777</Y>
- <W>16</W>
- <H>40</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2349</X>
- <Y>797</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="138">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">cc8db470-d2c6-4bbc-92b0-9305165143f7</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">num curves</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1969</X>
- <Y>831</Y>
- <W>284</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1969.186</X>
- <Y>831.0843</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">0</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">1</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">200</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="139">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">079bd9bd-54a0-41d4-98af-db999015f63d</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="10">
- <item name="AdditionalSource" type_name="gh_string" type_code="10"> Private Function IsSet(ByVal param As String) As Boolean ' Check if an input parameter has data
- Dim i As Integer = Component.Params.IndexOfInputParam(param)
- If i > -1 Then
- Return Component.Params.Input.ElementAt(i).DataType > 1 ' input parameter DataType of 1 means it's not receiving input (internal or external)
- Else
- Msg("error", "Input parameter '" & param & "' not found")
- Return False
- End If
- End Function
-
- Private Sub Msg(ByVal type As String, ByVal msg As String) ' Output an error, warning, or informational message
- Select Case type
- Case "error"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Error, msg)
- Print("Error: " & msg)
- Case "warning"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Warning, msg)
- Print("Warning: " & msg)
- Case "info"
- Component.AddRuntimeMessage(GH_RuntimeMessageLevel.Remark, msg)
- Print(msg)
- End Select
- End Sub
-
- ' Solve for the m parameter from length and width (reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m))
- Private Function SolveMFromLenWid(ByVal L As Double, ByVal w As Double) As Double
- If w = 0 Then
- Return Defined.M_ZERO_W ' for the boundry condition width = 0, bypass the function and return the known m value
- End If
-
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwl As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwl = 2 * EllipticE(m) / EllipticK(m) - 1 ' calculate w/L with the test value of m
- If cwl < w / L Then ' compares the calculated w/L with the actual w/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- Return m
- End Function
-
- ' Solve for the m parameter from length and height (reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m))
- ' Note that it's actually possible to find 2 valid values for m (hence 2 width values) at certain height values
- Private Function SolveMFromLenHt(ByVal L As Double, ByVal h As Double) As List(Of Double)
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim twoWidths As Boolean = h / L >= Defined.DOUBLE_W_HL_RATIO And h / L < Defined.MAX_HL_RATIO ' check to see if h/L is within the range where 2 solutions for the width are possible
- Dim m As Double
- Dim mult_m As New List(Of Double)
- Dim chl As Double
-
- If twoWidths Then
- ' find the first of two possible solutions for m with the following limits:
- lower = Defined.M_DOUBLE_W ' see constants at bottom of script
- upper = Defined.M_MAXHEIGHT ' see constants at bottom of script
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
-
- ' then find the second of two possible solutions for m with the following limits:
- lower = Defined.M_MAXHEIGHT ' see constants at bottom of script
- upper = 1
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl < h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- If m <= Defined.M_MAX Then ' return this m parameter only if it falls within the maximum useful value (above which the curve breaks down)
- mult_m.Add(m)
- End If
-
- Else
- ' find the one possible solution for the m parameter
- upper = Defined.M_DOUBLE_W ' limit the upper end of the search to the maximum value of m for which only one solution exists
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- chl = Math.Sqrt(m) / EllipticK(m) ' calculate h/L with the test value of m
- If chl > h / L Then ' compares the calculated h/L with the actual h/L then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
- mult_m.Add(m)
- End If
-
- Return mult_m
- End Function
-
- ' Solve for the m parameter from width and height (derived from reference {1} equations (33) and (34) with same notes as above)
- Private Function SolveMFromWidHt(ByVal w As Double, ByVal h As Double) As Double
- Dim n As Integer = 1 ' Iteration counter (quit if >MAXIT)
- Dim lower As Double = 0 ' m must be within this range
- Dim upper As Double = 1
- Dim m As Double
- Dim cwh As Double
-
- Do While (upper - lower) > Defined.MAXERR AndAlso (n) < Defined.MAXIT ' Repeat until range narrow enough or MAXIT
- m = (upper + lower) / 2
- cwh = (2 * EllipticE(m) - EllipticK(m)) / Math.Sqrt(m) ' calculate w/h with the test value of m
- If cwh < w / h Then ' compares the calculated w/h with the actual w/h then narrows the range of possible m
- upper = m
- Else
- lower = m
- End If
- n += 1
- Loop
-
- Return m
- End Function
-
- ' Calculate length based on height and an m parameter, derived from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_L(ByVal h As Double, ByVal m As Double) As Double
- Return h * EllipticK(m) / Math.Sqrt(m)
- End Function
-
- ' Calculate width based on length and an m parameter, derived from reference {1} equation (34), except b = width and K(k) and E(k) should be K(m) and E(m)
- Private Function Cal_W(ByVal L As Double, ByVal m As Double) As Double
- Return L * (2 * EllipticE(m) / EllipticK(m) - 1)
- End Function
-
- ' Calculate height based on length and an m parameter, from reference {1} equation (33), except K(k) should be K(m) and k = sqrt(m)
- Private Function Cal_H(ByVal L As Double, ByVal m As Double) As Double
- Return L * Math.Sqrt(m) / EllipticK(m)
- End Function
-
- ' Calculate the unique m parameter based on a start tangent angle, from reference {2}, just above equation (9a), that states k = Sin(angle / 2 + Pi / 4),
- ' but as m = k^2 and due to this script's need for an angle rotated 90° versus the one in reference {1}, the following formula is the result
- ' New note: verified by reference {4}, pg. 78 at the bottom
- Private Function Cal_M(ByVal a As Double) As Double
- Return (1 - Math.Cos(a)) / 2 ' equal to Sin^2(a/2) too
- End Function
-
- ' Calculate start tangent angle based on an m parameter, derived from above formula
- Private Function Cal_A(ByVal m As Double) As Double
- Return Math.Acos(1 - 2 * m)
- End Function
-
- ' This is the heart of this script, taking the found (or specified) length, width, and angle values along with the found m parameter to create
- ' a list of points that approximate the shape or form of the elastica. It works by finding the x and y coordinates (which are reversed versus
- ' the original equations (12a) and (12b) from reference {2} due to the 90° difference in orientation) based on the tangent angle along the curve.
- ' See reference {2} for more details on how they derived it. Note that to simplify things, the algorithm only calculates the points for half of the
- ' curve, then mirrors those points along the y-axis.
- Private Function FindBendForm(ByVal L As Double, ByVal w As Double, ByVal m As Double, ByVal ang As Double, ByVal refPln As Plane) As List(Of Point3d)
- L = L / 2 ' because the below algorithm is based on the formulas in reference {2} for only half of the curve
- w = w / 2 ' same
-
- If ang = 0 Then ' if angle (and height) = 0, then simply return the start and end points of the straight line
- Dim out As New List(Of Point3d)
- out.Add(refPln.PointAt(w, 0, 0))
- out.Add(refPln.PointAt(-w, 0, 0))
- Return out
- End If
-
- Dim x As Double
- Dim y As Double
- Dim halfCurvePts As New List(Of Point3d)
- Dim fullCurvePts As New List(Of Point3d)
- Dim translatedPts As New List(Of Point3d)
-
- ang -= Math.PI / 2 ' a hack to allow this algorithm to work, since the original curve in paper {2} was rotated 90°
- Dim angB As Double = ang + (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' angB is the 'lowercase theta' which should be in formula {2}(12b) as the interval
- ' start [a typo...see equation(3)]. It's necessary to start angB at ang + [interval] instead of just ang due to integration failing at angB = ang
- halfCurvePts.Add(New Point3d(w, 0, 0)) ' start with this known initial point, as integration will fail when angB = ang
-
- ' each point {x, y} is calculated from the tangent angle, angB, that occurs at each point (which is why this iterates from ~ang to -pi/2, the known end condition)
- Do While Math.Round(angB, Defined.ROUNDTO) >= Math.Round(-Math.PI / 2, Defined.ROUNDTO)
- y = (Math.Sqrt(2) * Math.Sqrt(Math.Sin(ang) - Math.Sin(angB)) * (w + L)) / (2 * EllipticE(m)) ' note that x and y are swapped vs. (12a) and (12b)
- x = (L / (Math.Sqrt(2) * EllipticK(m))) * Simpson(angB, -Math.PI / 2, 500, ang) ' calculate the Simpson approximation of the integral (function f below)
- ' over the interval angB ('lowercase theta') to -pi/2. side note: is 500 too few iterations for the Simson algorithm?
-
- If Math.Round(x, Defined.ROUNDTO) = 0 Then x = 0
- halfCurvePts.Add(New Point3d(x, y, 0))
-
- angB += (-Math.PI / 2 - ang) / Defined.CURVEDIVS ' onto the next tangent angle
- Loop
-
- ' After finding the x and y values for half of the curve, add the {-x, y} values for the rest of the curve
- For Each point As Point3d In halfCurvePts
- If Math.Round(point.X, Defined.ROUNDTO) = 0 Then
- If Math.Round(point.Y, Defined.ROUNDTO) = 0 Then
- fullCurvePts.Add(New Point3d(0, 0, 0)) ' special case when width = 0: when x = 0, only duplicate the point when y = 0 too
- End If
- Else
- fullCurvePts.Add(New Point3d(-point.X, point.Y, 0))
- End If
- Next
- halfCurvePts.Reverse
- fullCurvePts.AddRange(halfCurvePts)
-
- For Each p As Point3d In fullCurvePts
- translatedPts.Add(refPln.PointAt(p.X, p.Y, p.Z)) ' translate the points from the reference plane to the world plane
- Next
-
- Return translatedPts
- End Function
-
- ' Interpolates the points from FindBendForm to create the Elastica curve. Uses start & end tangents for greater accuracy.
- Private Function MakeCurve(ByVal pts As List(Of Point3d), ByVal ang As Double, ByVal refPln As Plane) As Curve
- If ang <> 0 Then
- Dim ts, te As New Vector3d(refPln.XAxis)
- ts.Rotate(ang, refPln.ZAxis)
- te.Rotate(-ang, refPln.ZAxis)
- Return Curve.CreateInterpolatedCurve(pts, 3, CurveKnotStyle.Chord, ts, te) ' 3rd degree curve with 'Chord' Knot Style
- Else
- Return Curve.CreateInterpolatedCurve(pts, 3) ' if angle (and height) = 0, then simply interpolate the straight line (no start/end tangents)
- End If
- End Function
-
- ' Implements the Simpson approximation for an integral of function f below
- Public Function Simpson(a As Double, b As Double, n As Integer, theta As Double) As Double 'n should be an even number
- Dim j As Integer, s1 As Double, s2 As Double, h As Double
- h = (b - a) / n
- s1 = 0
- s2 = 0
- For j = 1 To n - 1 Step 2
- s1 = s1 + fn(a + j * h, theta)
- Next j
- For j = 2 To n - 2 Step 2
- s2 = s2 + fn(a + j * h, theta)
- Next j
- Simpson = h / 3 * (fn(a, theta) + 4 * s1 + 2 * s2 + fn(b, theta))
- End Function
-
- ' Specific calculation for the above integration
- Public Function fn(x As Double, theta As Double) As Double
- fn = Math.Sin(x) / (Math.Sqrt(Math.Sin(theta) - Math.Sin(x))) ' from reference {2} formula (12b)
- End Function
-
-
- ' Return the Complete Elliptic integral of the 1st kind
- ' Abramowitz and Stegun p.591, formula 17.3.11
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticK(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum += Math.Pow(m, i) * Math.Pow(term, 2)
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
-
- ' Return the Complete Elliptic integral of the 2nd kind
- ' Abramowitz and Stegun p.591, formula 17.3.12
- ' Code from http://www.codeproject.com/Articles/566614/Elliptic-integrals
- Public Function EllipticE(ByVal m As Double) As Double
- Dim sum, term, above, below As Double
- sum = 1
- term = 1
- above = 1
- below = 2
-
- For i As Integer = 1 To 100
- term *= above / below
- sum -= Math.Pow(m, i) * Math.Pow(term, 2) / above
- above += 2
- below += 2
- Next
- sum *= 0.5 * Math.PI
- Return sum
- End Function
-
- Friend Partial NotInheritable Class Defined
- Private Sub New()
- End Sub
-
- ' Note: most of these values for m and h/L ratio were found with Wolfram Alpha and either specific intercepts (x=0) or local minima/maxima. They should be constant.
- Public Const M_SKETCHY As Double = 0.95 ' value of the m parameter where the curvature near the ends of the curve gets wonky
- Public Const M_MAX As Double = 0.993 ' maximum useful value of the m parameter, above which this algorithm for the form of the curve breaks down
- Public Const M_ZERO_W As Double = 0.826114765984970336 ' value of the m parameter when width = 0
- Public Const M_MAXHEIGHT As Double = 0.701327460663101223 ' value of the m parameter at maximum possible height of the bent rod/wire
- Public Const M_DOUBLE_W As Double = 0.180254422335013983 ' minimum value of the m parameter when two width values are possible for a given height and length
- Public Const DOUBLE_W_HL_RATIO As Double = 0.257342117984635757 ' value of the height/length ratio above which there are two possible width values
- Public Const MAX_HL_RATIO As Double = 0.403140189705650243 ' maximum possible value of the height/length ratio
-
- Public Const MAXERR As Double = 0.0000000001 ' error tolerance
- Public Const MAXIT As Integer = 100 ' maximum number of iterations
- Public Const ROUNDTO As Integer = 10 ' number of decimal places to round off to
- Public Const CURVEDIVS As Integer = 50 ' number of sample points for building the curve (or half-curve as it were)
- End Class</item>
- <item name="Description" type_name="gh_string" type_code="10">A VB.NET scriptable component</item>
- <item name="EditorPosition" type_name="gh_drawing_point" type_code="30">
- <X>98</X>
- <Y>86</Y>
- </item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">63218c71-7758-4168-b163-745e456fb525</item>
- <item name="Name" type_name="gh_string" type_code="10">VB Script</item>
- <item name="NickName" type_name="gh_string" type_code="10">VB</item>
- <item name="OutParameter" type_name="gh_bool" type_code="1">true</item>
- <item name="ReferenceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="ScriptSource" type_name="gh_string" type_code="10"> ' -----------------------------------------------------------------
- ' Elastic Bending Script by Will McElwain
- ' Created February 2014
- '
- ' DESCRIPTION:
- ' This beast creates the so-called 'elastica curve', the shape a long, thin rod or wire makes when it is bent elastically (i.e. not permanently). In this case, force
- ' is assumed to only be applied horizontally (which would be in line with the rod at rest) and both ends are assumed to be pinned or hinged meaning they are free
- ' to rotate (as opposed to clamped, when the end tangent angle is fixed, usually horizontally). An interesting finding is that it doesn't matter what the material or
- ' cross-sectional area is, as long as they're uniform along the entire length. Everything makes the same shape when bent as long as it doesn't cross the threshold
- ' from elastic to plastic (permanent) deformation (I don't bother to find that limit here, but can be found if the yield stress for a material is known).
- '
- ' Key to the formulas used in this script are elliptic integrals, specifically K(m), the complete elliptic integral of the first kind, and E(m), the complete elliptic
- ' integral of the second kind. There was a lot of confusion over the 'm' and 'k' parameters for these functions, as some people use them interchangeably, but they are
- ' not the same. m = k^2 (thus k = Sqrt(m)). I try to use the 'm' parameter exclusively to avoid this confusion. Note that there is a unique 'm' parameter for every
- ' configuration/shape of the elastica curve.
- '
- ' This script tries to find that unique 'm' parameter based on the inputs. The algorithm starts with a test version of m, evaluates an expression, say 2*E(m)/K(m)-1,
- ' then compares the result to what it should be (in this case, a known width/length ratio). Iterate until the correct m is found. Once we have m, we can then calculate
- ' all of the other unknowns, then find points that lie on that curve, then interpolate those points for the actual curve. You can also use Wolfram|Alpha as I did to
- ' find the m parameter based on the equations in this script (example here: http://tiny.cc/t4tpbx for when say width=45.2 and length=67.1).
- '
- ' Other notes:
- ' * This script works with negative values for width, which will creat a self-intersecting curve (as it should). The curvature of the elastica starts to break down around
- ' m=0.95 (~154°), but this script will continue to work until M_MAX, m=0.993 (~169°). If you wish to ignore self-intersecting curves, set ignoreSelfIntersecting to True
- ' * When the only known values are length and height, it is actually possible for certain ratios of height to length to have two valid m values (thus 2 possible widths
- ' and angles). This script will return them both.
- ' * Only the first two valid parameters (of the required ones) will be used, meaning if all four are connected (length, width or a PtB, height, and angle), this script will
- ' only use length and width (or a PtB).
- ' * Depending on the magnitude of your inputs (say if they're really small, like if length < 10), you might have to increase the constant ROUNDTO at the bottom
- '
- ' REFERENCES:
- ' {1} "The elastic rod" by M.E. Pacheco Q. & E. Pina, http://www.scielo.org.mx/pdf/rmfe/v53n2/v53n2a8.pdf
- ' {2} "An experiment in nonlinear beam theory" by A. Valiente, http://www.deepdyve.com/lp/doc/I3lwnxdfGz , also here: http://tiny.cc/Valiente_AEiNBT
- ' {3} "Snap buckling, writhing and Loop formation In twisted rods" by V.G.A. GOSS, http://myweb.lsbu.ac.uk/~gossga/thesisFinal.pdf
- ' {4} "Theory of Elastic Stability" by Stephen Timoshenko, http://www.scribd.com/doc/50402462/Timoshenko-Theory-of-Elastic-Stability (start on p. 76)
- '
- ' INPUT:
- ' PtA - First anchor point (required)
- ' PtB - Second anchor point (optional, though 2 out of the 4--length, width, height, angle--need to be specified)
- ' [note that PtB can be the same as PtA (meaning width would be zero)]
- ' [also note that if a different width is additionally specified that's not equal to the distance between PtA and PtB, then the end point will not equal PtB anymore]
- ' Pln - Plane of the bent rod/wire, which bends up in the +y direction. The line between PtA and PtB (if specified) must be parallel to the x-axis of this plane
- '
- ' ** 2 of the following 4 need to be specified **
- ' Len - Length of the rod/wire, which needs to be > 0
- ' Wid - Width between the endpoints of the curve [note: if PtB is specified in addition, and distance between PtA and PtB <> width, the end point will be relocated
- ' Ht - Height of the bent rod/wire (when negative, curve will bend downward, relative to the input plane, instead)
- ' Ang - Inner departure angle or tangent angle (in radians) at the ends of the bent rod/wire. Set up so as width approaches length (thus height approaches zero), angle approaches zero
- '
- ' * Following variables only needed for optional calculating of bending force, not for shape of curve.
- ' E - Young's modulus (modulus of elasticity) in GPa (=N/m^2) (material-specific. for example, 7075 aluminum is roughly 71.7 GPa)
- ' I - Second moment of area (or area moment of inertia) in m^4 (cross-section-specific. for example, a hollow rod
- ' would have I = pi * (outer_diameter^4 - inner_diameter^4) / 32
- ' Note: E*I is also known as flexural rigidity or bending stiffness
- '
- ' OUTPUT:
- ' out - only for debugging messages
- ' Pts - the list of points that approximate the shape of the elastica
- ' Crv - the 3rd-degree curve interpolated from those points (with accurate start & end tangents)
- ' L - the length of the rod/wire
- ' W - the distance (width) between the endpoints of the rod/wire
- ' H - the height of the bent rod/wire
- ' A - the tangent angle at the (start) end of the rod/wire
- ' F - the force needed to hold the rod/wire in a specific shape (based on the material properties & cross-section) **be sure your units for 'I' match your units for the
- ' rest of your inputs (length, width, etc.). Also note that the critical buckling load (force) that makes the rod/wire start to bend can be found at height=0
- '
- ' THANKS TO:
- ' Mårten Nettelbladt (thegeometryofbending.blogspot.com)
- ' Daniel Piker (Kangaroo plugin)
- ' David Rutten (Grasshopper guru)
- ' Euler & Bernoulli (the O.G.'s)
- '
- ' -----------------------------------------------------------------
-
- Dim ignoreSelfIntersecting As Boolean = False ' set to True if you don't want to output curves where width < 0, which creates a self-intersecting curve
-
- Dim inCt As Integer = 0 ' count the number of required parameters that are receiving data
- Dim length As Double
- Dim width As System.Object = Nothing ' need to set as Nothing so we can check if it has been assigned a value later
- Dim height As Double
- Dim angle As Double
- Dim m As Double
- Dim multiple_m As New List(Of Double)
- Dim AtoB As Line
- Dim flip_H As Boolean = False ' if height is negative, this flag will be set
- Dim flip_A As Boolean = False ' if angle is negative, this flag will be set
-
- If Not IsSet("Pln") Then
- Msg("error", "Base plane is not set")
- Return
- End If
-
- If Not IsSet("PtA") Then
- Msg("error", "Point A is not set")
- Return
- End If
-
- If Math.Round(Pln.DistanceTo(PtA), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point A is not on the base plane")
- Return
- End If
-
- Dim refPlane As Plane = Pln ' create a reference plane = input plane and set the origin of it to PtA in case PtA isn't the origin already
- refPlane.Origin = PtA
-
- If IsSet("PtB") Then
- If Math.Round(Pln.DistanceTo(PtB), Defined.ROUNDTO) <> 0 Then
- Msg("error", "Point B is not on the base plane")
- Return
- End If
-
- AtoB = New Line(PtA, PtB)
- If AtoB.Length <> 0 And Not AtoB.Direction.IsPerpendicularTo(Pln.YAxis) Then
- Msg("error", "The line between PtA and PtB is not perpendicular to the Y-axis of the specified plane")
- Return
- End If
-
- inCt += 1
- If IsSet("Wid") Then Msg("info", "Wid will override the distance between PtA and PtB. If you do not want this to happen, disconnect PtB or Wid.")
-
- width = PtA.DistanceTo(PtB) ' get the width (distance) between PtA and PtB
-
- Dim refPtB As Point3d
- refPlane.RemapToPlaneSpace(PtB, refPtB)
- If refPtB.X < 0 Then width = -width ' check if PtB is to the left of PtA...if so, width is negative
- End If
-
- If IsSet("Len") Then inCt += 1
- If IsSet("Wid") Then inCt += 1
- If IsSet("Ht") Then inCt += 1
- If IsSet("Ang") Then inCt += 1
- If inCt > 2 Then Msg("info", "More parameters set than are required (out of length, width, height, angle). Only using the first two valid ones.")
-
- ' check for connected/specified inputs. note: only the first two that it comes across will be used
- If IsSet("Len") Then ' if length is specified then...
- If Len <= 0 Then
- Msg("error", "Length cannot be negative or zero")
- Return
- End If
- If IsSet("Wid") Then ' find height & angle based on length and specified width
- If Wid > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If Wid = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- width = Wid
- Else
- m = SolveMFromLenWid(Len, Wid)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- width = Wid
- End If
-
- Else If width IsNot Nothing Then ' find height & angle based on length and calculated width (distance between PtA and PtB)
- If width > Len Then
- Msg("error", "Width is greater than length")
- Return
- End If
- If width = Len Then ' skip the solver and set the known values
- height = 0
- m = 0
- angle = 0
- Else
- m = SolveMFromLenWid(Len, width)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
-
- Else If IsSet("Ht") Then ' find width & angle based on length and height ** possible to return 2 results **
- If Math.Abs(Ht / Len) > Defined.MAX_HL_RATIO Then
- Msg("error", "Height not possible with given length")
- Return
- End If
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- width = Len
- angle = 0
- Else
- multiple_m = SolveMFromLenHt(Len, Ht) ' note that it's possible for two values of m to be found if height is close to max height
- If multiple_m.Count = 1 Then ' if there's only one m value returned, calculate the width & angle here. we'll deal with multiple m values later
- m = multiple_m.Item(0)
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find width & height based on length and angle
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- width = Len
- height = 0
- Else
- width = Cal_W(Len, m) ' L * (2 * E(m) / K(m) - 1)
- height = Cal_H(Len, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to length")
- Return
- End If
- length = Len
-
- Else If IsSet("Wid") Then ' if width is specified then...
- If IsSet("Ht") Then ' find length & angle based on specified width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = Wid
- angle = 0
- Else
- m = SolveMFromWidHt(Wid, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on specified width and angle
- If Wid = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = Wid
- height = 0
- Else
- length = Wid / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to width (Wid)")
- Return
- End If
- width = Wid
-
- Else If width IsNot Nothing Then ' if width is determined by PtA and PtB then...
- If IsSet("Ht") Then ' find length & angle based on calculated width and height
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- If Ht = 0 Then ' skip the solver and set the known values
- length = width
- angle = 0
- Else
- m = SolveMFromWidHt(width, Ht)
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- angle = Cal_A(m) ' Acos(1 - 2 * m)
- End If
- height = Ht
-
- Else If IsSet("Ang") Then ' find length & height based on calculated width and angle
- If width = 0 Then
- Msg("error", "Curve not possible with width = 0 and an angle as inputs")
- Return
- End If
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = True
- flip_H = True
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then ' skip the solver and set the known values
- length = width
- height = 0
- Else
- length = width / (2 * EllipticE(m) / EllipticK(m) - 1)
- If length < 0 Then
- Msg("error", "Curve not possible at specified width and angle (calculated length is negative)")
- Return
- End If
- height = Cal_H(length, m) ' L * Sqrt(m) / K(m)
- End If
- angle = Ang
-
- Else
- Msg("error", "Need to specify one more parameter in addition to PtA and PtB")
- Return
- End If
-
- Else If IsSet("Ht") Then ' if height is specified then...
- If IsSet("Ang") Then ' find length & width based on height and angle
- If Ht < 0 Then
- Ht = -Ht ' if height is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_H = True
- flip_A = True
- End If
- If Ht = 0 Then
- Msg("error", "Height can't = 0 if only height and angle are specified")
- Return
- Else
- If Ang < 0 Then
- Ang = -Ang ' if angle is negative, set it to positive (for the calculations) but flip the reference plane about its x-axis
- refPlane.Transform(Transform.Mirror(New Plane(refPlane.Origin, refPlane.XAxis, refPlane.ZAxis)))
- flip_A = Not flip_A
- flip_H = Not flip_H
- End If
- m = Cal_M(Ang) ' (1 - Cos(a)) / 2
- If Ang = 0 Then
- Msg("error", "Angle can't = 0 if only height and angle are specified")
- Return
- Else
- length = Cal_L(Ht, m) ' h * K(m) / Sqrt(m)
- width = Cal_W(length, m) ' L * (2 * E(m) / K(m) - 1)
- End If
- angle = Ang
- End If
- height = Ht
-
- Else
- Msg("error", "Need to specify one more parameter in addition to height")
- Return
- End If
-
- Else If IsSet("Ang") Then
- Msg("error", "Need to specify one more parameter in addition to angle")
- Return
- Else
- Msg("error", "Need to specify two of the four parameters: length, width (or PtB), height, and angle")
- Return
- End If
-
- If m > Defined.M_MAX Then
- Msg("error", "Form of curve not solvable with current algorithm and given inputs")
- Return
- End If
-
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- If multiple_m.Count > 1 Then ' if there is more than one m value returned, calculate the width, angle, and curve for each
- Dim multi_pts As New DataTree(Of Point3d)
- Dim multi_crv As New List(Of Curve)
- Dim tmp_pts As New List(Of Point3d)
- Dim multi_W, multi_A, multi_F As New List(Of Double)
- Dim j As Integer = 0 ' used for creating a new branch (GH_Path) for storing pts which is itself a list of points
-
- For Each m_val As Double In multiple_m
- width = Cal_W(length, m_val) 'length * (2 * EllipticE(m_val) / EllipticK(m_val) - 1)
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("warning", "One curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Continue For
- End If
-
- If m_val >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve whose width = " & Math.Round(width, 4) & " is not guaranteed")
-
- angle = Cal_A(m_val) 'Math.Asin(2 * m_val - 1)
- refPlane.Origin = refPlane.PointAt(width / 2, 0, 0) ' adjust the origin of the reference plane so that the curve is centered about the y-axis (start of the curve is at x = -width/2)
-
- tmp_pts = FindBendForm(length, width, m_val, angle, refPlane)
- multi_pts.AddRange(tmp_pts, New GH_Path(j))
- multi_crv.Add(MakeCurve(tmp_pts, angle, refPlane))
-
- multi_W.Add(width)
- If flip_A Then angle = -angle
- multi_A.Add(angle)
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- multi_F.Add(EllipticK(m_val) ^ 2 * E * I / length ^ 2) ' from reference {4} pg. 79
-
- j += 1
- refPlane.Origin = PtA ' reset the reference plane origin to PtA for the next m_val
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m_val & ", k=" & Math.Sqrt(m_val) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- Next
-
- ' assign the outputs
- Pts = multi_pts
- Crv = multi_crv
- L = length
- W = multi_W
- If flip_H Then height = -height
- H = height
- A = multi_A
- F = multi_F
-
- Else ' only deal with the single m value
- If m >= Defined.M_SKETCHY Then Msg("info", "Accuracy of the curve at these parameters is not guaranteed")
-
- If width < 0 And ignoreSelfIntersecting Then
- Msg("error", "Curve is self-intersecting. To enable these, set ignoreSelfIntersecting to False")
- Return
- End If
-
- Pts = FindBendForm(length, width, m, angle, refPlane)
- Crv = MakeCurve(pts, angle, refPlane)
- L = length
- W = width
- If flip_H Then height = -height
- H = height
- If flip_A Then angle = -angle
- A = angle
-
- E = E * 10 ^ 9 ' Young's modulus input E is in GPa, so we convert to Pa here (= N/m^2)
- F = EllipticK(m) ^ 2 * E * I / length ^ 2 ' from reference {4} pg. 79. Note: the critical buckling (that makes the rod/wire start to bend) can be found at height=0 (width=length)
-
- 'height = Math.Sqrt(((2 * Len / 5) ^ 2 - ((Wid - Len / 5) / 2) ^ 2) ' quick approximation discovered by Mårten of 'Geometry of Bending' fame ( http://tiny.cc/it2pbx )
- 'width = (Len +/- 2 * Math.Sqrt(4 * Len ^ 2 - 25 * Ht ^ 2)) / 5 ' derived from above
- 'length = (2 * Math.Sqrt(15 * Ht ^ 2 + 4 * Wid ^ 2) - Wid) / 3 ' derived from above
-
- 'Print("length=" & length & ", width=" & width & ", height=" & height & ", angle=" & angle & ", m=" & m & ", k=" & Math.Sqrt(m) & ", w/L=" & width / length & ", h/L=" & height / length & ", w/h=" & width / height)
- End If
- </item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2397</X>
- <Y>703</Y>
- <W>84</W>
- <H>184</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2439</X>
- <Y>795</Y>
- </item>
- </items>
- </chunk>
- <chunk name="ParameterData">
- <items count="19">
- <item name="InputCount" type_name="gh_int32" type_code="3">9</item>
- <item name="InputId" index="0" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="1" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="2" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="3" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="4" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="5" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="6" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="7" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="InputId" index="8" type_name="gh_guid" type_code="9">84fa917c-1ed8-4db3-8be1-7bdc4a6495a2</item>
- <item name="OutputCount" type_name="gh_int32" type_code="3">8</item>
- <item name="OutputId" index="0" type_name="gh_guid" type_code="9">3ede854e-c753-40eb-84cb-b48008f14fd4</item>
- <item name="OutputId" index="1" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="2" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="3" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="4" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="5" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="6" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- <item name="OutputId" index="7" type_name="gh_guid" type_code="9">8ec86459-bf01-4409-baee-174d0d2b13d0</item>
- </items>
- <chunks count="17">
- <chunk name="InputParam" index="0">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtA</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c36c2a91-b586-4100-a3d3-5bbd29795b28</item>
- <item name="Name" type_name="gh_string" type_code="10">PtA</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtA</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">75154365-a588-4c21-86a3-ce81e626861d</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>705</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>715</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="1">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable PtB</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c03912a8-42cd-4a8e-b0e4-d859c1258a99</item>
- <item name="Name" type_name="gh_string" type_code="10">PtB</item>
- <item name="NickName" type_name="gh_string" type_code="10">PtB</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">e1937b56-b1da-4c12-8bd8-e34ee81746ef</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>725</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>735</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="2">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Pln</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f51b86ed-0366-4427-847a-63fd2fd6bf90</item>
- <item name="Name" type_name="gh_string" type_code="10">Pln</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pln</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">f3933593-ac71-4dcf-9de1-01828b79508a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">3897522d-58e9-4d60-b38c-978ddacfedd8</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>745</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>755</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="3">
- <items count="11">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Len</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7ea941b6-d28a-421f-a3f1-b6ee6ba45ce3</item>
- <item name="Name" type_name="gh_string" type_code="10">Len</item>
- <item name="NickName" type_name="gh_string" type_code="10">Len</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">2398bd00-b514-4723-b31f-c436e1ae908b</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>765</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>775</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="4">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Wid</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ca56b21d-1bf4-4ef7-9aba-89e8c40123e1</item>
- <item name="Name" type_name="gh_string" type_code="10">Wid</item>
- <item name="NickName" type_name="gh_string" type_code="10">Wid</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>785</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>795</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="5">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ht</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">01f793d6-6952-4cc0-9007-804b34e3573a</item>
- <item name="Name" type_name="gh_string" type_code="10">Ht</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ht</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>805</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>815</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="6">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable Ang</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">d1ecc6ce-5745-410a-98ac-8cd99da220f9</item>
- <item name="Name" type_name="gh_string" type_code="10">Ang</item>
- <item name="NickName" type_name="gh_string" type_code="10">Ang</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>825</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>835</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="7">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable E</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">ee84edc7-8985-4013-a1da-ab406c4a251b</item>
- <item name="Name" type_name="gh_string" type_code="10">E</item>
- <item name="NickName" type_name="gh_string" type_code="10">E</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>845</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>855</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="InputParam" index="8">
- <items count="10">
- <item name="AllowTreeAccess" type_name="gh_bool" type_code="1">true</item>
- <item name="Description" type_name="gh_string" type_code="10">Script Variable I</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">06df9652-281a-4459-91a6-57c181550607</item>
- <item name="Name" type_name="gh_string" type_code="10">I</item>
- <item name="NickName" type_name="gh_string" type_code="10">I</item>
- <item name="Optional" type_name="gh_bool" type_code="1">true</item>
- <item name="ScriptParamAccess" type_name="gh_int32" type_code="3">0</item>
- <item name="ShowTypeHints" type_name="gh_bool" type_code="1">true</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="TypeHintID" type_name="gh_guid" type_code="9">8e991e99-5fb8-41e1-928d-1bba8fb9f7d7</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2399</X>
- <Y>865</Y>
- <W>25</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2413</X>
- <Y>875</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="0">
- <items count="7">
- <item name="Access" type_name="gh_int32" type_code="3">1</item>
- <item name="Description" type_name="gh_string" type_code="10">Print, Reflect and Error streams</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c01c7c67-2ce9-42db-98c8-ac53917d2607</item>
- <item name="Name" type_name="gh_string" type_code="10">out</item>
- <item name="NickName" type_name="gh_string" type_code="10">out</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>705</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>716.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Pts</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">03112bf2-28fb-457f-b3d5-277c7e00bc21</item>
- <item name="Name" type_name="gh_string" type_code="10">Pts</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pts</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>727</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>738.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter Crv</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">49ed72a9-4d6b-4881-ac0f-b8700f17fd26</item>
- <item name="Name" type_name="gh_string" type_code="10">Crv</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>750</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>761.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="3">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter L</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">88bfd5c3-b1ad-4215-961b-9ab638f2cfd6</item>
- <item name="Name" type_name="gh_string" type_code="10">L</item>
- <item name="NickName" type_name="gh_string" type_code="10">L</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>772</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>783.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="4">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter W</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">5419ee09-aef9-46c4-abed-2d8045ba1ca7</item>
- <item name="Name" type_name="gh_string" type_code="10">W</item>
- <item name="NickName" type_name="gh_string" type_code="10">W</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>795</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>806.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="5">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter H</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b01ed3c0-f6fa-4b63-bd7e-3eef2c0d55a4</item>
- <item name="Name" type_name="gh_string" type_code="10">H</item>
- <item name="NickName" type_name="gh_string" type_code="10">H</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>817</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>828.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="6">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter A</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">7adf1044-78f7-4bcc-874b-e500d7bbbd0d</item>
- <item name="Name" type_name="gh_string" type_code="10">A</item>
- <item name="NickName" type_name="gh_string" type_code="10">A</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>840</Y>
- <W>25</W>
- <H>22</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>851.25</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="OutputParam" index="7">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Output parameter F</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">06232a84-6a80-4dfa-8393-98b404b97208</item>
- <item name="Name" type_name="gh_string" type_code="10">F</item>
- <item name="NickName" type_name="gh_string" type_code="10">F</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2454</X>
- <Y>862</Y>
- <W>25</W>
- <H>23</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2466.5</X>
- <Y>873.75</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="140">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">2398bd00-b514-4723-b31f-c436e1ae908b</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">length</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1782</X>
- <Y>726</Y>
- <W>382</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1782.348</X>
- <Y>726.8306</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">400</item>
- <item name="Min" type_name="gh_double" type_code="6">0</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">250</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="141">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">3581f42a-9592-4549-bd6b-1c0fc39d067b</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="4">
- <item name="Description" type_name="gh_string" type_code="10">Construct a point from {xyz} coordinates.</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">cf3f354f-4379-4525-be10-5b0dbf31bcff</item>
- <item name="Name" type_name="gh_string" type_code="10">Construct Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- </items>
- <chunks count="5">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2254</X>
- <Y>641</Y>
- <W>67</W>
- <H>64</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2285</X>
- <Y>673</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">{x} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">661f67f9-9359-4ee5-a58c-df76414fabf0</item>
- <item name="Name" type_name="gh_string" type_code="10">X coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">X</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">c2ff491e-b898-432c-8e6a-7db46434934a</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2256</X>
- <Y>643</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2264.5</X>
- <Y>653</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="1">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{y} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">fe9dc686-4183-43f9-863d-c8c499a24577</item>
- <item name="Name" type_name="gh_string" type_code="10">Y coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Y</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2256</X>
- <Y>663</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2264.5</X>
- <Y>673</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_input" index="2">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">{z} coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">878e78bd-0868-4cae-b9a9-ef4a62dac81e</item>
- <item name="Name" type_name="gh_string" type_code="10">Z coordinate</item>
- <item name="NickName" type_name="gh_string" type_code="10">Z</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2256</X>
- <Y>683</Y>
- <W>14</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2264.5</X>
- <Y>693</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <items count="1">
- <item name="number" type_name="gh_double" type_code="6">0</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Point coordinate</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">75154365-a588-4c21-86a3-ce81e626861d</item>
- <item name="Name" type_name="gh_string" type_code="10">Point</item>
- <item name="NickName" type_name="gh_string" type_code="10">Pt</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2300</X>
- <Y>643</Y>
- <W>19</W>
- <H>60</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2309.5</X>
- <Y>673</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="142">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">d5967b9f-e8ee-436b-a8ad-29fdcecf32d5</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="7">
- <item name="Description" type_name="gh_string" type_code="10">Contains a collection of generic curves</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">934a131f-f506-4502-86d5-aca65a992e3c</item>
- <item name="Name" type_name="gh_string" type_code="10">Curve</item>
- <item name="NickName" type_name="gh_string" type_code="10">Crv</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="Source" index="0" type_name="gh_guid" type_code="9">49ed72a9-4d6b-4881-ac0f-b8700f17fd26</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2525</X>
- <Y>750</Y>
- <W>50</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2550.661</X>
- <Y>762.5297</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="143">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">17b7152b-d30d-4d50-b9ef-c9fe25576fc2</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="5">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane.</item>
- <item name="Hidden" type_name="gh_bool" type_code="1">true</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">b2200c91-bbca-48a4-a165-a7f1e2fe3c5f</item>
- <item name="Name" type_name="gh_string" type_code="10">XY Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">XY</item>
- </items>
- <chunks count="3">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2261</X>
- <Y>707</Y>
- <W>64</W>
- <H>28</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2292</X>
- <Y>721</Y>
- </item>
- </items>
- </chunk>
- <chunk name="param_input" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Origin of plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8589cc40-e2f3-4654-885c-b57ca3fd526a</item>
- <item name="Name" type_name="gh_string" type_code="10">Origin</item>
- <item name="NickName" type_name="gh_string" type_code="10">O</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2263</X>
- <Y>709</Y>
- <W>14</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2271.5</X>
- <Y>721</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PersistentData">
- <items count="1">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- </items>
- <chunks count="1">
- <chunk name="Branch" index="0">
- <items count="2">
- <item name="Count" type_name="gh_int32" type_code="3">1</item>
- <item name="Path" type_name="gh_string" type_code="10">{0}</item>
- </items>
- <chunks count="1">
- <chunk name="Item" index="0">
- <!--GH_Point only stores data which exists, test the existence of data fields prior to reading.-->
- <items count="1">
- <item name="Coordinate" type_name="gh_point3d" type_code="51">
- <X>0</X>
- <Y>0</Y>
- <Z>0</Z>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="param_output" index="0">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">World XY plane</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">f3933593-ac71-4dcf-9de1-01828b79508a</item>
- <item name="Name" type_name="gh_string" type_code="10">Plane</item>
- <item name="NickName" type_name="gh_string" type_code="10">P</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2307</X>
- <Y>709</Y>
- <W>16</W>
- <H>24</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2315</X>
- <Y>721</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="144">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">c2ff491e-b898-432c-8e6a-7db46434934a</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2170</X>
- <Y>644</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2170.805</X>
- <Y>644.7167</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="145">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>2131.598</X>
- <Y>592.215</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>2482.523</X>
- <Y>592.215</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>2482.523</X>
- <Y>607.2424</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>2131.598</X>
- <Y>607.2424</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">61857d57-1c68-49a3-ad6f-54433ce11822</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">16</item>
- <item name="Text" type_name="gh_string" type_code="10">Connect the Range component to Wid (ooooh)</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2126.598</X>
- <Y>587.215</Y>
- <W>360.9243</W>
- <H>25.02734</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2131.598</X>
- <Y>592.215</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="146">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">7f5c6c55-f846-4a08-9c9a-cfdc285cc6fe</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="13">
- <item name="Bold" type_name="gh_bool" type_code="1">true</item>
- <item name="Ca" type_name="gh_drawing_pointf" type_code="31">
- <X>29.21105</X>
- <Y>1018.627</Y>
- </item>
- <item name="Cb" type_name="gh_drawing_pointf" type_code="31">
- <X>472.5363</X>
- <Y>1018.376</Y>
- </item>
- <item name="Cc" type_name="gh_drawing_pointf" type_code="31">
- <X>472.5443</X>
- <Y>1032.464</Y>
- </item>
- <item name="Cd" type_name="gh_drawing_pointf" type_code="31">
- <X>29.21903</X>
- <Y>1032.715</Y>
- </item>
- <item name="Description" type_name="gh_string" type_code="10">A quick note</item>
- <item name="Font" type_name="gh_string" type_code="10">Microsoft Sans Serif</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">a735556e-8f05-4f8e-b6ab-1cc5ff398382</item>
- <item name="Italic" type_name="gh_bool" type_code="1">false</item>
- <item name="Name" type_name="gh_string" type_code="10">Scribble</item>
- <item name="NickName" type_name="gh_string" type_code="10">Scribble</item>
- <item name="Size" type_name="gh_single" type_code="5">15</item>
- <item name="Text" type_name="gh_string" type_code="10">For Force calc, Young's modulus (material-dependent, in GPa)</item>
- </items>
- <chunks count="1">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>24.21105</X>
- <Y>1013.376</Y>
- <W>453.3333</W>
- <H>24.33868</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>29.21105</X>
- <Y>1018.627</Y>
- </item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="147">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">59e0b89a-e487-49f8-bab8-b5bab16be14c</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="8">
- <item name="Description" type_name="gh_string" type_code="10">A panel for custom notes and text values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">64b83d9b-5ae1-4022-b79e-c9135d3cdfc6</item>
- <item name="Name" type_name="gh_string" type_code="10">Panel</item>
- <item name="NickName" type_name="gh_string" type_code="10"></item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="ScrollRatio" type_name="gh_double" type_code="6">0</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- <item name="UserText" type_name="gh_string" type_code="10">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="5">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>2102</X>
- <Y>767</Y>
- <W>50</W>
- <H>20</H>
- </item>
- <item name="MarginLeft" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginRight" type_name="gh_int32" type_code="3">0</item>
- <item name="MarginTop" type_name="gh_int32" type_code="3">0</item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>2102.709</X>
- <Y>767.0847</Y>
- </item>
- </items>
- </chunk>
- <chunk name="PanelProperties">
- <items count="7">
- <item name="Colour" type_name="gh_drawing_color" type_code="36">
- <ARGB>255;255;250;90</ARGB>
- </item>
- <item name="DrawIndices" type_name="gh_bool" type_code="1">true</item>
- <item name="DrawPaths" type_name="gh_bool" type_code="1">true</item>
- <item name="Multiline" type_name="gh_bool" type_code="1">true</item>
- <item name="SpecialCodes" type_name="gh_bool" type_code="1">false</item>
- <item name="Stream" type_name="gh_bool" type_code="1">false</item>
- <item name="Wrap" type_name="gh_bool" type_code="1">true</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Object" index="148">
- <items count="2">
- <item name="GUID" type_name="gh_guid" type_code="9">57da07bd-ecab-415d-9d86-af36d7073abc</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- </items>
- <chunks count="1">
- <chunk name="Container">
- <items count="6">
- <item name="Description" type_name="gh_string" type_code="10">Numeric slider for single values</item>
- <item name="InstanceGuid" type_name="gh_guid" type_code="9">8162af0c-aab0-4024-a905-8206506ff4fd</item>
- <item name="Name" type_name="gh_string" type_code="10">Number Slider</item>
- <item name="NickName" type_name="gh_string" type_code="10">height</item>
- <item name="Optional" type_name="gh_bool" type_code="1">false</item>
- <item name="SourceCount" type_name="gh_int32" type_code="3">0</item>
- </items>
- <chunks count="2">
- <chunk name="Attributes">
- <items count="2">
- <item name="Bounds" type_name="gh_drawing_rectanglef" type_code="35">
- <X>1344</X>
- <Y>308</Y>
- <W>384</W>
- <H>20</H>
- </item>
- <item name="Pivot" type_name="gh_drawing_pointf" type_code="31">
- <X>1344.632</X>
- <Y>308.1685</Y>
- </item>
- </items>
- </chunk>
- <chunk name="Slider">
- <items count="7">
- <item name="Digits" type_name="gh_int32" type_code="3">2</item>
- <item name="GripDisplay" type_name="gh_int32" type_code="3">1</item>
- <item name="Interval" type_name="gh_int32" type_code="3">0</item>
- <item name="Max" type_name="gh_double" type_code="6">200</item>
- <item name="Min" type_name="gh_double" type_code="6">-200</item>
- <item name="SnapCount" type_name="gh_int32" type_code="3">0</item>
- <item name="Value" type_name="gh_double" type_code="6">-56.13</item>
- </items>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- </chunks>
- </chunk>
- <chunk name="Thumbnail">
- <items count="1">
- <item name="Thumbnail" type_name="gh_drawing_bitmap" type_code="37">
- <bitmap length="11104">iVBORw0KGgoAAAANSUhEUgAAAJYAAABkCAIAAADrOV6nAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACr1SURBVHhe7X1XVFxJtuX7m3lf89Wv15p5H9Pvc9brj561erpfTRtVybuqkjdlVSp5nIQ3wnuTCem992SSDpOYxHufmXjvhAeBfFX1NLNvXkQBEsghnqjmrrMuceNGxI2MHSfixDkngn/6p93rF9ACS7vXjm2B5e6H+pfuXjuwBQDcLoQ7ELdVVd6FcGfjh9rvQrgL4Y5vgR3/A3a5cBfCHd8CO/4H7HLhLoQ7vgV2/A/Y5cJdCHd8C+z4H7DLhbsQ7vgW2PE/YJcLdyEsLa2qqqqursa93H292CRlZWUVFRUr8SUlJXhEltWR63LhFa6XloaUKPCl2TcpELlQWmVlJb6O+0rJ6+pGJkPhuDb6+rqqvljCNneKd+VC/E6j0SgUCuVyuc1mKywsJH8/fgbZyjU1NUhjNptJ2PCD8ZiTkyORSJAerYkL8JOoIICMyIJyrFYrEiBMlkZ2FCQjS0B2FELmxR2FI4Cv4BX5RdxJwMgGRS6Ulpubi2TIWFBQgNKQBgF8iKwzWThipFKpQCBAYvInkKCSwJOVJCtMVslut+fl5eEtWcI244fPvROEZAf87LPPPDw84uPjw8PDU1JSLBaLTqfDz1Or1WismJiY2NhYCoWCjwHpoqKi5ubm77///vLlyxcvXsSPR/qsrCyUo1QqtVptXV0dHr/66quoqCg+nw9UEI/IzMxM9JLi4uL6+vrr16/fuHHj2rVreNRoNHiVn58vk8mQBV8EAIgPCgri8Xhk0+NqbGyMjIzcs2cPvv773/+eTqcDOYPBoNfrk5OTUQ3kQg2bmppCQ0NPnjwZGBgoFotRW5QMLPHp7OxsFIsAcuGn4bfjZ+LCdz09PfF7UU98aEdCePjwYT8/Pw6HgxbE70f77t+/H8h99NFHd+/e/fLLL7/99lu0iJeX19WrV1ksVnt7+zfffAMAjh07lp6efuTIkaNHjwYEBKArfP311yjkypUrJ06cuHPnjo+Pz+nTp7/44gtEIv3nn3+OTtDS0oJi0QOio6MzMjLwFt/C/bvvvkMWsmegTQ8cOID4hoYGNDcaGsglJCT86U9/Anh/+MMf8N1bt27t27cvLCwMnz5//jy+iAK7u7v9/f3xUeRF70FpqBI+ik+fO3cuODgYVUX47NmzSIw7EqD74rp06RL6B0rDF7cZxXflQnTGgwcPJiYmKhQKtCx+CS7E+Pr6gpPws729vRFGs6KZ0IUxALpcLjyCZdHuiATeaAggjUZBJPKCoW/evAng8RatBi45fvw4WBlFMZlMtBFaCkh8+umnp06dCgkJwUgOAFABoIhyqFQquByFs9lssCxqFRcX53Q6UT7eosOhhqgSykeYxB79A7nQdfr6+m7fvo1X6JEYzFF/dCwMLQigqyFjREQEEuCOOqMQVBUJkH7v3r3ol3i1wyBEd8PQgUZEr8edy+UyGAz8MDAlei66M7gHAbAgXqFB0QQYncAQaBSABHgwgqGJwbsikQgpMXIiAaBCCUiP4RcxAJ5Go2Fw+93vfofhDmMd8ANIaEcMceAAZAcAABIjJzoH2hS5kB3YY7bDIFxbW4sRFSWjGklJSZjnEMAnwLUoCheqjR6A/oG6IS8GEgwAaWlpeIVIdFAMIeheCKOeQBcdET/h448/xm9E9RCDV0ijUqnI6Xw7r3fiQrKi6OlkM6H2ZJMhZnXbkS2IGMQjDWYUxCCMDosesNLEpJiAlGQJZBayTGRBz0AjkuIJsiMNLmRHSjzigqwBdAE2JjmUTEooK+IMAiuFk69W6klKTKQ8gg/hjux4S36avFaqRBaCGHQ+fAuQk6WRafB25YvbhuIWQLgNdQU8gArX5iIfmg9NCcloG9qRFHq34UOvbN6dAeErf8Y/coI1EJZV2Hdpx7XAGgjN6oZd2nEtsAZCC3/yvZJVMG1kT2bS7+kZ4xsS/Z6BOYGU77Umv6TC10BoFd17f5QtmjAJRszq2gJrU4GlyWZq2Iiy9bV6Xle2eOL9VeaXVPL2QWiTzrHjS3v7Oh4/WVh4OP/0h0dPf3j4Iv3w0+P7Dyc1vBqrcOqX1NDv77dsE4S5kilFeofnzYCBgV6LQWPKLZqamhx52TU6Oto/2KPm1WbvQvh6g+I2QZgjmchk9ft7xTmcLa0tjY1NzUPDwysIArbB59fQ0FBPX6eaW5MtnH5/PfeXVPI2QYgmy5POqeiuuvq6iYmJ0dGRgYEBqDZgQIBKBWv23t4+gIcL8V3dbVpBQ45w5pfU0O/vt2wfhDYZMRdCmdXV1eFyugYHh2RSKRSbMAjAmNDX2+dobWlqaenv7+/odLKSsvPli/mKuVzpVLZ4/P39/l9AydsEITEXUts9b/i52hxFhbkKvXFocAiKTeipYeGDWW5kZEijlKWkpNXUNQ0ODYSHR3hfojJjSyRpTRbhWKHyPrD8BTT3+/gJ2wQh5kI9a8DfKwEa7/b2tvrmlq6uzt7eXljyoPVva2vDY1NzS0N9fVNTM9g0IjQx6rY6JcQS6inyv8aM9lWr6e0AMmd3pfGCjLNNEKL32WSzakYblJm9vT3dXV0w4HV1dZEOFgg4nS6Ygts7cLU3NtfJGJV25aMCxTzG0izeYEZUwZ0rtKjbCnCkTT5rFY29j+68Q8vcTgjnmLFFxcX2psa60rJyGH5bW1vBf7gQcDy/AG1DY62CVZUjWpZIscYHlrnS6dRQq9elVEWGE4+7KK50uG2CEDMZ5sJb1283NNabDGq+WA52gwvFixfgrKuvkjMrckRrJNJs0XiRahH43fo6SZRSX6C8v4siieI2QYg5zMAZ8vdMKIctr7gwv8judDg2grC2vlLGKF8Hobu6YwWKuUx2D1CUpDXu8uK2QkjOhUqaCz5jNbUVcPQqKS16KZWW220FVim9PEf80nXhWL58VsvsuvV1oo7VbZPtrh3fjQsxS+VIJl9KGymp5bQmSXqNNL12I5IQr+pM/OGNl4NjBcp5YUqd9yVKjngcsu4OFUO2qtpvP5DmiCfVtBEZZUBOHVxHiMxkjb2kcYX3MnnOTEGzXtCaKWjZkPgtJsEwJr+Nf+QY5sXkEHO4t7RQubBVbbFDy3lLCPOkGM26ywrDHC23Oxz+Hc6A7raATmeAq9kP5Gjxyc1KyeJMFSjuY6wjqUi5qKK3uVyOh4/vz9+fnp2fmnsZ3V+YuTc5qOHVvdJSgfWG/3UWJ77cPSm+RzPZB17420CIkVPHHPDzinm4+MXS0qmFyaOLk0dcDR8PDx1aWjq7tHRmaelku+uSx2UqJ66SE1+BVuYmVNAii309YvsHekqL8osr6+bn5iYnJ16kqamp0XuDGv6rLRVYZmSyez2/TcWoiyp94A39/qr3NhDmSaclKU7PW15PHny7tHSho/FQXdU+o+5PzY2Hl5YA6sWlpfO93Ve/POcT7qWM9dPE+Gni/HWB1/g3rnr39HSWFefbSytgnSD12riGh4dfsFQAwldbKqCvoYbnhXoKP7ThFLNMrng6RzydK5nOk86AEMAjSdbN5og3Hk7eBkK32eE+Mza/w/X53PyJ8dHPZqdOzk6emJk8MT9zan765Nz8Z6UFX/LiXSXax1jAkVSiecKOL6mtrRkfHx8ZHoY6Gwq2HvfV2dmJR6AIMwXu3T3tbnvhqyFETbDM8LvKYH9IwylEuUx2t4LeoKA3aditalarjuvU89uUjCYFvVHJaIGOaQtRfEsIUQOMXUpGpZxepGSWKBnF5F1BJ0hGK9SwGtH1Vo8eebI5KNhq62qHhgb7+/pgqYDvM3bAmEwm7E0BkH29vW4EB9o7HApmdYH8ARQCkIk2lWvQmaawusBwahaMfgDD6TjqbOZPmnQlbR3tXd19VmvOuXNn/+OjP4aGhvX3Dzud7fAl1rCd8GHYKtXEW0MIfh/PEc/liOdfRtBHQ5P585jgNvkO+HnGtbQ2ldjzM01WDJ9QkGLfEO7YNAS+NGiVGXRmc6urv78nIiwxKciszHABHjerzYPbNkLo+XAq+k8cTrEEypfPwSBj4A5G3pGx2WI4l+fklF68+MXly9i1cek3//ZvUqmutLQxJ9ce4pumZfZuVYd7FwjfYNQmFGxwvLjh19ICE29DUUUVeA7abfAf9iRATdPX24Ntg3nZuTW1Df19vTA23fgyMfqOKvgWP/AG566XhBph0zA6geVLl/OID7rJpUUVFqqwxthuJXiebBp9lB5d5HuVfuOLpFOffZFOw+4LU0RE6q9+9Styh80///N/vXzZUyIx8/kaL29PepR9qwTpbYLQrZ2Z4ySUQb2GGbCrsxNqbgyeMFPA3oQAHjEjAlRYKppbG5iJ1gLZIvo1umoWd0CYXJcQaAi4zgq5JeAnViM+b61eJlcyCbnU45tkKFHxdhtRJLRFmawe3yt0fD09wqZn90EODwtN4vCUfIH20OFj/+Nff/3f//XX/+cPf2AwZWyOMpXCjPQTQtjZfIJ4fQl2WyFU0hzYhOByOmAUhEUCF5TacL9AYI2loqlWxa3Nfa7mxhiFbk5afaHgBl8GXGdLKc0YNlfrgNCUigwH1KdZ3MHtUrwRli8YMq9/GRftqyIHfCx1bNJZSowuOoKRGCMIC6R8fvSrE8e/ueMVkxwnio1kR4UxtKyOdYLC6wP2YsptghDMBPcnX4/o6poqW7ZRIleRlgrSzEQGyAuP9Q3Vcmbly9TcYOUZCLei1Po732dE3VEBQqhen/McoXjjJVZ5fpti5A0B0ffNi+hSsGXe+Co+PiATn16Z29yqwQkjdxhkEdxDTYA03GjJGDN/DEuOd8FsXd5tghDzvDIDc6F/TW1VttWoN1udDidmxRcvMCX04DLGemPT6nqjRcCXScFG7+8oinTHaikGzAo1AsY0NaOjSLXw4mCVjeYTTL0+wRfypfpe4IT+hHk61EOIoXtdGrzdSHu85Y4H2wQhAMh3uz9l55qcbc1NLXUNTTUvpcbm2oqaIgm9dANLxbIMhTYCQjJqC3guPSIPKK40DdgUHjeIp4TnQguBwW2lfdH94Seu4pVrhdVaYZVG8EqqVPEqs/j9L6KIYqnhuTe/TjQLRtb59SCxkTuqyugGZTKJvOhwJv5yjJbRD47ceVyIGuOX4NdKmAVynk3G3Zh4Ngk7V8fpIEcbsBEybkDjbqFuHLJomKcIELp9MgizItgCzv8RPjLfKzRaVIGBO4DRDAxqkyxI2YU9/V0dXViz9fcNDPT09nX19HavIjz2DQz29Q9A14AELc5mJaveJp23rBJ0wX9KWtuVC1Gi1AaoatfjIZi06hrqa1qb6jqKbFUhATHXLvtwmbLWxu6aytaSwjqjsC9HvGXeXNvHhW4UxzEuvXJLCkY5YrgTjbm784g6o0tD63kpqWndWkYvykwLy/b+Lg0yDlgTWKK5IeUDMxW9Heo9iD8hHoKkYBM8qRLi07DLODYqITIqNSoiUSQ15+TgTJWSFbJaSiRirVxhEfDUGq0tJ7ckLCBFkd62wmroWxgkfS5T4wP1qxcGkIrxWKJ5xIqpysstWFr66ae//ZCekbb/wCeffnbU0+vm9Mzkjz89m5weSY3UWgSvUFm8PptuK4SvXy13ynHgp5eVldjrigvr7Pm1Rfk15cVNFSXNpUUNCNsLaosL6kqKao2ashw4OWY4IePE+KmhpgF45NCHdkcYAXl6Kzehyuf7tNi4BIOhkMVWpVO4ERHJTJZao7EplTkrpNHkRkUkBATFBQcncfl6o7EoINCfGm4j0UIvxECNbgEI0VfcBrUxfAVvVbS2tLvZkd6qsye+y7VZ4PGMJRMOSMEefDjKfvLJJzivYXJysqu7MyDQLyOiaOetC98Qv3uQgIi5RJvb1tFd3+Boae1odXSK5Roqk2ey2OD/1tTc1tDobGvvybYWyiiOMt1TDKQpoRY0LhylsEwkRk7ZrHsQJvReGPFskvuM5CxtZrZOVwAyGOw6nU2lylGrc1eTRpOHR/KuVBlTIjTkBg9ghkmXcjfnyoVoDbOLXLrgK9A5gMth+QKji1IaInykarUWqvumpsYrV74PDg764ouLv/nN/4Tr18BAf0trQ5h/mobRA6590zZ5afoPlwuh0Q/0pGTQOKlJDE+fuxyeTizL8bnmefPchZhIqlJtS4xNu+kZLJVZ2RyJ17VwVkw5HDKKNQ/BGRjisNaOuqPkJlRiIiSWIoSKbr5Q9oBLyVZrLQq5RaHMViqtCoUVEK4msCMBsDYf+CFerjDoeK2FigduDd9EYlDW1QvREJfcCgQCv4zIfIhO7LgyfIXoNJiPBVNKsdVeUoDTE3DOzl/+8pff/va3ON4De/Ph9Gy2mDQsBybXrVrzfMAQiqZ9byakUujUNG5IWBKTn8WLTemK+ZeJ+P+S5/tnOiOTQhWmUnDOSSaDKbx+2TfMQ+pe9bPAiATPyWdZsSWQaMiJEHCmhmX7X2fGRCeazCXx0SneXkFXvveKTuJn6vKVBJzLhDOrKGkcGgOKPysiFcqs+FCZmt4F7R1cPTDjYsAEQ4OzARiMaH7XGBbh6OpREXyvY3fL0hvlGbBUuDK57QZBF+54BCloH4ql4g0UpG83XMAEocrojIpI5wk0HK6ayVYxkzPY0eGsuEhmdDgtXcjmqKCvAsXGpotTmkq1TyC7gxGxXsRYiuHOrl4s1T5GZ0ej85OqWXHld65QY6Lj9foCokCGNCggmkKTa9S54MXnlK1WWoODo297Btz0DJEr8/T6fP9A31OHb6ErQH/m1hTOkK6tkbflcDZHX8GYv+43EvZCCWEsdBOMhYS9cIW20NKE7364XEisyoXjCZHiqIiMmEhGTCQ9JpodHcsnKSbKHUPE02LCOVDHkOtCyIqYrjARwvUbDuDi1EZ42RCzoGwG93zpAuZChcqEERJTnU6Xr8ZQiUH1ZwitxKMyRyYxMMGIimylyhTqR5FSHOgf7iU8Ma1itMSKPvK2AkBu+VL9TXv8GgixWPmgCJ3XIhjHZgwDe3AjwlszH7LPGvswJi2sLrDG8LvGxJJRQmkGtNCBFcgeMFPNCpVRLjcLRXpMeypVNjBbR0AUQ6hKhdPzLGKpTsGoL1Qski0LcRT9A0ZmKNXccu9//q6rNRCqGK3vgRwbl+lQMwlSMQhaCbgfl2uiZjo1LJeGuTGxXEivY3e9aH4j3a4gaJCa8Vg/3e3vqdFRCdrMAj5HfuO6t29QNDVdBo6UycwrBNgQliusGGARFom14vTKYvVjYlOOZIIRbcemANiV3Ht0Zs28+2b+fQufuL8RIUs2sbrfArvYGgixTxOErX4gMrxCL415nWS9PfCvWF/U8id6CJMhDh/s7ibcLxDGKXZEauLPa1WDTI/NbEUFFYr0drv6AaE+lRLWu5XhCHMVBkA4SolTmwJuMCMj49SaPIFQx2BIk1JYdIYSOEmlpmWSmRUyU0w0NT6BmZDEFoqMSqU52C8hITALbAeehtsj3MnhmWcVTanZZRqhRCNUqAUK3DcnrUiZKSFIJ1ZqhHKVQJ7JdblRfFepYg2EUCph4QJ7HloG4Z+pv6+np3t1DJkM0CCwLtmamIH+7u4uaLJW53U3ew88LPp6u4vtBXn5NpxqWlpanGvLb3W6Skrs1TXVQ8NDBO69PS+Wv6YagwOo2Ni9Meykuf5dQHJwNiu2FAYpLavbPSkSIj4JJ6F+w3QoW6QnZUnleoLP5BBhMIqaJRLjzxBKTTKpMS42IzaOdjc8lcfH0aPZOHDP+zsq1ifoBxhIsZ7DPJ3JnDZqI4cG9nS2HWh3HujpOtjduSH1dB5qd+1vbtzb1LC3zYHEB7o696n4OquAUDu8I62BsK3NBXK1OUFkeIVcrhdiXjvZ+qLIjO1tMBdWlGOTU2lFFVz0y8vKyxqaGvNsuTALd3S2v2Y1UDj6RFl5MSCM989KCNRH+siDb/FgQ4i+owSiOlYPqT0BolgXZiQYpLJMsTiLmAiV2QAPEK4j7D6WSs2YEfFWIFKnRGQWKR4S9ufnuxvRLcy8B9bM6IHeve2OI66WI11tRztdG1J32xG7dY9e9pFK9ZEt7+OejqOd7fv1YmOu+JHbFeqdUFwDYb6tcJupsLC4qLC4sMBeWEAGimx5qEPRG1UD62WFVI8VCNb15BIeUj6cbpgxxVgOAksgGuEjTw423/6eEhERq1SYU1K5QYFRHt53MZDKpCYgupqkEuPzRyNPoFRzmgrkC4ANPE1wIbHfeDwhsEDEuzzYexj4tTYd6XAebXcsU1vr0XWEt+VF+yqK95fZ99mL9gFsoJgUEyJOacewv5UQ8hPqdyJx42qg717XFmhx0jqBERWLRZgUeIk1Qbc44XdjoJRJSWL6+UeERlDYbI2bBZchFIkMQmEmh6uRiLMQFomy+EJ1VAA/izuMQlhxpXDngWEk+Kbo5DEPm+36owdwujw9N3nq4f2zD+bOgBZnX04P5s8+Wjj76P7Zh/NnF+dOP1o8n5J6JdxHa1c/tAjmTdx5M2/e9KbEvW8Vzq7hwopiJ6jSff+Z7A7ErItcjrE7Nktmd1SVuGrK2qtL2xBYudeWdxClrcr7WqW567AuI1nbqlKHRdX8Uis/2cEBJwAGDxXKH9ASswRijXucJCZCsdgA/Q6PpxMK9UK+FswnEmjvhqdwuDo3nAak8fW//e3pUAgy8K6AxkfD7AQjsmJcBdm3hrsO9PafeLZwpiT/48a6w41VB4eHTy4tfbX0/77YjP4Ob+mz9ORYLX3cxB9R8dQ6iVBDyL6vIOxqz5RKDHIp7joklvDV3Pw1EE7PTIAmp+6RgWWaJWKmpsdXR07NjBPJZjdLNjs3hTNk4MvkbHMMDPZ2djoHhgcGh/udbS1Eaavyvk5p+DpyrfvozOzk+MTooycLWVmGWH+d2wljs3kFMFPidAKRisfTcLlakRB8pmexNJ9+HnL0WIBPAEshN4lFehpNAkYEqAKBni9Qhdym6pi95Cjqlo8msRzUM+cbK+6OD+wdHT3x7P6p8mJMikc7mg9PTgDCL5YA0iZEOLx/ivVprugnWUZjXc3Jwb69Ha79EIggFm1EvV0HMYM6WvY21n/sbN3X3XlgeHBPniVgDYSkDxJcH1ackcjAipPLSjzptrR5Mjil1dXWmMwmi8UKLzzi/wrU1uM/DcBlDQfNrHZ5ep3S8C0kQ01e/CiWIUaz9vqlILehf8O1NlYCSSGGkNAIiVh/2yvg2g3fGx5BcfGczMycg4cC/tuvL/6vU6oz3hohXw1eFAoy+XwdGJTFkcrotZgLV3cOQJjJnMk3h8wvHJmbOjE9/vnDhVOLcwQtzJxEzBxc2jehGXi+H9QK5DnCZ3JaY1316d7OQ66Ww5gyN5GJeruOVdn35un+rJD80WL5a2P94cHefTZL4BoI6xurt5YaGmtQIDZeY+NubX1VY1NtVU1ZSVkRXC628EMOVwOfK+HEVkMHtgkX5hOuEjnBQRESiSE5gZGQQA+9m5RGEctkxuQk/r//0e9f/nf0n0+ligRKYlAVYHTV8viZTJaYm1KCpf3KFi0ESGWbAT4czFIVq1zFLAMpmaVKRqmCUUIQnaRl9/Z1ATm9WE6zZ/H686TzSkZzdcWpno5DjqbDEIIIVnYe63guGa2ISAh0uo7VVx6ATFRbcaC4cG9z45H+7hcglNDK3gOVS2grVIbtuzjNYmu/Isoo1rCc8M1Z7RvxMizHbNL7GQlZHJ4CkxymOrHYKBDoOByNXJ4VFSf85HDo1VvJUrEuJDDcwyuMydYI+DoeX+3nE54cbBEk1cCxChu1sEAUJNcKkmskaa0ySqcyo0dN79cxhwzsMRNvwiqcgXt7nmTBJoN4/LhQ8YQg5ZMi5dPn9KxI+cyuelaoXCzWPOUmlvb3nHu4SIhF96dPP14499AtE0HqeTB3FkLQzzR3BkITZKIni+ceu8Wix49OFOV6r+FCg7hlC8kodayQSebMkrSSj1v4CRSVRdS5OUvU9jrSOebClCglIORyYf3QcDmYEQkCiiKhTiICZmrAFh2RHAJfXq6Wx9UKBNo7t/3hKgdfZBjrCfJVQ8GN5QosWZBxoIOFyhv2LKjxIKxiDRN0k4cwImHHgB861jNIDFGIzA4tD0mJQYagG2Ivjzv3J77F1rAnTy5M9n/WUnmgqnh/Y82hH55hNt1UJoLEtHShuvLaGggnp8empu/h7qaVgPtxioxcoXtkzKr0q5MReYdH+4dH+geHeodG+voGusYnRxEzMjowhT2gRN7V5S+Xtqb85Y9uVg18HcXOL0yVV5TDlWFzD+BCzIXB+qCgEL4gUyDIjIxIunThVkQUDWEORw1yY6lmc9SYApcjuRoaQ5QakWVXEYfgrBCMHlCa58seZwsf54hwf2jhL5p497M4c3rWNORMVcaInDIgSekRJnXyElycOAcrppkR1QDKCK8hiR1XnRKSe8crbGbsS1fLoSePL4x0Ha8o2ddQe6i99dgPTy8u/XRx6cdNael8eenlddoZ4hQY0s8a5/iQh8KQF4SJ1Y94C7ECyVZHrk7W3uYqg9eL3Y6NLzk52VlZxsrq2uxsK3bAQMxB3tXlu0trRfxKaYgh5Z3XqQYUcbV1Vde/99Ey4Bm2oTdDvnw+IzIvMOAuj6/lctRUCj82Mj0lhQ/k2GzVasIsSEYC0XSaQE6vL5CvOSMFCjYTf1zF0+sVjEwpO1PK0cs4ejlJXANIwctS8LOUfKNSQJBKaNaIrFpxtk6Mu1ktMqn5BmGNXfWThFI9OXYOQuxPj88v/XhhaelLgsB/r8QP6C6dqSr2WQthu6MN1OG+r6MXIxHz0kh3Rmwww+IB7r7QXuI0p/qGWqerFSeWVFaVtXc6N8m45rsbl/9zsg5nX39XXr412IsBH+pNrT9jsBdmxBsYLDEJD6DCncVSriJgqYyPoycn8sCOSEaji0Ju0+CUDeuVm8sJiZfYmJcxVJR/ZWRoT1f7/q6O/b3dBzah/p4DHW37Whr3NNTtcbXu7es+MDz0V4MyxcR9rKDXTt0DhBd+fHz+7z9ceAXbrWPKpdMNFb5rINQqcraQdMpcUKYqD6RX2RDWq22gN/1EprJgczKoC+R8m0X46tMvsO00/q6UyZIw6Ng/RgyeAInJxP+JWSElm63wugWntWQuT8tkKrlctfdtz2/PhMb76yDIwF4PjQ8WiJmsicLcq/09+9taj4A2WQzgFdYDpbkfW1R/Usj+w2rd42w92t+z16ikZAt/ktGqpu5ha/tbQlhfsZYLDax7HwaN6FlDKyROaxCmVYrSqkASKg48qZNl1ONOxoAEqRXYm/Ki98M6obRQsZAYrAsIDGYzpdeueHj5hHt7h4SEpkKuWYuiHExJxiCQQROG+NBUtE7gB8kF288ghgiS6oI8hNnmC24d6VEQsRIAuXAnwp3uRywDyPju9uNYD9SUH6irPFhq39fmODbUd5jNuEa5W61m1k9PYIP7p3//8djS348vLX32JnSovvLKGi7UcJrejqAI1nCbtNzmZeI1a3nNKAqPb1qgit1gEQ278RiHLR7GuWJ7RU8fDintamvvrK2rLyktKywqIk5xa+vo6OzuBPV0WvSlRu4rVP5YydGjC/z9wul0cUw0JS6ecds76I5fPKY9BkO+mkj8EIN7GpUjTq8uUjyA6gf8B7sHPGjCPGQXzt5sd119uHhyYfYMFgMP7p9ZhNAPQX/hHKkIhb50ZpzQnT6CUnT2DKFHXTj39OH5pw/OPcbC4PEZlery7atsuEnoJSyzJs2kpFrUb0YmdbJOoFsD4cjo0NvR6Njw4BAMh7Ay9sKZHU7uvf09o/eGcb7FyOjg65c5PDJwb2JQxLSaeYQLr131MO2uRa02ajUWlSbHYimx5RfBQIj/WajR6LKyCrVqk0JlLi6po6eLufGvWNpj1QglS3pcVgZdiFGUnA7BZ3S67KUQIh4QpqaxGXE2HMu4om6FOIozBOhRtY76rxx1eyemzty/d9JVeail4VBBzp6JqbNzQ58X5O8d7vzUUXe4rvJAWeFeGCjKivdPjJ8mRJW/fUHQ0lmNxFecPIC1kIm3mMVZNHKI+5sSVORrICRt6BACcToowriwbbO9ox2Ry6862smNnORLpCRfwTLf3ET8376CAsJ+C1E0N8/W0NRssZjhS4k0L82FeGwIxS41shBc+Na9e2MsNv3SuRAYyu9cZn536YpEqgnwDb/tHwvPa7M5x8/PFxrRkpIyCkUY5H/XwztcLLakUameV8M2V7C5/ammYoKFgJCAjY4TbLkUqhjh1QRofX0Cg8PS2CwloKXRxN4egenhNjDx8z0bhDijog33t38/OnDw4cMzD6c/dzUcHBs83tN5eHbm5MzIp93tRwa6joI1Z+596mg52OlA/Kmlv53HnPecPrNnJxjYi69SR7zalLgGwvZ2HArqanPfV4h47HA/dmz6qs3R6sBZ2/ivZ7XYUN/QWNfc0pRfkFdbV41usL5AsvwXCmzvaMPx+Gmp1DBPsTStWU51hvowKBQOFgBoawgXGRlM/K+8x48fms3WhAT42WKukvL4uvC7SVjz5W2q5oZnW0KQ1tfP3w2MlM2SX/nOIyySBlbD4yqShIXERURm0BlyQAuVt7eXH3aeYs0OBQ3pL+o++Wqown5jcurU2ODpsaGz0xPnIVhOj5+fHD03MXZuBoGxcxOjZ6fvnZudOD+Dt2PnxkfO3hteprGxYyYVTlfaaqu9KSv3LcmAjHlmY57FZAOZjeQdj/kWo81EvH09MuQasyxiWjE8JMidvRpmR1R0KviGms5Lo3Jj49MSklLjE1MjoxNTUlmUdB4oLZ0dG8nKITYCbtZnwUbMWPsdn1AaXZqRIaHTpRHhyQmJHATwuJrQVwAzYoBrUjIjNdxYqnkKicnrUhrOmiZPYIRoigM8cJIcZCuQ/E2IyJJeq+dgFbsFu9TWcCF8lreWNG9RIK0LizByeYc79pilx5pSozVpMToQJTYzLSYzJUpLicnEZmgyMiVKxUkqeuXWWeKMb/kDaqwhlcJJTxeD8I8n6TQpGV5NJH6IwT0hkSaiVhUoiEUhNtfB9x62X3KXk/tkIHjpw/w0C2+2NyMJXFKJ3VvvaLJf7wpMbLv6AGi1wYjYTCudy5PMbkpzr7N13b01bjI8gJNG5VGpIoIowrQ0AZUqXn4kIsUZ6SLfO+FxiZyMDALX5BSWn0eygTMIjsFyEM4c7rP7tmAAXAve2/ujfrje3O/ePdevC5UL8UEanzt30qliiEKALTmJFXI3NT1dgsfnBFz53j5hicm8dBJmquimxw0cEwYVq/vApAlsO8XSYotOjcGAPJnFntWzZgzu+xvSrFU4/Q8EoU0+x44r9fYIoqYvY0NJEyQlc6npq7mQeEWOogjgnpBID/KkWYmxnZi3wIg4RBNWiy1hRAzFWnaLXpFq0iZlqZKNmpTNSJ1i1qZYM1Oz9akWXYpJg/QJGi72oi79E3khtOUd/4MqEOI79pglhWvDIuOiYyigmFhqbByVDK+mmNjlRyQIDo3hp1a4WXDZDcfA6cdeVGKqfu4hgECOe9cL7i8lckPMi/rbbNF9GdPS2bEPzoyd7XuhrtuEBvr2t7s+aar7S03Vnx0tH/f37hsZ/otRRf0HgpBUT+OAO2Z8ASuxiP0axEooZCfajbzB1cclgP9g/0uPyIfimxBNRePYV6yktSjozSAlvYXYZcDCPgKnikFEKt3xClrzi0cdA0I50+psPdzpOuJsPkLo5zam3s7jJYSi9c8K+f81W/a4HEf7evYblRn/WBCixYFivgymvrnXp3XHXaAEA7cfoilmROJAI/GMmtNQU1uH86taW1yNja0lJeXFxeV2e2ldXVNLK4x3OGHH1djUqBXUrnOzyxEvqDh5ztZDcCt1Nh3paj8ObWpXG6Fc7Wojwz/H9HQeb6o9VF99qLnuUGX5AYDd17PPoqH/o0H4amXH6wz+WGLi+CKcbsNPqskWTadFawuLSgyG3PzCmtzc4oaGevxzdQolLcuYa7fXGPS5+QXVpWU1lDgFjooA6sQ2ORiNFfDPeMRIFCzOnYRnKRwsoFmFuhVq1WePzj9dPIcw9K6Eb+rcmR+fXIBDBlwxfnxM2DRgXHz28NwPz06pxeG7EL4dqMS/W8A51Xe9pN+cDvYPCITHxjdfX0tMFYpFWj6fl5aWZrcXcThyOk189ert+GSeVGKKiIz47nxI9B11uLcEBK/iy+cS4uI9FsfOlpXs+/HJxXzzX83mPSOjp2DvzTP+Od/6SVX5vuysPY21h0psn5Tn72tqOkI4qZJaVkLRelGrvb4L4dtBSJxuAw019p+Kkht8vSJZbDmWJXS6nMOBiYqZkpJUU1OVQeNjnyl22NAZCh5fE+gbnRpmxckc2KoPkqc70sPL4yKDH82e7u0+/sPjCz3OoxUVB8bHTj1ZONPuPOJqPjrS91lr/ZHBvs8HOo7XVx3s6vp06W9f/mwWXrogE+9C+G5bUgCkXfmQHp+bmJJOY0gyaCIKlZuSmh4ZHRcbn5SQlIEYBhPxghQKHRolWDyg2VmhfNlTDdf8w1PCe/iHR1CCw+vC7Qn+Ezjsq2UnjHWB1Yb7pRO2rNRdLnxrLlzOiKMPFfTW+HBxUpSMpMRIkDwhQpocLV+JjA8Xiqm1SLxmrhUuqLn6Z48/X/rbRQLCzZ2dXny7dCLfmLQGQjzsXjuxBZaX9rt/dnQL/H8vKf57xZJDFgAAAABJRU5ErkJggg==</bitmap>
- </item>
- </items>
- </chunk>
- </chunks>
- </Archive>
|