Connecting points of different numbers

Hi,
I have probably very simple question. I want to connect 5 profiles, that are divided, with interpolate curve. but one of the profile is double divided. So i want to achieve something like this:
points connecting.gh (10.4 KB)

How to connect profiles that have 2x points with those that have x, so that from what has x two lines come out from one point, connecting two points including 2x?

I don’t know if I explained it clearly. Please see the attachment with my bad definition - maybe that will help to understand what i want to have :slight_smile:

Show us how simple it is?

Your GH file looks nothing like the image you posted.

I have no idea what you’re doing but would approach it like this:


points connecting_2024Mar4a.gh (10.4 KB)

1 Like

Sorry for the confusion. Due to the fact that English is not my main language on a daily basis, I am not able to express exactly what I mean. I am attaching what I hope is a clear example of what I am having trouble achieving
curves.3dm (4.7 MB)

1 Like

I’ve cobbled together something that does what you want, I think… But something that was clear to me yesterday remains: adjusting the seams (start / end points) of the section curves to align them.


points connecting_2024Mar5a.gh (18.2 KB)

1 Like

Thank You very much one more time Joseph for your help. This is what I wanted to achieve

This version adds a white group at the bottom using Anemone to align seams of the section curves.

The cyan group offers choices: ‘Raw(unchanged) or ‘Aligned(Anemone output). The first Value List affects the input to the loop: ‘As Is’ or ‘Reversed’. The difference is visible only when using ‘Aligned’ which affects which end of the list the other sections are aligned to.

The Loft component (disabled) lofts the sections, for comparison.


points connecting_2024Mar5b.gh (29.0 KB)

P.S. There are two aspects of aligning section curves that I failed to address. The purple group in this version addresses the first one.

  1. Section curves need to have the same direction!
  2. The start point of the first section curve could be adjusted. Circles (for example) could have their start point anywhere while triangles (for example) might be limited to any of its vertices.


points connecting_2024Mar5c.gh (28.0 KB)

I’ve done models like this before and they can be weird, especially when the section curves are very different shapes and orientations as they are here. After playing with this awhile, I decided that using the Anemone loop to “align” sections doesn’t work very well so removed it. I also found and fixed an error in the purple group that makes sure section curves all have the same direction. Sometimes that requires flipping the plane of the guide curve (circle), which I added.


points connecting_2024Mar6a.gh (38.8 KB)

This will take some explaining so please bear with me…

Instead of alignment with Anemone, the white group now has a “gene pool” component of five sliders that adjust the seam (start / end point) of each section separately. I found the best way to set them is to hide section curves spanning the middle three sections (now white) and enable the ColorBa component in the gray group, showing curves that span all five in colors (now black otherwise).

Start / end points are yellow. There is a Value List switch (blue group) offering the choice of “Use Discontinuites(seams snap to vertices) or “All Smooth” as shown above, where vertices are ignored. I think this is a clever bit of code. :sunglasses:

There are three disabled Loft components that can be interesting. The one in the orange group lofts the five section curves:

The two in the yellow group do closed lofts of the curves that span the section curves:

CAD games! :slightly_smiling_face:

P.S. (next day) Simplified purple group:


points connecting_2024Mar7a.gh (34.6 KB)

1 Like