Skip to main content

Definitions and documentation for LF View spatial resources

Project description

https://img.shields.io/pypi/v/lfview-resources-spatial.svg https://readthedocs.org/projects/lfview-resources-spatial/badge/ https://travis-ci.com/seequent/lfview-resources-spatial.svg?branch=master https://codecov.io/gh/seequent/lfview-resources-spatial/branch/master/graph/badge.svg https://img.shields.io/badge/license-MIT-blue.svg

What is lfview-resources-spatial?

This library defines 3D spatial resources in the LF View API. Resources include point sets, line sets, surfaces, and volumes as well as data, textures, and basic display options.

Scope

This library simply includes declarative definitions of spatial resources. It is built on properties to provide type-checking, validation, documentation, and serialization. Very likely, these spatial resources will be used in conjunction with the LF View API Python client.

Installation

You may install this library using pip with

pip install lfview-resources-spatial

or from Github

git clone https://github.com/seequent/lfview-resources-spatial.git
cd lfview-resources-spatial
pip install -e .

You may also just install the LF View API Python client with

pip install lfview-api-client

Either way, after installing, you may access these resources with

from lfview.resources import spatial

points = spatial.ElementPointSet(
    vertices=[[1., 2, 3], [4, 5, 6]],
    data=spatial.DataBasic(
        location='nodes',
        array=[10., 20],
    ),
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lfview-resources-spatial-0.0.1.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

lfview_resources_spatial-0.0.1-py3-none-any.whl (14.2 kB view details)

Uploaded Python 3

File details

Details for the file lfview-resources-spatial-0.0.1.tar.gz.

File metadata

  • Download URL: lfview-resources-spatial-0.0.1.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for lfview-resources-spatial-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4eed3885fe59cd634a9fa971df6e8bf9882ddc2d30de83d1f6d3bd053320bd6e
MD5 f06eef28a1c464fe3d3c3191857a9d6e
BLAKE2b-256 73edce3a577c21bca4f23ddaae3535b832488e65f170daa3c25291d1db7ad6de

See more details on using hashes here.

File details

Details for the file lfview_resources_spatial-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: lfview_resources_spatial-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 14.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/38.2.4 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.3

File hashes

Hashes for lfview_resources_spatial-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4b50f1a6ea9fb6347af7f6e5b4afcd348700a4d6c5420a7f296e1842b87f932e
MD5 2af63588bd634d79f7e66769267bc946
BLAKE2b-256 3c1cd6c2b5c31c5c28e37d96e4a48b7c8bb8f1a779fbf72ce30d5d318d40ce71

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page