Non Circular Gears

Non Circular Gears

Description

Non Circular Gears - (Superellipse, Ellipse, Circular) First Attempt On Some Heavy Functional Programming In Openscad It'S Not Quick But It Gets The Job Done. A C# Program Will Calculate In 10 - 100Ms With 16000 Iterations Here Iterations Are Limited By Recursion Max, And At Best It Takes 40 Sec To Calculate, More Often Longer Up To 8 Min Seen. The Number Of Iterations Could Be Lowered, But The Best Results Come With High Numbers, So I Left It High At 5000 With Numbers Higher Than 5000 I Begin To Get Recurse Error ################################################################### Only Enable One Drawpolargearset As Each Can Take More Minuts To Calculate, And Lock Openscad Until Done. If You Get Recurse Errors - Try Edit->Prefrerences Advanced Tap Set "Turn Off Rendering" To 4000000 It Works On My Setup ################################################################### More Info About Non Circular Gears Can Be Found In My Article At Codeproject - Search For "Drawing Gears - Circular And Non Circular" As The C# Version Requires More Support Programs, Like Sketchup With Stl Export Addon To Generate The Stl Files And Some Knowledge Of Ruby. This All Inclusive Openscad Version Is More Easy To Use. If You Don'T Wan'T To Play Around With Parameters In Openscad The Stl Files Are Ready To Be Printed Naming Of Stl Files: Major Axis, Minor Axis, Power, Revolutions, Centerinfocalpoint, Maximumlengthbetweenpoints, Numberofteeth Scale 0.85 Has Been Applied To: - 25_15_4_1_True.Stl - 25_15_4_2_True.Stl - 25_15_4_3_True.Stl - 25_15_4_4_True.Stl This Ensure The Largest 25_15_4_4_True.Stl Fit My Printbed Scale 2 Has Been Applied To: - 15_15_4_1_False_Dot125.Stl - 15_15_5_1_False_Dot125.Stl - 15_15_6_1_False_Dot25.Stl - 15_15_7_1_False_Dot35_48.Stl - 15_15_8_1_False_Dot35_64.Stl - 15_15_9_1_False_Dot40_72.Stl This Ensure The Fine Teeth On The Last Gear Can Be Printed All Other Stl Files (I Haven'T Printed Yet) Are Unscaled Todo: Other Parametric Gear Designers Have Added Helix, Herringbone To Normal Gears Planetary Gear Sets. Have Printed Many Gear Sets And They All Mesh And Run, Some Of The Of The Gears With Offset To The Centers Have To Be Helped To Turn As Teeth Can Pop Out Of Mesh Due To Gravity And/Or Load Forces. Have Used Scale To Adjust The Size Of Gears To Fit My Printer, The Largest Gear Set In A Serie Determin The The Scale To Be Used For All Sets In The Serie. This Scaling Was Done In Replicatorg As I Prepare The Stl To Be Printed, You Could Do It In The Openscad Before Saving The Stl With A Small Change To The Code. For The More Math/Programming Interested This Could Be Used For Study: Some Good Learning Can Be Made And Some Things I Haven'T Figured Out Yet. - Best Search Algorithm, To Find Optimal Center Distance. -- Why Does The Methode Used Work Better Than A Standard Binary Search? - How To Speed Things Up In A Program Language With Alot Of Limits. -- Skipping Calculations -- Tweeking Tolerances -- Limit Iterations - How To Overcome The Jump In Values The Power Functions Used To Generate The Superellipse Data Has. -- Line Function - How To Get Enough Data Points To Get A Good Aproximation Of Perimeter Length/Tooth Placement. -- Tweeking Tolerances -- Line Function - How To Use Functional Programming, To Solve A Complex Problem. Have Fun..

Statistics

Likes

9

Downloads

0

Category

Engineering