In [1]:
import steno3d
import steno3d_vtk

In [2]:
steno3d.login()



Your version of steno3d is out of date.

Your version: 0.1.2
Current version: 0.1.6

Please update steno3d with `pip install --upgrade steno3d`.


Please enter password for encrypted keyring: ········
Welcome to Steno3D! You are logged in as @gudni

In [3]:
# Make the project 
scipy16GeoProj = steno3d.Project(title = 'TKC geology', description = 'Project for the geological surfaces used.')

Load in the geological structures


In [4]:
# Topo
topoParser = steno3d.parsers.vtp('topo.vtp')
(scipy16GeoProj,) = topoParser.parse(project=scipy16GeoProj)

In [5]:
# Till
tillParser = steno3d_vtk.vtu('Till.vtu')
(scipy16GeoProj,) = tillParser.parse(project=scipy16GeoProj)

In [6]:
# PK1
PK1Parser = steno3d.parsers.vtp('PK1.vtp')
(scipy16GeoProj,) = PK1Parser.parse(project=scipy16GeoProj)

In [7]:
# VK 
VKParser = steno3d.parsers.vtp('VK.vtp')
(scipy16GeoProj,) = VKParser.parse(project=scipy16GeoProj)

In [8]:
# HK1 
HK1Parser = steno3d.parsers.vtp('HK1.vtp')
(scipy16GeoProj,) = HK1Parser.parse(project=scipy16GeoProj)

In [9]:
# Validate the project
scipy16GeoProj.validate()


Out[9]:
True

In [10]:
scipy16GeoProj.resources


Out[10]:
[<steno3d.surface.Surface at 0x7facf7df6250>,
 <steno3d.surface.Surface at 0x7fad50223110>,
 <steno3d.surface.Surface at 0x7facfceccd90>,
 <steno3d.surface.Surface at 0x7facf7d8ce10>,
 <steno3d.surface.Surface at 0x7facf7de8b10>]

In [11]:
scipy16GeoProj.upload()


Uploading private project: TKC geology
https://steno3d.com/app/vQxTvWtoiTVLdJ90dspW
Out[11]:
u'https://steno3d.com/app/vQxTvWtoiTVLdJ90dspW'

In [ ]: