1
$\begingroup$

I'm working on a Geometry Nodes setup for a picture frame, and I'm running into an issue with scaling. The goal is to take a strip of a picture frame mesh and have it stretch from Point 0 to Point 1, Point 1 to Point 2, and so on — essentially forming the full rectangular frame by connecting each edge segment.

I'm taking this modular approach because I want the flexibility to design a single, detailed strip of a frame and reuse it along each edge of any shape. This allows the frame to adapt dynamically to different sizes while preserving the original design's thickness and detailing. Rather than scaling the entire frame uniformly (which distorts the proportions), this method ensures the strip stretches only along its length.

Here’s what I’ve done so far:

  1. Started with a plane mesh and extracted its corner points.
  2. Used the Index node to get Point 0 and Point 1.
  3. Measured the distance between the points to scale the strip accordingly.

Issue: The frame strip doesn’t connect to the top point correctly, and it’s not scaling to fit precisely between Point 0 and Point 1. Additionally, the strip’s center appears to start at the edge of the object instead of aligning properly along the segment. Could anyone help me understand what I’m missing or how to fix this?

enter image description here enter image description here enter image description here enter image description here enter image description here

$\endgroup$

1 Answer 1

0
$\begingroup$

It's not clear in your explanation why you do it this way, perhaps you don't know of easier ways... https://en.wikipedia.org/wiki/XY_problem

Imgur mirror (SE image hosting has problems)

I want to set it up this way so that when I scale the surface or the underlying shape, the picture frame only stretches in one direction (along the segment), instead of scaling in all three directions. This should help preserve the frame’s thickness and proportions.

Imgur mirror

$\endgroup$
4
  • $\begingroup$ And you could use gizmos blender.stackexchange.com/a/332829/60486 $\endgroup$ Commented May 9 at 8:33
  • $\begingroup$ Oh wow, that looks awesome!! Thank you so much for your help! Just to clarify why I’m taking this more complex approach: To clarify why I took the more complicated approach: I wanted to create a custom frame design, extract a single strip from that design, and make it scalable along 1 direction, similar to how you did it in the "Imgur mirror" example. $\endgroup$ Commented May 10 at 4:54
  • $\begingroup$ I tried following your method, but I’m not sure why my setup causes the frame to get thicker when I scale it. In the example you shared, it only stretches in one direction, but the thickness increases in mine. Could you help me understand what might be causing that? imgur.com/a/NslLmUp $\endgroup$ Commented May 10 at 5:09
  • $\begingroup$ @Utah I'm editing it in Edit Mode, and you're scaling it in Object Mode. The object scaling is applied after geonodes, though it can be read inside geonodes and countered (it would be unnecessarily complicated though, because the frame would need to have non-uniform radius across different axes) $\endgroup$ Commented May 10 at 7:54

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.