7
Chapter 5: Accurate Modeling The cursor can always move freely in space, but chances are, you will want to relate your modeling elements to the construction plane grid, existing objects, or coordinates in space. You can restrict the cursor’s movement to the grid, enter specific distances and angles from a point, snap to specific locations on existing objects, and enter Cartesian coordinates to locate points in 2-D or 3-D space. The Rhino cursor There are two parts of the cursor: the cursor (1) and the marker (2). The cursor always follow the mouse movement. The marker sometimes leaves the center of the cursor because of some constraint on it such as grid snap or ortho. The marker is a dynamic preview of the point that will be picked when the left mouse button is clicked. When the marker is constrained, in elevator mode, for example, a tracking line (3) also displays. Constraints move your marker to a specific point in space or make its movement track according to the constraint so you can model accurately. Snap to the construction plane grid Grid snap constrains the marker to an imaginary grid that extends infinitely. You can set the snap spacing to any value. Click the Grid Snap button on the status bar to turn grid snap on and off. Tip: To read more about a command, click the red, underlined command name link. Constrain the angle of movement Ortho mode constrains the marker movement or object dragging to a specific set of angles. By default, this is parallel to the grid lines, but you can change this. Ortho is similar to the axis lock function found in drawing or animation programs. Click the Ortho pane on the status bar to turn ortho on and off. Press and hold the Shift key to temporarily toggle the ortho mode. Another common use for ortho is to constrain object dragging to a specific axis. 33

Chapter 5 - Accurate Modeling

Embed Size (px)

DESCRIPTION

Accurate Modeling

Citation preview

  • Chapter 5: Accurate Modeling

    Thecursorcanalwaysmovefreelyinspace,butchancesare,youwillwanttorelateyourmodelingelementstotheconstructionplanegrid,existingobjects,orcoordinatesinspace.Youcanrestrictthecursorsmovementtothegrid,enterspecificdistancesandanglesfromapoint,snaptospecificlocationsonexistingobjects,andenterCartesiancoordinatestolocatepointsin2-Dor3-Dspace.

    The Rhino cursorTherearetwopartsofthecursor:thecursor (1)andthemarker (2).Thecursoralwaysfollowthemousemovement.Themarkersometimesleavesthecenterofthecursorbecauseofsomeconstraintonitsuchasgridsnaporortho.Themarkerisadynamicpreviewofthepointthatwillbepickedwhentheleftmousebuttonisclicked.Whenthemarkerisconstrained,inelevatormode,forexample,atracking line (3)alsodisplays.Constraintsmoveyourmarkertoaspecificpointinspaceormakeitsmovementtrackaccordingtotheconstraintsoyoucanmodelaccurately.

    Snap to the construction plane gridGridsnapconstrainsthemarkertoanimaginarygridthatextendsinfinitely.Youcansetthesnapspacingtoanyvalue.ClicktheGrid Snapbuttononthestatusbartoturngridsnaponandoff.

    Tip:Toreadmoreaboutacommand,clickthered,underlinedcommandnamelink.

    Constrain the angle of movementOrthomodeconstrainsthemarkermovementorobjectdraggingtoaspecificsetofangles.Bydefault,thisisparalleltothegridlines,butyoucanchangethis.Orthoissimilartotheaxislockfunctionfoundindrawingoranimationprograms.ClicktheOrthopaneonthestatusbartoturnorthoonandoff.PressandholdtheShiftkeytotemporarilytoggletheorthomode.Anothercommonusefororthoistoconstrainobjectdraggingtoaspecificaxis.

    33

  • Chapter 5: Accurate Modeling

    Orthoisactiveafterthefirstpointforacommand.Forexample,afterpickingthefirstpointforaline,thesecondpointisconstrainedtotheorthoangle.

    Ortho off (left); Ortho on (right).Ifyouonlyneedadifferentangleforasingleoperation,angleconstraintisfastertouse.Enteraspecificangleforoneoperationinsteadofchangingtheorthoangleandthenchangingitback.

    Snap to existing objectsObject snapsconstrainthemarkertospecificpointsonanobject.WhenRhinoasksyoutospecifyapoint,youcanconstrainthemarkertospecificpartsofexistinggeometry.Whenanobjectsnapisactive,movingthecursornearaspecifiedpointonanobjectcausesthemarkertojumptothatpoint.Objectsnapscanpersistfrompicktopick,orcanbeactivatedforonepickonly.Multiplepersistentobjectsnapscanbesetfromthestatusbar.Allobjectsnapsbehavesimilarly,butsnaptodifferentpartsofexistinggeometry.Inaddition,therearespecialobjectsnapsthatworkforonepickonly.

    Persistent object snapsUsepersistentobjectssnapstomaintainanobjectsnapthroughchoosingseveralpoints.Sincepersistentobjectsnapsareeasytoturnonandoff,youcansetthemandleavethemonuntiltheygetinyourway.Youcanthensetadifferentoneorjustdisablethem.Sometimesobjectsnapsinterferewitheachotherandwithgridsnaporortho.Objectsnapsnormallytakeprecedenceovergridsnaporotherconstraints.Thereareothersituationswhereobjectsnapsworkinconjunctionwithotherconstraints.Youwillseeexamplesofthisinthischapter.Formoreinformationincludingvideodemonstrations,seetheRhinohelptopicObject snaps.

    Open the Osnap control4 ClicktheOsnappaneinthestatusbar.

    TheOsnapcontrolopens.Thiscontrolisusuallydockedatthebottomofthescreen.

    4 Clickacheckboxtoturnonanobjectsnap.4 Rightclickacheckboxtoturnanobjectsnaponandturnoffallotherobjectsnaps.4 Whenanobjectsnapisactive,movingthecursornearaneligiblepointonanobjectcausesthe

    markertojumptothatpointandatooltiptoappear.ThebuttonsontheOsnaptoolbarallowsingle-useoverridesforthepersistentobjectsnaps.

    To suspend all persistent object snaps4 IntheOsnaptoolbar,clicktheDisablebutton.

    Allpersistentobjectsnapswillbesuspended,butremainchecked.

    34

  • Chapter 5: Accurate Modeling

    To clear all persistent object snaps4 IntheOsnaptoolbar,clicktheDisablebuttonwiththerightmousebutton.

    Allpersistentobjectsnapswillbecleared.

    To turn on one object snap and turn all others off with one click4 IntheOsnaptoolbar,right-clicktheobjectsnapyouwanttoturnon.

    Special case object snapsComplexobjectsnapsthatallowselectingmultiplereferencepointsoraddotheradvancedcontrols.SeetheRhinohelptopicObject snapsformoreinformation.ThesearealsoavailablefromtheOsnapcontrol.

    To turn on complex object snaps4 HoldtheCtrlkeyandhoverovertheOsnapcontrol.

    Analternatesetofcontrolsappears.

    Cursor constraintsWhenenteringpoints,youcanconstrainthemarkertoadistanceoranglefromthepreviouspoint.Onceyouhavesetthedistance,dragthelinearoundtoanyangle.Youcanalsousefurthersnapstopointthelineinaspecificdirection.

    Distance constraintDuringanycommandthatrequirestwopoints,suchastheLinecommand,placethefirstpoint.Thenatthenextprompt,typeadistanceandpressEnter.Themarkerwillbeconstrainedtothespecifieddistancefromthepreviouspoint.Dragthecursoraroundthefirstpointandthenpickapoint.

    Angle constraintAngleconstraintissimilartoortho,butyoucansetanyangleanditisaone-timesetting.The

  • Chapter 5: Accurate Modeling

    Distance and angle togetherDistanceandangleconstraintscanbeusedatthesametime.

    1. Atthecommandprompt,typethedistance,andpressEnter.2. Atthenextcommandprompt,typethe

  • Chapter 5: Accurate Modeling

    Youcansnaptointersectionsofthetrackinglines,perpendiculars,anddirectlytosmartpointsaswellasintersectionsoftrackinglinesandrealcurves.Thetrackinglinesandsmartpointsaredisplayedforthedurationofacommand.

    Coordinate systemsRhinousestwocoordinatesystems:constructionplanecoordinatesandworldcoordinates.Worldcoordinatesarefixedinspace.Constructionplanecoordinatesaredefinedforeachviewport.

    Cartesian coordinatesWhenRhinopromptsyouforapoint,ifyoutypexandyCartesiancoordinates,thepointwilllieontheconstructionplaneofthecurrentviewport.Formoreinformationaboutcoordinatesystemsandnumericconstraints,seewww.mathopenref.com/coordinates.

    Right-hand ruleRhinofollowswhatiscalledtheright-hand rule.Theright-handrulecanhelpyoudeterminethedirectionofthez-axis.Formarightanglewiththethumbandforefingerofyourrighthand.Whenyourthumbpointsinthepositivex-direction,yourforefingerpointsinthepositivey-direction,andthepalmofyourhandfacesinthepositivez-direction.

    World coordinatesRhinocontainsoneworldcoordinatesystem.Theworldcoordinatesystemcannotbechanged.WhenRhinopromptsyouforapoint,youcantypecoordinatesintheworldcoordinatesystem.Thearrowiconinthelowerleftcornerofeachviewportdisplaysthedirectionoftheworldx-,y-,andz-axes.Thearrowsmovetoshowtheorientationoftheworldaxeswhenyourotateaview.

    Construction plane coordinatesEachviewporthasaconstruction plane.Aconstructionplaneislikeatabletopthatthecursormovesonunlessyouusecoordinateinput,elevatormode,orobjectsnapsorafewotherinstanceswhereinputisconstrained.Theconstructionplanehasanorigin,x-andy-axes,andagrid.Theconstructionplanecanbesettoanyorientation.Bydefault,eachviewportsconstructionplaneisindependentofthoseinotherviewports.

    37

  • Chapter 5: Accurate Modeling

    Theconstructionplanerepresentsthelocalcoordinatesystemfortheviewportandcanbedifferentfromtheworldcoordinatesystem.

    Rhinosstandardviewportscomewithconstructionplanesthatcorrespondtotheviewport.ThedefaultPerspectiveviewport,however,usestheworldTopconstructionplane,whichisthesameconstructionplanethatisusedintheTopviewport.Thegridliesontheconstructionplane.Thedarkredlinerepresentstheconstructionplanex-axis.Thedarkgreenlinerepresentstheconstructionplaney-axis.Theredandgreenlinesmeetattheconstructionplaneorigin.Tochangethedirectionandoriginofaconstructionplane,usetheCPlanecommand.Presetconstructionplanes(WorldTop,Right,andFront)giveyouquickaccesstocommonconstructionplanes.Inaddition,youcansaveandrestorenamedconstructionplanesandimportnamedconstructionplanesfromanotherRhinofile.

    2-D construction plane coordinates4 Atacommandprompt,typethecoordinatesintheformatx,ywherexisthex-coordinateandyis

    they-coordinateofthepoint.

    A line from 1,1 to 4,2.

    3-D construction plane coordinates4 Atacommandprompt,typethecoordinatesintheformatx,y,zwherexisthex-coordinate,yisthe

    y-coordinate,andzisthez-coordinateofthepoint.Therearenospacesbetweenthecoordinatevalues.4 Toplaceapoint3unitsinthex-direction,4unitsinthey-direction,and10unitsinthez-direction

    fromtheconstructionplaneorigin,type3,4,10attheprompt.

    NoteIfyouenteronlyx-andy-coordinates,thepointwilllieontheconstructionplane.

    38

  • Chapter 5: Accurate Modeling

    Relative coordinatesRhinoremembersthelastpointused,soyoucanenterthenextpointrelativetoit.Relativecoordinatesareusefulforenteringalistofpointswheretherelativelocationsinsteadofabsolutelocationsofthepointsareknown.Userelativecoordinatestolocatepointsaccordingtotheirrelationshiptothepreviousactivepoint.

    To use relative coordinates4 Atacommandprompt,typethecoordinatesintheformatrx,ywherersignifiesthatthecoordinate

    isrelativetothepreviouspoint.

    For example1. StarttheLinecommand.2. AttheStart of lineprompt,clicktoplacethefirstendoftheline.3. AttheEnd of lineprompt,typer2,3,andpressEnter.

    Thelineisdrawntoapoint2unitsinthex-directionand3unitsinthey-directionfromthelastpoint.

    39