pymead.core.constraints.RelAngle3Constraint#
- class RelAngle3Constraint(p1: Point, p2: Point, p3: Point, value: float | None = None, name: str | None = None, geo_col=None)[source]#
Bases:
GeoCon- __init__(p1: Point, p2: Point, p3: Point, value: float | None = None, name: str | None = None, geo_col=None)[source]#
- Parameters:
sub_container (str) – Sub-container where this object will be stored in the
GeometryCollection
Methods
Gets a dictionary representation of the pymead object.
verify()Attributes
default_name- get_dict_rep() dict[source]#
Gets a dictionary representation of the pymead object. In general, this dictionary should consist of only the required arguments for object instantiation. For example, the dictionary representation of a point looks something like this:
{"x": 0.3, "y": 0.5}. If the argument requires a reference to aPymeadObjrather than a string or float value, thename()method should be the value that is stored. For an example, see the overridden value of this method inpymead.core.airfoil.Airfoil. All subclasses ofPymeadObjmust implement this method, since it is the way pymead objects are stored in saved instances of aGeometryCollection(.jmeafiles).