utilities

This package contains utilities for working with COMPAS in Grasshopper.

drawing

draw_frame(frame)

Draw a frame.

draw_points(points)

Draw points.

draw_lines(lines)

Draw lines.

draw_polylines(polylines)

Draw polylines.

draw_faces(faces)

Draw polygonal faces as Meshes.

draw_cylinders(cylinders[, cap])

Draw cylinders.

draw_pipes(pipes[, cap, fit])

Draw pipes.

draw_spheres(spheres)

Draw spheres.

draw_mesh(vertices, faces[, color, ...])

Draw mesh in Grasshopper.

draw_network(network)

Draw a network in Grasshopper.

sets

list_to_ghtree(items[, none_and_holes, ...])

Transforms nestings of lists or tuples to a Grasshopper DataTree.

ghtree_to_list(tree)

Returns a list representation of a Grasshopper DataTree

timers

update_component(ghenv, delay)

Schedule an update of the Grasshopper component.

misc

unload_modules(top_level_module_name)

Unloads all modules named starting with the specified string.