Skip to main content
Ctrl+K
Logo image

COMPAS Bender

  • Introduction
  • Installation
  • Tutorial
  • Examples
    • Simple arch supported membrane
    • Membrane supported by a tied down cantilevering spline
    • Membrane roof with supporting arch and two ties
  • API Reference
    • compas_bender
      • bend
      • datastructures
  • License
COMPAS.dev
  • API Reference
  • BendNetwork
  • BendNetwork.from_pointcloud

BendNetwork.from_pointcloud

classmethod BendNetwork.from_pointcloud(cloud, degree=3)

Construct a graph from random connections between the points of a pointcloud.

Parameters:
cloudcompas.geometry.Pointcloud

A pointcloud object.

degreeint, optional

The number of connections per node.

Returns:
compas.datastructures.Graph

A graph object.

See also

to_points()
from_obj(), from_lines(), from_nodes_and_edges()
On this page
  • BendNetwork.from_pointcloud()

© Copyright ETH Zurich - Block Research Group.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.