欢迎来到天天文库
浏览记录
ID:40945511
大小:587.85 KB
页数:5页
时间:2019-08-11
《lesson-1-GC-lesson 1-getting started》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、GenerativeComponents101Lesson1:GettingStartedYikes,wheredoIstart?LetsstartbycreatingadrawingusingtheseedGC.dgntouseeverytimeyouuseGC.WhenyouopenthedrawingtheGCdialogboxwillappearandnowindowswillbeopenonyourscreen.LetsstartwithanewScriptFile.GotoFile>NewScriptFileorusetheNewScri
2、ptFiletool.TheCreatingnewscriptfiledialogtellsusthatallfeatureswillbedeletedfromthecurrentgraph.Thisisok!Don’tworryabouttickinganyextraboxesatthisstage.Clickok.Glossary:Script.Ascriptistypicalofprogrammingtools.Ascriptisexecuted“onetime”andpopulatesamodelwithelementsorcomponent
3、s.Tochangetheresultorcreateanewfile,allthegeneratedelementsorcomponentshavetobedeleted(hencethedialogatleft)andthescriptisre-runwithdifferentinputparameters.YournewGCdialogboxwillchangeslightlyandnowincludetheScriptPlayerBar,ScriptEditortoolandTabs.Twowindowsalsoopen–aDefault-t
4、opviewandaSymbolic-topview.Thesymbolicviewwillshowourdrawingpathinasymbolicgraph.YouwillseeintheSymbolicviewtheCoordinateSystem/BaseCSsymbol,andintheotherviewitsGCgraphic.Glossary:CoordinateSystem.Thecoordinatesystemcontrolsthedirectionofthex,yandzcoordinates.Whenyoustartanewsc
5、riptyouareautomaticallyassignedacoordinatesystemcalledBaseCSanditsits“AtModelOrigin”.Rotateyourdefaultviewandyouwillseeitmoreclearly.TheredlineisX,thegreenYandthecyanisZ.Theactiveplaneisdefinedbytheyellowsquare.TobeginwithitsitsontheXYplane.YoucanchangetheplanetotheYZplaneorXZp
6、laneintheGCdialog.ChangetheplaneintheGCdialogandwatchtheyellowsquarerotatetotheassignedplane.Ok,I’mreadytodrawaline!Firstweneedtoplacesomepointsthatdefinetheline.InGCwealwaysstoretherelationshipbetweenthepointsandthelineandalwaysrecomputedthelinefromthecurrentvalueofthepoints.F
7、indthePointtoolandplacetwopointsinspace.Anywhere.YouwillnoticeyourSymbolicdiagramhasrecordedyourmovesandhasdrawntwopointsymbols.Nowwecancreatethelineor“Feature”.Glossary:Feature.Afeatureisthenameusedtodescribedifferentgeometricconstructions.Thesecanbegeneralsuchaslines,arc,curv
8、esorsurfacesandsolids.Inturnwhatyoubuildcanformthebasi
此文档下载收益归作者所有