0% found this document useful (0 votes)
364 views24 pages

2.NAPA Online Manuals 2009

This document discusses curve definitions in NAPA software. It provides details on: 1) The two main types of curves - those with and without a location surface. Curves are defined by points, which can be explicitly defined or references to other curves or point objects. 2) The two interpolation algorithms used for curves - cubic spline and M2, which has a more continuous curvature. 3) The four main steps to defining a curve - naming it, defining the location surface, defining the shape projection, and optionally a side condition. 4) Additional curve definition options like angles, free angles, automatic vs. manual point ordering, and examples of different curve definitions.

Uploaded by

Bùi Công Lộc
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
364 views24 pages

2.NAPA Online Manuals 2009

This document discusses curve definitions in NAPA software. It provides details on: 1) The two main types of curves - those with and without a location surface. Curves are defined by points, which can be explicitly defined or references to other curves or point objects. 2) The two interpolation algorithms used for curves - cubic spline and M2, which has a more continuous curvature. 3) The four main steps to defining a curve - naming it, defining the location surface, defining the shape projection, and optionally a side condition. 4) Additional curve definition options like angles, free angles, automatic vs. manual point ordering, and examples of different curve definitions.

Uploaded by

Bùi Công Lộc
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

An explicitly defined point could be regarded as the smallest element of geometrical definitions. Where useful, a point can be stored as a named object in the database and, for example, used in the definition of curves. Alternatively, the points can be added directly to the curve definitions. This chapter will, however, concentrate on the definition of curves, whereas point objects will be given only a brief presentation.

5.1 General about curves


5.1.1 Curve types
In NAPA there are basically two different types of curves: curves with a location surface and those without one. The normal curve with a location surface is the basic curve type used in surface definitions. The curve without a location surface (the XYZ curve) can also be used in surface definitions.

5.1.2 Curve interpolation algorithms


Two types of interpolation algorithms are used for curves in NAPA. The basic form of the NAPA curve is a cubic spline. The standard form of NAPA curves tries to avoid unnecessary inflections that would cause discontinuities in the curvature, i.e. second derivatives. The second method of interpolation (known as M2) has a more continuous curvature.

5.2 Curve definitions (with location surface)


A curve is defined in three or four steps. They are: 1. naming the curve 2. defining the location surface of the curve 3. defining the shape or projection of the curve on one of the main planes (XY, XZ or YZ) 4. optionally a side condition can also be defined. The syntax of a curve definition is: CUR name [type] 'explanatory text' location surface definition of the shape/projection [side condition] The optional type of the curve can be set with the 'type' in the curve definition. The default type is set in the reference system as the GMTP value. The !GMTP command is used to change the value temporarily. Types that can be used are: STD: generate polygons only SPLINE: generate spline representation (the default in new projects) M2: use the newer interpolation method, (the same as in XYZ curves); implies SPLINE O-STD: as STD, but use the old implementation (before 99.1) Although the location surface has to be defined before the shape of the curve, it might be easier to comprehend the process in reverse order: The shape of the curve is first defined in a main plane and then projected onto the location surface. The location surface can be a main plane (X,Y or Z), a general plane or a surface that is curved in one direction. The next example illustrates the principles of the definition. The shape of the curve is defined on the XZ-plane and it is projected onto a plane defined by three points.

1 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

In the following example, a curve having its location surface on the XY plane on level Z=0 is created. The curve proceeds from the origin (0, 0) to point (8, 4) through point (4, 2). The curve also has an angle condition at point (4, 2), where it has to leave the point at an angle of 0 degrees. We will concentrate on angles more thoroughly in a later chapter.

The following example consists of two curves with the same shape definition. The difference between the curves is that they have different location surfaces. Curve C1 has a plane location surface at X=-10, whereas C2 has a location surface of cylinder shape on the positive X side. CUR c1 X -10 YZ (2, 5), (3.4, 5.5), (5, 5), (6.6, 4.5), (8, 5) CUR c2 XY (8, 0), (9, 4.8), (11, 8) YZ (2, 5), (3.4, 5.5), (5, 5), (6.6, 4.5), (8, 5)

As can be seen from the examples shown here, a curve is defined by points. Points can be given directly with coordinates as in the previous examples, or they can be defined by adding a reference to an existing curve (the point is the intersection point of the location surface and the existing curve) or by using point objects. For example:

2 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

CUR example3 X, 0 YZ, (1, 1), cur1, (3, 2.5), cur2, cur3, (6, 6) Note that the command UPDATE is needed to update the references of a curve. For example, if the curve CUR1 had been changed in the previous example, the curve EXAMPLE3 should be updated with the command UPD example3

5.3 Order of definition points


The points of a curve are arranged or sorted automatically unless otherwise specified. They are put in order according to ascending values of the coordinate given by the first character of the shape definition (XY; .... -> points will be ordered according to ascending X). The resulting order of the points determines the direction of the curve. This can be understood with the help of the following examples. The following two lines give the same result when the points are ordered according to the value of X. On the first line the values of X are increasing systematically (0, 1, 2) and the points are not reordered. On the second line, the second point has a lower X value than the first point (1, 0, 2), so the order of the first two points are changed. XY, (0, 0), (1, 1), (2, 1.5), ..... XY, (1, 1), (0, 0), (2, 1.5), ..... The order of definition points can be altered by changing the places of the first letters. In the following XY has been changed to YX and the of points on the first line will have the same order as those on the second line after NAPA has ordered the points. YX, (2, 1.5), (0, 0), (1, 1), ..... YX, (0, 0), (1, 1), (2, 1.5), ..... Note that changing the order of XY to YX did not change the order of coordinates inside the brackets. The order of coordinates inside the brackets is always (X, Y, Z). In cases when there are only two values inside the brackets, the possible combinations are (X, Y), (X, Z) or (Y, Z). The automatic ordering can be prevented with option * . The following example demonstrates the effect of the option. CUR example1 Z, 0 XY, *, (2, 2), (3, 4), (4.5, 3), (3.5, 1), (2, 2) CUR example2 Z, 0 XY, (2, 2), (3, 4), (4.5, 3), (3.5, 1), (2, 2)

3 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

If points have the same key (ordering) values, the points will be sorted according to the order of appearance.

5.4 Angles
Curves can be defined not only by points but also by angles connected to the points. The following drawings show how angles are interpreted by NAPA. The same applies to all main coordinate planes (XY, XZ and YZ).

Let us now the use of angles. The following curve is defined as: YZ, A, /45, 0/, B, /60, C, ...

This should be interpreted as: 'start from point A at an angle of 45 degrees, then enter point B at an angle of 0 degrees and leave point B at an angle of 60 degrees, then enter point C without any angle condition'. The side on which the slash (/) is located reflects whether the curve is 'leaving' the previous point or 'entering' the next point. For example: A1/, P, /A2 'A1' gives the angle before point P and 'A2' after it. Note carefully: 'before' and 'after' depend on the direction of the curve, which may be different from the order in the record. For example: XY, A, /45, 0/, B, /60, C, D, /-30, E Should be interpreted as: /45 from A at an angle of 45 degrees 0/ to B at an angle of 0 degree /60 from B at an angle of 60 degrees /-30 from D at an angle of -30 degrees

4 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

5.5 Free angles


A free angle at a point means that the curve behaves in the same way as at an end point. A free angle is always valid on a given side of a point. On the other side of the, point the angle is determined by the free angle unless otherwise specified. The simplest way of creating a knuckle is to add a free angle on both sides. The symbol of the free angle is a minus sign (-).

A special case of the free angle would be a free angle leaving and entering every definition point. In that case it is not necessary to add -/ and /- to every definition point; instead a <> syntax can be used as shown below: XY, <>, A, B, C, D, E, .....

Before moving on to defining curves interactively on a workstation, let us first examine some examples in order to get a better idea of the behaviour of curves. The name of the next curve is 'example1'. It is located on the XY plane at level Z=0; it starts from point (x=15, z=55) and proceeds to point (x=55, z=15). CUR example1 Z, 0 XY, (15, 55), (55, 15)

CUR example2 Z, 0 XY, (15, 55), (30, 25), (55, 15)

5 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

CUR example3 Z, 0 XY, (15, 55), 0/, (30, 25), (55, 15)

CUR example4 Z, 0 XY, (15, 55), /-45, (30, 25), (55, 15)

CUR example5 Z, 0 XY, (15, 55), (30, 25), /-, (55, 15)

6 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

CUR example6 Z, 0 XY, (15, 55), -/, (30, 25), /-, (55, 15)

CUR example7 Z, 0 XY, (15, 55), -/, (20, 30), (30, 20), /-, (55, 15)

CUR example8 Z, 0 XY, <> (15, 55), (20, 30), (30, 20), (55, 15)

7 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

CUR example9 Z, 0 XY, * (10, 35), (35, 60), (60, 35), (35, 10), (10, 35)

CUR example10 Z, 0 XY, * (10, 35), /90, (35, 60), /0, (60, 35), /-90, (35, 10), /180, (10, 35), /90

CUR example11 Z, 0 XY, (15, 55), (30, 20), /-, (55, 15)

8 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

CUR example12 Z, 0 YX, (15, 55), (30, 20), /-, (55, 15)

We draw your attention particularly to the difference between examples 11 and 12. The only difference between the definitions is that the shape definition part in example11 begins with XY, while example12 has it in reverse order. The curves, however, look completely different. Alteration of the identifier from XY to YX causes the points to be ordered according to an increasing Y instead of an increasing X. In this case the definition reversed the direction of the curve.

5.6 Intersection points between curves


When a curve refers to another curve and there are several possible intersection points, all intersection points are used. If only some of the points are needed, or if one has to add different angles to the points, it is necessary to select between them. A typical example could be frames located in the area of the bulbous bow, in which case there actually are two separate frames required - one for the bulbous bow and the other for the upper part. In situations of this kind the following syntaxes can be used: STEM/Z<5 STEM/Z>5 STEM/Z=#5 These examples are interpreted so that STEM/Z<5 means 'use the intersection point where the Z coordinate is less than 5 metres' STEM/Z>5 means 'use the intersection point where the Z coordinate is more than 5 metres' STEM/Z=#5 means 'use the intersection point where the Z coordinate is nearest 5 metres' The following example represents this situation. There are two frames needed at X=201 metres - one for the bulbous bow and the other for the upper part above waterline Z=10. TDWL (draught of design waterline) of the ship in question is 10 metres and the upper part of the bulb is very close to this level.The FRBLB curve refers in this example to curve TF1, which is not drawn in the illustration but is a curve ending at the foremost point of the bulb.

9 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

This is also a typical problem when the flat bottom or the flat side curves refer to the mainframe and to the stem curve or the deck curve. Please see the second example on the next page. CUR XZ CUR YZ CUR ZY stem; y, 0 * frf, -/, (195, 0), 90/, (210, 5.74), 180/, (204, 9), (202.7, 9), (200, 10), /50, (212.5, 25) frblb; x, 201 * 0/, stem/z=#10, -90/, tf1, 180/, stem/Z<5 frf10; x, 201 50/, stem/z>10, 60/, deckf

CUR Y, XZ SC CUR Z, XY SC

fsf 6.5 0/, frf/z=1.8, (65, 2.2), 65/, deckf/x=72 P fbf 0 0/, frf/y=4.7, (65, 4.65), stem/x=80 P

5.7 Side conditions


A side condition describes the behaviour of the surface near a curve. Its use is not compulsory, as the same effect can be achieved by adding an angle condition to each intersecting curve separately. It is, however, a very efficient and convenient tool for the purpose and its use is highly recommended, at least in the following three cases. Thus the most important side conditions are: SC P = the limiting curve for a flat plane SC M = the main frame SC -//- = a free angle in & out (knuckle) CUR X YZ SC frm 50 (0, 0), -/, (8, 0), (10, 2), /-, (10, 12) M

10 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

The above four lines define the main frame. The frame is located at X=50 metres, it has a bilge radius of 2 metres and ends at the deck level at Y=10 and Z=12 metres. Side condition M means that the normal of the surface is perpendicular to direction X. CUR X, YZ SC CUR Y, XZ SC CUR Z, XY SC CUR XZ, XY SC frf 62 (0, 0), -/, (4.7, 0), (6.5, 1.8), /-, (6.5, 11.5) M fsf 6.5 0/, frf/z=1.8, (65, 2.2), 65/, deckf/x=72 P fbf 0 0/, frf/y=4.7, (65, 4.65), stem/x=80 P knf (68, 7.1), (85, 8.5) fsf, -30/, (81, 3.1), -//-

-90/, stem

The above example shows the most common ways of using the side conditions. More alternatives are, however, availabl,e which is demonstrated in the following. If you have no earlier experience of defining geometric objects with NAPA, please skip the following examples as well as the chapter TANGENT FUNCTION, and continue on to the CURVE/CURVE chapter. CUR CUR CUR CUR CUR CUR CUR C1; C2; C3; C4; C5; C6; C7; Z 0; Z 5; Z 10; X 0; X 3; X 7; X 10; XY XY XY YZ YZ YZ YZ (0, (0, (0, C1, C1, C1, C1, 0), 6), 8), C2, C2, C2, C2, (10, 0) (10, 10) (10, 10) C3 C3 C3 C3

In the following we will add a side condition SC *X=0 to curve C1. This side condition means that every curve entering or leaving curve C1 is forced to have an angle of 0 degrees on the YZ plane, i.e. the X-projection. The

11 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

other side condition added is SC *X=90 to curve C3. This consequently means that every curve entering or leaving curve C3 will have to have an angle of 90 degrees. We will also add side conditions SC -//- and -//- - to curve C2. Side condition -//- means that the curve in question is a knuckle curve, i.e. every curve intersecting this curve will have free angle both leaving and entering curve C2. Side condition -//- - means 'a free angle before the curve but no side condition after the curve'. The figures best illustrate the changes caused by side conditions. CUR CUR CUR CUR CUR CUR CUR C1; C2; C3; C4; C5; C6; C7; Z 0; Z 5; Z 10; X 0; X 3; X 7; X 10; XY XY XY YZ YZ YZ YZ (0, (0, (0, C1, C1, C1, C1, 0), 6), 8), C2, C2, C2, C2, (10, 0); (10, 10) (10, 10); C3 C3 C3 C3 SC *X=0 SC *X=90

CUR CUR CUR CUR CUR CUR CUR

C1; C2; C3; C4; C5; C6; C7;

Z 0; Z 5; Z 10; X 0; X 3; X 7; X 10;

XY XY XY YZ YZ YZ YZ

(0, (0, (0, C1, C1, C1, C1,

0), 6), 8), C2, C2, C2, C2,

(10, 0) (10, 10); (10, 10) C3 C3 C3 C3

SC -//-

CUR CUR CUR CUR CUR CUR CUR

C1; C2; C3; C4; C5; C6; C7;

Z 0; Z 5; Z 10; X 0; X 3; X 7; X 10;

XY XY XY YZ YZ YZ YZ

(0, (0, (0, C1, C1, C1, C1,

0), 6), 8), C2, C2, C2, C2,

(10, 0) (10, 10); (10, 10); C3 C3 C3 C3

SC -//-SC *X=90

12 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

5.8 Tangent function


NOTE: It is not recommended to proceed further with this chapter unless you have first done some basic curve definition exercises. A tangent function is a generalized side condition allowing an angle that varies along the curve to be defined. The definition of a tangent function can rely on explicit angles or on curves intersecting the one it belongs to, the owner curve. For this reason, the tangent function is defined as an independent object. Intersecting curves do not automatically use angle conditions defined by a tangent function unless syntax */ is used. Syntax */ means: 'enter the curve at an angle defined by the tangent function'. The basic definition of a tangent function could be: TGF curve XT (0 20) (10 60) which is to be interpreted as: 'The normal of a surface along the curve is such that at X=0, intersecting curves have to enter the curve at an angle of +20 degrees (on the YZ plane) and at X=10, the corresponding angle is +60 degrees. Between these points the angle is interpolated.' See the following example in which this tangent function has been added to curve C2. CUR CUR TGF XT CUR CUR CUR CUR CUR C1; C2; Z, 0; Z, 5; XY XY (0, 0), (10, 0) (0, 6), (10, 10)

C2 (0, 20), (10, 60) C3; C4; C5; C6; C7; Z, X, X, X, X, 10; 0; 3; 7; 10; XY ZY ZY ZY ZY (0, 8), (10, C1, */, C2, C1, */, C2, C1, */, C2, C1, */, C2, 10) C3 C3 C3 C3

Another alternative (and quite usual) method of defining a tangent function is to use previously defined curves. In the next example, we will define a tangent function for a deck by using a couple of previously defined curves. TGF deckf

13 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

XT

frm, -/, fsf, frf8, (175, 63), sn, /-, (190, *Y=53)

In this example, attention needs to be paid to several points. First is the mixed use of explicitly defined angles (175, 63) and references to other curves (such as FRF8). The normal of the surface at the intersection point between curves DECKF and FRF8 is defined by FRF8. Second, a tangent function behaves in the same way as a curve, and it can even be plotted with the command PLOT TGF deckf This explains why free angles entering (-/) and leaving (/-) points can be used in this connection. The first free angle means that the tangent function between FRF and FSF will be a straight line, while the second free angle means the tangent function behaves between FRM and SN as if the SN were the last point in the definition. The third thing of the previous example that should be noted, is that angles can be defined even in projections other than that of a default. The second line in this example begins with XT; thus the default of the following definitions is that the first number inside the brackets stands for the X coordinate and the second number represents the angle in the YZ plane.

Additional useful examples of the use of tangent functions can be found in the chapter on hull definition.

5.9 Curve / curve expression


A curve/curve expression has two functions in NAPA: 1. In a curve definition, the syntax curve/curve can be used to designate a point as the intersection between two curves. 2. The starting angle of the curve is defined so that it shares the tangent plane implied by the referenced curves. The second function is especially important because otherwise internal inconsistency is easily created by having three curves meet at a given point. Note that the curve/curve syntax should be given in both the location surface and the shape. Let us have a closer look at this with the help of an example.

CUR Z XY

wlf1 stem/frf10 (80, 10), /0, stem/frf10

14 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

In this example, the second line (Z, STEM/FRF10) means that the location surface is an XY plane at the Z level on which curves STEM and FRF10 have an intersection point. The same syntax on the third line means that the curve is forced to end at STEM, at an angle which is defined by the current normal of the surface.

5.10 Point objects


A point object is the simplest possible object in NAPA. The basic syntax of a point object is: POINT name (x, y, z) A point can also be defined by: translating a new point from an existing point defining a point on a curve using an intersection point of two curves reflecting another point Let us create a point object called P1. It will be located at X=27, Y=3 and Z=4.5. Then we will create three new points (P2, P3, P4) by translating them from point P1. POINT P1 (27, 3, 4.5) POINT P2 P1(y+1, z-0.5) POINT P3 P1(x-1, y+0.5) POINT P4 P1(X-7) The coordinates of the points are: P2 (27, 4, 4) P3 (26, 3.5, 4.5) P4 (20, 3, 4.5) When a new point is located symmetrically on the other side of the Y-plane, it is a reflection of another point. Let us define point P5 with coordinates (27, -3, 4.5): POINT P5 -P1 The following two points will be defined using curves. Point P6 is located on curve CUR1 at position X=18 metres, while point P7 is located at the intersection point of curves CUR1 and CUR2. POINT p6 cur1/x=18 POINT p7 cur1/cur2 A point object can also be used to check the coordinates of a curve at a specified location. For example, to check the coordinates of the KNF curve at X=70: DEF?>poi test knf/x=70 DEF?>lis test Point TEST: (70, 6.498, 7.265)

5.11 The XYZ curve


A curve without a location surface is defined as a group of (X Y Z) coordinates. Please note that point objects can be used but references to other curves always need more information than only the name as there is no location surface available to define the point on the curve. An example of the various possibilities of giving points: CURVE EXAMPLE XYZ (0, 1, 2) P1 FRA1/TA1 FRA/Z=5

15 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

Where (0, 1, 2,) is the point x=0, y=1, z=2 P1 is a point object FRA1/TA1 is the intersection point between these two curves FRA/Z=5 is the point on FRA at Z=5 For more information about the XYZ curve, see the explanation text of XYZ at the C> prompt.

5.12 Exercises

Main frame FRF with the side condition M


CUR X YZ sc frm 50 (0, 0), -/, (8, 0), (10, 2), /-, (10, 12) m

16 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

Curve FR2 - no side conditions


CUR X YZ fr2 80 (0, 0), -/, (2, 0), /(10, 12)

-/, (8, 1), (10, 3), /-,

Curve STEM
CUR Y ZX stem 0 frm, -/, (100, 0), (105, 3), 180/, (100, 6), /-, (110,12)

5.13 First steps in hull definition


5.13.1 Creating a new version
We shall now carry out one practical exercise working with NAPA. We have already defined project P1234 in the chapter 'General information about NAPA'. Now we will create a new version, named PATROL, to design the hull of a small patrol boat.The main dimensions of the boat will be

17 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

LPP = 30 m BMAX = 6 m TDWL = 2 m Main Window : File -> Add Version...

A new version named PATROL has thus been created. The next step is to define the main curves of the fore and aft bodies. We will begin with the fore body.

5.13.2 Setting up the windows (desktop)


The curves are defined in the DEF (definition) subtask of NAPA. To make the whole process more interactive and easily modifiable, we will be using the Geometry Window tool and the text editor as our main work windows when defining the curves. It is also possible to define the curves directly into the Command input area of the main window, but then we do not get the same interaction and control possibilities. We start by opening the tools: Main Window: Tools -> Text Editor ... Main Window: Tools -> Geometry Window ... We now have 3 NAPA windows on our desktop. The internal relations between these windows is not important. Depending on the resolution and screen size, set up these windows to obtain a suitable

18 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

configuration. NOTE: It is not a good idea to minimize the NAPA Main Window, as it still is used for error messages, etc. A suggested configuration, that works quite well, is the following:

5.13.3 Using naming standards


When starting the definitions of curves, we will be following a naming standard. Although NAPA will not enforce the use for you of a naming standard, it is very important that one is used. FRM main frame of a ship without a parallel mid body FRF main frame of a fore body of a ship with a parallel mid body FRA main frame of the aft body of a ship with a parallel mid body DECKM deck curve of the mid body CLM centre line of the mid body FSM flat side (side tangent) of the mid body FBM flat bottom (bottom tangent) of the mid body STEM stem curve DECKF deck curve of the fore body FSF flat side of the fore body FBF flat bottom of the fore body KNFn knuckle line in the fore body (KNF1, KNF2, ...) FRFn frames in the fore body (FRF1, FRF2, ...) WLFn waterlines in the fore body (WLF1, WLF2, ...) TFn space curves in fore body (TF1, TF2, ...) STERN stern curve DECKA deck curve of the aft body TRANSOM transom FSA flat side of the aft body FBA flat bottom of the aft body KNAn knuckle line in the aft body (KNA1, KNA2, ...)

19 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

FRAn frames in the aft body (FRA1, FRA2, ...) WLAn waterlines in the aft body (WLA1, WLA2, ...) TAn space curves in aft body (TA1, TA2, ...)

5.13.4 Defining the first curves


Let us begin with the definition. The boat is to have a short part of a parallel midbody which starts at X=13 and ends at X=15. We will first define the main frame FRF at X=15. The bilge radius is 1.2 metres and the deck height is 4.4 metres. Into the work area of the editor, we type: cur frf x 15 yz (0 0) -/ (1.8 0) (3 1.2) /- (3 4.4) sc m sur hullf thr frf ok Here we define the main frame 'FRF' and the beginning of the surface HULLF. Details about surface definitions will be available later in this book. NOTE: The OK after the surface definition is important. After the definitions have been typed, they must be executed. To run this command sequence, we click on the run icon or select from the menu

Text Editor: File -> Run For this to work, you will have to be in the correct environment for curve definitions in NAPA, i.e. DEF or DR. When opening the geometry window on the TASK level, the environment will be set to DR. The environment can of course be checked from the prompt in the main window or from the prompt indicator in any window.

Depending on whether the data echo has been set on or off, you will be able to see the commands being echoed in the command input area of the main window. To toggle the data echo, please use: Main Window:-> View -> Data Echo

5.13.5 Visualizing the definition in the Geometry window

20 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

To plot the definitions we will use the Geometry Window. In the Geometry window, we will open the surface HULLF by writing the name HULLF in the object combo box or by selecting it. The selection is accomplished by clicking on the open button Geometry Window: File -> Open ... or by selecting 'Open' from the menu:

To see also the definition points (as above), you have to select 'D ' from the '1st id alternative' drop down menu, and draw the picture again by clicking on the 'Draw' button Next we will continue by defining the stem curve into the editor work area. Note that we will also add the definition to the surface definition. cur frf x 15 yz (0 0) -/ (1.8 0) (3 1.2) /- (3 4.4) sc m cur stem y 0 xz frf -/ (27.3 0) (29.2 1) /- (32 4.4) sur hullf thr frf stem ok Run and draw and set the projection to F

Geometry Window: Projection -> F (Front End)

21 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

Add the deck curve, run

and draw

cur deckf z 4.4 xy frf -/ (22 3) (31.7 0.75) /- 90/ stem sur hullf thr frf stem deckf ok

Next we will add the rest of the border and special curves of the HULLF: cur fsf y 3 xz 0/ frf/z=1.2 deckf/x=22 sc p cur fbf z 0 xy 0/ frf/y=1.8 stem/x=27.3 sc p cur sn xz stem/z=2 /58 deckf/x=31.7 zy stem /85 deckf

sur hullf thr frf stem deckf fsf fbf sn ok Definition points can be chosen by selecting 'D' on the '1st id alternative' drop down menu. To see all reference points, select the 'P' alternative.

22 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

As we have now created the main border curves of the fore body, we can check the HULLF in various projections by choosing from the menu Geometry Window: Projection -> Note that the projection menu is a tear-off-menu which can be separated from the menu by clicking on the dashed top line. The menu-pane can then be placed anywhere on the desktop.

23 of 24

7/11/2012 11:21 AM

5 Curves and point objects

file:///C:/Napa/man/Man091/html/intro/curves/index.html

Please note that when choosing Geometry Window: Projection -> Interactive... it is possible to rotate the object using the mouse. Pressing the left button and dragging will rotate the object. Pressing the middle button and dragging will move the object. Clicking on the right button will exit the interactive projection mode. NOTE: While in the interactive projection mode (when the cursor is a cross hair), it is impossible to do any other functions of NAPA.

The definition of a curve can be checked in the Main Window command input area with the command DES {curve}. Points and angles of a curve can be checked with the command LIS {curve}, which shows not only the definition points but also the coordinates and angles of the intersection points. DEF?>des deckf CUR DECKF; Z, 4.4 XY FRF, -/, (22, 3), (31.7, 0.75), /-,

90/, STEM

DEF?>lis deckf LIST OF CURVE: DECKF ************************************** X Y Z T SC 15.000 3.000 4.400 0.00 (M/) 22.000 3.000 0.00 -/ 31.700 0.750 -46.40 /32.000 0.000 -90.00 90/

REF.CURVE FRF STEM

24 of 24

7/11/2012 11:21 AM

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy