Barrel Cam in a sewing machine

hi fellas, I want to make a barrel cam just like the video I am gonna upload but I can't, I've tried so much but every time there is a problem in it.

here is the file

SolidworksAssemblies
Answers 38
PS
PS 2017-09-20 Best Answer

Mahdi,..  I played with doing it and typically use surfaces as paths, in this case, I offset a face from the groove for the center and a point on the cam for the mate.

comment imagecomment image
MA
MA 2017-09-22

ah... would u plz upload the file for me? I need to examine it more closely

DB
DB 2017-09-22

Ka-ching

$$$$$$$$$$$$

Just kidding

JM
JM 2017-09-22

What version of SolidWorks are you using?

MA
MA 2017-09-22

2017

MA
MA 2017-09-22

I was just wondering how I am supposed to make that groove on the surface of the cylindar? With sweep cut or wrap?

If it's sweep cut, how do I find the appropriate curve?

DB
DB 2017-09-22

Excuse me Mahdi but are you a student?

Dave.

MA
MA 2017-09-22

yes I am a student. What difference does that make??

JM
JM 2017-09-22

Dave, that link is of no use to the OP other than to add confusion to the problem.

This problem is far more complex than might be initially suspected.

DB
DB 2017-09-22

Sorry J. Mather, but I wouldn't have thought so, but you definitely know better than I.

I was just trying to drop a hint rather than hand over the silver plate (you know how it works around here)

Dave.

JS
JS 2017-09-22

If this is a smooth (even) cut as it appears from the screen shot above, I would use a helix for the route of the swept cut.

DB
DB 2017-09-22

That's what I was hinting at Jim.

Dave.

JM
JM 2017-09-22

Take a look at the example that Paul posted in bc_mstr_layout.sldprt and the example in this thread.

I now have a better/easier technique than this one that I wrote 9 years ago, but not sure when I will get a chance to attach my new technique.

JM
JM 2017-09-22
<p>Jim Steinmeyer wrote:</p><p></p><p>If this is a smooth (even) cut as it appears from the screen shot above,<strong> I would use a helix</strong> for the route of the swept cut. </p>

Can you attach your example?

JS
JS 2017-09-22

Here is how I would make the cut. I haven't tried it but you might be able to attach the point on the follower to the helix as well and save having to offset the face.

JM
JM 2017-09-22

Sweeping a rectangle along a helix is not the same as sweeping a cylinder (end mill) along a helix to cut the slot.

I suspect there is probably a reason that Paul didn't present that "solution".

MA
MA 2017-09-22

I think I didnt made it clear for u what I am supposed to do? I suggest u take a look at my first post in this discussion to see what I am after, But after all I think I have made it but there is a little problem with the motion

here is the file

MA
MA 2017-09-22

And I should especially thank for ur help.

I suggest you to reconsider the way u help other guys here, and also the way u talk....

JM
JM 2017-09-22
<p>Mahdi Amirabadi wrote:</p><p><span style="font-family: inherit;">... I suggest u take a look at my first post </span></p>

I understood exactly what you wanted when I read your first post.

Can you ask your instructor to join this discussion.

JS
JS 2017-09-22

Ah, I see now. I didn't understand what would be different so I replaced the bottom of the rectangle with a radius like using an end mill and it worked just fine. Then I took the time to watch the video and I see he needed it to loop so a helix would not bring it back. The screen shot led me to believe that the slot just went from one end to the other.

I stand corrected, the helix will not work for this problem.

MA
MA 2017-09-22

my instructor? what do you mean by that?

JM
JM 2017-09-22

One method of instruction is to present a general solution (or two) and then ask the student to use what was learned to solve a third related problem (in this case - your specific problem).  Is your problem statement for someone to solve the problem for you - and present you with the final solution?  If so, that can be done too.

Because you indicated that you are a student - I assumed that you had an instructor that might be able to contribute to this discussion.

I am an instructor myself.

PR
PR 2017-09-22

This is similar to a cam latch mechanism I used earlier this year. I simplified the geometry to use as an example of how you can do this. On a side note it was made on a live axis lathe.

When it comes to surfaces I bow to ​'s expertise.

Hope it helps

TP
TP 2017-09-22

is this a class room assignment?

JS
JS 2017-09-22

Just read your tutorial and followed the thread you linked. WoW this is much more complicated than I envisioned. And considering the big guns that posted there with differing opinions I don't feel so bad about not seeing this correctly.

​, could you help me understand this better? When I envision this being cut I simplify it in my mind to hold the cutting tool stationary and rotate the work piece while pulling through the length. I know that the work piece would be stationary and a 4 or 5 axis mill would be used but for simplicity this helps me. Now as the tool goes through the material wouldn't it be perpendicular to the longitudinal axis at all times and this would create sides to the cut that are parallel to each other regardless of the bottom being square or rounded? Then if a helix were to be embossed on a wrap like you showed wouldn't it produce one side of the wave pattern as well?

     I know this is a little off from the original post, but as he is a student it might help to understand the theory as well so things can be done correctly in the future.

MA
MA 2017-09-22

No, I am a student but not a student for solidworks instruction, this sewing machine of mine was just a project I just intended to complete for myself.

But really I appreciate for your dedication in helping me. Thank you

PS
PS 2017-09-22

Mahdi,.. so,  to make this work, I added some notes to what I did per the features,.. I created a offset of the cylinder and trimmed away that using your path profile (but converting it using a single curve)  ..the, created a Ruled Surface (this is the path for the ball point)... and/also fixed or used that edge (pierce) for the cut path.  (see attached image and files)

comment imagecomment image
MA
MA 2017-09-22

Guys, I really appreciate it for all your help but finally I could make the barrel cam and its lever (I dont know what is the name of that thing in english) as you can see in a couple of posts above, but right now there is another problem I encountered. I want the cylindar rotate with a specific speed and the lever rotate around the pivot just like the movie I uploaded in my first post. I made a motor for rotation and to make the sphere just to go through the groove, I made contact between the sphere and the cylindar and I calculated with Motion analysis but there are two problems:

1- It takes so much time, I just wanted to know whether it is natural or not?

2- After calculating, I see that it is not completely precise and  interferences happen during motion and the sphere does not go through the groove exactly?

I would be so much grateful if anybody helps me.

and I am really sorry if my English is not that much good.

thank you

JM
JM 2017-09-22

Jim, turn on your sound.

https://youtu.be/qYvusSkq3D4

JS
JS 2017-09-22

Thank you for the extra effort. I await the results eagerly.

comment imagecomment image
JM
JM 2017-09-22

Hmmm, I thought I made it public.

Try this link.

Cylindrical Cutter Motion - YouTube

JS
JS 2017-09-22

Thank you, that helps me to understand why it is so difficult.

MP
MP 2017-09-22

​,

Thanks for posting that video.  In about 1 to 2 minutes I could completely see the issue here.  I suspected something similar, but sometimes seeing it really makes it crystal clear.

PS
PS 2017-09-22

J,... here you go.

comment imagecomment image
MB
MB 2017-09-22

I don’t design barrel cams but do have a product that has a similar groove. The attached file shows a different approach to making the groove.

The groove is not a perfect representation of the shape you would get with an end mill but is close enough for our purposes.  You can see the imperfection with SurfaceCut3.  3DSketch5 can be dragged around the path to check different locations.

The only way to get accurate groove surfaces would be with the solid tool sweep but it is very limited and doesn’t work most of the time so we use this method instead.

DB
DB 2017-09-23

Yep, I learnt a lot here also...............

Dave.

EK
EK 2017-09-23

Hi Mahdi,

A similiar problem was discussed in https://forum.solidworks.com/message/337548#comment-337548

Mark Biasotti made a great contribution worth checking out. I have also attached a model that you can study.

It shows how to create the offset curve analytically. Again a great learning tool.

Elmar