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.

Internal key slot in cylinder

Not having much luck figuring this out. I need to make an internal slot in a cylinder. I thought maybe drawing lines on the wall and extruding the section, but I cant seem to draw on that surface. Maybe along the same vein, I was curious about an easier way to make external slots for snap rings other than drawing and extruding two circles. Any help would be appreciated

Best Answers

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,688
    Answer ✓
    Hi Casey - it depends on what the slot looks like (axial/radial). Have you tried revolving a profile around the axis of your cylinder? Revolving a rectangle around the axis is another way to make a snap ring groove.
    Senior Director, Technical Services, EMEAI
  • daniel_chowdaniel_chow Member Posts: 108 ✭✭✭
    Answer ✓
    Hello Casey, I assume its a keyway in a shaft that you're after... here is what I would do:

    Step 1: start a new sketch on the end of the shaft where you want the keyway. Click the "use" tool to use the end of the shaft as part of your new sketch.


    Step 2: on that new sketch, draw a circle of the same diameter and concentric to the shaft.
     

    Step 3: Sketch the keyway, add dimensions (which is what I didn't do)


    Step 4: Extrude the keyway using the new sketch as a new part, reverse the direction so the new part interferes with the shaft.


    Step 5: Use the boolean tool to subtract or remove the new part from the shaft and you're done. 


    I should mention that I'm a beginner and this may not be the move time effective way of doing it. But it only takes about a minute. 
  • brucebartlettbrucebartlett Member, OS Professional, Mentor, User Group Leader Posts: 2,141 PRO
    Answer ✓
    @casy_jensen normally when creating a keyway slot you would extrude through from the end face with end on profile of the keyway. Make sure you have the Remove checked in the extrude dialogue to remove material rather than adding. For future reference you can only sketch planes or flat surfaces, this is the same for all MCAD programs.

    Not sure if this what you are after, you could share a picture or even the URL of the public Onshape file (copy it out of your browser and paste here) to give us more detail. 


    Engineer ı Product Designer ı Onshape Consulting Partner
    Twitter: @onshapetricks  & @babart1977   

Answers

  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,688
    Answer ✓
    Hi Casey - it depends on what the slot looks like (axial/radial). Have you tried revolving a profile around the axis of your cylinder? Revolving a rectangle around the axis is another way to make a snap ring groove.
    Senior Director, Technical Services, EMEAI
  • casey_jensencasey_jensen Member Posts: 3
    That makes sense for the snap rings. But yes, the slot would be lengthwise. How do i draw on the cylinder wall itself? Seems like the program doesn't see it as a plane that I can draw on. Extremely new to any type of computer drafting also
  • NeilCookeNeilCooke Moderator, Onshape Employees Posts: 5,688
    If your cylinder axis goes through the origin then there are 2 orthogonal planes you can draw on and extrude a cut from there. The depth of the cut will be measured from that plane though. A sketch can only be drawn on a flat plane. 
    Senior Director, Technical Services, EMEAI
  • daniel_chowdaniel_chow Member Posts: 108 ✭✭✭
    Answer ✓
    Hello Casey, I assume its a keyway in a shaft that you're after... here is what I would do:

    Step 1: start a new sketch on the end of the shaft where you want the keyway. Click the "use" tool to use the end of the shaft as part of your new sketch.


    Step 2: on that new sketch, draw a circle of the same diameter and concentric to the shaft.
     

    Step 3: Sketch the keyway, add dimensions (which is what I didn't do)


    Step 4: Extrude the keyway using the new sketch as a new part, reverse the direction so the new part interferes with the shaft.


    Step 5: Use the boolean tool to subtract or remove the new part from the shaft and you're done. 


    I should mention that I'm a beginner and this may not be the move time effective way of doing it. But it only takes about a minute. 
  • daniel_chowdaniel_chow Member Posts: 108 ✭✭✭
    Here is another way of doing this. As Neil mentioned, you cannot sketch on a curved surface. BUT you can start a new sketch on an OFFSET PANE that touches the curved surface. Here's how: 

    Step 1: Find the diameter of your shaft, D/2 = radius which will be the distance of the offset pane.


    Step 2: Create a new pane offset to the radius of the shaft. 


    Step 3: Create a new sketch based on that new offset pane. You can now sketch on the "surface" of the curved shaft


    Step 4: Sketch the length and width of your keyway


    Step 5: Extrude the depth of your keyway as a new part, change its direction, you now have an interference which we will fix with the boolean tool. 


    Step 6: Use the boolean tool to remove the new part from the shaft and correct the interference problem


    I should mention that you will of course want to dimension and constrain your keyway, I didn't do that because I'm just showing how to do it. 
  • brucebartlettbrucebartlett Member, OS Professional, Mentor, User Group Leader Posts: 2,141 PRO
    Answer ✓
    @casy_jensen normally when creating a keyway slot you would extrude through from the end face with end on profile of the keyway. Make sure you have the Remove checked in the extrude dialogue to remove material rather than adding. For future reference you can only sketch planes or flat surfaces, this is the same for all MCAD programs.

    Not sure if this what you are after, you could share a picture or even the URL of the public Onshape file (copy it out of your browser and paste here) to give us more detail. 


    Engineer ı Product Designer ı Onshape Consulting Partner
    Twitter: @onshapetricks  & @babart1977   
  • casey_jensencasey_jensen Member Posts: 3
    Thanks everyone for the answers, I'm sure il be back with more questions. Really appreciate everyone taking the time to answer 
Sign In or Register to comment.