Saturday, January 3, 2015

Mobius Strips

I designed a print in Mathematica of two Mobius strips orthogonal to each other at every point. This comes up in the study of stable and unstable manifolds of periodic orbits for ordinary differential equations -- if one of the manifolds is non-orientable, then the other one must also be non-orientable. I have made this shape out of paper, but it is surprisingly difficult. You cannot just make two Mobius strips out of straight pieces and expect them to mesh together nicely. At any rate, here it is.



Mathematica Version

 Printed version

Technical instructions:
1. Designed the two Mobius strips in Mathematica. The PlotStyle->Thickness[.2] and mesh->False commands seems to do a nice job of making the shape "manifold." (Note to mathematicians, manifold in the 3D printer world seems to be an adjective rather than a noun.)
2. Imported them both into Tinkercad, using the second one as a "hole" meaning that it did a set minus of one from the first.
3. Imported the set-minused version and separately the second Mobius strip into Makerware. I added a base made from a "Helper disk" in Thingiverse. The base is needed to make the shape stick to the build plate. Without a fairly large flat part the shape will not print. The Makerware raft does not seem to do the trick.


Success on iPad stand and a silly mashup

I finally had success on the octopus iPad stand by using Kapton tape with hair spray. Stuck to the build plate, but also came off.



I also made a silly mashup. 

Monday, December 29, 2014

Careful what you wish for

I have bought myself a home printer: FlashForge Creator Pro - dual, heated bed, pretty close to the replicator 2x. Learned a lot setting it up and have actually managed to get some things to adhere to the bed. I have had (and everyone does have) problems with the print sticking to the heated build plate, so was very proud to have found a secret method to get it to stick. Specifically, on blue tape before printing, smearing the bed with a glue stick. You know, the kind they use in kindergarten classes. I figure that someone’s kindergartner suggested it and that someone was just desperate enough to try it - only to find that it worked. (For Kapton tape, use hair spray instead of glue.)

Yesterday, I managed to make a Thingiverse design that is almost practical - octopus iPhone stand (shown below). Today I tried to follow up with the octopus iPad holder. Very impressive print, but the iPad holder stuck to the build plate so well that I spend 2 1/2 hours, exacto knives, putty knives, and several boxes of dental floss getting it off and had to break it in the process. (Luckily did not break the build plate!) Be careful what you wish for! Right now I am printing some accessories for the 3D printer. So self referential!


The iPhone holder: 
Dancers designed in iPhone App; Birds designed in iOrnament App - original design shown here (One shape identified, processed in InkLab and Tinkercad like the doodle in a previous post)



Self-reference print: A cover for the handle in order to better insulate (right shows it in action)


Technical notes: I printed most successfully with the raft and support off. There was a problem making sure the bed heated - it didn't seem the be the default. My settings were as follows: 
Temperature: 240 White / 230 Red / Plate: 110
Speed: 70 extrude /150 travel mm/s
Regarding blue tape vs. Kapton: I am still on the fence about this. Kapton is very hard to put on without trapping air bubbles. 

Designs used: 
iOrnament (for designing a viable tiling pattern)



Thursday, October 16, 2014

Nano blocks for printing


My friend Dave Benson (Univ. of Aberdeen) used nano blocks to build by hand a 3D mathematical object, namely a cubic surface. The process is pretty much the same as what the printer does, building up the surface layer by layer from the bottom to the top. Below are Dave's specifications. I hope to try this on the printer soon after my return. (That is, I will use the lazy's person's method for surface creation.)

Thanks Dave!

Here is the Magma code I used for producing the cubic surface in Nanoblocks:
R<u,v,w>:=PolynomialRing(RealField(8),3);
U:=2^(1/2)*u;
V:=6^(1/2)*v;
W:=(4*3^(1/2))*w/5;
x:=(3*U+V+2*W)/6;
y:=(-3*U+V+2*W)/6;
z:=(W-V)/3;
f:=R!(81*(x^3+y^3+z^3)-189*(x^2*y+x*y^2+x^2*z
+x*z^2+y^2*z+y*z^2)+54*x*y*z+126*(x*y+x*z+y*z)
-9*(x^2+y^2+z^2)-9*(x+y+z)+1);
g:=R!(3/5-u^2-v^2);
[[[(1+Sign(Evaluate(f,<i/20+1/40,j/20+1/40,k/20+1/40>)))
*(1+Sign(Evaluate(g,<i/20+1/40,j/20+1/40,k/20+1/40>)))/4
: i in [-16..15]] : j in [-16..15]] : k in [-13..26]];

The last line turns the equations into a set of matrices of zeros and
ones describing the layers, much like 3D printing. In each layer, the
ones are where both f and g are positive; the role of g is only to
intersect with a cylinder. The line defining f gives the equation of the
cubic in (x,y,z) coordinates. But this equation has a symmetry of order
three permuting x, y and z, so the cubic would point diagonally away
from the origin. I really wanted it to point upwards, so u, v, and w are
rotated from x, y, z by a transformation given in the first few lines.
The final piece of information you need is that nanoblocks are only 4/5
as high as they are long and wide, which is why the definition of W in
terms of w has a spurious looking factor of 4/5 in it. Hope that helps.

The particular equation of the cubic that I chose is the "Clebsch
diagonal cubic." In general, a nonsingular cubic surface has 27 lines on
it, over the complex numbers. This is one where all 27 of the lines are
real.

Press coverage

This blog has been on hiatus during my sabbatical at Brown (where there seem to be absolutely zero 3D printers!), but my 3D printer is featured in the following GMU News article:

http://newsdesk.gmu.edu/2014/10/using-3-d-printing-help-students-understand-calculus/


Monday, August 4, 2014

Constant width objects

Here is a print of some curves of constant width that are not circles called Reuleaux polygons.



To see that they are all the same width, here they are on the spine of a familiar book.


I used the STL file from

http://www.thingiverse.com/thing:61275

Note I was able to print all four at the same time in two hours. They aren't very tall, but they were quite far apart on the build plate, so there seems to have been some time advantage in quantity.

There is a discussion in

http://cp4space.wordpress.com/2013/10/27/curves-of-constant-width/


See also the 3D versions discussed in

 http://awesci.com/constant-width-objects-not-spheres/