conversions

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

Exceptions

ConversionError

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.

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.

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.

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