SlideShare ist ein Scribd-Unternehmen logo
1 von 69
Downloaden Sie, um offline zu lesen
EuroPython 2016@Bilbao, Spain
2016/07/22
Takuro Wada
3D Modeling and Printing
by Python
Kabuku Inc. (Japanese Startup)
Software Engineer
Providing services
related to 3D printing
Takuro Wada
和 田 拓 朗
taxpon
taxpon
http://takuro.ws
Hi!
What is
3D printing?
Creating products
by forming successive layers
of material based on 3D Data
What is 3D printing?
Example
https://en.wikipedia.org/wiki/3D_printing
What is required
for 3D Printing?
What is required for 3D printing?
3D Data 3D Printer
How to create
3D Data?
3D Data Example
STL(ASCII)
Definition of
Triangle (polygon)
Definition of
Triangle (polygon)
Successive
triangle
definitions
Format is so simple
But
creating 3D Data
from scratch
is so hard task
3DCG/CAD software
Many 3D software provides
Python API
Many 3D software provides
Python API
You can manipulate 3D data via Python
Script Modeling
‣ You can create 3D model even if you
are not familiar with 3DCG/CAD
software
‣ You can create shapes that are
difficult for hand creation
‣ Modifying shape is easy
Script Modeling
_人人人人人人人_
>FANTASTIC!!<
 ̄Y^Y^Y^Y^Y^Y ̄
_人人人人人人人_
> GREAT!! <
 ̄Y^Y^Y^Y^Y^Y ̄
‣ You can create 3D model even if you
are not familiar with 3DCG/CAD
software
‣ You can create shapes that are
difficult for hand creation
‣ Modifying shape is easy
Today’s software
_人人人人人人人_
> FREE!! <
 ̄Y^Y^Y^Y^Y^Y ̄
Script Modeling
with Blender and Python
What is Blender?
• Developed since 1995
• Open source software, Multi platform
• Language: C, C++, Python
‣ Python is used as API interface
‣ Blender has its own python interpreter in the
software(3.5.1 in Blender2.77a)asyncio!!
Delete default Object
Add cone
-P option and script name to execute
Making Chain Project
Making Chain
https://flic.kr/p/aA2u7C CC BY-SA 2.0
https://www.myminifactory.com/object/5943
https://www.youtube.com/watch?v=z1OSXnCG-jk
http://afinia.com/3d-printers/h480/
15cm
15cm
Afinia H480 Bed Size
Decided to create longer one
jumping rope…
Longer one …
https://flic.kr/p/5pT9iD CC BY 2.0
Connect blender and minecraft world using Python
Convert this kind of 3D data
to Minecraft Blocks!!
Implementation Overview
Convert 3D model
into Blocks
Transport blocks
into Minecraft
Consists of two main pars.
Converting Transporting
before
Converting
after
Level of Conversion
blender
add-on
Transporting
Spigot
mcpi
plugin
Raspberry
Juice
TCP
• Spigot=Minecraft mod server
• Raspberry Juice is plugin for
Spigot
• Use mcpi (python module
for minecraft) module
_人人人人人人人人_
> Success!! <
 ̄Y^Y^Y^Y^Y^Y^Y ̄
\(^o^)/
Floating Faces!!
You can live in your face!!
3D Printed Result
Github
• b2mine
‣ https://github.com/taxpon/b2mine
Script Modeling
with OpenSCAD and Python
What is OpenSCAD?
• CAD software, Open source (GPL)
• Multi platform(Win, Mac, Linux)
• Implemented by C++(Qt)
• Create 3D model using original programming language
• No GUI to manipulate 3D data
Feature of OpenSCAD
• Very good for Software Engineer
• Written script can be kicked from command line
‣ Generate model in Server
‣ Create multiple model with command
Neck tie composed of multiple characters
Generate by 1 command
‣ You can pass arguments from command line to OpenSCAD
script
OpenPySCAD
• Generate OpenSCAD code from Python code
‣ https://github.com/taxpon/openpyscad
• Install via pip command
$ pip install openpyscad
OpenPySCAD
• Union operation
Cube([20, 10, 10]) + Cube([10, 20, 10])
union(){

cube([20, 10, 10])

cube([10, 20, 10])

};
• Difference operation
Cube([20, 10, 10]) - Cube([10, 20, 10])
difference(){

cube([20, 10, 10])

cube([10, 20, 10])

};
OpenPySCAD
OpenPySCAD
• Rotation
c1 = Cube([20, 10, 10])
c1.rotate([0, 0, 45])
rotate([0, 0, 45]){

cube([20, 10, 10])

};
Conclusion
Script Modeling is FUN!!
• Let's start tody
Script Modeling
is FUN!!
Let’s start today
https://flic.kr/p/ef4VBP CC BY 2.0
We are Hiring!!
‣ Python Developer
‣ C++ Developer
‣ Frontend Developer
‣ Angular/React
‣ You can use 3D printer
‣ International members
‣ 3 Google Developer Experts
Engineer team
http://www.kabuku.co.jp/#jobs

Weitere ähnliche Inhalte

Andere mochten auch

Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...
Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...
Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...
Stoyan Sarg Sargoytchev
 
PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes
PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel HordesPyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes
PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes
kgrandis
 
The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...
The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...
The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...
Design World
 
3 d – printing
3 d – printing3 d – printing
3 d – printing
Gourav Pal
 
Data mining slides
Data mining slidesData mining slides
Data mining slides
smj
 

Andere mochten auch (20)

テクノアルタ紹介資料 2015 09-11 KVF
テクノアルタ紹介資料 2015 09-11 KVFテクノアルタ紹介資料 2015 09-11 KVF
テクノアルタ紹介資料 2015 09-11 KVF
 
3D Modeling by Python scripts
3D Modeling by Python scripts3D Modeling by Python scripts
3D Modeling by Python scripts
 
3D Printing by Python scripts and Blender
3D Printing by Python scripts and Blender3D Printing by Python scripts and Blender
3D Printing by Python scripts and Blender
 
3Dプリント×Python ~コードからアプローチする3Dプリンティング~
3Dプリント×Python ~コードからアプローチする3Dプリンティング~3Dプリント×Python ~コードからアプローチする3Dプリンティング~
3Dプリント×Python ~コードからアプローチする3Dプリンティング~
 
Angularを使ってみる実例いくつか (2015/4/29 GDGKobe)
Angularを使ってみる実例いくつか (2015/4/29 GDGKobe)Angularを使ってみる実例いくつか (2015/4/29 GDGKobe)
Angularを使ってみる実例いくつか (2015/4/29 GDGKobe)
 
List of 3D modeling software
List of 3D modeling softwareList of 3D modeling software
List of 3D modeling software
 
3D Rendering Modeling and Animation
3D Rendering Modeling and Animation3D Rendering Modeling and Animation
3D Rendering Modeling and Animation
 
Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...
Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...
Graphical 3D Modeling of Molecules and Nanostructures in Sub-nanometer Scale ...
 
Modeling for 3D Printing with Tinkercad
Modeling for 3D Printing with TinkercadModeling for 3D Printing with Tinkercad
Modeling for 3D Printing with Tinkercad
 
PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes
PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel HordesPyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes
PyCon 2012: Militarizing Your Backyard: Computer Vision and the Squirrel Hordes
 
株式会社カブク システム開発最前線
株式会社カブク システム開発最前線株式会社カブク システム開発最前線
株式会社カブク システム開発最前線
 
The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...
The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...
The Pros and Cons of 3D Modeling Paradigms: Direct Modeling and History-based...
 
3D Modelig presentation (.ppt) 371 SE
3D Modelig presentation (.ppt) 371 SE3D Modelig presentation (.ppt) 371 SE
3D Modelig presentation (.ppt) 371 SE
 
3D PRINTER Seminar fair report (pdf)
3D PRINTER Seminar fair report (pdf)3D PRINTER Seminar fair report (pdf)
3D PRINTER Seminar fair report (pdf)
 
3D Printing: Endless Opportunities
3D Printing: Endless Opportunities3D Printing: Endless Opportunities
3D Printing: Endless Opportunities
 
3 d – printing
3 d – printing3 d – printing
3 d – printing
 
Data mining slides
Data mining slidesData mining slides
Data mining slides
 
3D printer Technology _ A complete presentation
3D printer Technology _ A complete presentation3D printer Technology _ A complete presentation
3D printer Technology _ A complete presentation
 
3D Printing
3D Printing3D Printing
3D Printing
 
Introduction To Software Engineering
Introduction To Software EngineeringIntroduction To Software Engineering
Introduction To Software Engineering
 

Ähnlich wie 3D Modeling and Printing by Python

2013-03-07 indie developer toolkit
2013-03-07 indie developer toolkit2013-03-07 indie developer toolkit
2013-03-07 indie developer toolkit
CocoaHeads Tricity
 
Programming for non tech entrepreneurs
Programming for non tech entrepreneursProgramming for non tech entrepreneurs
Programming for non tech entrepreneurs
Rodrigo Gil
 
httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...
httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...
httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...
YB2020
 

Ähnlich wie 3D Modeling and Printing by Python (20)

iOS Indie Developer Toolkit - CocoaHeads 3city
iOS Indie Developer Toolkit - CocoaHeads 3cityiOS Indie Developer Toolkit - CocoaHeads 3city
iOS Indie Developer Toolkit - CocoaHeads 3city
 
3D Programming Basics: WebGL
3D Programming Basics: WebGL3D Programming Basics: WebGL
3D Programming Basics: WebGL
 
Shaping the Future of Automatic Programming
Shaping the Future of Automatic ProgrammingShaping the Future of Automatic Programming
Shaping the Future of Automatic Programming
 
Interconnection Automation For All - Extended - MPS 2023
Interconnection Automation For All - Extended - MPS 2023Interconnection Automation For All - Extended - MPS 2023
Interconnection Automation For All - Extended - MPS 2023
 
3D Design Fundamentals
3D Design Fundamentals3D Design Fundamentals
3D Design Fundamentals
 
FOSS4G-NA 2019: Introducing Open City Model
FOSS4G-NA 2019: Introducing Open City ModelFOSS4G-NA 2019: Introducing Open City Model
FOSS4G-NA 2019: Introducing Open City Model
 
2013-03-07 indie developer toolkit
2013-03-07 indie developer toolkit2013-03-07 indie developer toolkit
2013-03-07 indie developer toolkit
 
Python in Industry
Python in IndustryPython in Industry
Python in Industry
 
Harmonic Stack for Speed
Harmonic Stack for SpeedHarmonic Stack for Speed
Harmonic Stack for Speed
 
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019 Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
Build and Host Real-world Machine Learning Services from Scratch @ pycontw2019
 
Operating CNC and Laser Machine Everywhere using IoT
Operating CNC and Laser Machine Everywhere using IoTOperating CNC and Laser Machine Everywhere using IoT
Operating CNC and Laser Machine Everywhere using IoT
 
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
The Fine Art of Time Travelling - Implementing Event Sourcing - Andrea Saltar...
 
"Generating Types without climbing a tree", Matteo Collina
"Generating Types without climbing a tree", Matteo Collina "Generating Types without climbing a tree", Matteo Collina
"Generating Types without climbing a tree", Matteo Collina
 
Blender presentation at SIGGRAPH 2013
Blender presentation at SIGGRAPH 2013Blender presentation at SIGGRAPH 2013
Blender presentation at SIGGRAPH 2013
 
What’s New With 3D Design and Printing?
What’s New With 3D Design and Printing?What’s New With 3D Design and Printing?
What’s New With 3D Design and Printing?
 
Angular v2 et plus : le futur du développement d'applications en entreprise
Angular v2 et plus : le futur du développement d'applications en entrepriseAngular v2 et plus : le futur du développement d'applications en entreprise
Angular v2 et plus : le futur du développement d'applications en entreprise
 
Programming for non tech entrepreneurs
Programming for non tech entrepreneursProgramming for non tech entrepreneurs
Programming for non tech entrepreneurs
 
httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...
httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...
httpslibrary.e.abb.compublic4fba00bc9e6b4789a2c55e7e1b8c7f01RobotStudio-3D-Pr...
 
Prototyping user interactions in web apps
Prototyping user interactions in web appsPrototyping user interactions in web apps
Prototyping user interactions in web apps
 
Introducing 3D Design and Printing
Introducing 3D Design and PrintingIntroducing 3D Design and Printing
Introducing 3D Design and Printing
 

Kürzlich hochgeladen

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ssuser89054b
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Christo Ananth
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
ankushspencer015
 

Kürzlich hochgeladen (20)

XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)Java Programming :Event Handling(Types of Events)
Java Programming :Event Handling(Types of Events)
 
chapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineeringchapter 5.pptx: drainage and irrigation engineering
chapter 5.pptx: drainage and irrigation engineering
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
AKTU Computer Networks notes --- Unit 3.pdf
AKTU Computer Networks notes ---  Unit 3.pdfAKTU Computer Networks notes ---  Unit 3.pdf
AKTU Computer Networks notes --- Unit 3.pdf
 
Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024Water Industry Process Automation & Control Monthly - April 2024
Water Industry Process Automation & Control Monthly - April 2024
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...Call for Papers - International Journal of Intelligent Systems and Applicatio...
Call for Papers - International Journal of Intelligent Systems and Applicatio...
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 

3D Modeling and Printing by Python