LFView Resources - Scene

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

Warning

The LF View API and all associated Python client libraries are in pre-release. They are subject to change at any time, and backwards compatibility is not guaranteed.

Why?

This library exists to define scene resources in the LF View API. Resources include Slides, Annotations, and Feedback as well as all the building blocks to fully define a 3D scene.

Scope

This library simply includes declarative definitions of scene resources. It is built on properties to provide type-checking, validation, documentation, and serialization. Very likely, these scene 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-scene

or from Github

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

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

pip install lfview-api-client

After installing, you may access these resources with

from lfview.resources import scene

slide = scene.Slide(...)
_images/index.png