0
$\begingroup$

Problem Description

After rotating, scaling, and translating curves which are oriented flat on a face's normal, there are many curves whose start and/or endpoints exceed the boundary of the face they lie upon:

enter image description here

Node setup thus far:

enter image description here

Application Goal

It would be nice if, after the curves were positioned, the exceeding curve portion could be trimmed off, regardless if it is from the start or end point.

Looking at the viewer node with proximity data from the box target to the splines, it looks like this task might be possible with a combination of proximity data and trimming, but I've failed to arrive at a solution:

enter image description here

If the proximity+trimming combo isn't possible, I'm planning to either resample to a high enough resolution to where I can remove points by proximity "close enough" to the edge of the face, or try to add points right at the intersection of the edges (via the method from this video). Still, if any other solution comes to mind I'd appreciate the ideas.

$\endgroup$

1 Answer 1

2
$\begingroup$

You can try with this edge bisect node group

enter image description here

$\endgroup$
1
  • 1
    $\begingroup$ It will take me a while to understand all of the vector math- it looks like a really well thought out setup. Thank you kindly for the solution. $\endgroup$ Jun 26 at 4:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .