Matthieu Bruneau

Matthew05

About Me

Expertise
VFX Artist
Location
Canada

Connect

Recent Forum Posts

Integrating Pycharm with houdini tutorial? Sept. 24, 2022, 4:20 p.m.

Hi AhmedHindy
I had the same issue. If you are using python3.7 or more recent in Windows, it's more likely because of the way python loads dll. Before 3.7, adding the $HFS/bin folder to the path was good., but the path variable is not used anymore. Instead, you must use this:
import os
os.add_dll_directory("houdini_install/bin")
import hou

Here is the explaination:
python load dll failed [bugs.python.org]

Geometry disappearing in /stage context but not in geo Jan. 18, 2022, 12:15 p.m.

Hi,

I am currently having some weird issue using the stage context.
I want to fracture some geo that I imported using a sop_import node and then using sop_create.
When I load my scene, everything is fine but then, if I change the display to another node, the geo disappears. If I middle click on it, I can see some points on it.
It's happening in 19.0.503 but if I use 19.0.455, I don't have this issue.

I joined my scene if needed

Here is my system if it can help:
Win 10
Nvidia studio driver v511.09

Thanks for all the help

Edit:
I installed 19.0.504, and I don't seem to have the issue for the same scene... Not sure what's going on right now

Why does this restlength not work? June 21, 2021, 1:10 p.m.

Hi John,
From what I know, it's a matter a precision. Your values might seem to be equal to 0.2 in the spreadsheet but they might actually be 0.200548.
In this case, your condition will evaluate to false which will give you what you have.

In general, you should never use the equal sign while comparing to a float. What you should use is something more like that:
if (@restlength - 0.2 < 0.01) 
{
    i@index_num = 1;
}

This should fix your issue, as you are no more comparing the exact values.