Ask Hackaday: Help Me Pick A CAD Package

Of all the skills that I have picked up over the years as an engineer, there is one that has stayed with me and been a constant over the last three decades. It has helped me work on electronic projects, on furniture, on car parts, robots, and even garments, and it is likely that I will continue using it periodically for the rest of my career. You see, I am a trained PAD expert.

Don't build this, it's fundamentally flawed! Sometimes the front of an envelope is as effective as its back.
Don’t build this, it’s fundamentally flawed! Sometimes the front of an envelope is as effective as its back.

PAD, you ask? OK, it’s an acronym of my own coinage, it stands for Pencil Aided Design, and it refers to the first-year undergraduate course I sat many years ago in which I learned technical drawing to the old British standard BS308. If I’m making something then by far the quickest way for me to visualise its design is to draw it, first a freehand sketch to get a feel of how everything will sit, then a series of isometric component drawings on graph paper with careful attention to dimensions and angles. Well, maybe I lied a little there, the graph paper only comes in when I’m doing something very fancy; the back of an envelope is fine as long as the dimensions on the diagram are correct.

Continue reading “Ask Hackaday: Help Me Pick A CAD Package”

Mastering OpenSCAD Workflow

As you may have noticed in our coverage, we’re big fans of OpenSCAD around these parts. The fact that several of the Hackaday writers organically found and started using the parametric CAD package on their own is not only a testament to our carefully cultivated hive mind but also to the type of people it appeals to. Hackers love it because it allows you to model physical objects as if you were writing software: models are expressed in code, and its plain text source files can be managed with tools like git and make. If you’re a real Pinball Wizard you could design objects and export them to STL without ever using a graphical interface.

But as you might expect, with such power comes a considerable learning curve. OpenSCAD devotee [Uri Shaked] recently wrote in to share with us his workflow for designing complex interacting mechanisms, which serves as an excellent primer to the world of parametric design. From animating your models to recreating the “vitamins” of your build, his post contains plenty of tips that can help both new and veteran OpenSCAD users alike.

Perhaps the biggest takeaway from his post is that you should be thinking of your projects as a whole, rather than as individual models. [Uri] recalls his early attempts at designing mechanisms: designing each component individually, printing it out, and only then finding out if it fits together with the other pieces. This method of trial and error is probably familiar to anyone who’s designed their own 3D printed parts — but it’s slow and wastes materials. The alternative, as he explains it, is to design all of the pieces at the same time and “assemble” them virtually. This will allow you to check clearances and fitment without dedicating the time and materials to test it in the real world.

In fact, as [Uri] explains, you’re better off spending your time bringing real-world parts into OpenSCAD. By carefully measuring the hardware components you want to interact with (servos, gears, switches, etc), you can create facsimiles of them to use as a reference in your OpenSCAD project. As time goes on, you can build up your own library of drop-in reference models which will accelerate future designs.

He also spends a little time talking about something that doesn’t seem to be terribly well known even among the OpenSCAD converts: you don’t have to use the built-in editor if you don’t want to. Since OpenSCAD source code files are plain text, you can write them in whatever editor you like. The OpenSCAD model viewer even has an option specifically for this scenario, which will cause it to update the rendered preview as soon as it detects the source has been updated. For [Uri] this means he can create his designs in Visual Studio Code with a constantly updating preview in another window.

If you’re looking for examples of what the parametric capabilities of OpenSCAD can do for you, we’ve got no shortage of excellent examples. From creating customized computer cases to saving time by using mathematically derived components. Our very own [Elliot Williams] even has a write up about that most glorious of OpenSCAD commands: hull().

You Got A 3D Printer, Now What?

Given the incredibly low prices on some of the models currently on the market, it’s more than likely a number of Hackaday readers have come out of the holiday season with a shiny new desktop 3D printer. It’s even possible some of you have already made the realization that 3D printing is a bit harder than you imagined. Sure the newer generation of 3D printers make it easier than ever, but it’s still not the same “click and forget” experience of printing on paper, for instance.

In light of this, I thought it might be nice to start off the new year with some advice for those who’ve suddenly found themselves lost in a forest of PLA. Some of this information may seem obvious to those of us who’ve spent years huddled over a print bed, but as with many technical pursuits, we tend to take for granted the knowledge gained from experience. For my own part, the challenges I faced years ago with my first wooden 3D printer were wholly different than what I imagined. I assumed that the real challenge would be getting the machine assembled and running, but the time it took to build the machine was nothing in comparison to the hours and hours of trial and error it took before I gained the confidence to really utilize the technology.

Of course, everyone’s experience is bound to be different, and we’d love to hear about yours in the comments. Grand successes, crushing defeats, and everything in between. It’s all part of the learning process, and all valuable information for those who are just starting out.

Continue reading “You Got A 3D Printer, Now What?”

Husband Uses MRI Images To 3D Print Wife’s Skull And Tumor

[Michael Balzer] shows us that you are your own best advocate when it comes to medical care – having the ability to print models of your own tumors is a bonus. [Michael’s] wife, Pamela, had been recovering from a thyroidectomy when she started getting headaches. She sought a second opinion after the first radiologist dismissed the MRI scans of her head – and learned she had a 3 cm tumor, a meningioma, behind her left eye.  [Michael], host of All Things 3D, asked for the DICOM files (standard medical image format) from her MRI.  When Pamela went for a follow-up, it looked like the tumor had grown aggressively; this was a false alarm. When [Michael] compared the two sets of DICOM images in Photoshop, the second MRI did not truly show the tumor had grown. It had only looked that way because the radiologist had taken the scan at a different angle! Needless to say, the couple was not pleased with this misdiagnosis.

However, the meningioma was still causing serious problems for Pamela. She was at risk of losing her sight, so she started researching the surgery required to remove the tumor. The most common surgery is a craniotomy: the skull is sawed open and the brain physically lifted in order to access the tumor below it. Not surprisingly, this carries a high risk of permanent damage to any nerves leading to loss of smell, taste, or sight if the brain is moved the wrong way. Pamela decided to look for an alternative surgery that was less invasive. [Michael] created a 3D print of her skull and meningioma from her MRIs. He used InVesalius, free software designed to convert the 2D DICOM files into 3D images. He then uploaded the 3D rendered skull to Sketchfab, sharing it with potential neurologists. Once a neurologist was found that was willing to consider an alternative surgery, [Michael] printed the skull and sent it to the doctor. The print was integral in planning out the novel procedure, in which a micro drill was inserted through the left eyelid to access the tumor. In the end, 95% of the tumor was removed with minimal scarring, and her eyesight was spared.

If you want to print your own MRI or CT scans, whether for medical use or to make a cool mug with your own mug, there are quite a few programs out there that can help. Besides the aforementioned InVesalius, there is DeVIDE, Seg3D, ImageVis3D, and MeshLab or MeshMixer.

3D Printing RC Airplanes That Fly: An Engineer’s Chronicle

In the past, creating accurate replicas of models and fantasy objects was a task left to the most talented of cosplayers. These props need not be functional, though. [Steve Johnstone] takes replica model-building to the next step. He’s designing and building a model airplane that flies, and he’s documenting every step of the way.

Armed with a variety of 3D printing techniques and years of model-building experience, [Steve] is taking the lid off a number of previously undocumented techniques, many of which are especially relevant to the model-builder equipped with a 3D printer in the workshop.

As he continues his video log, [Steve] takes you through each detail, evaluating the quality of both his tools and techniques. How does a Makerbot, a Formlabs, and a Shapeways print stand up against being used in the target application? [Steve] evaluates a number of his turbine prints with a rigorous variable-controlled test setup.

How can we predict the plane’s center-of-gravity before committing to a physical design? [Steve] discusses related design decisions with an in-depth exploration of his CAD design, modeled down to the battery-pack wires. Though he’s not entirely finished, [Steve’s] work serves as a great chance to “dive into the mind of the engineer,” a rare opportunity when we usually discover a project after it’s been sealed from the outside.

3D printing functional parts with hobbyist-grade printers is still a rare sight, though we’ve seen a few pleasant and surprisingly practical components. With some tips from [Steve], we may complete this video journey with a few techniques that bump us out of the “novelty” realm and into a space where we too can start reliably printing functional parts. We’re looking forward to seeing the maiden voyage.

Continue reading “3D Printing RC Airplanes That Fly: An Engineer’s Chronicle”

3D Printering: Making A Thing In AutoCAD, Part II

printering

It’s time once again for another part in 3D Printering’s series of Making A Thing. Last week was a short tutorial on the beginnings of making a thing in AutoCAD. This is an extremely complex software package, and in a desire to make things short and sweet, I broke this AutoCAD tutorial into two parts.

Since we already covered the 2D design portion of AutoCAD, part II of this tutorial is going to turn our 2D part into a three-dimensional object. Check out the rest of the tutorial below.

Continue reading “3D Printering: Making A Thing In AutoCAD, Part II”

Hackaday Links: Christmas Eve, 2012

It’s Christmas Eve, the perfect time to interact with your extended familial units, eat cookies, nog things up a little, and watch Die Hard. Christmas Eve also means it’s a low-effort day here at Hackaday, so here’s a few cool things we’ve run across in the past few weeks.

A Round OLED Display

1_13inch_Round_OLED

That right there is a circular OLED display. [ArtistEngineer] over on reddit found this display on AliBaba. It’s a 1.13 inch diameter display with a resolution of 128×128 (yeah, we don’t know either). This looks like a great display for a DIY wrist watch, digital gauge, or loads of other devices where a square display doesn’t make much sense.

There seems to be a few circular OLED display manufacturers – including Truly Semiconductors who happened to put up a datasheet for their round display – but sourcing these in reasonable quantities is a pain. Anyone up for a group buy? Think of the fun you’ll have coding a polar coordinate display!

Computing with transistors

gate

So you know computers are made up of simple logic gates, latches, buffers, and other miscellaneous digital cruft,  but how do we turn these digital circuits into a computer? Over the last few months, [Andrew] has been putting up a bunch of blog posts on the application of digital logic. Start out on the ‘Computing with Transistors’ post before moving on to The Digital State and Circuits and Arithmetic. There’s some good readin’ there.

 Embedding 3D objects in a web page

Go ahead. Click it. It’s Sketchfab that allows anyone to publish interactive 3D designs without a browser plugin. If anyone out there is trying to build a Thingiverse clone that isn’t tied to Makerbot, consider using this for the preview page for each object.

Surprisingly, Twinkies were the one thing that didn’t survive the Apocalypse.

twinkie

While there’s no use in mourning the death of the Twinkie – Little Debbie also makes small cream-filled cakes – you might as well include some Twinkies, Snowballs, Ding Dongs, and Ho-Hos in your Christmas baking. [scoochmaroo] on Instructables put together a list of homebrew recipes for the now defunct Hostess snack cakes.

Perfect for autonomous robots

code

[maxogden] over on the gits put together a script for automatically joining wireless networks on Linux. This was tested on a Raspberry Pi, and we’re thinking it would be perfect for whatever autonomous creation you’ll be building in your workshop next year.