# Adjust pin slot design on moving curves

**URL:** <https://discourse.mcneel.com/t/adjust-pin-slot-design-on-moving-curves/182336>\
**Category:** Grasshopper\
**Tags:** windows, curve, grasshopper2, grasshopperrhino, rhino8\
**Created:** [May 18, 2024, 4:28pm UTC](https://discourse.mcneel.com/t/adjust-pin-slot-design-on-moving-curves/182336 "2024-05-18T16:28:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![noambdr](https://sea3.discourse-cdn.com/mcneel/user_avatar/discourse.mcneel.com/noambdr/32/574844_2.png) [@noambdr](https://discourse.mcneel.com/u/noambdr)\
**Post date:** [May 18, 2024, 4:28pm UTC](https://discourse.mcneel.com/t/adjust-pin-slot-design-on-moving-curves/182336/1 "2024-05-18T16:28:10Z")

</div>

![main-01](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/b/0/3/b03f549a7289dcc262eaf26cb0b6acb86a40a00c.jpeg)  
 ![bad.good-01](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/0/7/7/077e03f41ccd9754381df9a32d7fe3f26adfad34.jpeg)

 ![Screenshot 2024-05-18 121652](https://global.discourse-cdn.com/mcneel/uploads/default/original/4X/6/6/7/6679c0e1923f22ce10393646f28dab908dadc597.jpeg)

Hello, I need help to model the flow wall desk by Robert van Embricqs. the desk has flush vertical slats that twist and unfold into a tabletop. Each of the slats has two joints. At the bottom where it connects to the top of the desk is a revolving joint. In the middle of each slat where it meets the rod is a pin slot. The motion of the desk slides on the rigid rod that runs through the slats.

I need help modelling the pin slot. I believe the pin slots form an arc facing up when the desk is closed, and it faces down when the desk is open.

I think I’m close to modelling this however, when the desk is open and the arc faces down, the base of the arc isn’t a straight line. I need help modelling the position of these pin slots, please.

I’m attaching my script below, to make it simpler I internalized some dimensions and geometries, but I kept all components relevant to what I’m trying to do.

If you can help me out, it would be much appreciated. Thank you!

[help please.gh](https://discourse.mcneel.com/uploads/short-url/kH0iiMd413QSRKxwM6z83QenABY.gh) (69.3 KB)
