Skip to main content
Ctrl+K
Logo image

COMPAS Force Density

  • Introduction
  • Installation
  • Tutorial
  • Examples
  • API Reference
    • compas_fd
      • constraints
      • datastructures
      • solvers
      • loads
  • License
COMPAS.dev
  • API Reference
  • CableMesh
  • CableMesh.from_shape

CableMesh.from_shape

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

© Copyright Block Research Group - ETH Zurich.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.