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_obj

BendNetwork.from_obj

classmethod BendNetwork.from_obj(filepath, precision=None)

Construct a graph from the data contained in an OBJ file.

Parameters:
filepathpath string | file-like object | URL string

A path, a file-like object or a URL pointing to a file.

precision: str, optional

The precision of the geometric map that is used to connect the lines.

Returns:
compas.datastructures.Graph

A graph object.

See also

to_obj()
from_lines(), from_nodes_and_edges(), from_pointcloud()
compas.files.OBJ
On this page
  • BendNetwork.from_obj()

© Copyright ETH Zurich - Block Research Group.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.13.3.