SlideShare a Scribd company logo
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
3D Modeling and Printing by Python
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
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
Decided to create longer one
jumping rope…
Longer one …
https://flic.kr/p/5pT9iD CC BY 2.0
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
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
3D Modeling and Printing by Python
_人人人人人人人人_
> 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
3D Modeling and Printing by Python
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
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
3D Modeling and Printing by Python
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

More Related Content

PPTX
ChatGPT ppt.pptx
PPTX
Fractal Robots
PPTX
Using AI for Learning.pptx
PPT
Bionics
PPTX
Praneet’s Pre On ChatGpt edited.pptx
PPTX
Fractal robots.ppt
PPTX
Invisibility ppt
PDF
ChatGPT-the-revolution-is-coming.pdf
ChatGPT ppt.pptx
Fractal Robots
Using AI for Learning.pptx
Bionics
Praneet’s Pre On ChatGpt edited.pptx
Fractal robots.ppt
Invisibility ppt
ChatGPT-the-revolution-is-coming.pdf

What's hot (20)

PPTX
robotics ppt
PDF
ChatGPT ChatBot
PDF
Invisible technology
PDF
Introduction to Chatbots
PDF
PPTX
What is a metaverse?
PDF
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
PPTX
robotics
PPT
Brain chips seminar ppt
PPTX
GOOGLE GLASS
PPTX
Screenless display
PDF
AI, Creativity and Generative Art
PPTX
robotics in medical science
PPTX
Mind reading computer ppt
PDF
Google glass ppt
PPTX
Non technical explanation of Large Language Model
PPTX
Introducing Immersive Technologies for Libraries
PDF
Introduction to UX Design
PPTX
SIXTH SENSE TECHNOLOGY
PPSX
Robotics in medicine team3
robotics ppt
ChatGPT ChatBot
Invisible technology
Introduction to Chatbots
What is a metaverse?
Internet of Things(IOT)_Seminar_Dr.G.Rajeshkumar
robotics
Brain chips seminar ppt
GOOGLE GLASS
Screenless display
AI, Creativity and Generative Art
robotics in medical science
Mind reading computer ppt
Google glass ppt
Non technical explanation of Large Language Model
Introducing Immersive Technologies for Libraries
Introduction to UX Design
SIXTH SENSE TECHNOLOGY
Robotics in medicine team3
Ad

Viewers also liked (20)

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

Similar to 3D Modeling and Printing by Python (20)

PPTX
3D printing workshop 2016 (CIHE)
PDF
3D Printing: Turning Molten Plastic into Toys and Tools
PPTX
Introducing 3D Design and Printing
PDF
3d Printing: History and Current Techniques
PDF
IRJET- IoT Based 3D Printer
PDF
Tutorial 38 3D Print Coding
PPT
3D Printing
PPTX
What’s New With 3D Design and Printing?
PPTX
FCPL 2022.pptx
PDF
3D Computer Graphics with Python
PPTX
3D Design with OpenSCAD
PPTX
Internet of Things, TYBSC IT, Semester 5, Unit III
PPTX
An introduction to 3D printing
PPTX
3D Design Fundamentals
PPTX
Introduction to 3D Printing with Tinkercad -Pustaka Negeri Sarawak
PDF
IRJET- Implementing Adaptive Host of Pliable Technology for 3D Imprinter ...
PDF
OHW_IIT_Mum
PPTX
3d printing meetup
PDF
Creating 3D Models with 3D Printing Process
PDF
CREATING 3D MODELS WITH 3D PRINTING PROCESS
3D printing workshop 2016 (CIHE)
3D Printing: Turning Molten Plastic into Toys and Tools
Introducing 3D Design and Printing
3d Printing: History and Current Techniques
IRJET- IoT Based 3D Printer
Tutorial 38 3D Print Coding
3D Printing
What’s New With 3D Design and Printing?
FCPL 2022.pptx
3D Computer Graphics with Python
3D Design with OpenSCAD
Internet of Things, TYBSC IT, Semester 5, Unit III
An introduction to 3D printing
3D Design Fundamentals
Introduction to 3D Printing with Tinkercad -Pustaka Negeri Sarawak
IRJET- Implementing Adaptive Host of Pliable Technology for 3D Imprinter ...
OHW_IIT_Mum
3d printing meetup
Creating 3D Models with 3D Printing Process
CREATING 3D MODELS WITH 3D PRINTING PROCESS

Recently uploaded (20)

PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
Geodesy 1.pptx...............................................
PPTX
Welding lecture in detail for understanding
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
DOCX
573137875-Attendance-Management-System-original
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PDF
Digital Logic Computer Design lecture notes
PPT
Project quality management in manufacturing
PPTX
additive manufacturing of ss316l using mig welding
PDF
Well-logging-methods_new................
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
UNIT 4 Total Quality Management .pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
web development for engineering and engineering
PPTX
OOP with Java - Java Introduction (Basics)
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
Geodesy 1.pptx...............................................
Welding lecture in detail for understanding
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Internet of Things (IOT) - A guide to understanding
Evaluating the Democratization of the Turkish Armed Forces from a Normative P...
573137875-Attendance-Management-System-original
Embodied AI: Ushering in the Next Era of Intelligent Systems
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Digital Logic Computer Design lecture notes
Project quality management in manufacturing
additive manufacturing of ss316l using mig welding
Well-logging-methods_new................
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
UNIT 4 Total Quality Management .pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
web development for engineering and engineering
OOP with Java - Java Introduction (Basics)

3D Modeling and Printing by Python