Some functions operating on 2D structures.
This is a plugin for pyFormex. (C) 2002 Benedict Verhegghe
See the Section2D example for an example of its use.
Classes defined in module section2d
A class describing a general 2D section.
The 2D section is the area inside a closed curve in the (x,y) plane. The curve is decribed by a finite number of points and by straight segments connecting them.
Methods
Functions defined in module section2d
Compute characteristics of plane sections.
The plane sections are described by their circumference, consisting of a sequence of straight segments. The segment end point data are gathered in a plex-2 Formex. The segments should form a closed curve. The z-value of the coordinates does not have to be specified, and will be ignored if it is. The resulting path through the points should rotate positively around the z axis to yield a positive surface.
The return value is a dict with the following characteristics:
Computes extended section characteristics for the given section.
S is a dict with section basic section characteristics as returned by sectionChar(). This function computes and returns a dict with the following:
Compute the principal values and directions of a 2D tensor.
Returns a tuple with three values: