My question : Copy on points based on Normal...!

   3831   4   0
User Avatar
Member
407 posts
Joined: Aug. 2015
Offline
Hi

I would like to copy a geometry, on each points of a template object and align them to the surface of that geometry.
The problem is , Houdini rotated geometries around normals !
I attached my Hip file here.


Thanks for helping.
Edited by Masoud - April 14, 2017 08:40:52

Attachments:
Export.JPG (228.8 KB)
Copy Based on Normals.hip (93.3 KB)

Masoud Saadatmand (MSDVFX)
User Avatar
Member
7740 posts
Joined: Sept. 2011
Offline
Try adding an up vector. In ‘point1’ add a new attribute expression for a custom attribute.
Name: up
Constant Value: {0 1 0}
VEXpression:
value
User Avatar
Member
407 posts
Joined: Aug. 2015
Offline
Thank you jsmack , that works fine.
Masoud Saadatmand (MSDVFX)
User Avatar
Member
15 posts
Joined: Aug. 2015
Offline
Where in the new point node can you add the name,
This is what this test gves me (trying to align the tube to the surface of the copied polygon)
- First mage a group of the polygon called “ testPolygon”
- In the new point node i tried applying it only to that group.
- Typed in “value” in the VEXexpression and gave it 0,1,0 in the constant value text boxes.
User Avatar
Member
7740 posts
Joined: Sept. 2011
Offline
rpdacosta .
Where in the new point node can you add the name,
This is what this test gves me (trying to align the tube to the surface of the copied polygon)
- First mage a group of the polygon called “ testPolygon”
- In the new point node i tried applying it only to that group.
- Typed in “value” in the VEXexpression and gave it 0,1,0 in the constant value text boxes.

Change attribute to ‘Custom,’ and an attribute name field will appear.
  • Quick Links