Customisable Klein bottle (OpenSCAD)

Customisable Klein bottle (OpenSCAD)

Description

I Saw This (Quite Old) Challenge Online: Https://Www.Makerbot.Com/Media-Center/2011/10/11/Openscad-Challenge-Klein-Bottle I Could Not Resist Making My Own! I'M Perfectionist, I Made It As Perfect As I Could. I Made It Using Bezier Curves Because That Was A Lot Easier Than Trying To Model The Shape By Removing "Donnut" Shapes Around It (I Could Not See A Neat Solution To Do This). Since There Is No Bezier Functionality In Openscad, I Had To Create My Own, From An Existing Library Found On Thingiverse. The Bottle Is Easy To Customise. I Added 4 Variables At The Beginning Of The Files: - Wallthickness - Bottleheight - Bottlediameter - Tubediameter The "Precision" (Number Of Polygons Generated) Is Also Configurable. I Set It To 180 To Generate The Stl Files. I Might Have Exaggerated, The Stl Files Are Quite Large! I Also Uploaded A "Cut" Version To See Inside The Bottle. That One Is For Education Purpose, And Also To Prove That I Didn'T "Cheated". Bezier Library: Http://Www.Thingiverse.Com/Thing:2170645 Note: The Library Is Quite Small, I Uploaded It With The Model For Simplicity. [2017-03-13] This Model Doesn'T Print Well. I Need To Adjust The Wall Thickness And Flatten The Bottom. I Will Upload A Version 2 Very Soon. [2017-03-14] Uploaded V2 - Updated Version Of The Library ```Bezier.Scad```, Thicker Walls And Flat Bottom. The Bottle Body Is Now Entirely Made With Bezier. I Also Fixed The "2-Manifold" Warning Which Was Due To Floating Point Noise. If You Prefer The Round Bottom (As It Was Before), You Can Edit The File ```Klein-Bottle_V2.Scad``` And Change ```Bottlebezier(True);``` To ```Bottlebezier(False);``` In Module ```Bottle()```. Hopefully It Will Be Easier To Print With These Adjustments. [2017-03-18] Today, I Started Experimenting With Slic3R. I Discovered That My "Floating Point" Correction Was Good To Get Rid Of Openscad Warning, But Made My Stl Unusable In Slic3R. I Tried To Use To "Fix Stl File" Function In Slic3R But It Made It Worse. I Re-Generated My Version 2 Without The Floating Point Correction, And Now It Works Nicely In Slic3R. Having A Warning In Openscad Is Better Than Having A Stl File That Can'T Be Printed.

Statistics

Likes

127

Downloads

0

Category

Math Art