SlideShare una empresa de Scribd logo
1 de 63
Python in Houdini for Technical Directors Luke Moore, Senior Software Developer, Side Effects Software http://www.sidefx.com/masterclasses/
Content Covered ,[object Object],[object Object],[object Object],[object Object]
Assumptions ,[object Object],[object Object],[object Object]
A New Scripting Interface in Houdini 9 ,[object Object],[object Object],[object Object],[object Object],[object Object]
Overview of Houdini's Python Scripting ,[object Object],[object Object],[object Object],[object Object]
 
Learning Python ,[object Object],[object Object],[object Object],[object Object],[object Object]
Experimenting with Python in Houdini ,[object Object],[object Object],[object Object],[object Object],[object Object]
Experimenting with Python in Houdini ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Accessing Houdini from Python: The hou Module ,[object Object],[object Object],[object Object],[object Object]
A Simple Example: Changing Path Prefixes ,[object Object],[object Object]
A Simple Example: Changing Path Prefixes ,[object Object]
A Simple Example: Changing Path Prefixes ,[object Object]
A Simple Example: Changing Path Prefixes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
A Simple Example: Changing Path Prefixes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
A Simple Example: Changing Path Prefixes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
hou.session Module ,[object Object],[object Object],[object Object]
hou.session Module
A Simple Example: Changing Path Prefixes ,[object Object],[object Object],[object Object]
A Simple Example: Changing Path Prefixes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
A Simple Example: Changing Path Prefixes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
A Simple Example: Changing Path Prefixes ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Interpreting Tracebacks ,[object Object]
 
Exploring the hou Module ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Exploring the hou Module ,[object Object],[object Object],[object Object],[object Object],[object Object]
Exploring  the hou Module ,[object Object],[object Object],[object Object],[object Object]
Exploring the hou Module ,[object Object],[object Object],[object Object],[object Object]
 
Python for the Hscripter ,[object Object],[object Object],[object Object]
Python for the Hscripter ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Python for the Hscripter ,[object Object],[object Object],[object Object],[object Object],[object Object]
Python for the Hscripter ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Invoking Python from Houdini ,[object Object],[object Object],[object Object],[object Object]
Shelf/Tab Menu ,[object Object],[object Object],[object Object],[object Object]
HDA Button Callback ,[object Object],[object Object],[object Object]
 
 
HDA Button Callback ,[object Object]
HDA Event Handler ,[object Object],[object Object],[object Object],[object Object],[object Object]
Parameters ,[object Object],[object Object],[object Object]
Parameters ,[object Object],[object Object],[object Object]
Parameters ,[object Object],[object Object],[object Object],[object Object],[object Object]
Parameters ,[object Object],[object Object]
Parameters ,[object Object],[object Object]
When Houdini Starts Up ,[object Object],[object Object],[object Object],[object Object],[object Object]
When Houdini Starts Up ,[object Object],[object Object],[object Object]
Python-Based SOPs ,[object Object],[object Object]
 
The Help Browser ,[object Object],[object Object],[object Object],[object Object],[object Object]
From Another Process ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Loading Python Scripts from External Files ,[object Object],[object Object],[object Object],[object Object],[object Object]
Accessing Houdini from a Regular Python Shell ,[object Object],[object Object],[object Object],[object Object]
hython ,[object Object],[object Object],[object Object],[object Object]
Example: Loading a hip File and Running a ROP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: A Simple Python SOP ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Node Layout ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Node Layout (continued) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Example: Node Layout (continued) ,[object Object],[object Object],[object Object],[object Object]
Houdini's Default Layout
Graphviz: 'dot' algorithm
Graphviz: 'neato-hier' algorithm
Graphviz: 'neato' algorithm

Más contenido relacionado

La actualidad más candente

Lab Log Summer 2016 - Sheng Li
Lab Log Summer 2016 - Sheng LiLab Log Summer 2016 - Sheng Li
Lab Log Summer 2016 - Sheng Li
Sheng Li
 

La actualidad más candente (18)

Python scripting kick off
Python scripting kick offPython scripting kick off
Python scripting kick off
 
Pypy is-it-ready-for-production-the-sequel
Pypy is-it-ready-for-production-the-sequelPypy is-it-ready-for-production-the-sequel
Pypy is-it-ready-for-production-the-sequel
 
PyPy's approach to construct domain-specific language runtime
PyPy's approach to construct domain-specific language runtimePyPy's approach to construct domain-specific language runtime
PyPy's approach to construct domain-specific language runtime
 
Interpreter, Compiler, JIT from scratch
Interpreter, Compiler, JIT from scratchInterpreter, Compiler, JIT from scratch
Interpreter, Compiler, JIT from scratch
 
Threads and Callbacks for Embedded Python
Threads and Callbacks for Embedded PythonThreads and Callbacks for Embedded Python
Threads and Callbacks for Embedded Python
 
Go. Why it goes
Go. Why it goesGo. Why it goes
Go. Why it goes
 
MeCC: Memory Comparison-based Code Clone Detector
MeCC: Memory Comparison-based Code Clone DetectorMeCC: Memory Comparison-based Code Clone Detector
MeCC: Memory Comparison-based Code Clone Detector
 
Coding in GO - GDG SL - NSBM
Coding in GO - GDG SL - NSBMCoding in GO - GDG SL - NSBM
Coding in GO - GDG SL - NSBM
 
Golang iran - tutorial go programming language - Preliminary
Golang iran - tutorial  go programming language - PreliminaryGolang iran - tutorial  go programming language - Preliminary
Golang iran - tutorial go programming language - Preliminary
 
Про асинхронность / Максим Щепелин / Web Developer Wargaming
Про асинхронность / Максим Щепелин / Web Developer WargamingПро асинхронность / Максим Щепелин / Web Developer Wargaming
Про асинхронность / Максим Щепелин / Web Developer Wargaming
 
Lab Log Summer 2016 - Sheng Li
Lab Log Summer 2016 - Sheng LiLab Log Summer 2016 - Sheng Li
Lab Log Summer 2016 - Sheng Li
 
Inheritance compiler support
Inheritance compiler supportInheritance compiler support
Inheritance compiler support
 
Pointless Pointers - How to make our interfaces efficient?
Pointless Pointers - How to make our interfaces efficient?Pointless Pointers - How to make our interfaces efficient?
Pointless Pointers - How to make our interfaces efficient?
 
C++ How I learned to stop worrying and love metaprogramming
C++ How I learned to stop worrying and love metaprogrammingC++ How I learned to stop worrying and love metaprogramming
C++ How I learned to stop worrying and love metaprogramming
 
Golang concurrency design
Golang concurrency designGolang concurrency design
Golang concurrency design
 
Python Workshop
Python WorkshopPython Workshop
Python Workshop
 
OpenMP
OpenMPOpenMP
OpenMP
 
Take advantage of C++ from Python
Take advantage of C++ from PythonTake advantage of C++ from Python
Take advantage of C++ from Python
 

Destacado

Destacado (20)

Innovation Quotes -Motivational
Innovation Quotes -Motivational  Innovation Quotes -Motivational
Innovation Quotes -Motivational
 
Famous Quotes In Innovation
Famous Quotes In InnovationFamous Quotes In Innovation
Famous Quotes In Innovation
 
Innovation quotes
Innovation quotesInnovation quotes
Innovation quotes
 
Clay Shirky quote about innovation
Clay Shirky quote about innovationClay Shirky quote about innovation
Clay Shirky quote about innovation
 
Innovation quotes
Innovation quotesInnovation quotes
Innovation quotes
 
Innovation: Inspirational Edison Quotes
Innovation: Inspirational Edison QuotesInnovation: Inspirational Edison Quotes
Innovation: Inspirational Edison Quotes
 
Quote on Innovation--Steve Jobs
Quote on Innovation--Steve JobsQuote on Innovation--Steve Jobs
Quote on Innovation--Steve Jobs
 
Babagan hawa sanga
Babagan hawa sangaBabagan hawa sanga
Babagan hawa sanga
 
40 Powerhouse Entrepreneurship Quotes
40 Powerhouse Entrepreneurship Quotes40 Powerhouse Entrepreneurship Quotes
40 Powerhouse Entrepreneurship Quotes
 
10 Lovely Quotes on Innovation
10 Lovely Quotes on Innovation10 Lovely Quotes on Innovation
10 Lovely Quotes on Innovation
 
Innovation and risk taking quotes
Innovation and risk taking quotesInnovation and risk taking quotes
Innovation and risk taking quotes
 
25 Creativity Quotes to Inspire Innovation
25 Creativity Quotes to Inspire Innovation25 Creativity Quotes to Inspire Innovation
25 Creativity Quotes to Inspire Innovation
 
12 Innovation Quotes
12 Innovation Quotes12 Innovation Quotes
12 Innovation Quotes
 
groh! innovation 5 quotes on design thinking
groh! innovation 5 quotes on design thinkinggroh! innovation 5 quotes on design thinking
groh! innovation 5 quotes on design thinking
 
Great Quotes From Twitter About Innovation
Great Quotes From Twitter About InnovationGreat Quotes From Twitter About Innovation
Great Quotes From Twitter About Innovation
 
Creativity and Innovation quotes
Creativity and Innovation quotesCreativity and Innovation quotes
Creativity and Innovation quotes
 
The creativity tool kit
The creativity tool kitThe creativity tool kit
The creativity tool kit
 
Curiosity | Creativity | Innovation
Curiosity | Creativity | InnovationCuriosity | Creativity | Innovation
Curiosity | Creativity | Innovation
 
Creativity and innovation quotes
Creativity and innovation quotesCreativity and innovation quotes
Creativity and innovation quotes
 
Innovation Mindset Inspirational & Motivational Quotes
Innovation Mindset Inspirational & Motivational Quotes Innovation Mindset Inspirational & Motivational Quotes
Innovation Mindset Inspirational & Motivational Quotes
 

Similar a Hom Class

Introducing PHP Latest Updates
Introducing PHP Latest UpdatesIntroducing PHP Latest Updates
Introducing PHP Latest Updates
Iftekhar Eather
 
course slides -- powerpoint
course slides -- powerpointcourse slides -- powerpoint
course slides -- powerpoint
webhostingguy
 
Python分享
Python分享Python分享
Python分享
fangdeng
 
Unit 6
Unit 6Unit 6
Unit 6
siddr
 

Similar a Hom Class (20)

Python 3000
Python 3000Python 3000
Python 3000
 
Introducing PHP Latest Updates
Introducing PHP Latest UpdatesIntroducing PHP Latest Updates
Introducing PHP Latest Updates
 
Python Presentation
Python PresentationPython Presentation
Python Presentation
 
course slides -- powerpoint
course slides -- powerpointcourse slides -- powerpoint
course slides -- powerpoint
 
Python分享
Python分享Python分享
Python分享
 
Golang basics for Java developers - Part 1
Golang basics for Java developers - Part 1Golang basics for Java developers - Part 1
Golang basics for Java developers - Part 1
 
Python - Getting to the Essence - Points.com - Dave Park
Python - Getting to the Essence - Points.com - Dave ParkPython - Getting to the Essence - Points.com - Dave Park
Python - Getting to the Essence - Points.com - Dave Park
 
Living With Legacy Code
Living With Legacy CodeLiving With Legacy Code
Living With Legacy Code
 
What's new in Perl 5.10?
What's new in Perl 5.10?What's new in Perl 5.10?
What's new in Perl 5.10?
 
Introduction to Go language
Introduction to Go languageIntroduction to Go language
Introduction to Go language
 
Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008
 
Php extensions
Php extensionsPhp extensions
Php extensions
 
Using Flow-based programming to write tools and workflows for Scientific Comp...
Using Flow-based programming to write tools and workflows for Scientific Comp...Using Flow-based programming to write tools and workflows for Scientific Comp...
Using Flow-based programming to write tools and workflows for Scientific Comp...
 
The GO Language : From Beginners to Gophers
The GO Language : From Beginners to GophersThe GO Language : From Beginners to Gophers
The GO Language : From Beginners to Gophers
 
Sbaw091006
Sbaw091006Sbaw091006
Sbaw091006
 
Perl Moderno
Perl ModernoPerl Moderno
Perl Moderno
 
Unit 6
Unit 6Unit 6
Unit 6
 
Go 1.10 Release Party - PDX Go
Go 1.10 Release Party - PDX GoGo 1.10 Release Party - PDX Go
Go 1.10 Release Party - PDX Go
 
Perl Dancer, FPW 2010
Perl Dancer, FPW 2010Perl Dancer, FPW 2010
Perl Dancer, FPW 2010
 
How Xslate Works
How Xslate WorksHow Xslate Works
How Xslate Works
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot ModelNavi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Navi Mumbai Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 

Hom Class