Add support for rendering gears

Used a modified file from the inherited_files/XYgears folder