Skip to main content
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],
    ),
)

Metadata

Release files for lfview-resources-spatial 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lfview-resources-spatial 0.0.6
File Size Uploaded
lfview-resources-spatial-0.0.6.tar.gz 12.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lfview-resources-spatial 0.0.6
File Interpreter ABI Platform
lfview_resources_spatial-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 27.4 kB

Release files / lfview-resources-spatial-0.0.6.tar.gz

Download URL lfview-resources-spatial-0.0.6.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ad0d29265f41e0df54ca9ba23be7fa0fdcde2c9d4f59a3444d5fa92a007263ee
BLAKE2b-256 checksum
How to use checksums
6d99e078be8f5102625ff39fb1862c734c34b325ea809688bcc11f6e5cd268f3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / lfview_resources_spatial-0.0.6-py3-none-any.whl

Download URL lfview_resources_spatial-0.0.6-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c8d0f386f106eba2d7aaa897b7f61680a6d993bc8880cfadcdbbd5e8acf77d08
BLAKE2b-256 checksum
How to use checksums
b5e9bc5856d3f0f3640cae3cc4cb34b5df897055804de919d96627e33646f308
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page