dr.pepper

dr.pepper

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

how to get length of a curve? Nov. 24, 2008, 11:34 a.m.

You can get the length of a curve primitive with the arclen expression function. Example:
arclen(“../curve1”, 0, 0, 1)
You could also use a Resample SOP after the curve, choose the Maximum Segment Length option, specify a segment length, and use the resampled curve as a template geometry (second input) in the Copy SOP, using the box you wish to duplicate along the curve as the first input of the Copy SOP.

Modify collision force in DOPs? Oct. 21, 2008, 10:51 a.m.

Hi!

I'm working on a wire simulation with RBD objects as collision volumes, and I would like to have the wire glide over the object's surfaces. The problem I have is that the collision forces created at the impact points are too strong. The wire's points move into the direction of the collision forces but they should rather remain steady on the surface.

Is there any way to scale collision forces, is it possible to modify them at all? I'm visualizing the collision forces in the Wire Object DOP. I had hoped that there would be collision forces appearing in the Forces sub data, but there aren't any.

When I look at the Impacts/Impacts/impulse data for the wire it lists some pretty high values. Would it be possible to scale those values so that the collision forces would not be that strong?

I know I can access the impulse values by dopfield(“/obj/rope_sim”, “Conny_rope”, “Impacts”, “Impacts”, <impact index>, “impulse”)

Any hint is greatly appreciated.
-Stefan

Point to Connected Primitives Nov. 30, 2006, 1:53 p.m.

Hi Steven,

Thanks for the hint. I'm already using that option, but the bricks I create on the grid consist of several fragments (individual objects) that each have a unique group name already. The problem was to select fragments from several different bricks by using a bounding volume. It works using the 3-group solution described above.

Thanks again anyway.

Cheers!