.

.

.

.

.

.

RcCad White Paper:

File Format V2.1.1

Types

"# RCCAD File Format V " <int>.<int>.<int>
<int>
"Wing type"
<int>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>

<byte>
<byte>
<byte>
"Wing type"
<int>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>

<byte>
<byte>
<byte>
<int>

"Fuselage"
<int>
<int>
<double>
<double>
<double>
<boolean>
<boolean>
<boolean>
<byte>

<byte>
<byte>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
"Rudder"
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>

<byte>
<byte>
<byte>
<int>

"ElectroBox"
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<double>
<boolean>
"ObjectList"
<int>
<string>
<boolean>
"Airfoil"
<int>
<double>
<double>
<double>
<double>
...
<double>
<double>
"Airfoil"
<int>
<double>
<double>
<double>
<double>
...
<double>
<double>
<string>
<string>
<string>
<string>

Description


Version: Major.Minor.Revision
Number of wing parts
{Descriptor of second wing part
Number of airfoil vertices
Span of one single wing
Root chord of the wing
Tip chord of the wing
Relative thickness of root airfoil
Relative thickness of tip airfoil
X position of root
X position of tip, relative to root
Z position of root
Z position of tip, relative to root
Y position of root
Red color component
Green color component
Blue color component
}
Descriptor of Stabilizer
Number of airfoil vertices
Span of one single wing
Root chord of the wing
Tip chord of the wing
Relative thickness of root airfoil
Relative thickness of tip airfoil
X position of root
X position of tip, relative to root
Z position of root
Z position of tip, relative to root
Y position of root
Red color component
Green color component
Blue color component
Number of fuselages
{Descriptor of fuselage 1
Number of sections
Number of vertices per section
Y fuselage position, symmetry if>0
X position of fuselage
Z position of fuselage
Transparency
Single curvature for whole fuselage

Same top and down curvatures
Red color component
Green color component
Blue color component
{Height of section 1
Width of section 1
X position of section 1
Z position of section 1
Top curvature of section 1
Down curvature of section 1
Z location of max width (fraction)
Height of section 2
Width of section 2
X position of section 2
Z position of section 2
Top curvature of section 2
Down curvature of section 2
Z location of max width (fraction)
Height of section 3
Width of section 3
X position of section 3
Z position of section 3
Top curvature of section 3
Down curvature of section 3
Z location of max width (fraction)
}}
Rudder descriptor
Number of airfoil vertices
Span of rudder
Length of root chord
Length of tip chord
Relative thickness of root airfoil
Relative thickness of tip airfoil
X position of root
X position of tip, relative to root
Y position of root, symmetry if >0
Y position of tip, relative to root
Z position of root
Red color component
Green color component
Blue color component
Number of equipment units
{Equipment descriptor
Length of equipment
Width of equipment
Height of equipment
Weight of equipment
X position of equipment
Z position of equipment
Y position of equipment
Normal orientation (0) or turned (1)
Servo (0), Receiver (1), Accu (2)
}
Unit system:TRUE=inch FALSE=mm
Fuselages descriptor
Number of fuselages
{Name of fuselage 1
Visible or not
}
Airfoil descriptor for first wing part
Number of points (even number)
x1
y1
x2
y2
...
x16
y16
Airfoil descriptor, second wing part
Number of points (even number)
x1
y1
x2
y2
...
x16
y16
{Texture filename of wing part 1}
Texture filename of stabilizer
{Texture filename of fuselage 1}
Texture filename of vertical fin

Example


# RCCAD File Format V 2.1.1
1
Wing Type
16
50
150
100
.12
.12
210
30
50
50
760
200
200
200
Wing Type
16
250
130
80
.12
.12
650
40
50
0
0
200
200
200
1
Fuselage
3
8
0
0
0
#FALSE#
#TRUE#
#TRUE#
200
200
200
20
20
0
10
1
1
.5
100
100
200
10
1
1
.5
10
10
800
30
1
1
.5
Rudder
16
150
150
80
.1
.1
650
100
0
0
30
200
200
200
1
ElectroBox
30
15
25
0
200
50
5
0
0
#FALSE#
ObjectList
2

"Fuselage 001"
#TRUE#
Airfoil
16
1
0
.6
-.461538461538462
...
1
0
Airfoil
16
1
0
.6
-.461538461538462
...

1
0
"wing.bmp"
"wing.bmp"
"fus.jpg"
"rud.bmp"


Note:
  • The example is the default plane obtained when RcCad is launched (inch unit in this case).

  • If there are n fuselages or wing parts, the block surrounded with {} will be repeated n times.

  • If there are p sections, the section block surrounded with {} will be repeated p times.

  • If there are s equipments, the equipment block surrounded with {} will be repeated s times.

  • X defines the fuselage axis, Y defines the wing axis, Z is the vertical.

  • The accurate definition of X,Y,Z positions is given by the frames shown in the tabs of RcCad.