clothstitchconstraint woes

   2313   7   2
User Avatar
Member
2537 posts
Joined: June 2008
Offline
Hi All,

I have a set of points to connect two pieces of cloth. The points are in groups. When I type the group names in the clothstitchconstraint node the resulting stitching is in the wrong order.

Is there a fix for this?
http://forums.odforce.net/topic/31548-sort-points-in-order-they-appear-in-edge-group/?tab=comments#comment-174733 [forums.odforce.net]
Edited by Enivob - Oct. 7, 2017 21:26:11

Attachments:
Untitled-1.jpg (164.9 KB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
806 posts
Joined: Oct. 2016
Offline
Moin,

“Atom” has recently published a (documenting his work in progress) video on this topic, I think that might be helpful:




Marc
---
Out of here. Being called a dick after having supported Houdini users for years is over my paygrade.
I will work for money, but NOT for "you have to provide people with free products" Indie-artists.
Good bye.
https://www.marc-albrecht.de [www.marc-albrecht.de]
User Avatar
Member
2537 posts
Joined: June 2008
Offline
Yeah, that is me. And it does work for cloth pieces that exist in the same plane/axis. But I am trying to move on and add sleeves, which lie in another axis. That is where the sorting problem lies.
Edited by Enivob - Oct. 8, 2017 09:13:58
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
806 posts
Joined: Oct. 2016
Offline
Oh, sorry - that's why I full heartedly dislike pseudonyms on the interwebs

I'll have a dive into Houdini's stitching logic later next week, would love to share thoughts and experiences with you, can't help right now though, sorry!

Marc
---
Out of here. Being called a dick after having supported Houdini users for years is over my paygrade.
I will work for money, but NOT for "you have to provide people with free products" Indie-artists.
Good bye.
https://www.marc-albrecht.de [www.marc-albrecht.de]
User Avatar
Member
2537 posts
Joined: June 2008
Offline
That is ok, thanks Marc, when I went to sign up at SideFX Atom was already taken.
Edited by Enivob - Oct. 8, 2017 10:16:01
Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Maybe “pointlist” is your friend:

`pointlist(“../../yourobject”, “groupname”)`
Edited by matthias_k - Oct. 8, 2017 11:04:34

Attachments:
pointlist.png (75.3 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
Sorry, misunderstood the question…
understood it, after reading the odforce topic
English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
806 posts
Joined: Oct. 2016
Offline
Moin,

quick thought I had when walking the dogs … wouldn't, at least in your specific example, a “closest point” iteration based on one set of points to get the order of the other set of points be the simplest approach?
I haven't used H much over the last couple of weeks, so I am not sure if there is a “closest point” node that you could “nodally” wire in, but a VEX snippet that reorders one of the two group lists should be pretty straight forward.

For more complex situations this probably wouldn't work, but then again might …

Marc
---
Out of here. Being called a dick after having supported Houdini users for years is over my paygrade.
I will work for money, but NOT for "you have to provide people with free products" Indie-artists.
Good bye.
https://www.marc-albrecht.de [www.marc-albrecht.de]
  • Quick Links