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.6.tar.gz
.
File metadata
- Download URL: lfview-resources-spatial-0.0.6.tar.gz
- Upload date:
- Size: 12.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad0d29265f41e0df54ca9ba23be7fa0fdcde2c9d4f59a3444d5fa92a007263ee |
|
MD5 | 7b932845d83a8a87ff3048cbc204c87d |
|
BLAKE2b-256 | 6d99e078be8f5102625ff39fb1862c734c34b325ea809688bcc11f6e5cd268f3 |
File details
Details for the file lfview_resources_spatial-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: lfview_resources_spatial-0.0.6-py3-none-any.whl
- Upload date:
- Size: 15.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.22.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8d0f386f106eba2d7aaa897b7f61680a6d993bc8880cfadcdbbd5e8acf77d08 |
|
MD5 | c709e777459976b7cd35600ea9a48bb9 |
|
BLAKE2b-256 | b5e9bc5856d3f0f3640cae3cc4cb34b5df897055804de919d96627e33646f308 |