mesh_discretise

This example works for: Abaqus.

To run this example, download the Rhino file mesh_discretise.3dm and copy the code in the Python editor in Rhino.

../_images/mesh_discretise_rhino.png
from compas_fea.cad import rhino

import rhinoscriptsyntax as rs


# Author(s): Andrew Liew (github.com/andrewliew)


# Discretise

guid = rs.ObjectsByLayer('mesh_input')[0]
rhino.discretise_mesh(mesh=guid, layer='elset_mesh', target=0.050, min_angle=15)