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]
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…
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 …?
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 @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