Skip to main content
Ctrl+K
Logo image

COMPAS TNA

  • Introduction
  • Installation
  • Tutorial
  • API Reference
    • compas_tna
      • compas_tna.diagrams
      • compas_tna.equilibrium
      • compas_tna.loads
      • compas_tna.notebook
      • compas_tna.rhino
      • compas_tna.scene
  • License
  • Acknowledgements
COMPAS.dev
  • API Reference
  • FormDiagram
  • FormDiagram.from_shape

FormDiagram.from_shape

classmethod FormDiagram.from_shape(shape, **kwargs)

Construct a mesh from a primitive shape.

Parameters:
shapecompas.geometry.Shape

The input shape to generate a mesh from.

**kwargsdict[str, Any], optional

Optional keyword arguments to be passed on to compas.geometry.Shape.to_vertices_and_faces().

Returns:
compas.datastructures.Mesh

A mesh object.

On this page
  • FormDiagram.from_shape()

© Copyright Block Research Group - ETH Zurich.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.