Snapping to center of polygon face.

   5337   9   3
User Avatar
Member
9 posts
Joined: 10月 2015
Offline
Hi everybody!
I gave priority to primitive and midpoint snapping. It snapped to polygon and midpoint of edges, but not to polygon center.
Is there any way of snapping to center of polygon?
User Avatar
Member
818 posts
Joined: 9月 2013
Offline
I don't think that's possible at the moment. I've submitted a RFE for this though (#72992).
Andrew / アンドリュー
User Avatar
Member
9 posts
Joined: 10月 2015
Offline
awong
I don't think that's possible at the moment. I've submitted a RFE for this though (#72992).


Thank you so much!
I chose Houdini among other tools because only here I saw developers are answering to questions and listening to users. This gives me feeling that Houdini will soon be the best tool in every aspect of 3d content creation.
User Avatar
Member
85 posts
Joined: 5月 2011
Offline
Use the combo Facet + Primitive + Fuse SOP

Attachments:
polygons_centers.hipnc (55.2 KB)
Screenshot.jpg (91.9 KB)

— dedeks 3000 —
User Avatar
Member
9 posts
Joined: 10月 2015
Offline
dedeks3000
Use the combo Facet + Primitive + Fuse SOP


Interesting.
But sorry I'm just a beginner.
I couldn't make torus seen in scene level.
Then, I created another object in geometry level, but this time I couldn't move translate handle to place I wanted. There is no detach handle or pivot mode options.
And question, what is fuse for? I see we got center points after primitive node.
User Avatar
Member
85 posts
Joined: 5月 2011
Offline
Shohruh I recommended you to watch this introduction serie of videos :

https://www.sidefx.com/index.php?option=com_content&task=blogcategory&id=202&Itemid=361 [sidefx.com]

You should also consult the documentation (F1) :idea:

PS: 1 - Fuse sop help you to avoid multiple points at the same position
— dedeks 3000 —
User Avatar
Member
9 posts
Joined: 10月 2015
Offline
Thank you! I didn't know these videos. I'll watch them and keep reading.
User Avatar
Member
453 posts
Joined: 2月 2013
Offline
A relatively new awesome method to add point on primitive centers is to use an Attribute Wrangle set to “Run Over: Primitives” with the following code:

addpoint(0, @P);
removeprim(0, @primnum, 1);

First line adds a point to the center of every primitive. (I believe it uses the point average for the center).

The second line is optional and removes the original primitive.
User Avatar
Member
85 posts
Joined: 5月 2011
Offline
DASD
A relatively new awesome method to add point on primitive centers is to use an Attribute Wrangle set to “Run Over: Primitives” with the following code:

addpoint(0, @P);
removeprim(0, @primnum, 1);

First line adds a point to the center of every primitive. (I believe it uses the point average for the center).

The second line is optional and removes the original primitive.

+1000
Good info!Thanks
— dedeks 3000 —
  • Quick Links