RhinoBrepEdge
- class compas_rhino.geometry.RhinoBrepEdge[source]
Bases:
BrepEdge
A wrapper for Rhino.Geometry.BrepEdge.
The expected native type here is a Rhino.Geometry.BrepTrim. a BrepTrim holds a reference to its associated BrepEdge as well as its start a end vertices in a correct topological order (!).
- Attributes:
- curve
Rhino.Geometry.Curve3D
The underlying geometry of this edge.
- start_vertex
compas_rhino.geometry.RhinoBrepVertex
, read-only The start vertex of this edge (taken from BrepTrim).
- end_vertex
compas_rhino.geometry.RhinoBrepVertex
, read-only The end vertex of this edge (taken from BrepTrim).
- verticeslist[
compas_rhino.geometry.RhinoBrepVertex
], read-only The list of vertices which comprise this edge (start and end)
- is_circlebool, read-only
True if the geometry of this edge is a circle, False otherwise.
- is_linebool, read-only
True if the geometry of this edge is a line, False otherwise.
- native_edge
Rhino.Geometry.BrepEdge
The underlying BrepEdge object.
- curve
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an edge from a circle.
Construct an edge from a curve.
Construct an edge from an ellipse.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Construct an edge from a line.
Construct an edge from two points.
Construct an edge from two vertices.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Get a bezier from this edge's geometry.
Get a bspline from this edge's geometry.
Get a circle from this edge's geometry.
Get a curve from this edge's geometry.
Get an ellipse from this edge's geometry.
Get a hyperbola from this edge's geometry.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Get a line from this edge's geometry.
Get a parabola from this edge's geometry.
Validate the data against the object's data schema.