compas_notebook.conversions

Functions

box_to_threejs

Convert a COMPAS box to PyThreeJS.

color_to_threejs

Convert a COMPAS color to a PyThreeJS material.

cone_to_threejs

Convert a COMPAS cone to PyThreeJS.

cylinder_to_threejs

Convert a COMPAS cylinder to PyThreeJS.

polyline_to_threejs

Convert a COMPAS polyline to PyThreeJS.

sphere_to_threejs

Convert a COMPAS sphere to PyThreeJS.

torus_to_threejs

Convert a COMPAS torus to a PyThreeJS torus geometry.

vertices_and_edges_to_threejs

Convert vertices and edges to a PyThreeJS geometry.

vertices_and_faces_to_threejs

Convert vertices and faces to a PyThreeJS geometry.

vertices_to_threejs

Convert vertices to a PyThreeJS geometry.