How to plot a gear and move it?

13 views (last 30 days)
Francesco
Francesco on 4 Aug 2020
Commented: Francesco on 4 Aug 2020
Good morning.
I'd like, if it's possible, to make the following graphical simulation: I'd like to plot the 2D profile of a gear shaper tool and a blank circular piece (a circumference). I want to move them, rotate the tool and blank and translate the tool radially, according to some calculated and known positions, for given instants of time. For every set of positions in time, I'd like to subtract the tool area from blank area to see the material removal.
-Does exists a simple way, maybe a function, to draw a gear? -Which functions can help me to rotate and translate the two curves? I was thinking to make a cycle in which I plot consequently the curves in their new positions.
Thank you.
  2 Comments
KSSV
KSSV on 4 Aug 2020
Any pictoral example?
Francesco
Francesco on 4 Aug 2020
Thank you for your answer!! I tried to post an example below. I was thinking to a routine as follow: - plot in some way the blank (simple, it's a circle) and the tool (hard, it's a gear) - put the plot in a For cycle with index that goes from thr instant zero to the length of the working process - for every instant of time, step of the cycle, replot the figures moving the tool center radially and rotating the tool and the blank according to known positions. - subtract the tool area from the blank area for every step of replotting
I'll try to find also a way to select when to stop the simulation. For example, at a given instant of time. When the cycle reads that index=instant, it stops the iteration.

Sign in to comment.

Answers (0)

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!