4
$\begingroup$

Let’s say I want to build ladders with geometry nodes, using a bezier spline as « main » object.

  • I would duplicate the spline to have two rails
  • and add points on the curve to instanciate the ladder’s steps.

enter image description here

The first (index=0) and last point (index=point count-1) would be ignored for the steps instances, as those are the extremities of the ladder.

This works great.

But what if I have several splines in my curve object; because I want to have several ladders generated ? This does not work anymore; as I can’t target the first and last point of each spline.

I’m searching a way to have Geometry Nodes considering each spline individually, and have the whole logic based on each spline.

Is this possible ?

$\endgroup$
3
  • 1
    $\begingroup$ why don't you just instantiate your "ready" ladders on e.g. geometry on points node? maybe a sketch would help what you want to achieve... ;) $\endgroup$
    – Chris
    Nov 23, 2022 at 17:44
  • 1
    $\begingroup$ ...I was just thinking of the exact same thing @Chris brought up. $\endgroup$
    – quellenform
    Nov 23, 2022 at 17:46
  • $\begingroup$ @Chris : edited with a picture... $\endgroup$
    – gordie
    Nov 23, 2022 at 18:45

2 Answers 2

4
$\begingroup$

i have no idea what you wanna make, but hopefully this helps:

i made ladders from beziercurves, and i put ladders on points of beziercurves:

enter image description here

enter image description here

enter image description here

enter image description here

$\endgroup$
3
  • 3
    $\begingroup$ As a safety inspector: this is a nightmare; but visually it's pretty cool 👍 – a ballet of ladders. $\endgroup$ Nov 23, 2022 at 19:27
  • 1
    $\begingroup$ @MarkusvonBroady: Thank you very much, i appreciate that! $\endgroup$
    – Chris
    Nov 24, 2022 at 2:24
  • 1
    $\begingroup$ @MarkusvonBroady & Chris, And I'm not a ladder expert, but I like your recent friendly interaction with each other ;-) $\endgroup$
    – quellenform
    Nov 25, 2022 at 13:40
2
$\begingroup$

I think you're looking for the Endpoint Selection node.

enter image description here

Using default parameters will remove the first and last point of each sub-spline.

$\endgroup$
2
  • $\begingroup$ This seems great ! I managed to remove points on a curve. But this doesn't work to remove points after a "curve to points" node. $\endgroup$
    – gordie
    Nov 23, 2022 at 19:07
  • $\begingroup$ I guess you can transfer the information as an attribute by index or proximity from the curve to the points ? $\endgroup$
    – Gorgious
    Nov 24, 2022 at 10:12

You must log in to answer this question.

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