Skip to content

dymaxionkim/FGPG2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FGPG2

Fine Involute Gear Profile Generator 2 - with python3

Using on PC

  • Install python3 and git
  • Install some libraries :
conda install numpy matplotlib ezdxf pysimplegui
  • Clone this repository by git
  • Run :
python FGPG2.py

Build exe in MS Windows 10

  • Development version of pyinstaller is needed because of matplotlib matching issue.
pip install https://github.com/pyinstaller/pyinstaller/archive/develop.zip
pyinstaller --icon=FGPG2.ico -w -F FGPG2.py

Using on Android Device by Pydroid3

  • Install Pydroid3 in PlayStore
  • Install some libraries by Pip menu in Pydroid3 (numpy, matplotlib, ezdxf, pysimplegui)
  • Install mgit in PlayStore
  • Clone this repository
  • Load FGPG2.py and run

Using on Linux

  • Anaconda3 has Tk font problem.
  • In pyenv Environment
pyenv install 3.11.3
pyenv global 3.11.3

pip install numpy
pip install matplotlib
pip install ezdxf
pip install pysimplegui

python FGPG2.py

UI Buttons

  • Working Directory : Output files are saved here.
  • Load : Load Inputs.dat and every parameters are set.
  • Run : Calculate, Plot, Save plotted images, Save dxf, Save csv
  • Toggle : Change output image
  • Exit : Finish

Input parameters

  • m : Module
  • z : Teeth number
  • alpha : Pressure angle
  • x : Offset factor
  • b : Backlash factor
  • a : Addendum factor
  • d : Dedendum factor
  • c : Radius factor of edge round of hob (root)
  • e : Radius factor of edge round of tooth (edge)
  • x0 : Center position
  • y0 : Center position
  • seg circle : Number of contol points for pitch, offset and base circles
  • seg involute : Number of contol points for involute curve
  • seg edge r : Number of contol points for edge trocoid rounding
  • seg root r : Number of contol points for root trocoid rounding
  • seg outer : Number of contol points for outer arc
  • seg root : Number of contol points for root arc
  • scale : Scale factor for one tooth plot

Output files

  • Inputs.dat : Parameters data for UI
  • Result.csv : Gear spec data

  • Result.dxf : dxf CAD file for one tooth

  • Result.png : Gear geometry for whole teeth

  • Result2.png : Gear geometry for one tooth

Ref.

Thank you!