conversions

Conversions between Rhino geometry objects (Rhino.Geometry) and COMPAS geometry objects (compas.geometry).

Classes

RhinoGeometry

Base class for Rhino Geometry and DocObject wrappers.

RhinoBox

Wrapper for Rhino boxes.

RhinoCircle

Wrapper for Rhino circles.

RhinoCone

Wrapper for Rhino cones.

RhinoCurve

Wrapper for Rhino curves.

RhinoCylinder

Wrapper for Rhino cylinders.

RhinoEllipse

Wrapper for Rhino ellipses.

RhinoLine

Wrapper for Rhino lines.

RhinoMesh

Wrapper for Rhino meshes.

RhinoPlane

Wrapper for Rhino planes.

RhinoPoint

Wrapper for Rhino points.

RhinoPolyline

Wrapper for Rhino polylines.

RhinoSphere

Wrapper for Rhino spheres.

RhinoSurface

Wrapper for Rhino surfaces.

RhinoVector

Wrapper for Rhino vectors.

Exceptions

ConversionError

Raised when a conversion is not possible.

Functions

Primitives

point_to_rhino

Convert a COMPAS point to a Rhino point.

vector_to_rhino

Convert a COMPAS vector to a Rhino vector.

line_to_rhino

Convert a COMPAS line to a Rhino line.

plane_to_rhino

Convert a COMPAS plane to a Rhino plane.

frame_to_rhino

Convert a COMPAS frame to a Rhino plane.

frame_to_rhino_plane

Convert a COMPAS frame to a Rhino plane.

circle_to_rhino

Convert a COMPAS circle to a Rhino circle.

ellipse_to_rhino

Convert a COMPAS ellipse to a Rhino ellipse.

polyline_to_rhino

Convert a COMPAS polyline to a Rhino polyline.

polygon_to_rhino

Convert a COMPAS polygon to a Rhino polygon.

arc_to_rhino

Convert a COMPAS Arc to a Rhino one.

point_to_compas

Convert a Rhino point to a COMPAS point.

vector_to_compas

Convert a Rhino vector to a COMPAS vector.

line_to_compas

Convert a Rhino line to a COMPAS line.

plane_to_compas

Convert a Rhino plane to a COMPAS plane.

plane_to_compas_frame

Convert a Rhino plane to a COMPAS frame.

circle_to_compas

Convert a Rhino circle to a COMPAS circle.

ellipse_to_compas

Convert a Rhino ellipse to a COMPAS ellipse.

polyline_to_compas

Convert a Rhino polyline to a COMPAS polyline.

polygon_to_compas

Convert a Rhino polygon to a COMPAS polygon.

arc_to_compas

Convert a Rhino Arc Structure to a COMPAS Arc.

Shapes

box_to_rhino

Convert a COMPAS box to a Rhino box.

sphere_to_rhino

Convert a COMPAS sphere to a Rhino sphere.

cone_to_rhino

Convert a COMPAS cone to a Rhino cone.

cylinder_to_rhino

Convert a COMPAS cylinder to a Rhino cylinder.

box_to_compas

Convert a Rhino box to a COMPAS box.

sphere_to_compas

Convert a Rhino sphere to a COMPAS sphere.

cone_to_compas

Convert a Rhino cone to a COMPAS cone.

cylinder_to_compas

Convert a Rhino cylinder to a COMPAS cylinder.

Curves

line_to_rhino_curve

Convert a COMPAS line to a Rhino curve.

circle_to_rhino_curve

Convert a COMPAS circle to a Rhino curve.

ellipse_to_rhino_curve

Convert a COMPAS ellipse to a Rhino curve.

curve_to_compas_line

Convert a Rhino curve to a COMPAS line.

curve_to_compas_circle

Convert a Rhino curve to a COMPAS circle.

curve_to_compas_ellipse

Convert a Rhino curve to a COMPAS ellipse.

curve_to_compas_polyline

Convert a Rhino curve to a COMPAS polyline.

Surfaces

Transformations

xform_to_rhino

Creates a Rhino transformation from a COMPAS transformation.