Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

slider mate help

don_howedon_howe Member Posts: 126 ✭✭✭

I read the help file on the slider mate but I am not sure who to apply it to my design. I have a Revolute mate which rotates my door and what I would like to do is have the door slide back. In my design I have a groove along the edges of the door and a ledger strip that would support the door as it slides back. My document name is Barrister Bookcase 2.0

Answers

  • S1monS1mon Member Posts: 2,989 PRO
    edited November 2023
    You should be able to use a pin-slot mate.
  • Matt_ShieldsMatt_Shields Member, Onshape Employees Posts: 419
    Maybe not necessary, but I added a 3rd part.  The intermediate part has a pin-slot mate with the main bookshelf and a revolute with the door.

  • S1monS1mon Member Posts: 2,989 PRO
    At first I wrote a very similar answer to @Matt_Shields. You can make a dummy part or even use an assembled sketch as an intermediate. I haven't actually tested it out, but looking at the help documentation it seems like a pin-slot could work, but I'm not sure if the optional limits will work the way you would want.
  • don_howedon_howe Member Posts: 126 ✭✭✭
    Maybe not necessary, but I added a 3rd part.  The intermediate part has a pin-slot mate with the main bookshelf and a revolute with the door.

    @M@Matt_Shields, I think I need to see how you actually did the mates. I have a revolute mate now for the door but when I try the pin-slote mate I get  over defined. So there is something I am missing or not seeing. 
  • eric_pestyeric_pesty Member Posts: 1,891 PRO
    @don_howe
    Just a pin slot should work for this (i.e. it would also replace your revolute so I wouldn't worry about them conflicting). I think this is a case where you would have to order the mate selection with the "slot" first and "pin" second.

    See this video for an "in depth" discussion of what I mean:

    https://www.youtube.com/watch?v=9dAkfGNdgGU
  • don_howedon_howe Member Posts: 126 ✭✭✭

    Thanks everyone for you help. I have had a modicum of sucess but I still need help. In the screen captures I've manged to swing the doors open and slide the door back, however as you can see in the bottom image, I can push the door back in an unexpected way. Well, unexpected for me. So, I must have something not set right. I am unsure what "Faces to connect" are doing for me. I have tried negitive intergers in the X and Z limits but that gives error results. What am I missing or not seeing?
  • eric_pestyeric_pesty Member Posts: 1,891 PRO
    @don_howe
    Hard to see exactly what is going on but try reversing the selection order in the mate dialogue.
    Faces to connect won't do anything for you (i.e. it's just for stress simulation, not "motion" simulation)...
  • don_howedon_howe Member Posts: 126 ✭✭✭
    edited November 2023
    Re-ordering the mate connetors did not work. It simply pushed the "X" distance on the opposite side and causes the door to swing in from the bottom rather than the top.
  • eric_pestyeric_pesty Member Posts: 1,891 PRO
    @don_howe
    I'm guessing you need to adjust the mate connector orientation on the door part to be in the sliding direction, and the door mate connector should be first:

    https://cad.onshape.com/documents/68a2bab3a8ebca0071f08603/w/ce288b38b6ec8f3c038a1bbd/e/a2ddeb34f6957755be32926b?renderMode=0&uiState=65455790a607f210024b3d4e


  • Matt_ShieldsMatt_Shields Member, Onshape Employees Posts: 419
    Eric's solution is much more elegant, but I also managed the movement by creating a dummy part (the transparent one) to constrain the path of the end of the door.  I have two tangent mates, each between one of the gray cylinders and the dummy part.


  • eric_pestyeric_pesty Member Posts: 1,891 PRO
    @Matt_Shields
    Your solution stops the part from sliding until it has rotated so it's a more accurate representation of the actual motion.

    I tried adding a tangent mate as well and sort of works but gets "stuck" when dragging (unless you make sure to "pull" it out against the slider limit) so it's not great:


  • don_howedon_howe Member Posts: 126 ✭✭✭
    @ eric_pesty

    I tried the tangent mate and as you say it gets stuck. 
Sign In or Register to comment.