# Slot in a cylinder

**URL:** https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808
**Category:** Modeling Questions
**Created:** [May 30, 2019, 7:39pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808 "2019-05-30T19:39:48Z")
**Posts on this page:** 17
**Page:** 1

<div class="post-metadata">

### Author: ![project\_x](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@project\_x](https://discourse.shapr3d.com/u/project_x)
#### Post date: [May 30, 2019, 7:39pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/1 "2019-05-30T19:39:48Z")

</div>

I’m struggling with a CAD problem.

I have a cylinder with a horizontal slot and a hole.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/b/b2535a2dc7cfec36ff768468fa3942b7f7bc2282.jpeg)

I want to have an angled slot from the horizontal slot joining the hole…so as you rotate the cylinder, a pin slides across the horizontal slot and down the angled slot to the single hole.

I attempted a few different ideas but nothing seems to work for me.

---

<div class="post-metadata">

### Author: ![jetnoise](https://avatars.discourse-cdn.com/v4/letter/j/d26b3c/32.png) [@jetnoise](https://discourse.shapr3d.com/u/jetnoise)
#### Post date: [May 30, 2019, 9:54pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/2 "2019-05-30T21:54:25Z")

</div>

You might be able to project a Sketch onto the cylinder that matches the profile you need.

---

<div class="post-metadata">

### Author: ![one](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/one/32/3882_2.png) [@one](https://discourse.shapr3d.com/u/one)
#### Post date: [May 31, 2019, 2:43am UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/3 "2019-05-31T02:43:28Z")

</div>

Try to use revolve tool

---

<div class="post-metadata">

### Author: ![TigerMike](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tigermike/32/32650_2.png) [@TigerMike](https://discourse.shapr3d.com/u/TigerMike)
#### Post date: [May 31, 2019, 4:02am UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/4 "2019-05-31T04:02:41Z")

</div>

Hi Project-X,

Is this more or less what you had in mind?

-Mike

[https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/b/ba77ac7541f725e8f198bc4b6d28797cacf033f2.mp4](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/b/ba77ac7541f725e8f198bc4b6d28797cacf033f2.mp4)

---

<div class="post-metadata">

### Author: ![JST](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JST](https://discourse.shapr3d.com/u/JST)
#### Post date: [May 31, 2019, 4:55am UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/5 "2019-05-31T04:55:23Z")

</div>

Do you need this type ?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/c/c01a55a579537628ad5af18f96e99b8b9cab916d.jpeg)

---

<div class="post-metadata">

### Author: ![project\_x](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@project\_x](https://discourse.shapr3d.com/u/project_x)
#### Post date: [May 31, 2019, 12:36pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/6 "2019-05-31T12:36:59Z")

</div>

JST: That is exactly what I’m looking for.  
I’m not sure how one would do it if the hole was rotated onto the back of the cylinder.

---

<div class="post-metadata">

### Author: ![project\_x](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@project\_x](https://discourse.shapr3d.com/u/project_x)
#### Post date: [May 31, 2019, 12:39pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/7 "2019-05-31T12:39:56Z")

</div>

Mike, I was looking for a slot like JST had drawn.  
Im not sure what happens if the hole to join was farther around the rear of the cylinder.

---

<div class="post-metadata">

### Author: ![TigerMike](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tigermike/32/32650_2.png) [@TigerMike](https://discourse.shapr3d.com/u/TigerMike)
#### Post date: [May 31, 2019, 2:52pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/8 "2019-05-31T14:52:23Z")

</div>

Greetings all,  
It’s clear that I misunderstood your CAD problem.  
JST, good job on providing a solution.  
-Mike

---

<div class="post-metadata">

### Author: ![JST](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JST](https://discourse.shapr3d.com/u/JST)
#### Post date: [May 31, 2019, 2:59pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/9 "2019-05-31T14:59:49Z")

</div>

Hi! At first to make construction plane( perp to face at a point) draw the skecth on it then project to the face, after subtract.  
Or make the first steps then extrude the plan.  
After transport the new body to the cilynder, then substract.

 ![image](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/0/00fb4706536488bb1b1cb7499cae4e6f59efcf49.jpeg) ![image](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/f/f28a0afa0b12a2305825d57cf99e3313b7fb2599.jpeg)

---

<div class="post-metadata">

### Author: ![JST](https://avatars.discourse-cdn.com/v4/letter/j/edb3f5/32.png) [@JST](https://discourse.shapr3d.com/u/JST)
#### Post date: [May 31, 2019, 3:02pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/10 "2019-05-31T15:02:28Z")

</div>

What it will be? It looks like wing wigler part in my hobby?

---

<div class="post-metadata">

### Author: ![project\_x](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@project\_x](https://discourse.shapr3d.com/u/project_x)
#### Post date: [May 31, 2019, 5:39pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/11 "2019-05-31T17:39:43Z")

</div>

i want to slide an inner piston as i rotate this piece.

This method works provided the rotation required is small…what if the slot were locate 180\* around the cylinder…this method won’t work

---

<div class="post-metadata">

### Author: ![TigerMike](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tigermike/32/32650_2.png) [@TigerMike](https://discourse.shapr3d.com/u/TigerMike)
#### Post date: [May 31, 2019, 5:52pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/12 "2019-05-31T17:52:34Z")

</div>

Here, I took a different approach now that I understand what you want to do. I revolved a cylinder. Then I revolved what would be a solid slot in 2 pieces- one at 30 deg and the other in the opposite direction at an angle to the cylinder about 100 deg. Next, bring back the cylinder, subtract the slot, size the slot if desired, and then radius the slot accordingly.

-Mike

[https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/4/47d49b46f54d9e7e586560fe4fce5c17158a3a33.mov](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/4/47d49b46f54d9e7e586560fe4fce5c17158a3a33.mov)

---

<div class="post-metadata">

### Author: ![project\_x](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@project\_x](https://discourse.shapr3d.com/u/project_x)
#### Post date: [May 31, 2019, 6:18pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/13 "2019-05-31T18:18:04Z")

</div>

that is exactly what i’m trying to do.  
could you run thru step 2 and 3… **one at 30 deg and the other in the opposite direction at an angle to the cylinder about 100 deg**?

the rest makes complete sense…

---

<div class="post-metadata">

### Author: ![project\_x](https://avatars.discourse-cdn.com/v4/letter/p/8baadc/32.png) [@project\_x](https://discourse.shapr3d.com/u/project_x)
#### Post date: [May 31, 2019, 7:27pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/15 "2019-05-31T19:27:56Z")

</div>

Mike,  
one more time…

1. i have a face revolve it 30\*  
 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/e/e5163572f58e07541b5fe12e79601de976b9ece8.jpeg) ![PNG](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/7/7beb8fe3e8be88ba48ca805802eafd44e33f6982.jpeg)
2. I take the face and revolve it -45\* and down 25mm (face is 4.4mmx3mm, if that matters)  
 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/7/7f4511853f624ef136a372862632009d4866acfc.jpeg)
3. Then I subtract those from the cylinder  
 ![PNG](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/1/1eaa065490e9ef932e45cf04c0a909b7efee69ce.jpeg) ![PNG](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/5/5e54d2ccb66e984bb4f6df4047f985ab9cb2c090.jpeg)  
My issue must be in step 2 where my revolve has a distorted shape…what am I doing wrong?

---

<div class="post-metadata">

### Author: ![TigerMike](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tigermike/32/32650_2.png) [@TigerMike](https://discourse.shapr3d.com/u/TigerMike)
#### Post date: [June 1, 2019, 12:01am UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/16 "2019-06-01T00:01:28Z")

</div>

Hi there,  
I was out all afternoon and just got home. What you did looks correct as far as doing 2 partial revolves going in opposite directions. I believe the problem is with the height parameter of 25mm making the angled slot too steep. Reduce the 25mm to something like 10mm and see what that looks like. I hope that helps. If not, give me more specifics like the cylinder diameter, your desired slot info like angle of rotation at the cylinder and angle around the cylinder which I believe is 45 deg already.

Regards, Mike

---

<div class="post-metadata">

### Author: ![TigerMike](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tigermike/32/32650_2.png) [@TigerMike](https://discourse.shapr3d.com/u/TigerMike)
#### Post date: [June 1, 2019, 6:11am UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/17 "2019-06-01T06:11:32Z")

</div>

I think I have another solution for the steep angle of the slot down the surface of the cylinder. Use the sweep tool. I’ll go into more detail tomorrow.  
-Mike

[https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/8/80456cf4d5df331c9bd2bb12a5cbc69d42615d87.MOV](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/8/80456cf4d5df331c9bd2bb12a5cbc69d42615d87.MOV)

---

<div class="post-metadata">

### Author: ![TigerMike](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.shapr3d.com/tigermike/32/32650_2.png) [@TigerMike](https://discourse.shapr3d.com/u/TigerMike)
#### Post date: [June 1, 2019, 3:32pm UTC](https://discourse.shapr3d.com/t/slot-in-a-cylinder/4808/18 "2019-06-01T15:32:36Z")

</div>

Forget my previous response about using the sweep tool. Yes, I was able to use sweep similar to revolve but it is not needed here.  
project-x: in direct response to you last statement “My issue must be in step 2 where my revolve has a distorted shape…what am I doing wrong?”  
The slot really isn’t distorted but made quite narrow due to the steep dimension you gave for the height parameter. Do this: select a surface on the narrow part of the slot and increase opening to your desired spacing.  
-Mike

[https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/1/153c9582f6dea9b130558d16812bdb62f9927db6.MOV](https://us1.discourse-cdn.com/flex002/uploads/shapr3d/original/2X/1/153c9582f6dea9b130558d16812bdb62f9927db6.MOV)
