openglider.glider package
Submodules
openglider.glider.ballooning module
-
class
openglider.glider.ballooning.ArcSinc[source]
-
interpolate(numpoints)[source]
-
numpoints
-
class
openglider.glider.ballooning.Ballooning(f_upper, f_lower)[source]
Bases: object
-
amount_integral
-
amount_maximal
-
arcsinc = <openglider.glider.ballooning.ArcSinc instance>
-
copy()[source]
-
mapx(xvals)[source]
-
classmethod
phi(*baloon)[source]
Return the angle of the piece of cake.
b/l=R*phi/(R*Sin(phi)) -> Phi=arsinc(l/b)
-
scale(factor)[source]
-
class
openglider.glider.ballooning.BallooningBezier(upper=None, lower=None, name='ballooning')[source]
Bases: openglider.glider.ballooning.Ballooning
-
apply_splines()[source]
-
controlpoints
-
numpoints
-
points
-
scale(factor)[source]
openglider.glider.cell_elements module
openglider.glider.cells module
openglider.glider.glider module
-
class
openglider.glider.glider.Glider(cells=None, lineset=None)[source]
Bases: object
-
apply_mean_ribs(num_mean=8)[source]
Calculate Mean ribs
:param num_mean:
:return:
-
arc
-
area
-
aspect_ratio
-
attachment_points
-
cell_naming_scheme = 'c{cell_no}'
-
close_rib(rib=-1)[source]
-
copy()[source]
-
copy_complete()[source]
Returns a mirrored and combined copy of the glider, ready for export/view
-
export_3d(path='', *args, **kwargs)[source]
-
get_mesh(midribs=0)[source]
-
get_mesh_hull(num_midribs=0, ballooning=True)[source]
-
get_mesh_panels(num_midribs=0)[source]
-
get_midrib(y=0)[source]
-
get_panel_groups()[source]
-
get_point(y=0, x=-1)[source]
Get a point on the glider
:param y: span-wise argument (0, cell_no)
:param x: chord-wise argument (-1, 1)
:return: point
-
get_spanwise(x=None)[source]
Return a list of points for a x_value
-
glide
-
has_center_cell
-
classmethod
import_geometry(path, filetype=None)[source]
-
mirror(cutmidrib=True)[source]
-
profile_numpoints
-
profile_x_values
-
projected_area
-
rename_parts()[source]
-
return_average_ribs(num=0, num_average=8)[source]
-
return_ribs(num=0, ballooning=True)[source]
Get a list of rib-curves
:param num: number of midribs per cell
:param ballooning: calculate ballooned cells
:return: nested list of ribs [[[x,y,z],p2,p3...],rib2,rib3,..]
-
rib_naming_scheme = 'r{rib_no}'
-
ribs
-
scale(faktor)[source]
-
shape_flattened
Projected Shape of the glider (as it would lie on the ground - flattened)
-
shape_simple
Simple (rectangular) shape representation for spline inputs
-
span
openglider.glider.rib_elements module
openglider.glider.ribs module
Module contents