Hello everyone,
I am trying to do a bi-fold rotation on this two lines, but not quite reaching the (maybe) final part of logic. Which should be the line endpoints lay together.
Bifold daught.gh (6.9 KB)
Hello everyone,
I am trying to do a bi-fold rotation on this two lines, but not quite reaching the (maybe) final part of logic. Which should be the line endpoints lay together.
Please clarify more by sketching
So I manage to do what I wanted with lines. But now I am trying to do it with a box and struggling to find out, how the other extremity of the box would run in X axis while rotating anchored on the first box vertice.
Bifold daught2.gh (24.8 KB)
Anyone?
Bifold daught2 a.gh (27.5 KB)
@Piotr The problem with this aproach is that the “door leaves” will cross each other like what is happening in the red circle, while the whole sistemshould be operating like the green circle vertex
Bifold daught2 b.gh (28.3 KB)
Thanks, this solution is what I was looking for, now I will take time to understand the logic behind it.
Shakes fist at @leopoldomonzani and @maje90
Ah well, here’s another one, this way with angles and trigonometry.
Bifold TN1.gh (17.8 KB)
nice, way more complex, but nice
My motivation was assuming that the geometry of each leaf could get as complex as you like, and include ironmongery etc so long as you have a reference plane for each one. Substitute the “make 2 boxes” group for any kind of modelling operations you like.
you assumed right, i am struggling right now with the other scripts to put the not so simplified door geometry on them.
Bifold daught2 c.gh (32.5 KB)
Nice. I probably could have got mine down to something this slim if I’d tried harder (and remembered that Right Trigonometry doesn’t have Triangle in the name so I wouldn’t see it when typing Triangle in the search box
)
Ok, you win ![]()