Rhino ship hull tutorial

32 366 0
Rhino ship hull tutorial

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Đây là tài liệu hay về phần mềm Rhino sử dụng để dựng 3d vỏ tàu thủy. Giúp các bạn có kiến thức cơ bản về phần mềm và cũng như giúp bạn phát triển hơn nữa trên con đường trở thành một kỹ sư thật sự. Chúc các bạn thành công trong sự nghiệp

Ship Hull Creation Tutorial Developed by Mark Pavkov for The Center for Innovation in Ship Design, Intern Program Naval Surface Warfare Center, Carderock Division 9500 MacArthur Blvd Building West Bethesda, MD 20817-5700 2007© Introduction This tutorial has been designed to give the reader an understanding of the different methods that can be used to model a ship‟s hull in Rhino through a series of predesigned offsets These offsets are produced from when the hull form is portrayed graphically by the lines plan (see: Introduction to Naval Architecture) This shows the various curves of intersection between the hull and the three sets of orthogonal planes In merchant ships the transverse sections are numbered from aft to forward In Warships (U.S.) they are numbered from forward to aft The distances of the various intersection points from the middle line plane are called offsets There are a various ways to complete this modeling task and in no way does this tutorial purport to be the best way It will however introduce some techniques, developing a useable skill set in surface modeling In this case, the body plane was scanned and offset points were created with a piece of software called SHCP (Ship Hull Characteristic Program) This is a very fast, albeit inaccurate way to create a table of offsets Techniques will be introduced to help align these inaccuracies and solve the problem of the “sloppy offsets” This tutorial will lead the reader through the following steps to complete the modeling of the ship‟s hull: Introduction Generating the Offsets Generating a Rhino Points Cloud Generating Station Curves Refining the Curves 10 Introducing Special Features 15 Generating the Main Hull Body 17 Generating Waterlines 20 Generating Bow & Stern Surfaces 23 Mirror the Hull 31 Useful Commands: Hide: Left click the icon and either select an object to hide or drag the selection box over a group of objects by depression and holding the left mouse button Then by hitting the Enter key or right clicking the mouse, the selected items will then be hidden By right clicking the icon, all hidden objects will reappear on the screen It should be noted that this applies only to active layers; hidden objects on inactive layer will remain hidden This command is quite useful when the need arises to work on an object that is obscured by another or when there is simply too much clutter on the screen Zoom window/ Zoom target: This icon will zoom onto selected areas Keep in mind that this command can be executed in the middle of another command, for example to pull the distant terminus of a line into view In the Perspective view, it has the added benefit of relocating the axis of rotation for all objects to the center of the selected area, which is very convenient when doing close up work on an object Press ‘U’ in Middle of Command: This is an „undo‟ command to return to the previous step in the overall command Command Bar: It is useful to keep an eye on the „command bar‟ as this will indicate any errors in the command and can be used for problem solving of incorrect modeling Double Click on View Fields: You can „double click‟ on view fields such as front or perspective to enlarge them to a full screen The double click can also be used to escape back to the original four window view Generating the Offsets AIM: To edit the SHCP table of offsets into a Rhino compatible form METHOD: By editing the table in Excel In order for Rhino to the use the offset data produced by the software package SHCP it must first be put into the correct form Open the Excel file Containership lines The format of the table of offsets is in a typical Cartesian system, with one anomaly: the x coordinates are given in a different scale then the y and z The x scale in this case is not a scale at all, but a division of the ship called “stations.” As explained stations are a series of transverse cuts at defined increments from the forward perpendicular (FP) aft (negative x coordinates define the bow section forward of the FP) There are usually 10, 20, or 40 stations in a typical table of offsets In this case there are 20 stations and several partial stations where the curvature is complex To make this table compatible with Rhino the following editing must be performed:  Delete row 1, which is text and unreadable to Rhino  Delete column D, to remove the redundant 88888 station breakers produced by the SHCP program Once this is done we must transform the scale of the stations The y column is in meters and defines the point from the ship centerline (the transverse middle of the ship running fore and aft), where as the z column defines the point from the ship baseline or the bottom of the keel plate The spacing between stations is 9.875 meters  multiply column A by 9.875 in order to get the correct longitudinal spacing of the points  Put the calculated values into column A in a new sheet using the Special Paste command in the Edit dropdown menu, while selecting the values radio button Once you this the spread sheet should look like this:  Now save this spread sheet as a common delaminated file (*.CSV), using the Save As command and changing the file type in the drop-down menu Give it the name Offsets for Rhino Two warnings may come up Just select Okay or yes for both This will create a copy of the file in the new format and can be opened or modified in for Notepad or Excel The Data file is now ready for Rhino to read NEXT STEP: This Rhino compatible „Ship Hull Offsets‟ table can now be used to generate a ship hull‟s „Points Cloud‟ Generating a Rhino Points Cloud AIM: To input the edited SHCP table of offsets into Rhino and create a ship‟s hull „point cloud‟ METHOD: By using Rhino‟s „File Import‟ and „Grid Extends‟ command To begin a new Rhino file needs to be created Then the table of offsets can be imported to create a „points cloud‟ structure for the ship hull modeling  Open Rhino and select the new file icon and when prompted, select the template: meters.3dm Or go to Dimension > Dimension Properties > Units and switch to meters  Go to File > Import If the Files of type line in the window are not set to Point File, then set it as such  Selecting your cvs file, click open  Press „OK‟  Next, right click the Zoom extents icon You now have a point cloud that will become the lines of the ship Before the modeling can continue the grid extents need to be changed  From the drop-down menu select Tools > Options > Grid and change Grid extents from 100.0 to 210.0  Now save the model Although Rhino will automatically create an Autosave copy of the file, make sure to save often and save copies of the models at different stages under different names This allows the user to go back to an earlier model as there are only a finite number of undo commands that can be executed A complete „points cloud‟ for one half of the hull model has now been created Since ships are longitudinally symmetric hull modeling only needs to be concerned with one half of the ship NEXT STEP: To create station curves from the „points cloud‟ Generating Station Curves AIM: To generate ship hull station curves utilizing the „points cloud‟ previously created METHOD: By using the Rhino command „Interpolate Points‟ Before the station curves can be modeled, modeling „layers‟ will have to be created This will enable the user to hide parts of the model he/she is not working on or allow the user to make only work on certain layers that are „active‟  Click on the layer icon  Double click on the text of the default layer Rename it as points  Go to the next layer and rename it curves  Check the points layer box making it the active layer To enable the selection of individual points in the „points cloud‟ the cloud will be needed to be broken up This can be achieved by using the „Break‟ command  Click on any point to highlight the „points cloud‟ (to highlight all in yellow)  Click on the Break or Explode command Now the Station curves can be modeled, these will be used to loft the hull surface  Make the curves layer the active layer, by checking the curves box  Click on the Osnap box at the bottom of the screen and check the point box  From the dropdown menu Curves > Free-form or right click the Control point curve icon and select Interpolate Points curve  Start at the forward end of the ship with the top point of the first set of vertical points and connect one to another by clicking on each point until the bottom point (keel) is reached, then right click Use the Zoom window command to centre in on the first station curve (see intro) NB: „Right Click‟ to escape command then „Right Click‟ to redo command  Repeat this process for the rest of the points until are set of ribs (stations) are developed It should look like this: NEXT STEP: To Refine the Station Curves NB: Save as new file, it is prudent to save the model as a new file after each section in this tutorial, incase you require to return to an earlier stage in the modeling Refining the Curves AIM: To refine the curves to gain a more accurate representation of the overall hull surface once it is rendered METHOD: By manually deleting and re-drawing certain sections of the station curves In order to accurately refine the station curves they need to be looked upon in closer detail  Turn off the points layer (yellow bulb)  From the drop-down menu, Analyze > Curve > click Curve graph on This command will allow you to assess the fairness of the curve, this is the smoothness with which the curve changes along its length  Select all the curves, press enter The curve graph greatly exaggerates the curve‟s slope and inflection points Where the graph line crosses the curve is an inflection point The curves in your model may not be as warped as the in above picture, it depends on what display scale setting is being used Several inflection points on lines appear to be straight It will help with the overall rendering of the hull surface if these lines are smoothed out There are two ways to this Through tweaking the control points By letting the program find the best fit of a new curve We will use the latter, but you may want to turn on the control points and play with them, while the graphing function is on, to get a feel for what is going on 10 We are going to pull these lines to the surface we created  Working in the Top view port, activate or create a new layer and name it, new lines  Right click Project to surface and select Pull curve to surface  Do the lines individually  Zooming in select the lines that cross the plane you created  Hit enter (or right click) when done and then select “choose the surface that pulls” which is the plane recently created  The “pulled” line will now be highlighted We need to select the next curve to be pulled initiate the command then right click to re-initiate the command for the next curve  Repeat for all the other curves penetrating the plane  Turn off plane You should now have a series of lines that we will be used as cutting lines  Use the split command and select all station curves with associated projected lines  Press enter  Use the projected lines as the cutting object, selecting them close to the xy plane 18  Press enter  Turn off new lines and switch to curves  In Perspective view delete the tops of the split station curves  Turn on points  Make certain that point and end are checked in the Osnap command line  Use a poly line to connect the end of the truncated station curve to the shear line point, skipping intermediate points (you may want to hide extraneous points)  Use the Curve > Curve Edit Tools > Match command as before, continuity tangential, with the line to be changed: the station curve, and matching it to the straight line you recently created  Repeat this for the rest of the truncated stations Join the sections of each station curve together at this time NEXT STEP: To aid greater definition to the hull surface by adding what are in essence waterlines 19 Generating Waterlines AIM: To add greater definition to the hull surface by adding waterlines METHOD: By using various Rhino „plane‟ commands Greater definition of the hull is needed This will be achieved by adding what are in essence waterlines, through this we can make a hull surface with better continuity First, we will make a plane  Activate the vertical plane layer  Hide the vertical plane  From the pull down menu select; Surface > plane > corner to corner or icon and then  The first corner will be (-7,0,1) input these coordinates (without the parenthesis) in the dialog box  The second point will at (203,16,1)  We will now copy this plane several times creating horizontal slices vertically through the hull Do this by using the copy command  Select the horizontal plane as the object to copy  Press enter and the (-7,0,1) point as the copy from point For the point to copy to we will use the @ command  In the dialogue box enter @0,0,1 and then enter This will create a copy that will be one unit (in this case meter) from the start point selected The command is still active so,  Now enter @0,0,2  Then enter @0,0,3 and so on until we reach 15 in the z coordinate  Press ESC 20 Keep the keel and curves layers on  Create a new layer and call it waterline pts and make it active  In the project from surface command, select the object intersect command  Select everything, press enter, and wait for Rhino to process the command There will now be a new set of points created If a point was created at the intersection on two lines that don‟t intersect the waterline planes, delete it, as it will just cause confusion These extraneous points will be located around the bow and stern areas Look closely in between planes, there may be a few in the stations where two sections of the curve are not joined Basically all points that are not on a plane need to be deleted The next step is to actually make some waterline curves These will be used to give the hull a better shape  Create new layer and call it waterlines  Turn off or hide the planes and starting with the meter (+ z) make a curve (interpolate points) from stem to stern connecting each station point on each waterline  After the 9th line (right before the end of the bulbous bow) start your lines at the 3rd station and not the edge of the bow This is to keep the hull fair  After the 11th station line not connect to the stern (transom) 21  Join the Bow, Keel and Stern lines  Join together the keel line from the 3rd station to the tip of the stern tube  Break up the waterlines (water, keel and shear) from the 3rd station to the 22nd station forward of the stern tube, using the stations as your cutting objects  Initiate the Split command  Under “Objects to Split” select all waterlines and the keel line  Under “Cutting Objects” select the 3rd to the 22nd station lines Notice that between the 3rd and 4th station, the meter waterline ends before the 3rd station This will cause an error with the command that we will use to create surface on the majority of the model Keep in mind, that the meter water line must be skipped as a cross curve when creating this panel NEXT STEP: Now the waterlines have given the ship‟s hull greater definition, the bow and stern surfaces can now be developed 22 Generating Bow & Stern Surfaces AIM: To create the Bow and Stern Surfaces of the Rhino ship hull METHOD: The surfaces will be created by using the Rhino „Sweep Rails‟ command The hull now consists of 19 panels that will individually be developed into surfaces and then joined together to give a seamless and smooth appearance  Create a new layer called hull surfaces to work in A useful command to develop a complex surface in Rhino is the Sweep Rails command  From the pull down menu select Surface > Sweep Rails or  Select stations and as the two rails and the waterline segments connecting them as the cross curves (use a right to left drag to capture several or all of them at once) NB: Use curves not surface edges as the sweep rails  Select waterlines in-between the two stations Press enter  When the two rails options dialogue box appears set it up like this (while many of the two rails option dialogue boxes will not appear exactly liken this, make sure rail curve „option B‟ is selecting (after the first surface is created): Since we are not going to try to hand fair the surface we can limit the number of control points The rail curve options will not be active at first, but will be with the next panel 23 For the next set of rail curves we will select the edge of the last panel and the 6th station curve We will want to match the curvature of the last panel to one being created A & B are the two edges of the panel Rhino will use the edge of the last panel to create a strake of two panels  Repeat this process to form the majority of the hull, up to the 22nd station The panel between station &4 will be addressed using a combination of Sweep Rails and Loft commands  Split the station rails at the last continuous waterline above the baseline  Then use the Sweep Rails command to create the surface The section with the non-continuous line will be created with the Patch command  Surface > Patch, choose the edges of the trapezoid as the curves to patch You may notice several tears in the surface especially where two surfaces come together This will be remedied when we join the surfaces into one polysurface Next is to generate the bow section Bows are difficult to create a surface on as they have curvature in all three axis To create these surfaces often takes time and a creative approach should be taken The method will vary from project to project but in general a construction line will be created in order to coax the program to create the surface that is required This is the case with this ship hull Defining the shear of the bow will be the first step 24  Using polyline select the tip of bow line and then the top of the 3rd & 4th station lines to create this curve  Then trim the curve off at the 3rd station, deleting the portion aft of the 3rd station NB: Interpolate points can be used instead of the above two actions  Hide hull surfaces recently created  Turn on the waterlines layer  Where the 3rd station line meets the 11th water line create a line perpendicular into the negative (-) y direction (make sure Ortho is on.) for a couple of meters  Extrude the line into a plane forward using Surface > Extrude Curve > Straight 25 If the program is extruding the curve in the yz plane and not the xy plane type in D when the dialogue box asks for extrusion distance and hit enter  Select the base point for direction as 0,0,0 and the second direction point as 1,0,0  This will pull the extruded surface into the correct plane Extend this plane so that is goes through the stem  Check off the intersection box, Int, on the Osnap command line  Put a point at the intersection of the plane and the stem line (bow line) or split the line (using the plane as the cutting surface) and select the end  Hide or delete the plane  Draw a line from the point just created aft until it crosses the first line that was made  Activate the ellipse command setting the center at the intersection of the two lines and first and second points as the line and station intersection and the point on the stem 26  Now split the ellipse with the station and stem lines  Keep the quarter ellipse between the station and stem and delete the ¾ remaining  Split the bow stem line and the 3rd station at the ellipse section At the intersection of the 9th water line and the 3rd station we will repeat this process but with a variation When given the opportunity to select the direction of the line extrusion, we will set it at a 45º angle to the xy plane Do this by entering the base coordinance as before but the second direction point as -1,0,1 Once a point is created at the intersection of the plane and the stem, check the Perp box on the Osnap command line and draw a line from the point back down to the line that the plane was created from; this will be the center of the next ellipse 27  Create another quarter ellipse and then break it at the bow stem and it‟s intersection with the ellipse  Also break the 3rd station at both ellipses  Break the top of the 2nd station at the meter waterline Now we are ready to use these frames to guide the program in surface creation Experiment with some of the surface commands and see the different surfaces that they create Ultimately, we will go back to the reliable Sweep Rails NB: Create all surfaces in the “Hull Surfaces” layer  Create a surface on the top of the bulbous bow using the station and arc curves as the rails and the others as the cross curves NB: Rail curves are: Curve created and 2nd station curve Cross curves are: Waterline and Bow line Try switching the cross curves and the rail curve to see what the result is Look at the difference between the different rail curve options when creating the section above the bow First Surface: Sweep Rails Cross Section Curves 28 Second Surface: Sweep Rails Cross Section Curves  Break the stations and waterlines in the appropriate places to create panel between stations and NB: Surface the Bow and Stern sections panel by panel if necessary using which ever “surface” commands are most effective The patch command can used to put a surface on the trapezoid below it  Break the stem line at the top and bottom of station and then use the patch command to create the forward end of the bulb with station and broken stem line 29  Break and join the lines of the stern section as needed to utilize the Sweep Rails, Loft, Patch and Surface Corner Points commands Be creative If possible use the edges of a surface over a curve to create new surfaces Here is what the author did: These different surface parts were then joined using the join command into one polysurface (Bottom blue section utilizes the Surface Corner Points command)  Join your hull, stern, and bow surfaces and turn off all other lines  From the dropdown menu select Analyze > Edge tools > Show Edges and select the polysurface hull If all is been done correctly it will look like this, with the only free edges along the edge of the hull: NB: Select Naked Edges NEXT STEP: To complete the model the one half of the ship‟s hull that has now been created will be mirrored to create the complete ship hull 30 Mirror the Hull AIM: To generate the complete ship hull model in Rhino METHOD: By using the „Mirror‟ command to transpose the existing half of the hull into a complete ship hull Rhino model  Using the Mirror command in the Transform dropdown, select the hull and using a start of mirror plane of 0,0,0 press enter and with the Ortho on, the end of mirror plane extending down the x axis, mirror the hull  Join two sides of the hull Check for naked edges The hull is shown here with the isocurves off This can be done by going to Edit > Object properties and unchecking the isocurves box Next make the transom  Turn off the hull and turn back on the keel line and the station curves  Mirror the transom station and draw a interpolate curve through it and the transom keel line 31  Break the curve at the transom keel line and using patch make half the transom surface  Repeat for the other side  Join the two sides and then join them to the hull  Check for free edges The completed ship hull should look like this: Congratulations you have completed the Rhino Ship Hull Tutorial 32 [...]... that has now been created will be mirrored to create the complete ship hull 30 9 Mirror the Hull AIM: To generate the complete ship hull model in Rhino METHOD: By using the „Mirror‟ command to transpose the existing half of the hull into a complete ship hull Rhino model  Using the Mirror command in the Transform dropdown, select the hull and using a start of mirror plane of 0,0,0 press enter and with... when creating this panel NEXT STEP: Now the waterlines have given the ship s hull greater definition, the bow and stern surfaces can now be developed 22 8 Generating Bow & Stern Surfaces AIM: To create the Bow and Stern Surfaces of the Rhino ship hull METHOD: The surfaces will be created by using the Rhino „Sweep 2 Rails‟ command The hull now consists of 19 panels that will individually be developed into... transom keel line and using patch make half the transom surface  Repeat for the other side  Join the two sides and then join them to the hull  Check for free edges The completed ship hull should look like this: Congratulations you have completed the Rhino Ship Hull Tutorial 32 ... the ship need definition in the xz plane We are going to import a set of points that will help to develop these surfaces The points were created from the profile view of the ship: specifically, the continuous line from the point were the hull meets the forecastle, down around the bulbous bow, to the keel and continuing aft  Go to File > Import look in CISD Rhino Tutorial  Change „files of type‟ to Rhino. .. rest of the hull lines needed 13 NEXT STEP: Now the station curves have been created additional features of the ship hull can be included such as the Bow and Stern lines 14 5 Introducing Special Features AIM: To develop the skeleton of the model to include additional features usually present upon a ship s hull METHOD: By manually manipulating the station curves and by importing standard ship features... Points command)  Join your hull, stern, and bow surfaces and turn off all other lines  From the dropdown menu select Analyze > Edge tools > Show Edges and select the polysurface hull If all is been done correctly it will look like this, with the only free edges along the edge of the hull: NB: Select Naked Edges NEXT STEP: To complete the model the one half of the ship s hull that has now been created... STEP: To aid greater definition to the hull surface by adding what are in essence waterlines 19 7 Generating Waterlines AIM: To add greater definition to the hull surface by adding waterlines METHOD: By using various Rhino „plane‟ commands Greater definition of the hull is needed This will be achieved by adding what are in essence waterlines, through this we can make a hull surface with better continuity... To generate the main hull body 16 6 Generating the Main Hull Body AIM: To form the main structure of the hull body METHOD: Using primarily Rhino „surface‟ commands Look at the model in the right view port and pan up towards the shear line (upper, right points, outer edge), it is visible that the station curves now bow outside of the xz plane at the outer most shear point This ship has parallel mid... enter and with the Ortho on, the end of mirror plane extending down the x axis, mirror the hull  Join two sides of the hull Check for naked edges The hull is shown here with the isocurves off This can be done by going to Edit > Object properties and unchecking the isocurves box Next make the transom  Turn off the hull and turn back on the keel line and the station curves  Mirror the transom station... select Surface > Plane > vertical  Use the highlighted point as the Start of Edge point pull this edge forward, past the bow of the ship (make sure the Ortho command is on )  Left click and then enter 16 as the Height  Create the plane along the ship (click down under the ship)  Next, click on the rectangle you have just created to realize it  Repeat this going aft using the same point as the start ... Data file is now ready for Rhino to read NEXT STEP: This Rhino compatible Ship Hull Offsets‟ table can now be used to generate a ship hull s „Points Cloud‟ Generating a Rhino Points Cloud AIM:... AIM: To generate the complete ship hull model in Rhino METHOD: By using the „Mirror‟ command to transpose the existing half of the hull into a complete ship hull Rhino model  Using the Mirror... sides and then join them to the hull  Check for free edges The completed ship hull should look like this: Congratulations you have completed the Rhino Ship Hull Tutorial 32

Ngày đăng: 23/04/2016, 09:04

Tài liệu cùng người dùng

Tài liệu liên quan