Definitions and documentation for LF View spatial resources
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file lfview-resources-spatial-0.0.2b0.tar.gz
.
File metadata
- Download URL: lfview-resources-spatial-0.0.2b0.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0b077284f03ecc1facd7257a59eb44527da53bbaf48b9288dbf3dda4a46f266c |
|
MD5 | 2cb414a2065052ecf66756619d5fde87 |
|
BLAKE2b-256 | 206ed584ac762996029251e816e3ec6ec5399504f800f61425fa2ca1b83da30f |
File details
Details for the file lfview_resources_spatial-0.0.2b0-py3-none-any.whl
.
File metadata
- Download URL: lfview_resources_spatial-0.0.2b0-py3-none-any.whl
- Upload date:
- Size: 14.3 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28d8f95669a76ca1d111b2efc175bcae5a20a5b3fadb35542faa4a4aa2134e74 |
|
MD5 | 4d4bd8d5da5f9d18ad8f5a29f89c2301 |
|
BLAKE2b-256 | a339b988842f69f75bcdac6e51ec55cffba609d8928322c962017b5132699ace |