Jump to content


  • Content count

  • Donations

    0.00 CAD 
  • Joined

  • Last visited

Community Reputation

3 Neutral

About grau

  • Rank

Personal Information

  • Name

Recent Profile Visitors

1,343 profile views
  1. Houdini UI Python Library

    Very nice, I like how the code is almost the same as PyQt/PySide.
  2. Hi, I'm trying to simulate a robot in dops. The goal is to use external inputs to drive the joints and have it walk. But for now I haven't found a working setup. This is my first real project with dops so I might have missed something obvious. My first attempt was to just animate the limbs in sops and bring the whole robot into dops as deforming geometry. Unfortunately friction only seems to work for the object as a whole and not for individual parts like the feet. So the robot just slides on the spot and can't move forward. The next thing I tried was to link all the body-parts with constraints in dops and use angular constraints with animated goal rotations. This works but is very very unstable even for basic setups. Does anyone have a solution to the instability or another approach for this kind of simulation? thank you grau robot_v004.hipnc
  3. I think the socket and chipset should support Xeons aswell. And there might be compatible I7's that support more memory in the future.
  4. Also keep in mind that current I7's don't support that much ram. The haswell quadcores only support 32GB and the sixcores 64GB. If you want more you will have to go for a Xeon.
  5. pipe in / fifo file

    Just for future reference, I tested my code on different machines and it works. I just had problems on my home workstation due to the firewall.
  6. pipe in / fifo file

    Hi, I'm working on something similar right now. I want to stream data from python into a chop. The Problem is I can't get Houdini to establish a tcp connection with python either as client or server. The s.accept() never happens. I can trigger it with telnet and everything works as expected on the python side. The pipein doesn't seem to contact the socket and just outputs "no network connection". If I use a pipein and pipeout they connect, so it should not be a firewall problem. Is there anything special about the way the pipein establishes a tcp connection? If I could at least get to the "Unknown command type: ..." GallenWolf described, I think I could take it from there. This is what I've got so far: import time import socket from struct import pack def sendReset(conn): conn.send(pack('cccccccc', esc, nul, esc, nul, esc, nul, esc, nul)) def send(conn, value): for ch in value: if ch == esc: conn.send(ch) conn.send(ch) def sendCurrentValues(conn, channelCount, samples): commandType = 1 #send command type conn.send(pack('>Q', commandType)) #send channelCount conn.send(pack('>Q', channelCount)) #packed as unsigned long long integer > 8bytes #send samples for s in samples: send(conn, pack('>d', s)) #packed as double float > 8bytes esc = chr(170) nul = chr(0) s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) s.bind(('', 5556)) s.listen(1) conn, addr = s.accept() print 'connection established' #this is where i'm stuck sendReset(conn) for o in range(10000): channelCount = 1 samples = [3.2] sendCurrentValues(conn, channelCount, samples) time.sleep(0.03)[/CODE] p.s. Does anyone know if the Network Chop uses the same format as the pipe op's? They don't seem to be able to talk to each other and the manual has no details about the implementation.
  7. pythonSop + multiprocessing

    Hi, I'm trying to speed up some easily parallelized calculations in a pythonSop using the multiprocessing module. But instead of just starting separate python processes it actually starts multiple instances of Houdini. Has anyone found a way to do this, short of running external .py's? I'd prefer the pythonSop to be self contained. Thanks in advance