Coding a Solid of Constant Width : 4 Steps - berryhalseara
Introduction: Secret writing a Solid of Constant Width
Hello all,
aft seeing Angus from Lord's Muse I was inspired to code a solid of constant width. Therein instructable we will be coding a Reuleaux Tetrahedron, this ISN't a true cubic of constant breadth however, just information technology approximates IT.
Now solids of ceaseless breadth are very interesting objects, essentially they behave like spheres, but don't look like them.
The way we will beryllium fashioning ours is by intersecting 4 spheres with from each one other, using blocksCAD3d. This is a free online cryptography block plan, which also has an extension for OpenSCAD, you will ask an account but Eastern Samoa said they are free, and you volition get a luck of fun coding and creating your shapes.
More info and proof about the Reuleaux Tetrahedron can live found hither.
Supplies
- 3d pressman (if you want to print it)
Footprint 1: BlocksCAD3d
Make an account for blocksCAD3d, this is easy, if you ingest a Google account. If non, you will have to fill out a form.
Step 2: Coding
Here we testament cipher the solidified of staunch width, if you want more info on them I intimate looking Here.
First of we testament create two variables, a radius and a distance. The radius can glucinium set to any number just make sure it is big decent for your printer. The length is the radius halved.
Now we make a Sphere, that will intersect with our object (too a firmament) and cut parts off it. I will call this BottomSphere, but you send away call information technology however you want. The name ISN't evidentiary. For this we will use a module.
We are just translating the sphere a set amount for every different index it gets, we do this using a sine wave and a cos wave, because these are always shifted 90 degrees from each other.
Now we make the rest of the code right a couple of intersections to slue parts of our first sphere. And a final translate to make sure everything is Nice and centralized.
My code can constitute launch here.
Step 3: Printing
Afterward rendering our code, we can hit the Generate stl - clit, this will save the project file to the computer.
Impression this will be reasonably easy, you just penury to support the bottom of your solid. Normally the default fend for will dress this just fine.
Soh just drag and drop the file into your slicing plan using default settings, slice it, export the gcode to your printer, and start printing.
Step 4: Closing Thoughts
There are few constants of worthy width, now we made just one of them. Possibly in a future instructable I'll show how you can clear one in fusion 360. Don't leave to print a few and pose your syndicate with their cool characteristics.
Beryllium the First to Contribution
Recommendations
-
Anything Goes Contend 2022
Source: https://www.instructables.com/Coding-a-Solid-of-Constant-Width/
Posted by: berryhalseara.blogspot.com
0 Response to "Coding a Solid of Constant Width : 4 Steps - berryhalseara"
Post a Comment