No label defined (Q56448)
Jump to navigation
Jump to search
No description defined
Language | Label | Description | Also known as |
---|---|---|---|
English |
No label defined
|
No description defined
|
Statements
Ever since I saw the Mobius Heart earlier this week: http://www.thingiverse.com/thing:13861 I've been slaving away at the forge trying to replicate that feat in a solid math sort of way. This thing represents a parametric torus, which is NOT the same thing as being able to create a heart shaped Mobius strip, but it is one step closer. Basically, you can give the torus a function which determines the profile of the cross section of the torus as it sweeps around. In this case, I've used the SuperEllipse formula: http://en.wikipedia.org/wiki/Superellipse You could just as easily substitute a 2D superformula and make even more wild Torii. The critical piece of code is right here: local seprofiler = param_superellipse.new({ XRadius = 3, ZRadius = 20, N = 0.2, }) local lshape = shape_torus.new({ HoleRadius = offset, ProfileSampler = seprofiler, USteps = 90, WSteps = 180, MinPhi = math.rad(0), MaxPhi = math.rad(360), -- Great circle MinTheta = 0, MaxTheta = math.rad(360), -- profile }) addshape(lshape) Just change the values on that param_superellipse thing and you'll get different shapes. If 'N'=1, for example, you'll get more classic Ellipse/Circle behavior. 'N'<1, you get more squarish. 'N' > 1, up to around 5, and you get the pointy thing going on. While I was out exploring the moon using this model: http://www.thingiverse.com/thing:14011 I came across a space ship, which you can see modeled here. There was some sort of inscription, which I interpret to mean: "All Your Toroid Are Belong to Us!" I took a scan of the inside, and as you can see, it's empty in there. Further proof that the aliens have long since left our civilization behind. And also further proof that the moon, and everything that surrounds it, is nothing more than an inflated toy.
0 references
WilliamAAdams
0 references
auto
0 references
1.0.0
0 references
www.thingiverse.com
0 references
en
0 references
https://spdx.org/licenses/CC-BY-4.0
0 references
thingiverse.com
0 references