Skip to main content
Ctrl+K
Logo image

COMPAS AGS

  • Introduction
  • Installation
  • Examples
    • Basic example
    • Updating the form diagram
    • Optimise the load path
    • Fink Truss
  • API Reference
    • compas_ags
      • compas_ags.ags
      • compas_ags.diagrams
      • compas_ags.exceptions
  • Publications
    • Algebraic Graph Statics
    • Bi-directional Algebraic Graph Statics
    • Interactive Graphic Statics
    • Load-path optimisation of funicular networks
  • License
COMPAS.dev
  • API Reference
  • Diagram
  • Diagram.from_shape

Diagram.from_shape

classmethod Diagram.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
  • Diagram.from_shape()

© Copyright Block Research Group - ETH Zurich.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.