Jump to content

garf

Members
  • Content count

    125
  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

13 Good

About garf

  • Rank
    Initiate

Personal Information

  • Name
    Garf

Recent Profile Visitors

2,272 profile views
  1. Linux subprocess question

    for future reference this does work: subprocess.check_output('/usr/sbin/lsof -t /mydirectory/mymovie.mov | wc -w', shell=True)
  2. Linux subprocess question

    I want to check if an external movie file is being used by another process before continuing with a script. If I run this in the terminal it returns 1 (which I think is correct as it is being used by rv) lsof -t /mydirectory/mymovie.mov | wc -w if I run this in a python script in houdini it returns 0. subprocess.call(' lsof -t /mydirectory/mymovie.mov | wc -w', shell=True) Any idea as to why this is the case? Truth be told - I don't really know what I'm doing here.....
  3. as far as I know, once it's been saved as non-commercial it's staying that way.
  4. " Is there by chance a way to use the Parameter Interface Editor, save that, call it from the script commit, and use the information from it? " that would be nice but i dont think its doable PyQt is the best way I know of creating custom UIs
  5. Create grey fibers ?

    a shit load of lines with noise?
  6. nice one cheers for the replies guys as ever - @anim's snippet did the business
  7. Having a brainfart here: I have a bunch of lines which I'm currently looping over and assigning the end points (ie. has 1 neighbour) into a group. What I now want to do is remove 1 or the other of these two points from the group. Someone show me what a donut I'm being, please!
  8. You could even make it a start/stop toggle: def outputPlaybarEvent(event_type, frame): if event_type == hou.playbarEvent.FrameChanged and frame == 1: #print event_type hou.playbar.play() hou.playbar.removeEventCallback(outputPlaybarEvent) return False if not hou.playbar.isPlaying(): hou.playbar.addEventCallback(outputPlaybarEvent) hou.setFrame(1) else: hou.playbar.stop()
  9. Add this script from Maurits to a keyboard shortcut and you're good to go. Not sure if Macros is something that can be done in houdini but you can definitely script this stuff.
  10. Vellum Hair Break

    I've managed to get the vellum hairs breaking quite nicely - but I wonder what the breakthreshold is compared against in order to determine that it has been reached. Any ideas?
  11. vellum hair break [SOLVED]

    hopping on to this one. I've managed to get the vellum hairs breaking quite nicely - but I wonder what the breakthreshold is compared against in order to determine that it has been reached. Any ideas?
  12. Vellum Hair Separation

    Anyone know how to stop this happening? I don't want the segments parting when stretching.........
  13. transfer attribute

    crank up your max sample count to 100 is that what you want? if the values arent strong enough throw down a wrangle with something like this in it: @Cd*=10;
  14. I'd like to be able to set a node's name based upon a separate parameter. Sort of like the opposite of $OS on a parameter. Is this something I'd need to write a callback for?
  15. Out from ROP otl

    I've made an otl that contains a couple of ROPs, ideally i'd like to be able to merge a few of these otls before submitting to the farm - what would be the equivalent of an output node for this?
×