Hi!
I'm trying to make a wood floor from a basic polygon shape. I'm using the Divide SOP to divide each plank at the same width.
I would like to know if there's a way to select all planks that are too long and split them. Note that some planks of my setup can end with more than one edge.
Thanks!
-Olivier
wood floor: random plank lenght
2091 3 3- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
- Krabr
- Member
- 13 posts
- Joined: Feb. 2017
- Offline
- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Offline
You can identify large pieces by their primintrinsics, eg:
How do you want to react to the case circled? Anyways, you can find obliquely cutted pieces by their primvertexcount:
i@group_cut = primintrinsic(0, "measuredperimeter", @primnum) > chf('cut');
How do you want to react to the case circled? Anyways, you can find obliquely cutted pieces by their primvertexcount:
primvertexcount(0, @primnum)>4
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
-
- Quick Links