compas_model.interactions
¤
Classes¤
Contact
¤
Contact(
points: list[Point],
frame: Frame | None = None,
size: float | None = None,
mesh: Mesh | None = None,
holes: list[Polygon] | None = None,
name: str | None = None,
)
Class representing a planar contact between two elements.
Parameters:
-
points(list[Point]) –The points defining the contact polygon.
-
frame(Frame, default:None) –The local coordinate system of the contact.
-
size(float, default:None) –The total area of the contact polygon.
-
mesh(Mesh, default:None) –The mesh representation of the contact surface.
-
holes(list[Polygon], default:None) –Holes in the contact polygon.
-
name(str, default:None) –A human-readable name.
Attributes:
-
frame(Frame) –The local coordinate frame of the interface polygon.
-
brep(Brep) –A BRep representation of the interface.
-
mesh(Mesh) –A mesh representation of the interface.
-
points(list[Point]) –The corner points of the interface polygon.
-
polygon(Polygon) –The interface polygon.
-
size(float) –The area of the interface polygon.
Warnings
The definition of contact surfaces is under active development and may change frequently.