Idoc Pub - Manual-Maxsurf (121-144) Es en
Idoc Pub - Manual-Maxsurf (121-144) Es en
Idoc Pub - Manual-Maxsurf (121-144) Es en
com
Isoparametric curves are not in any particular plane and give a good
indication of any inconsistencies in surfaces, which may be due to
poorly placed control points. Below is a parametric representation of
a design.
• Edges
Normally all surface edges will be visible. However, in some cases
you may prefer to hide the edges of the surface and show only the
frames. In this case, disabling the Edges option will obtain the
following result.
• Surface Curves
Surface Curves are curves that lie on the surface. For now these
curves are generated only by the Workshop program in which they
are used to define the path of the longitudinals on the surface and
the limits of the plates. No
Page 121
However, any design that has been saved using Workshop can make
these curves visible in Maxsurf.
• Inclined Sections Workshop also allows arbitrarily inclined
intersection with the hull. The resulting inclined sectionsof
can also be
blueprints
viewed in Maxsurf.
qShading (Render)
Selecting Render eliminates hidden lines in the design with the
possibility of choosing the type of surface shading used.
Isoparametric curves can be selected for all options and, in
particular, can highlight variations in colors used for curvature
representations.
• Shading On
Selecting Shading On performs shading of the surface using a fixed
light source. The base colors for the interior and exterior of the
surface can be chosen in the Color option of the View menu.
• Shading Off
Selecting Shading Off produces a hidden line removal view, with all
surface panels shaded white. This option assumes that isoparametric
curves are visible.
• Gaussian curvature
It shows a shading of the surface assigning different colors to the
different degrees of Gaussian curvature at each point on it.
• Longitudinal Curvature
It shows a shading of the surface assigning different colors to the
different degrees of longitudinal curvature for each point, taken
perpendicular to it.
• Transverse Curvature
It shows a shading of the surface assigning different colors to the
different degrees of transverse curvature for each point, taken
perpendicular to it.
• Convexity
It shows a shading of the surface assigning different colors to the
different degrees of convexity of the surface.
qAnimate (Animation)
Animate can only be selected when the Perspective view window is
active. Maxsurf will attempt to draw as many views as possible,
according to the available memory capacity, up to the maximum
number specified in the Animate dialog.
Once all these views have been drawn, they can be represented as a
movie, moving the mouse from one side to the other. Clicking with
the mouse will end the animation.
Page 122
Page 123
Data MenuqSize
The Size function allows the designer to modify the scale and
proportions on the main dimensions of a surface or group of
surfaces. This function is especially useful when modeling "geosim"
variations from a base design, and also allows a precise definition of
the main design parameters.
To resize a design
qSelect Size from the Data menu.
You may have to wait some time while sizes are calculated.
You can do this either by directly modifying the text or by using the
scale increment/decrement arrows located on the side
Page 124
right of the dimension boxes. These can be introduced in any type of
units.
qUnits
Various metric and imperial units can be specified.
Regardless of the default units specified, the Size, Grid Spacing, Girth
and Markers options, and data entry windows will accept dimension
data in any unit. For example, if the default unit were the meter, all
of the following inputs would be accepted and converted
appropriately:
33cm
328mm
650.44 thousand
6ft 3.1in
5f 5i
11.25 feet
5'4"
4 inches
3.25"
qGrid Spacing This menu function allows you to precisely specify the
positions of all frames, waterlines, longitudinals, and diagonals.
qFrame of Reference
Choosing this function allows you to adjust the positions for the bow
and stern perpendiculars, master frame, reference waterline, and
baseline for the design. All values entered are in relation to the
coordinate origin. However, it may happen that it is adjusted to the
position of one of the elements in the Frame of Reference dialog
box. In this case, the coordinate origin is not updated until you click
OK in the Frame of Reference dialog box.
qGirth (Chain)
Chains or perimeters for all visible surfaces can be found using the
Girth function in the Data menu.
Page 125
To locate the position of a given string:
qEnter the length of the chain.
qClick on Calculate Position.
qCalculate Offsets
When Calculate Offsets is selected, the Offsets window will be filled
with layout primer data for the Grid that has been specified using
the Grid Spacing command.
qCalculate Areas
Maxsurf has a function that allows you to accurately calculate the area of
a surface along with its center of gravity in the x, y and z planes. To carry
out the calculation, select the Area Calculation command from the Data
menu.
When you click Overall, Maxsurf calculates the total areas of all
surfaces as well as their centers of gravity. A line for totals gives the
sum for all surfaces.
Page 126
Calculations. In the first case the center is that of the entire area in
three dimensions, while in the second case the center is that of the
two-dimensional projection of that area.
Page 127
To use a plotter you need to adjust the communications parameters
using the various Plotter Setup options in Maxsurf and/or the DIP
switches or front panel of the plotter. In general, it doesn't matter
too much what parameters are chosen as long as Maxsurf and the
chartplotter are set identically.
Transmission speed (Baud The transmission speed (Baud rate) refers to the number of bits
rate) transmitted per second. In general it is better to use the highest
value available (9600 Baud on most plotters). However, in some
cases where the chartplotter is not capable of receiving high values,
or when there is an interference problem causing data loss, it may
be necessary to work with a lower value (2400 baud is slow enough
to be compatible with all the plotters we have found and fast
enough so that normally no deterioration in the plotting speed of
the plotter is noticeable).
Data Bits Although the standard byte is 8 bits long, the characters used by
most plotters use only seven of the eight bits. As a result, you can
save some time and effort by transmitting only those seven bits and
not the entire byte. In practice, the difference is negligible for plotter
commands since the amount of data sent is small and the plotter is
typically much slower than the data transmission rate.
Stop Bits They are the end of each data character. Traditionally only one is
used. However, if you saved a bit by using only seven-bit data, you
now have an extra bit that can be used as an additional stop bit.
Again, the difference is of little importance to the average plotter
user. Most plotter manufacturers recommend seven-bit data with
two stop bits.
Parity Parity is a form of error checking in which the values of all the bits
of a character are added and the result stored in an additional bit
that is transmitted with the character. If the value is even and you
have chosen even parity, the parity bit will be set to unity.
Conversely, if the value is odd and you have chosen odd parity, the
parity bit will also be set to unity. This will allow the device receiving
the data to verify that the data has not changed since the data
sending element set the parity bits. Even or odd parity will operate
equally well although parity can be set to not be used (parity none)
(no error checking), with little or no loss in transmission reliability.
Page 128
Flow Control – Hardwire vs. Flow control refers to the method used to regulate the flow of data
Xon/Xoff. to the plotter. When Maxsurf sends instructions to the plotter, they
are directed to a memory area, the buffer, which has a certain size. If
the buffer fills faster than it can be emptied by the plotter, a
message must be sent to the sending element to cut off the data
flow and thus avoid data overload. The plotter can regulate this data
flow in two ways - it can directly modify the voltage in one of the
wires of the cable that connects or disconnects the flow (hardwire),
or it can send a character through the data line that tells the plotter
computer to stop sending (the Xoff character) or start it again (the
Xon character).
Cables Most plotters use standard cables. The Houston Instruments range
requires an RS-232C female-female adapter on the plotter side and
the Graphtec range requires a special connection cable. If you are
using a Macintosh Plus/SE/II you will need the MacXL to Imagewriter
II printer cable.
Page 129
Appendix B - Data Export
Page 130
3. 3D Drawing Data
4. Layout Booklet Data
5. 3D Surface Description
1. Images and Text Maxsurf supports transferring images and text tables to the
clipboard or pointer for use in other applications. (If you are not
familiar with copying information to the clipboard, consult the
manual for your computer or operating system.) In Maxsurf you can
copy images using the Copy command in the Edit menu.
The Copy dialog box allows you to choose the scale at which you
want to copy the image. An image from the clipboard can be pasted
into word processors, desktop publishing programs, or drawing
applications.
Copying Text As with copying images to the clipboard, Maxsurf also allows you to
copy texts from the Control Points, Marks and Layout Book windows
to the clipboard. It is also possible to paste texts in these windows.
Page 131
Now, you can select a number, row, column, or the entire table of
data. In the next version of Maxsurf it will also be possible to select
an arbitrary rectangular range of numbers within the table, just as
can be done in a spreadsheet.
If you want to write a program that reads data from Maxsurf, these
text files are an easy way to access the data. If you want to
accurately reconstruct a Maxsurf surface, you can read the positions
of the control points and use them to generate the surface
coordinates from the standard B-spline algorithm (see Appendix C
below).
2. 2D Drawing Data Maxsurf includes support for IGES and DXF files, the two most
commonly used exchange formats for computer-generated
drawings. These files are the most effective way to transfer line
drawings to a CAD system for subsequent drafting work.
Page 132
DXF is Drawing Exchange File format and was created by AutoCad. It
is supported by almost all CAD programs on Macintosh and other
computers.
These files are the most accurate system for transferring line
drawings from Maxsurf to a CAD program with a data precision of
five decimal digits.
Note: Maxsurf designs copied by this procedure are copied with the
current Maxsurf precision. For best quality, set Maxsurf precision to
High or Highest before saving the file.
When you choose Export from the File menu with a drawing window
in the foreground, Maxsurf will present you with the Export dialog
box, allowing you to choose between saving the data in DXF or IGES
format. If you choose either option and click OK, Maxsurf will ask you
for the file name and allow you to save it to disk. This file will contain
the data in DXF or IGES formats that can be read in your CAD
program (for example, using the DXFIN command in AutoCad). Use
the 2D option in the Export dialog box to copy drawings by this
procedure.
3. 3D Drawing Data If you use your 3D CAD program, you can use the DXF or IGES
formats to save the Maxsurf design lines as three-dimensional lines
instead of 2D. This allows you to perform tasks such as three-
dimensional interior space planning. To use this option, simply set
the “Dimensions” button in the Copy dialog box to 3D, instead of 2D.
Page 133
Maxsurf supports 3DLine and 3DPolyline entities. Each contour
generated in Maxsurf will be saved as a 3Dpolyline in the DXF file.
Maxsurf supports IGES entities type 106, 128 and 141. Each contour
generated in Maxsurf will be saved as a multi-segment contour with
x,y,z coordinates.
4. Layout Card Points In addition to saving the chart point table as a text file from the
Offsets window (see section 1), Maxsurf can save Chart point data in
other formats suitable for be able to be read from other more
complex hydrostatic calculation systems. This is done with
HydroLink, a standalone application from the Maxsurf family.
HydroLink can read a Maxsurf design and save the Layout Chart
points in a format suitable for reading from the BMT Microship
calculation program. HydroLink also incorporates communications
software that allows you to directly send data from HydroLink via
cable to another computer.
5. 3D Surface Definition If you use a professional CAD program, such as Intergraph EMS, that
supports B-spline surfaces, Maxsurf supports IGES entities that allow
an exact description of the surface to be transferred from Maxsurf.
This is the most advanced and accurate way to transfer a model and
ensures that accuracy is maintained. To use this option, make sure
mesh display is enabled in Maxsurf and use the Export function to
export a 3D IGES format file. When your CAD program reads the
data, it will accept the surfaces and allow you to manipulate them
using the tools available in that program.
As with the usual contours, which are saved as an IGES type 106
entity, when mesh is activated Maxsurf will save an IGES type 128
entity for each Maxsurf surface. This entity is a NURB (Non Uniform
Rational B-spline) type surface with the positions of the control
points and information about the flexibility of the surface stored
within it.
Page 134
Appendix C - Surface
definition algorithms
This appendix describes the mathematical foundations of the
Maxsurf models and will be of interest to users who wish to write
software that reproduces Maxsurf surfaces.
1 if youYo=t<ti+1ytYo<ti+1
Ni,0(t) =
0 otherwise
Page 135
The elements of the vector of uniform nodes, tYo, are given by
tYo=0 1=i=k
tYo=ik k+1 = i = n+1
tYo=n-k+2 n+2 = i = n+k+1
where there are n+1 control points on the curve with k being the order of
the curve (k=p+1).
m n
Page 136
The code in Pascal to implement the rational and uniform B-spline type surface is based on the
following variables -
{************************************************* ***************
*
PROGRAM B_Spline; { © FORMATION DESIGN SYSTEMS LTD. 1990 }
TYPE
Point_3D = RECORD
x : REAL;
and : REAL;
z : REAL
END;
ControlPoint4D = RECORD
x : REAL;
and : REAL;
z : REAL
h : REAL;
END;
VAR
knotN,knotK,I_Main :INTEGER;
limitU,limitV :INTEGER;
KValU,KValV :INTEGER;
Cont_Points :ARRAY[0..15,0..15] OF
ControlPoint4D;
{************************************************* ****}
FUNCTION Knot(i:INTEGER):INTEGER;
Page 137
KnotVal :INTEGER;
BEGIN
IF i < knotK THEN
KnotVal := 0
ELSE
IF i > knotN THEN
KnotVal := knotN - knotK + 2 ELSE
{************************************************* ****}
FUNCTION Bspline (i,k:INTEGER;u:REAL):REAL;
{************************************************* ****}
VAR
t :LONGINT;
v :REAL;
BEGIN
IF k = 1 THEN
BEGIN
v := 0;
IF (Knot(i) <= u) & (u < Knot(i + 1)) THEN
v := 1;
IF (u = knotN - knotK + 2) & (I_Main = KnotN) THEN
v := 1;
END
ELSE
BEGIN
v := 0;
t := Knot(i + k - 1) - Knot(i); IF t <> 0 THEN
{************************************************* ****}
FUNCTION Calc_Bval(k,i,n:INTEGER;u:REAL):REAL;
{************************************************* ****}
Page 138
BEGIN
IF K > n + 1 THEN
K := n + 1;
u := u * (n - K + 2); I_Main :=
i; {SET UP GLOBALS PRIOR TO RECURSION}
KnotK := K;
KnotN := n;
Calc_Bval := Bspline(i,K,u); END;
Page 139
{************************************************* ****}
FUNCTION Calc_Point(U,V:REAL):Point_3D;
VAR
i,j :INTEGER;
b :REAL;
shape_pt :Point_3D;
BEGIN
shape_pt.x := 0;
shape_pt.y := 0;
shape_pt.z := 0;
D:= 0;
FOR i := 0 to limitU DO
FOR j := 0 to limitV DO
BEGIN
B := Calc_Bval(KValU,i,limitU,U) *
Calc_Bval(KValV,j,limitV,V) *
Cont_Points[i,j].w;
D := D + B;
shape_pt.x := shape_pt.x + Cont_Points [i,j].x *
B;
shape_pt.y := shape_pt.y + Cont_Points [i,j].y *
B;
shape_pt.z := shape_pt.z + Cont_Points [i,j].z *
B;
END;
shape_pt.x := shape_pt.x / D;
shape_pt.y := shape_pt.y / D;
shape_pt.z := shape_pt.z / D;
Calc_Point := shape_pt;
END;
PROCEDURE CalcSurface;
{************************************************* ****}
BEGIN
FOR l := 0 to Res DO
FOR m := 0 to Res DO
Surface[l,m] := Calc_Point(l/Res,m/Res);
END;
Page 140
END.
Page 141
Index
Page 142
Delete Brand) 112 Edit Menu 112
Delete Surface 119 File Menu 110
Masking 115 Surfaces Menu 119
Masking the Control Point Mesh 81 View Menu 113
Half 121
Mask 117 Modeling Edges 20
Writing a Layout Chart Point File 55 Modifying Grid elements 98
Modifying Marks 48
Shape Plane Grid Spacing 129 Spacing Grid Modifying Control Points 49 Showing
Elements 100 the Control Point Mesh 25 Showing
Text Style 114 Clipped Surfaces 89 Moving Surface 119
Export 111
Expressions 42 Moving Control Points 17, 69
Moving Surfaces 83
Setting the display format of Control Points 50
Brightness Level 66 Normal
Setting minimum margins to Surface 122 New 110
106 Set Default View 113
Fill Down 112 Surface Flexibility 60
Shape 121 Operations with complete surfaces 82
Ordering Grid elements 99 Orders
File Formats 106 Force affected by the union of edges 77 Origin
Coordinates 70, 118 of coordinates 129
Internal Functions 43
Bread 36
Saving Spreadsheet 45 Parametrics 125
Saving Your Design 25 Parity 133
Save 110 Paste 112
Save As 110 Customizing the Layout Chart 54
Accuracy 120
Images and 135 Surface Accuracy 64
Import 111 Preferences 114
Printing 105 Plotter Preferences 105
Color printing 105 Prepare Page 111
Print 111 Basic Principles 9
Print to Plotter 111 Printing 105
Local Influence 61 Processing in the background
Inserting Control Points 29 108 Layout Card Points 138
Installation 14 Control Points 67
Macintosh Installation 14
Windows Installation 14 Trimming Surfaces 86 Trimming
Discontinuing Maxsurf 109 122
Introduction 8 Reducing the image (Shrinking) 36
Maxsurf reference 110
The analogy of the bead and the spring 9 Shape Plane Grid 122 Render
The Control Box 27 126
The Grid of the Plane of Forms 97 Solving Calculations 43
Restricting Movements 69
Mesh 121 Rotating Surfaces 85
Keeping an Orderly Mesh 26 Rotate surface 119
Marks 122
Frame of Reference 95, 129 Data Output 103
Controls Menu 117 Exiting Maxsurf 111
Data Menu 128 Separating Edges 76
Display Menu 121 Separate Edges 117
Shrink 36
Symmetry of Surfaces 84
Horizontal Symmetry 119
Vertical Symmetry 119
Command Syntax 42
Smoothing or Straightening a patch 73
Smoothing and Straightening 71
Surfaces 56
Circular and elliptical surfaces 58
Developable Surfaces 90
Size 128
Alternative surface types 60
Surface Types 56
Plotter layout 103 Layout and
selection of scales 104 Units 43,
129
Joining edges of two surfaces 76 Joining edges
within the same surface 77 Joining Edges 76
Using Maxsurf 34
Internal Variables 42
Transmission speed (Baud rate) 132 Body
Plan Window 27 Body Plan Window 37
Calculations Window 41
Viewing Brands 46
Viewing points of the Layout Chart 54