How to plot a gear and move it?

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

KSSV
KSSV 2020년 8월 4일
Any pictoral example?
Francesco
Francesco 2020년 8월 4일
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.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2020년 8월 4일

댓글:

2020년 8월 4일

Community Treasure Hunt

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

Start Hunting!

Translated by