A part is Missing [But only at some values]

A GH beginner Q.
[Didn’t really know how to properly title this question]

In the attached example, and in the screenshot from my actual file:
At certain values, a prong is missing…
In the example 3 and 6 are missing a prong, while all the other are correct…?
In my working file, also 7 is missing one.
There’s likely a better way to feed these parameters into the Prongs node [ Peacock ] But this what I managed to figure out, and it seems it should work…? [works partly]

Missing Prong.gh (25.0 KB)

thanks a lot
Akash

Try like this:
2023-07-17 23_24_16-Grasshopper - Missing Prong_


For simple tasks like this one, where you just want to get sequential lengths, try to avoid custom components and use default grasshopper ones instead.

Your password-protected “Shatter Variable” is failing…

Missing Prong_exp.gh (110.4 KB)

Thank you Riccardo

The reasons I used that component are because I couldn’t find something else that at least partly worked from the default tabs I’m not successful getting it to work with the suggested Series component… and because Shatter Variable is from the same plugin as the Prongs component [Peacock] and I hoped it would be the correct one to use in there, as perhaps intended by the plugin creator @Dani_Abalde …?

Thank you @Quan_Li

Yes, adding a 0 to the list solves the missing prong [in the configuration where it is missing.
Only issue here is that it needs to be turned off for the configurations that show correctly without it, I added a -1 to the slider for manual control… but it would be great if there was a way for this to automatically work correctly in all configurations…?

Please see in the [slightly ] expanded example file. These prongs, ideally, needs to fit in all the different gems cuts [shapes]

Another things I’ll need to figure out is how to offset the prongs, in configurations where they are not in the correct location [example below] I think I know how to do this manually… for each configuration. But I wonder if there’s a way to do this automatically?

I can manually prepare all the useful configurations [of shapes and prongs arrangements]
and then call them with a Value List, only controlling the size parametrically…
Would this be the reasonable approach here?

thanks a lot
Akash

Missing Prong_exp Edited V1.gh (110.3 KB)


That parameter is for the distance.

Thanks a lot @Quan_Li
Your solution works great, but it took away the control over the number of prongs!
which is essential .

I tried using a Polygon component instead of the Hexagon, but it only works correctly with even numbers.
And it has an issue with the center location of the prongs determined by the seam and not the centroid

Missing Prong_Poligon.gh (114.1 KB)

Thanks a lot
akash

This component was developed for Rhino 5 and it still working fine in there:

On RH7 you can try to fillet the girdle curve or some kind of trick like this to avoid the discontinuity.

Shatter Variable is to be used with multiple input lengths. To fix the missing part issue in RH7, you can multiply the curve lengh by 0.999.

2 Likes

Thank a lot @Dani_Abalde

This works perfect with some of the gem shapes, however I get placement errors with quite a few shapes: #1 , 2 , 4 , 7 ,10 ,12 , 13 ,14

I used the Expression 1/x for the Series perhaps this is incorrect?

Some example below: [I did try different prongs numbers, and some shapes do get resolved at a certain number, and some don’t in any combination…]




Thank you for this great plugin, Just started to learn how to use it, it’s very interesting.

Akash

The prong locations are the actual curve parameters, so if you rebuild the girdle curve you make sure the curve parametric space is regular.

That’s correct.

1 Like

Thank you so much
with Rebuilding the girdle curves, prongs are now placed correctly in all the gem cuts.

Learned a lot from this thread and all the help given.

thank you all.

Akash