Thursday, January 29, 2015

Superb_owl

Could not resist printing the timely Superb Owl. Model (and pun) by Zheng3

Saddle in Two Colors, Level Sets Version

In Saddle with Two Colors, I printed a saddle surface with a Cartesian coordinate system, indicating the parametrization used to print it. Here is another saddle surface, this time with level sets. 




Depicted with a pencil, to show scale







Multicolored Heads

One head would be tacky!


Monday, January 19, 2015

Smoothing Scanned Data

Two printed versions of another scan. The original object is smooth, but the scan introduces ridges. The right version is printed as it comes out of the scanner, but the left version is smoothed in MeshLab using Laplacian smoothing. Still not clear to me what to do if the original object has an interesting texture. 


Sunday, January 18, 2015

IRL to IRL!




to turn this ceramic head


into a digitized 3D object (shown in MeshLab), which we printed with the 3D printer. 


Look, we're identical! 

 The idea that this technology is not only possible but affordable for individuals is unbelievably exciting!

 Details: The scanner finds a point cloud (i.e. set of three-dimensional data points) on the head. The scanner's software then creates a meshed surface. The surface created was not yet watertight and manifold, meaning that it did not define a printable object. Sometimes the issue is that the object has holes, the wrong topology, or does not have an inside and an outside because the outward normal vectors had some errors (calculus!), so we repaired the surface using the online Netfabb repair service. The fact that the head is a single color and matte (unglazed) makes the scanning much easier. The scanner sweeps up and down, and even managed to capture the nostril holes. 


Friday, January 16, 2015

Spinodal decomposition

A metal alloy is formed by heating two metals to a high temperature homogeneous mixture, which is then quenched (rapidly cooled). As it cools, phase separation sets in at the microscopic level. That is, if you look on the atomic level, the metals are no longer evenly mixed, and their mixture is an interesting pattern, something like a spot pattern on a leopard (but in three dimensions). The type of pattern -- or phase -- depends on the composition of the alloy and the quenching speed. One such quench is spinodal decomposition. This pattern is modeled by a fourth order partial differential equation called the Cahn-Hilliard equation. The model above is a spinodal decomposition on a very small box of alloy, where the plastic represents one of the two metals, and the air represents the other metal.

The model was made by simulating the Cahn-Hilliard equation, using Paraview to get a level set from the three-dimensional data, printing this figure with support given by a dissolvable filament. So when the print came off the printer, the box was completely filled. Then I put the print in an acid called D-Limonene. The acid dissolves the filament, leaving only the desired shape.

As a side note on the acid experience, D-Limonene is made out of highly concentrated orange rind and  is an ingredient in some air fresheners. Even though I left the container with the acid sealed in the garage, for several days the entire house smelled like someone had over freshened the air. Even after several soaks in water, the print still has a pleasant orangey tang.

Morse theory and torus level sets

The sets of fixed height (level curves) on the torus standing on end change topologically when the height hits the hole.  The bottom level set is a point, followed by one loop between the bottom at the hole, a figure eight at exactly the where the hole starts,  two loops inside the hole, and then everything in reverse order on the top half ending in a point at the very top. This is a popular illustrative example in the study of Morse theory.


Things looked kind of a mess before removal from the build plate, but that turned out to be the dual build fence rather than the model.

Thursday, January 15, 2015

A Matter of Size

Each of these shapes is less than 2 inches and took less than an hour to print. Much more immediate gratification than fancy large prints!




Whereas the one below took 12 hours and fell over in the middle to produce a large mess. The second image shows how this a side view to see that the plot had gotten more than 2 inches tall. 




A side note being that the FlashForge home printer seems to be better calibrated than the Makerbot 2X at the university. On an identical protractor print (not shown), the writing was unreadable on the work print and perfect on the home print.  Have not figured out if it's an inherent problem or can be fixed. 

Follow up 1/16/15: The animals were shown around to 6th graders and were met with unbelievable enthusiasm. I had already shown my mathematical prints to one of them. Reaction "I didn't realize that the printer could make such fun stuff too!" 





Monday, January 12, 2015

Monkey Saddle

As a follow up to the last post, the previous saddle is not practical for a monkey, as it does not leave room for a tail. Thus the following monkey saddle:



Mathematically, the graph of the function f(x,y) = (x^3 - 3 x y^2)/2. It has the property that at the center it is even flatter than the standard saddle.

Visible calculus:  The print ended up having some issues at this center point due to overhangs, whereas this didn't happen in the standard saddle. First printing issue to delight me.

Technical note: The standard monkey saddle function does not include the 1/2, but this made for too steep a figure, which started to break off at the corners. Next time I will split the difference and make the factor perhaps 3/4 to address the overhang problem.



Sunday, January 11, 2015

Saddle in two colors

Here is a quartic surface: a standard mathematical saddle surface with a second color to show the parametrization. This shape has a point (the middle point) at which all partial derivatives are zero, but the point is neither a maximum nor a minimum. It is created in Mathematica by plotting the graph of the function x^2 -y^2 + 1 on the unit square.





Technical notes determined by trial and error (or more accurately error and error and error ad naseam)

-The parametrization lines are created using the Tube command in Mathematica.
-This was printed with neither raft nor supports.
-The blue base pieces is needed in order to make the print work without falling over, the thickness of the white surface is 2, and the thickness of the blue parametrization is 2.5.
-In order to make the blue base pieces, I made spheres in Mathematica and used the hole options in Tinkercad to cut off the bottom half.  Do not just leave the sphere intact and assume that the printer will ignore the part below the build plate. This actually seems to stop the printer for a long time and set  there thinking about printing the bottom half of the sphere.
-Do not try to print something too steep - it seems that if it's about the same height as length and width you'll be better off. A steep piece can break off the base under its own weight. On the other hand, too wide will give the dreaded overhangs of more than 45 degrees.
-The side walls that are printed on the dual print can topple over. This seems to be a build plate adhesion problem.  No consistent solution to this problem.

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.