utilities

layers

create_layers

Create Rhino layers from a dictionary.

clear_layers

Delete the objects of the specified layers.

delete_layers

Delete layers and all contained objects.

objects

delete_object

Delete Rhino object.

delete_objects

Delete multiple Rhino objects.

get_line_coordinates

Get the start and end point coordinates of line curves.

get_objects

Get identifiers of Rhino objects, potentially filtered by name, color, layer, or type.

get_object_attributes

Get attributes from an object's user dictionary.

set_object_attributes

Set the custom attributes of a Rhino object.

get_object_attributes_from_name

Get attributes from JSON parsable object names.

get_object_layers

Get the layer names of multiple objects.

get_object_types

Get the type of multiple objects.

get_object_names

Get the names of multiple objects.

get_object_name

Get the name of one object.

get_point_coordinates

Get the coordintes of the locations of point objects.

get_polyline_coordinates

Get the point coordinates of polylines.

get_polygon_coordinates

Get the point coordinates of polygons.

purge_objects

Purge objects from memory.

select_curve

Select one curve in the Rhino view.

select_curves

Select multiple curves in the Rhino view.

select_line

Select one line in the Rhino view.

select_lines

Select multiple lines in the Rhino view.

select_mesh

Select one mesh in the Rhino view.

select_meshes

Select multiple meshes in the Rhino view.

select_point

Select one point in the Rhino view.

select_points

Select multiple points in the Rhino view.

select_polygon

Select one polygon in the Rhino view.

select_polygons

Select multiple polygons in the Rhino view.

select_polyline

Select one polyline in the Rhino view.

select_polylines

Select multiple polylines in the Rhino view.

select_surface

Select one surface in the Rhino view.

select_surfaces

Select multiple surfaces in the Rhino view.

drawing

draw_labels

Draw labels as text dots and optionally set individual font, fontsize, name, layer and color.

draw_points

Draw points and optionally set individual name, layer, and color properties.

draw_lines

Draw lines and optionally set individual name, color, arrow, layer, and width properties.

draw_polylines

Draw polylines, and optionally set individual name, color, arrow, and layer properties.

draw_faces

Draw faces as individual meshes and optionally set individual name, color, and layer properties.

draw_cylinders

Draw cylinders and optionally set individual name, color, and layer properties.

draw_pipes

Draw pipes and optionally set individual name, color, and layer properties.

draw_spheres

Draw spheres and optionally set individual name, color, and layer properties.

draw_mesh

Draw a mesh and optionally set individual name, color, and layer properties.

draw_curves

Draw curves and optionally set individual name, color, and layer properties.

draw_surfaces

Draw surfaces and optionally set individual name, color, and layer properties.

constructors

volmesh_from_polysurfaces

Construct a volumetric mesh from given polysurfaces.