3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

58
Scientific 3D Printing with GRASS GIS Introduction and Work in Progress Report Dr. Peter Löwe FOSS4G 2014 2014-09-12

description

As the amount of scientific data continues to grow, researchers need new tools to help them visualize complex data. Immersive data-visualisations are helpful, yet fail to provide tactile feedback and sensory feedback on spatial orientation, as provided from tangible objects. The production of a tangible representation of a scientific data set is one step in a line of scientific thinking, leading from the physical world into scientific reasoning and back: The process starts with a physical observation, or from a data stream generated by an environmental sensor. This data stream is turned into a geo-referenced data set. This data is turned into a volume representation which is converted into command sequences for the printing device, leading to the creation of a 3D printout via additive manufacturing (“3D-printing”). As a last, but crucial step, this new object has to be documented and linked to the associated metadata, and curated in long term repositories to preserve its scientific meaning and context. This presentation showcases a reference workflow to produce tangible 3D data-prints based on Free and Open Source Software (FOSS), using both GRASS GIS and Paraview. The workflow was successfully validated in various application scenarios using a RapMan printer to create 3D specimens of elevation models, geological underground models, ice penetrating radar soundings for planetology, and space time stacks for Tsunami model quality assessment.

Transcript of 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

Page 1: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

Scientific 3D Printing with GRASS GISIntroduction and Work in Progress Report

Dr. Peter Löwe

FOSS4G 20142014-09-12

Page 2: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

2

In a nutshell

• Consumer 3D printers are evolving very quickly

• 3D printing extends „flat“ 2D science communication.

• 3D pre-prints can already be generated with GRASS GIS.

• Dedicated GRASS support for 3D printing will soon simplify the

process.

• Research libraries take on Visual Analytics and 3D printing,

driving the standardisation of Metadata.

• This is work in progress: We barely got started.

Page 3: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

3

The Library Angle: Open Source + Science = Open Science

Science advances only if knowledge is shared.

Accelerating the sharing of scientific knowledge

accelerates the advancement of science.

Page 4: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

4

The Who ?

German: Technische Informationsbibliothek (TIB)

• largest science and technology library globally

• over 9 Mio. items,

• 180 Mio. documents

• 125 km of shelving

• national library of Germany for

• engineering, technology, and the physical sciences.

• funded by the Federal Ministry of Education and Research and the16 German states.

• the world's first Digital Object Identifier (DOI) registrationagency for research data sets (since 2005).

• operates in conjunction with the Leibniz University, Hannover.

Page 5: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

5

The future:Data-driven Libraries

https://www.insidehighered.com/blogs/higher-ed-beta/data-driven-library-future

„Libraries are changing from repositories

for journals and books to

engaged community centers offering

new services, shaping

innovative research.“

Libraries offer places and services for discovery.

The path to a relevant, 21st-century library: “serendipitous discovery.”

Christopher Erdmann, 2014

John G Wolbach Library at the Harvard-Smithsonian Center for Astrophysics

Page 6: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

6

„While scientists focus on the final frontier,

(data-driven libraries) will work on designing

a different kind of space

full of physical and virtual tools

that

capture imagination and

enable researchers to explore it.“

https://www.insidehighered.com/blogs/higher-ed-beta/data-driven-library-future

Christopher Erdmann, 2014

John G Wolbach Library at the Harvard-Smithsonian Center for Astrophysics

http://thrilling-tales.webomator.com

The future:Data-driven Libraries

Page 7: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

77

• Content based Retrieval

• Science 2.0 and Open Science

Applied research topics at TIB

•Visual Analytics

•Ontologies

Page 8: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

8

Visual Analytics: Querying and communicating Data

The challenge:

• Communicating the meaning of scientic data

• Haptic/Tactile Visualization ?

The need:

A tangible representation of scientific results.

1492 Today Future

?

Page 9: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

9

3D printing for science communication:

The larger picture

Transformation / Reduction of contentScientific

Data3D

Print

Scientist

Science

Communication

Target group

Page 10: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

10

3D printing for science communication:

The larger picture

Technical Printing Process

Metadata Management

Scientific

Data3D

Print

Scientist

Science

Communication

Target group

Librarian / Data-Scientist

Page 11: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

11

3D printing for science communication:

The value of metadata

3D

Print

Back-linking by metadata

Inquiries

Technical Printing Process

Metadata Management

Scientific

Data

Librarian / Data-Scientist

Page 12: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

12

Data-driven Libraries:Requirements for Digital Archives

Page 13: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

13

NMC Horizon Report 2014 Library Edition

on scientific libraries.

Trends, technologies and challenges over the next five years:

• Focus on research data and new forms of multidisciplinary research.

• Rise of alternative search technologies

• Need for radical change owing to technological and social upheaval.

• Released in May 2014

• http://www.nmc.org/publications/2014-horizon-report-library

• Created by

• New Media Consortium (NCM)

• ETH-Bibliothek Zürich,

• University of Applied Sciences HTW Chur

• German National Library of Science and Technology

Page 14: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

14

Library Perspective: Unified holistic approach

Moving towards

bottom-up

top-down

Vision

Page 15: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

15

Top-Down :

DURAARK: DURable ARchitectural Knowledge

• European Commission-FP7-Project (2013 -

2016) focusing on methods and tools for

long- term preservation of 3D data sourcesof architectural knowledge:

• Goal:

• Enrich Building Information Models with “as

built” information from scans

• Semantically enrich building models with

additional data sets

• Preserve 3D models for future reuse

Page 16: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

16

Bottom-up: GRASS GIS-based 3D-printing

Initial GIS-driven

experiments

GIS workflow

development

GIS modularisation

Stakeholders

Printing

Process

Expertise

INAFAstrophysics Institute,

Rome

FabLabPotsdam Materials

Hardware

Data Sources

TsunamiSimulations

2D

Data(Elevation

Models)

3D Data (Geological

models,soil

penetratingradar)

Software

Workflows and Services

TIB Hannover

GFZ Potsdam

Osaka City University

Multiple linked learning processes

Page 17: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

17

Let‘s talk 3D printing…

Page 18: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

18

„The future is here“ (again)

The potential of „3D printing“ as featured in the news:

Page 19: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

19

„The future is here“ (again)

The potential of „3D printing“ as featured in the news:

• Guns !

Page 20: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

20

„The future is here“ (again)

The potential of „3D printing“ as featured in the news:

• Guns !

• Human body parts !

Page 21: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

21

„The future is here“ (again)

The potential of „3D printing“ as featured in the news:

• Guns !

• Human body parts !

• Clothes !

Page 22: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

22

„The future is here“ (again)

The potential of „3D printing“ as featured in the news:

• Guns !

• Human body parts !

• Clothes !

• Candy !

Page 23: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

23

„The future is here“ (again)

The potential of „3D printing“ as featured in the news:

• Guns !

• Human body parts !

• Clothes !

• Candy !

• Space Exploration !

Page 24: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

24

3D Printing, the Gartner hype cycle, and science

http://surveys.peerproduction.net/wp-content/uploads/2012/11/GoogleTrendsGartnerHypeCycle.png

3D Printing

2014

Page 25: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

25

3D Printing, the Gartner hype cycle, and science

http://surveys.peerproduction.net/wp-content/uploads/2012/11/GoogleTrendsGartnerHypeCycle.png

3D Printing

2014

• Handpieces for science

communication

• among scientists

• towards the generalpublic

• Showpieces for exhibitions

• <your application goes here>

Reality-check

Page 26: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

26

Printing Process Overview

Conversion ExportData ModelPre-

print3D print

GIS Domain

Page 27: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

27

Printing Process Overview

Conversion ExportData ModelPre-

print3D print

Printing domain

GIS Domain

Page 28: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

28

Hardware example:RapMan 3.2 3D printer

Multi-colored ABS and

PLA materials

Page 29: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

29

RapMan 3.2: Reality check

Page 30: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

30

RapMan 3.2: Reality check

MarcelLudwig

Resident 3D printing expert

at GFZ Potsdam

Page 31: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

31

RapMan 3.2: Reality check

MarcelLudwig

Resident 3D printing expert

at GFZ Potsdam

Page 32: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

32

RapMan 3.2: Reality check

RawMaterial

ControlUnit

Print head, cooling fan

Print in progress

MarcelLudwig

Resident 3D printing expert

at GFZ Potsdam

Page 33: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

33

Close-Up: Actual printing

Printhead

Internalsupport

structure

Externalsupport

structure

3D printingin progress

Page 34: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

34

Application examples

Page 35: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

35

Elevation models

Kilians-Floß, Michelstadt, Germany: Laserscan Data

Page 36: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

36

More elevation models

Mekong River Catchment

Page 37: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

37

More elevation models

Mekong River Catchment

Olympus Mons, Mars

Page 38: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

38

More elevation models

Mekong River Catchment

Brukkaros Mountain, Namibia

Olympus Mons, Mars

Page 39: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

39

More elevation models

Mekong River Catchment

Brukkaros Mountain, Namibia

Olympus Mons, Mars

It glows in the dark !

Page 40: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

40

Mars north polar cap / satellite-based ground penetrating Radar

Radar

Alessandro Frigeri, INAF, 2012

Images: GFZ Potsdam,

INAF

Complexunderside

Planet Mars:

North Polar Cap

Page 41: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

41

Layer stacks of 3D bodies (Geology)

Images: GFZ Potsdam

Page 42: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

42

Close-up: Geologic volume stack example

Images: GFZ Potsdam

Permian Salt Domes

Page 43: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

43

Complex data sets: Tsunami propagation space-time-cubes

• Space Time Cube

(STC) of tsunami

wave propagation.

• Complex wave

propagation in time

and space.

• Allows visual model

quality assessment.

• Produced by GFZ

Potsdam

• On permanent

display at the Osaka

City University (2014)

3D Print

TsunamiModel

Time

Lon/Lat

Tohoku

ShorelinePacific

Page 44: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

44

How is this done in GRASS ?

Page 45: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

45

GRASSGIS

Technical overview

Data

3D preprint:vtk,VRML.etc.

png/pdf

3D preprints - just a gdal/ogr extension ?

2D Map-Printout

3D Volume-Printout

Page 46: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

46

GRASSGIS

Technical overview

Data

3D preprint:vtk, etc.

png/pdf

Thematic generalisation

Structural integrity

3D preprints - just a gdal/ogr extension ?

Thematic generalisation and print consistency is required

Geologic

stratum

Fault 1

Tricky part,

needs buffering

Fault 2

Page 47: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

47

Technical overview:Current situation

Data

v.in.ogrr.in.gdal

r.to.rast3 r3.mapcalc r3.out.vtk

new modules new modules new modules

2D/3D Data 3D 3D Triangulation

IngestVolume

generation

Volumeprocessing

Export

t.xxx

Page 48: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

48

3D PrintingCapa-bilities

Raster

Wanted:

GRASS GIS 3D print workflow trailblazers

Volume generalisation with r3.x and t.x-modules

requires currently these skills:

• Science Interpreter/Communicator: „What

message to convey ?“

• Technical/Software:

• invent new workflows,

• script these,

• document them

• Admin/Pioneer: be able to install patches for

GRASS7, help improve code maturity

Volumes

Vector Time

3DPrint

Raster / Vector

Volumes

Time

Page 49: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

49

Hands-on walkthrough: Mount St. Helens

How muchwent missing?

Page 50: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

50

Hands-on walkthrough: Mount St. Helens !

Page 51: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

51

3D Prints are already available

Page 52: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

52

Use of USGS Digital Elevation Models

• http://grass.osgeo.org/uploads/grass/history_docs/grassclip6_2_92.pdf

GRASS Clippings: 1992

http://ned.usgs.gov/historic.html

Page 53: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

53

But how to make a before-after print– in GRASS GIS ?

Pre-Eruption Post-Eruption Ejected material

Page 54: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

54

GRASS: 2D math -> 3D volumes (r.xxx space)

Page 55: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

55

Next Step: Printout on a RapMan Printer

32 hours

3km^2

Z-scaling: 3*

Page 56: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

56

The road ahead

Workflow integration

• File formats (VRML, x3d, obj)

• Size of printout ?

• Coloring schemes ?

• Material selection ?

• this is currently left to the „printmaster“

Provenance, Metadata and Archiving:

• Not to be left to the scientists

• Leave it to the Libraries:

• „Handling metadata and indexes for over 5 millenia“

Page 57: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

57

Summary

• 3D printing extends „flat“ 2D science communication.

• 3D pre-prints can already be generated with GRASS GIS.

• Dedicated GRASS support for 3D printing will soon simplify the

process.

• Research libraries take on Visual Analytics and 3D printing,

driving the standardisation of Metadata.

• This is work in progress: We barely got started.

• .

Page 58: 3D-printing with GRASS GIS – a work in progress in report FOSS4G 2014

58

Thanks for listeningHave a great FOSS4G 2014 !

Contact: [email protected]