Liang Tong

J-Pam

About Me

Connect

LOCATION
Not Specified
ウェブサイト

Houdini Engine

Availability

Not Specified

Recent Forum Posts

How to extracting the centerline of a 2D Plane 2024年9月1日22:58

加尔
You can also take two boundary curves (with the same number of points), sort the order of the vertices and the point numbers so that they go in the same direction, and make a blendshape between them with a coefficient of 0.5. This is if you don't want to deal with VEX
Thank you very much for your response. I will give it a try. I really appreciate it.

How to extracting the centerline of a 2D Plane 2024年9月1日22:55

安特
Given a starting edge, if you know the geometry will follow exactly that topology it's somewhat straightforward to walk along each pair of edges and find the center point.
Thank you so much!!!!!!!!!

Extracting the centerline of a 2D plane 2024年8月30日5:30

细胞因子
Ah ok, I see.
Ok, that is not a trivial problem. Are the planes modeled with an edge connecting the corner points?
If so you could use a polysplit sop. If not I don't think there is a clear solution other than the straight skeleton node.
Can't the planes be created with a center line in the first place?
Could you share an example of these planes?

btw: why did you start a second thread on this issue? please, keep it to one and delete the other.
Cheers
CYTE
This 2D plane was directly created by me using the Labs Regions From Image node to recognize specific colors in the image, rather than by drawing straight lines. Ideally, when the image changes, the same colors would be recognized, and the centerline would be calculated accordingly. So it's indeed a bit tricky.