Jump to content

Is it possible to use houdini to create a command line tool?


cloudfx

Recommended Posts

Hi,

 

I was wondering was there any cases that uses houdini's sop operator  as functions in command-line programs?

 

For instance, in command line,

hpolyreduce -i input.obj output.obj

and hpolyreduce will launch up houdini or something to operate sop's PolyReduce with certain preset to input.obj and saves the result to output.obj.

 

Would there be any types of example of doing this?

 

and what would be minimum license that I need for it?

 

Thanks,

Jae

Edited by cloudfx
Link to comment
Share on other sites

whats your target for the command-line?  

 

do you want to make a bash script for execution or do you want to integrate it in to another program? 

 

this could help: 

http://forums.odforce.net/topic/14209-simulation-surface-generation-etc-using-command-line/

 

there are also old examples of houdini integration into a website:

https://www.sidefx.com/index.php?option=com_content&task=view&id=1827&Itemid=344

 

 

license is depending on your setup: private or company, non commercial or commercial, company income(< 100000$ or >100000$) how many computer systems.

private with restriction: the apprentice should work NOT TESTED (free)

private or commercial(income below 100000$): indie license (199$)

commercial( over 100000$): houdini or houdini fx (1995$ or 4495$)

more info's on: https://www.sidefx.com/index.php?option=com_content&task=blogcategory&id=103&Itemid=401

Edited by Mandrake0
  • Like 1
Link to comment
Share on other sites

Yes, this is possible to do but it's not typically how Houdini is used. How I would do it is with Python and import the hou module which gives full access to Houdini in a Python environment. It could build the network needed to perform the task, set the file node input, set the ROP node output, cook it, then close without saving the network. A batch license could handle this but you'd need something with a GUI likely to do the testing and development, so a batch license and a Houdini license (or just a Houdini license if it will be used on a single machine).

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...