0
$\begingroup$

Polygon offset node (AN v2.1) has an advanced option of rotating around custom pivot point.

How can I tell polygons to rotate around an edge instead of poly's center? Does it require recombining mesh data, indices and so on?

$\endgroup$

1 Answer 1

2
$\begingroup$

The Extract Polygon Transforms node can be used to generate transformation matrices that can be used as the pivot of the Offset Polygons node. In which case, the first edge in the polygon is used.

Node Tree

Note that you should switch to local axis transformation in the advanced node settings of the Offset node.

$\endgroup$
2
  • $\begingroup$ Wow, so simple! I was mentally preparing for organising loops to iterate each poly... $\endgroup$
    – Serge L
    Nov 25, 2018 at 10:50
  • $\begingroup$ @SergeL haha, it seems loops keep you awake at night :D $\endgroup$
    – Omar Emara
    Nov 25, 2018 at 10:56

You must log in to answer this question.

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