3
$\begingroup$

Hopefully the answer to my question is as straightforward as the question itself. The image below demonstrates how a stroke can be aligned to an object in an app like Illustrator or Affinity Designer. Can that be implemented in Geometry Nodes with instances along a curve?

I'm instancing wood slats for archviz purposes. By default, it's of course centered, which is great, but the nit-picky side of me wants to know if this is easy or even worth looking into. I tried this before but had an issue where the inside/outside definitions needed to be described to a degree that's outside of my current Geometry Nodes knowledge. If I moved +Y it was good, outside was outside, but if I went -Y it would flip inside. As you can conclude, the same happened on the X axis.

enter image description here

New contributor
Craig is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.
$\endgroup$

2 Answers 2

3
$\begingroup$

You can emulate the centered style using a geo-nodes set up that creates both an inside and outside “stroke” and join them. See the screenshot.

screenshot of geo nodes set up

$\endgroup$
2
$\begingroup$

It's very simple indeed. The origin of the geometry is put on the curve. If you look at the first gif of this answer:

Imgur mirror (SE image hosting has problems)

You can see the instanced lines / curve profiles are one-sided. That's because the profile that is instanced is one-sided, its one side sits at origin.

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.