1
$\begingroup$

I have a mesh with a bunch of vertices previously sorted, from here I am able to create, with this nodetree, a series of splines.

enter image description here

Now I need to get rid of the remaining chamfers,like this:

enter image description here

I've been trying lots of methods such as finding the intersecting point between the exterior edges of the chamfer using control point handlers as shown here intersection of edge, but it only works with single values and I need to use fields as its something to be done through al the mesh.

Any ideas on how I could approach this issue?

EDIT As asked in the comments I'll try to give more info to make it easier to understand the question.

On every mesh vertex there is an object instanced, the object containing the created curves is intended to be an auxiliary object from which we can sample new positions to replace on the every vertex from the original. In the following image you can see in blue what would result the new seat positions with chamfers and in yellow how it should be.

enter image description here

$\endgroup$
7
  • $\begingroup$ Could you please share your blend file with us so we don't have to recreate this? blend-exchange.com Also, I'm not entirely clear on how this is supposed to work with the lines further up, but I'll be happy to look into that with your file. $\endgroup$
    – quellenform
    Aug 26, 2022 at 12:05
  • $\begingroup$ @quellenform there you go, I've cleaned the blend file to make it as clear a possible, also you need blender 3.3. You can see in the node tree how I've been trying to implement your solution but with no success. Let me know if you have any questions. Thanks again $\endgroup$ Aug 29, 2022 at 7:18
  • $\begingroup$ I have now taken a close look at the file, and I don't think it's a good idea to work with Geometry Nodes here. On the one hand, the points are not exactly lined up, and on the other hand, there are some missing at the top to get reliable results. Can you possibly tell us more about what you actually want to do here? Because I think it would be better to work on the whole thing manually, instead of trying to work out a procedural solution for an unclear goal here. $\endgroup$
    – quellenform
    Aug 29, 2022 at 9:06
  • $\begingroup$ ...I mean, the goal is actually clear, only the way to get there is not at all. There are simply too many questions concerning the special cases (Which of the many individual segments should be used for an intersection? How do we deal with points standing alone? What if the points are not on a line?, etc.). ...so please tell us more about your project. Thanks! $\endgroup$
    – quellenform
    Aug 29, 2022 at 9:23
  • 1
    $\begingroup$ Right now I'm unable to give you more feedback, once I get more free time I will happy share the files with you. $\endgroup$ Sep 7, 2022 at 13:45

1 Answer 1

1
$\begingroup$

This may not be quite what you expected, but it is a valid answer to "Remove chamfers from curves in geometry nodes":

enter image description here

Here I simply calculate the missing side of the triangle at selected points (always the first point of a chamfer) using the curve tangents.

...I admit I stole this trick from Pythagoras, but I'm sure he won't mind this time for once.

Here is the node tree:

enter image description here


(Blender 3.2)


PS: If this technique doesn't help you, please be so kind and share your entire file with us, because I'm sure there are other (easier?) ways to achieve the desired result for your project.

$\endgroup$

You must log in to answer this question.

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