0

I saw this example where the straight sections of a curve are represented by just 1 face, while curved sections have more subdivisions. How can I achieve this effect in Blender 3.4?

https://twitter.com/i/status/1469408940681310212

muckyu
  • 171
  • 7

3 Answers3

4

This group will return the unsigned edge-angle, on each point of an (evaluated) curve:

enter image description here

..By, for each point B of ABC, taking the dot-product of BA and BC. On acyclic curves, it preserves end-points.

It can be used like this to dissolve control-points at edges which meet at less than a threshold angle, given in degrees:

enter image description here

(Blender 3.41 stable)

enter image description here

Robin Betts
  • 76,260
  • 8
  • 77
  • 190
2

You can do this by compare normals with neighboring point like this:

enter image description here

Crantisz
  • 35,244
  • 2
  • 37
  • 89
  • Thank! it works pretty well.

    But I have an issue with a specific shape. It's a sort of polygon with many angles. Kind of like the Z-shaped tetris block but with random angles. Not always 90°.

    In some corners I get 2-3 edges instead of only 1 edge. And on one face I still have one edge that I can't get rid of somehow.

    – muckyu Mar 18 '23 at 23:50
1

enter image description here

enter image description here

enter image description here

It is working quite well but in some corners I have 2-3 edges still instead of only 1. And on this one side here I have one edge which I can't get rid of. I assume it's the starting position?

muckyu
  • 171
  • 7