RollerBCY

class compas_fea2.model.RollerBCY[source]

Bases: MechanicalBC

A pinned nodal displacement boundary condition released in Y. Note —- BoundaryConditions are registered to a compas_fea2.model.Model.

Parameters:
framecompas.geometry.Frame, optional

The reference frame for the boundary condition. Defaults to the world XY plane.

Attributes:
xbool

Return the local x restraint boolean.

ybool

Return the local y restraint boolean.

zbool

Return the local z restraint boolean.

xxbool

Return the local xx restraint boolean.

yybool

Return the local yy restraint boolean.

zzbool

Return the local zz restraint boolean.

framecompas.geometry.Frame

Get the local frame of the object.

Inherited Methods

ToString

Converts the instance to a string.

clear_frame

Clear the local frame, reverting to GLOBAL_FRAME.

copy

Make an independent copy of the data object.

direction_cosines

Return local axes expressed as global vectors (x, y, z).

from_json

Construct an object of this type from a JSON file.

from_jsonstring

Construct an object of this type from a JSON string.

global_constraint_equations

Return linear constraint equations in global translational DOFs implied by local restraints.

is_axis_aligned

Return True if local frame coincides with GLOBAL frame within tolerance.

sha256

Compute a hash of the data for comparison during version control using the sha256 algorithm.

to_global_point

Convert a local point to the global frame.

to_global_vector

Convert a local vector to the global frame.

to_json

Convert an object to its native data representation and save it to a JSON file.

to_jsonstring

Convert an object to its native data representation and save it to a JSON string.

to_local_point

Convert a global point to the local frame.

to_local_vector

Convert a global vector to the local frame.

transform_to

Get the transformation from this object's local frame to another frame.

validate_data

Validate the data against the object's data schema.