Forgot your password?   Click here   •   No account yet?   Please Register    •   Or login using  
JA ログイン
SideFX Homepage
  • 製品
    • H20.5 新機能
      • 概要
      • VFX
      • Copernicus
      • Animation
      • Rigging
      • Lookdev
    • Houdini
      • 概要
      • FX 機能
      • CORE 機能
      • Solaris
      • PDG
    • Houdini Engine
      • 概要
      • Engine プラグイン
      • バッチ処理
    • Karma Renderer
    • 製品比較
    • SideFX Labs
    • Partners
  • 業界
    • Film & TV
    • ゲーム開発
    • モーショングラフィクス
    • Virtual Reality
    • AI/ML 向けデータ合成
  • コミュニティ
    • フォーラム
    • ニュース
      • 概要
      • カスタマ ストーリー
      • Houdini HIVE Events
      • Contests & Jams
    • Gallery
    • イベントカレンダー
    • User Groups
    • Artist Directory
  • 学習
    • Start Here
      • 概要
      • My Learning
      • ラーニングパス
      • チュートリアル
    • コンテンツライブラリ
    • Tech Demos
    • Houdini 講演
    • 教育プログラム
      • 概要
      • 学生
      • 講師
      • 管理者
      • List of Schools
      • 学習リソース
  • サポート
    • カスタマーサポート
    • Licensing
      • 概要
      • Commercial
      • Indie
      • Education
    • ヘルプデスク FAQ
    • Houdini システム環境
    • ドキュメント
    • Changelog / Journal
    • Report a Bug/RFE
  • Get
    • Try
    • 購入
    • ダウンロード
    • お問い合わせ
 
Advanced Search
Forums 検索
Found 16 posts.

Search results Show results as topic list.

Technical Discussion » Mac Houdini Python Users

User Avatar
ProfessorChris
16 posts
Offline
 2023年6月8日 10:44:23
Greetings Mac Houdini Users!

I have a strange request.
I am writing a book on Houdini Python and I need a couple of mac command line prompts. I don't have access to a Mac nor Mac Houdini so I am reaching out to you, stalwart users!

The first prompt I need is the output you get when running vanilla Python out of a fresh, command-line, terminal.
For example, when I execute Python from a windows shell I would get something like:
Microsoft Windows [Version 10.0.19043.2006]
(c) Microsoft Corporation. All rights reserved.
 
C:\Users\croda>python
Python 3.8.8 (default, Apr 13 2021, 15:08:03) [MSC v.1916 64 bit (AMD64)] :: Anaconda, Inc. on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
I need what this looks like on a Mac.


The next thing I need is what the installed version of Houdini Python looks like when executed from a Mac terminal.
(I am not looking for the hython execution, I need Houdini Python )
For example, when I execute Houdini installed Python from a windows shell, I get something like:
Microsoft Windows [Version 10.0.19045.2965]
(c) Microsoft Corporation. All rights reserved.
 
C:\Users\croda>"C:\Program Files\Side Effects Software\Houdini 19.5.493\python39\python"
Python 3.9.10 (1 file(s) copied., Sep 15 2022, 19:40:17) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> quit()
I need what this looks like on a Mac.

If you can provide me with these prompts I am more than happy to provide you with credit in the book!

Thank you very much for your help!
Edited by ProfessorChris - 2023年6月8日 10:45:38
See full post 

Technical Discussion » PySide2 Designer in Houdini

User Avatar
ProfessorChris
16 posts
Offline
 2023年4月12日 07:20:04
These are great!

The download is a perfect alternative and the code snippet is perfect!

Thank you, alexyvanzhula1984!
See full post 

Technical Discussion » PySide2 Designer in Houdini

User Avatar
ProfessorChris
16 posts
Offline
 2023年4月9日 16:39:56
Yes! Thank you for responding Jonathan!
I wish to execute Designer to generate a .ui file which I can use to drive an interface.
I typically use the the version installed with PyQt5. However, I am trying to answer the question, "If a user did not install PyQt5 or PySide2 separately on their machine, how could they use the version of Designer installed with Houdini Python?"

Thank you for your time!
See full post 

Technical Discussion » PySide2 Designer in Houdini

User Avatar
ProfessorChris
16 posts
Offline
 2023年4月7日 09:17:22
I know this is a crazy obscure question but I figure there are plenty super-clever "python-istas" who might be able to crack this nut.

There is a copy of "designer.exe" included with every version of PySide2 installed with every version of Python in Houdini.

What is the best way for executing designer.exe?
See full post 

Technical Discussion » Fundamental PySide2

User Avatar
ProfessorChris
16 posts
Offline
 2022年9月26日 08:31:59
I am not sure WHY this happens this way. Maybe a Dev or someone with a lot of GUI experience can help out.

I'm trying to create a very simple PySide2 window from the script tool bar:
from PySide2.QtWidgets import QWidget

window = QWidget()
window.show()

When I execute the tool from the script bar, a window briefly appears and disappears. I am guessing that the window is not attached to the Houdini main window and is removed when Python performs its garbage collection.

In order to attach the window to the Houdini window I use hou.qt.MainWindow() to give it a parent to attach to:
from PySide2.QtWidgets import QWidget
from hutil.Qt import QtCore


window = QWidget()
window.setParent(hou.qt.mainWindow(), QtCore.Qt.Window)
window.show()

The window remains until I close it or Houdini!

The part I am confused about it is if I put the window into a class, I do not need to directly attach the window to the Houdini window and the new window persists:
from PySide2.QtWidgets import QWidget

class MyWidget(QWidget):
    def __init__(self):
        super(MyWidget, self).__init__()
        
window = MyWidget()
window.show()

Can anyone explain why we do not to directly parent to the Houdini window when called from within a class?
See full post 

Technical Discussion » Default $HFS Locations

User Avatar
ProfessorChris
16 posts
Offline
 2022年9月23日 07:24:12
Thank you, Vic_lc!

I just noticed your reply.

This is the last piece of the puzzle.

Much appreciated!
See full post 

Technical Discussion » Default $HFS Locations

User Avatar
ProfessorChris
16 posts
Offline
 2022年9月19日 07:22:14
Thank you, Martin!

It's good to know SideFX is doing it correctly.

The book is an introduction to Python for reluctant artists.
Instead of using Visual Studio, PyCharm or any other programming environment, I founds artists have a much better retention using Houdini as an IDE and have them do exercises on objects and geometry they can see.

I am always looking for reviewers. If you know of anyone who knows Houdini Python, please have them respond to this thread.

Cheers
Edited by ProfessorChris - 2022年9月19日 07:28:53
See full post 

Technical Discussion » Default $HFS Locations

User Avatar
ProfessorChris
16 posts
Offline
 2022年9月16日 10:25:11
Howdy Houdini Crew!

I'm doing research for a book I am writing.

Could anyone tell me where the default $HFS locations are for macOS and Linux?

For example the default $HFS on a Windows machine is, (Depending on version), C:\PROGRA~1\SIDEEF~1\HOUDIN~1.303

Thank you for your help!
See full post 

Houdini Learning Materials » Houdini Python Book

User Avatar
ProfessorChris
16 posts
Offline
 2022年9月5日 10:14:08
Greetings World-wide Houdini Users!

I am currently completing a book on teaching Python to technical artists.
A primary focus of this book is all of the examples are executed using Houdini as the Python IDE.
Over many years I have successfully taught technical artists, with little to no programming experience, to be fully proficient Python programmers in just six weeks. This Python crash course is the focus of the book.

My question to you is do you know of any Houdini Python programmers who would be willing to review and vet the book's contents for both Python and Houdini accuracy? Yes, I am calling out to you Side Effects Houdini Dev programmers who might be specialists in this sort of thing. Since I do not know you, I want to reach to out to you to provide this opportunity.

Of course I am reaching out to all of you Houdini/Python experts as well! The Houdini users are the ones who understand Houdini Python's eccentricities and will be able to provide valuable guidance and work-arounds.

All reviews will receive credit in the book and a copy upon publishing, probably early summer 2023.

If any of this sounds tempting, please get back with me, chris@chrisroda.com, and I'll be happy to answer any questions and get you going.

Thank you very much for your time and attention. I look forward working with you in the future.
See full post 

Technical Discussion » Mac Houdini Default File Location

User Avatar
ProfessorChris
16 posts
Offline
 2022年8月26日 07:24:59
Thank you John Mather!

Being unfamiliar with MAC OS, is "myuser" the actual folder name or is it the user's account name?

Thank you for your time!
See full post 

Technical Discussion » Mac Houdini Default File Location

User Avatar
ProfessorChris
16 posts
Offline
 2022年8月23日 08:04:11
Greetings Mac Houdini users!

I am hoping someone knows where the Houdini default file location is on a Mac.

For example on a windows machine, if I was to execute the following sequence in the Python shell:
file = open('testRoberto.py', 'w')
file.write(hou.node('/obj/testgeometry_rubbertoy1').asCode(recurse=True))
file.close()
The output file by default is found in C:\users\<user name> folder.
Since I do not have access to a Mac, could anyone who does please inform me where that folder is?

Thank you very much for your time!
See full post 

Technical Discussion » Mac OS Python Libs Folder

User Avatar
ProfessorChris
16 posts
Offline
 2022年6月15日 08:49:38
Greetings Houdini users!

I am writing a book on Houdini Python and I am hoping I can get a Mac OS Houdini user to tell me where their Python libs folder can be found.

For example, on a windows machine the folder will be "C:\Users\author\Documents\houdini19.0\python3.7libs".
For a Linux machine, the folder is "/home/author/houdini19.0/python3.7libs".

I don't have immediate access to a Mac OS machine so if anyone could volunteer that information to me I would greatly appreciate it!

Cheers
See full post 

PDG/TOPs » Troubleshooting PDG on the farm (HQueue, Deadline, Tractor)

User Avatar
ProfessorChris
16 posts
Offline
 2020年4月23日 16:11:27
Thanks everyone!
You all rock!

I put on my snorkel and fins and did a deep dive. I found what I had to do in order to get the network working on the queue.
Success! … sort of

The network executed successfully until I hit my ‘ROP Geometry Output’.
The first node in the ‘ROP Geometry Output’ is the ‘File’ node.
The first parameter of the ‘File’ is @pdg_input (I also discovered that pdginput(0, ‘file/geo’, 0) produces the same results).

This node fails, unable to open the input path.
The path is actually missing a ‘\’ in the front of the string.
While I eventually worked around this by hardcoding the path into the parameter, I still would like to know what I am doing wrong and how can I get around this.

Enclosed in the Output and the Diagnostic.
Thanks again for all your help. You guys are the best community in the world!
Image Not Found
Image Not Found
Edited by ProfessorChris - 2020年4月23日 16:12:46
See full post 

Solaris and Karma » Lop Expression Inconsistency

User Avatar
ProfessorChris
16 posts
Offline
 2020年4月6日 09:26:30
I Just had an interesting revelation …
I connected all three of the prune techniques to a switch Lop.

Now all three techniques work … go figure.
See full post 

Solaris and Karma » Lop Expression Inconsistency

User Avatar
ProfessorChris
16 posts
Offline
 2020年4月6日 09:16:51
Greetings Gang -

I'm going through the Lops Tutorial #4 and I'b a ‘bit’ stuck on the light pruning step.
The tutorial suggests using the the expression ‘/lights/Layout/*’, But I can't get this to work.
I tried multiple variations which do work:
  • { usd_istype(0, @primpath, “Light”) } #hardcore!
  • /lights/Layout/Fill /lights/Layout/Sun #verbose!

Can anyone suggest what I am doing incorrectly?

Cheers
See full post 

PDG/TOPs » Troubleshooting PDG on the farm (HQueue, Deadline, Tractor)

User Avatar
ProfessorChris
16 posts
Offline
 2020年4月2日 16:39:17
Greetings SideFX crew!

This issue in unrelated to the prior post but still in the same vein of the theme heading “Debugging PDG on the Farm”.

I'm trying to get HQueue working with PDG and I've hit a wall.
By playing with the hqueuescheduler node, I've been able to get the ropgeometry node to generate tasks but that is as far as it gets.

The job never gets to the server as all tasks immediately fail. Each task info simply reports, “State Failed”.
State Failed Index 4 Frame 1.0 Priority 0 Command "\FIEA-CAPSTONES\HQS\houdini_distros\hfs.windows-x86_64\bin\hython.exe" "//FIEA-CAPSTONES/HQS/projects/PDGQuickTest/pdgtemp/10332/scripts/rop.py" -p "//FIEA-CAPSTONES/HQS/projects/PDGQuickTest/PDGQuickTest.hipnc" -n "/obj/topnet1/ropgeometry1/ropnet1/geometry1" -to "/obj/topnet1/ropgeometry1" -i "ropgeometry1_ropfetch1_1_179" -fs 1 -fe 1 -fi 1 Expected Output __PDG_DIR__/geo/PDGQuickTest.ropgeometry1.4.4.bgeo.sc file/geo hip $HIP/PDGQuickTest.hipnc file/hip outputparm sopoutput rop /obj/topnet1/ropgeometry1/ropnet1/geometry1 top /obj/topnet1/ropgeometry1 wedgeattribs [2] curlblend, maxcurve wedgeindex 4 [ Exported ] wedgenum 4 [ Exported ] curlblend 0.0 [ Exported ] frame 1.0 maxcurve 10.0 [ Exported ] range [3] 1.0, 1.0, 1.0 I get no response when trying to access “Showlog” in each task info.

The error in the hqueuescheduler note reports
Error Failed to start the Message Queue Job http://fiea-capstones:5000/jobs/view/313 CookError: HQueue reported failure Error Root job is invalid
I'm not sure what “Root job” in the error refers to. I think this may be the culprit but I don't understand how to change.

Thanks in advance for any help!
See full post 
  • Quick Links
Search links
Show recent posts
Show unanswered posts
製品
  • Houdini
  • Houdini Engine
  • Houdini Indie
学習
  • Houdini 講演
  • 教育プログラム
サポート
  • カスタマーサポート
  • ヘルプデスク FAQ
  • ドキュメント
  • Report a Bug/RFE
  • Sales Inquiry
LEGAL
  • Terms of Use (英語)
  • Privacy Policy (英語)
  • License Agreement (英語)
  • Accessibility (英語)
  • Responsible Disclosure Program
COMPANY
  • SideFX社について
  • Careers
  • Press
  • Internships
  • お問い合わせ
Copyright © SideFX 2025. All Rights Reserved.

使用言語