Wednesday, September 25, 2013

I've started a new blog!

I've copied the first post here, but please visit the following site for future posts:

http://bio-inspired-mechanical-design.blogspot.com/

--

Nature is a beautiful thing. 

Mechanical engineering is as much philosophy as it is a science. It's a beautiful discipline because it requires an understanding of the world, and an understanding of people.

I am always looking for inspiration everywhere I go, and in everything I do. I believe that Mechanical engineering requires inspiration and lifelong learning; and that one's life should be lived with passion so that everything one appreciates may become a source of knowledge and inspiration. This frame of mind is what inspired my paperweight:





In the book FUNdaMENTALS of Design [1], professor Alex Slocum states that one's "mind is a giant bio neural net, just waiting for new connections to be made!" By developing and practicing a systematic process to go about solving problems, one can develop a "rapid design reflex" to solve problems quickly and effectively "with a minimum of floundering!" He is a great advocate for deterministic design, and after taking two courses with him (Precision Machine Design, Development of Mechanical Products), I've tried to absorb his wisdom and form my own process largely inspired by his.

One's bio-neural-net gets bigger and better with more sources of knowledge and inspiration, from the broad to specific. As he says, with practice, both the process and the reflex become hard-wired into your net. I also believe that your net gets stronger under tension, and if you continue to face the tension, you can activate your net to produce something truly amazing. The best part about it, is that this tension should bring you happiness. 
In reality, the most brilliant designers are those that have a bio-neural-net programmed for deterministic axiomatic thought while simultaneously achieving rapid-fire multi-techno happiness enhancement [1].
Why am I bringing this up? Well this semester I am taking a course at MIT 2.S994 - Biomimetics, Biomechanics, and Bio-inspired Robots. Over the course of the class, we will learn how to design experiments, create dynamic simulations, and build a robotic device inspired by a particular animal (I haven't decided which one yet, but I have some ideas). The course is taught by Prof. Sangbae Kim, who is developing the cheetah bot at the MIT Biomimetic Robotics Lab [2]. He's a great lecturer and his passion for his work is contagious.

I'm starting a new blog to share the scientific articles from our course, which up until this point have focused on locomotion, as well as some specific creatures that inspire me. Stay tuned for more posts, but here is the first:


The mantis shrimp is one of my favorite animals.
http://www.chicagonow.com/greenamajigger/2013/04/the-peacock-mantis-shrimp-punches-hard-enough-to-break-aquarium-glass/

Not only because it is magnificent in appearance, but their eyes have some of the most incredible properties of any living thing.

http://photography.nationalgeographic.com/wallpaper/photography/photos/underwater-creatures/peacock-mantis-shrimp/

They also have one of the most interesting defense mechanisms:


http://www.backofthecerealbox.com/2012/06/hadouken-of-undersea-world.html

I wouldn't do justice describing it here, but you can find a nicely illustrated description here:

and a funny and informative video about them here: 
https://www.youtube.com/watch?v=F5FEj9U-CJM

More to come - enjoy!


[1] http://web.mit.edu/2.75/fundamentals/FUNdaMENTALS.html
[2] http://biomimetics.mit.edu:8100/wordpress/

Sunday, September 8, 2013

How To Design Awesome 2D Curvy Things For CNC Machines Using Illustrator and Solidworks


The purpose of this post is to share a technique that has proven to be very useful for designing and optimizing complicated tool paths for use with machines such as the waterjet, laser cutter, vinyl cutter, shopbot, and more importantly CNC mill.

These machines all take *.dxf formats as inputs to cut stock. G-code is the common language that a numerically controlled machine understands. If you've ever written G-code (this practice is less common nowadays due to software tools like Mastercam), you know that G-code essentially only knows how to instruct the machine to move in straight lines and arcs. So generating tool paths for pockets isn't a terrible challenge, but...


what if you want a CNC mill to engrave a pigeon like the one above?


Here is where the unlikely combination of Illustrator and SolidWorks really comes in handy. This technique requires a series of iterations, and it works even better if you're also familiar with Photoshop. If you're an MIT student, you're in luck because MIT just installed a suite of Apple computers in the athena cluster on the 5th floor of the student center (W-20), and they come equipped with Photoshop, Illustrator, and InDesign.

You'll begin by importing your desired image into Illustrator and using the Live Trace feature. This tool works wonders and essentially does most of the work for you. Another way you could experiment with the image before tracing it in Illustrator is with the threshold tool in Photoshop.

In the first iteration, you can play with the tracing options until you have your desired curviness. Below are common starting values for a black and white image. You can see that Illustrator has smoothed out the edges and has changed the radii of the image. If you also know Photoshop, after the first iteration, you can use the magic wand tool, or the smudge tool to further increase the radii and smooth out the drawing. When CNC machining, a large radius is your friend.



Once you are happy with your image, you then have to export it as a *.dxf file to edit in Solidworks, and add mathematical relations as necessary. On the last trace, I typically use the "Strokes" option instead of the "Fills" for a cleaner export. 
This sketch is what the typical export looks like after manipulating the image in Illustrator. You can either set the page size in Illustrator, or scale the figure to the desired size in SolidWorks.

For every dot you see in the drawing, that means the machine that will interpret it will have more steps to complete. A nice tool path will have as few dots, or segments, as possible. For example, instead of small joined splines, try to create an arc that will fit the path. Doing so will not only reduce your machining time, but give you a cleaner cut. This rule of thumb is especially true for tool paths on the waterjet. 

The lab for MIT 2.008 (Design and Manufacturing II) gives us about 12 minutes to machine the paperweight. The total machining time on the mill was about 7 minutes, and about 4 minutes for the lathe. Here is the result:

For my next paperweight (the shop guys are usually nice about letting you do more than one, and if it's a really cool design, you can convince them to help you with more complex tool paths), I wanted to add a bit more intricacy. I thought this decal from Yuri's Night would make a great gift for my younger brother, who had just received his pilot's license, and was going to give the keynote speech at the 56th Annual Goddard Memorial Dinner.


You could import this picture into SolidWorks and trace it with splines and arcs, but this could take hours. If you use a vector graphics program, you could easily generate the drawing file and import it into SolidWorks as a sketch, which you can then modify and dimension to get the desired details. Using the trace feature makes this process fairly simple.

This paperweight is a bit more interesting since it has negative space on the underside, and layers on the face. The total time on the mill for this one was a little under 20 minutes, and about 5 minutes for the lathe.



Combining SolidWorks and Illustrator also works well for rapid prototyping techniques. Here's an idea for a pair of shades from my notebook, for example:


Simply crop the image out, import it into Photoshop, remove the text, then trace it in Illustrator.
The design for this drawing took a few more iterations than the previous designs, since I wanted to keep the hand draw lines to maintain the proportions I drew using my intuition instead of starting with a dimensioned SolidWorks sketch. Here is the first iteration using the Live Trace feature:


You'll notice that the parameters for this drawing are different than the ones I used for the other images. It takes a bit of getting used to the trace tool, but once you get the hang of it the process becomes much faster.
This was my first import into SolidWorks, and it's pretty ugly to work with since the sketch wasn't that great to begin with. I ended up tracing over most of the lines and deleting the squiggles. After mirroring the image and tracing it once more, below is the next iteration in SolidWorks.

While the sketch above still doesn't look too optimized, I could then save the lines as a picture to import into Illustrator, trace the image to get nice smooth lines as shown below:
These lines are much easier to work with, and after importing it into SolidWorks and mirroring a half, here is the result:

These lines could be improved further, but they were good enough for my application, since I only wanted a looks-like model, and I would first be using a laser cutter to make the parts.
Here's the prototype:




What do you think about this process? If you have a better method, I would love to hear about it. I would also love to see any paperweights or other designs that employ the technique outlined above. If it's a really cool design, I could help execute it too!

Wednesday, December 12, 2012

Do What You Love To Make The World A Better Place

I recently watched this TED video that highlights the importance of doing work that you are passionate about, not only to be a happy person, but to inspire others to do the same as well.

The importance of knowing yourself should not go underemphasized. The sooner you can find out what it is that makes you happy and what you can be passionate about, the sooner you can go after it with everything you've got. Some important questions to ask yourself are: 

- What am I good at and what do I like to do?
- How do I make important decisions and what do I value?
- What important life experiences have I gone through, and what can I learn from them?
- What is it about people you look up to that makes you aspire to be like them?

To sum up the message of the video: Surround yourself with amazing people and find the thing you can't not do. Discover what that is so we can inspire ourselves to take action and do what we love, to inspire others to do the same.

There is no one who embodies that more than my younger brother, who recently sent his video submission for a scholarship. Please view the video to see a living example of these principles!

https://www.youtube.com/watch?feature=player_embedded&v=jpe-LKn-4gM
http://www.youtube.com/watch?feature=plcp&v=GDhU4t1pgV8

EDIT:

Update: Here is my brother's keynote speech at the National Space Club's 56th Annual Goddard Memorial Dinner http://www.youtube.com/watch?v=cn9I4kEFO60

Friday, December 7, 2012

Nothing To Lose, Everything To Gain

My friends, sometimes without knowing, inspire me to do amazing things. Sometimes it's by friendly competition, and other times when I tell them my crazy ideas, they simply tell me to go for it because I have nothing to lose. For some reason this happened twice today. For one, I managed to connect with the CEO of my dream company, but I'll write a whole post about that another day.

The other one I want to focus on today is that I will be "pitching" to a seed-stage venture capital firm tomorrow, Romulus Capital. It's not necessarily pitching because what I really want is feedback. They are offering 15 minute sessions to MIT students, and I will first pitch Roli Polies, then some other software ideas I've been kicking around in my head. We'll see how it goes - I have nothing to lose, and everything to gain. Plus, it would be fun meeting other young entrepreneurs at MIT.

Wednesday, December 5, 2012

Roli Polies: The Beginning

Today marks the beginning of Roli Polies. Roli Poli Wheelies will offer people faster, lighter, short range transportation. I've been contemplating this idea for about two years and I've finally decided that it was time to take action and execute the idea. I registered the domain here: www.rolipolies.com. I will finish the concept development by Christmas time and begin customer validation, however, I plan to develop the technology regardless of what happens. While I know this goes against the lean startup mentality, I believe the learning experience will be more valuable than making money.

This is what you get if you visit rolipolies.com as of 12/6/12:


I used a website called launchrock.com to create my "launching soon" page. Their site is very simple to use and while it can be a little bit glitchy, I definitely recommend it because it allows you to create a page very quickly. Along those lines, I used namecheap.com to register the domain name for the website. With the little time that I've been using them, I already like it more than the wix registry I used to create saulopez.com

Speaking of which, Dharmesh Shah came to speak to our class - Founder's Journey, or Entrepreneurship in Engineering - and he gave us tips on inbound marketing and SEO techniques. I have applied those to optimize my personal portfolio, saulopez.com. While I do like my current one, it doesn't transition well from web to mobile (due to iOS and flash problems) and I've had to create a separate mobile bounce page of the site here: m.saulopez.com

My friend Cody - of peregr.in - and I will be working on our startups this IAP (4-week Independent Activities Period during the winter at MIT). As part of my incubation period for my startup, I will be learning web design to develop rolipolies.com and my new portfolio. I am intrigued by web design because it emphasizes elegant design and user experience. During IAP, I will be developing a prototype for my startup, learning ruby on rails, working on my research - http://fluid.media.mit.edu/projects/luminar - with the Fluid Interfaces Group at the MIT Media Lab, and on the final week, I will go to China for the Service Leadership Program (SLP) to teach engineering design to high school students. It's going to be a lot of work, but I'm excited for the road ahead.


Why?

I've been inspired by a wise entrepreneur to create a blog. I'll do my best to create content regularly, although I might forget about it from time to time. My goal is to post updates on my entrepreneurial pursuits, professional and academic endeavors, and share some of the knowledge that has been passed on to me from meeting successful CEOs through MIT's Entrepreneurship In Engineering course, "The Founder's Journey." This is my journey.