cylinder_to_blender_mesh

compas_blender.conversions.cylinder_to_blender_mesh(cylinder, u=16, name=None)[source]

Convert a COMPAS cylinder to a Blender mesh.

Parameters:
cylindercompas.geometry.Cylinder

A COMPAS cylinder.

uint, optional

Number of faces in the “u” direction.

namestr, optional

The name of the Blender mesh.

Returns:
bpy.types.Mesh

A Blender mesh.