render of a sample board produced with help of this plugin. it's pretty, has nice lighting and all!

From KiCad To Blender For A Stunning Render

We love Blender. It brings you 3D modeling, but not in a CAD way — instead, people commonly use it to create animations, movies, games, and even things like VR models. In short, Blender is about all things art and visual expression. Now, what if you want a breathtaking render of your KiCad board? Look no further than the pcb2blender tool from [Bobbe 30350n].

This isn’t the first time we’ve seen KiCad meet Blender. However, compared to the KiCad to Blender paths that people used previously, pcb2blender makes the import process as straightforward and as quick as humanly possible. Install a plugin for both tools, and simply transfer a .pcb3d file out of the KiCad plugin into the Blender plugin. Want to make the surfaces of your design look like they’re meant to look in real life? Use the free2ki plugin to apply materials to your 3D models. In fact, you should check out [30350n]’s Blender plugin collection and overall portfolio, it’s impressive.

There’s no shortage of Blender hacks – just this year we’ve covered a hacker straight up simulating an entire camera inside Blender for the purpose of making renders, and someone else showing how to use Stable Diffusion to texture 3D scenes at lightning speed. We even recently published a comprehensive tutorial on how to animate your robot in Blender ourselves! Want to give it a shot? Check out this quick and simple Red Bull can model design tutorial.

Thanks to [Aki] for sharing this with us!

A small widescreen laptop repeating the ThinkPad style. It looks cute; sadly, it does not exist.

[Dana Sibera] Creates Devices That Don’t Exist

[Dana Sibera], known as [@NanoRaptor] on Twitter, makes us wonder about devices that could have been, and wince about devices that must never see the light of day – summoned into existence by her respectable photo editing and 3D modeling skills. Ever wanted to see a Model M with a small green-tinted CRT built into its side? Now you have. Perhaps, a “self-tapping” DE-9 plug with wood screws for pins? Tough luck, here it is anyway, but you can have a palate cleanser if it was too much to bear. Having started over a year ago with the classic “spicy pillows, but actually pillows” design, she keeps gracing us with portrayals of tech and tech-adjacent objects straight from the depths of her imagination.

None of the things she shows exist in real life, some regretfully and some thankfully so, but that’s not the first thing on your mind when you stumble upon a cube-shaped iPod with a built-in equalizer in your Twitter feed. Pictures like this “cassette ROM” or the deluxe woodgrain 386DX are quite apparent in what they are. On the other hand, devices like this “Mini VGA” dongle or the amber CRT-adorned TI92 Plus might have you reach for your wallet before you realize what’s up, and the photographic-proof-accompanied assertion about early floppy drives being punchcard-based might have you believe you are just not up to date on your retrocomputing trivia. Continue reading “[Dana Sibera] Creates Devices That Don’t Exist”

3D ASCII art

Online Tool Turns STLs Into 3D ASCII Art

If you look hard enough, most of the projects we feature on these pages have some practical value. They may seem frivolous, but there’s usually something that compelled the hacker to commit time and effort to its doing. That doesn’t mean we don’t get our share of just-for-funsies projects, of course, which certainly describes this online 3D ASCII art generator.

But wait — maybe that’s not quite right. After all, [Andrew Sink] put a lot of time into the code for this, and for its predecessor, his automatic 3D low-poly generator. That project led to the current work, which like before takes an STL model as input, this time turning it into an ASCII art render. The character set used for shading the model is customizable; with the default set, the shading is surprisingly good, though. You can also swap to a black-on-white theme if you like, navigate around the model with the mouse, and even export the ASCII art as either a PNG or as a raw text file, no doubt suitable to send to your tractor-feed printer.

[Andrew]’s code, which is all up on GitHub, makes liberal use of the three.js library, so maybe stretching his 3D JavaScript skills is really the hidden practical aspect of this one. Not that it needs one — we think it’s cool just for the gee-whiz factor.

Continue reading “Online Tool Turns STLs Into 3D ASCII Art”

Hackaday Links Column Banner

Hackaday Links: December 13, 2020

Our Sun is getting a bit frisky these days, and has rewarded us with perhaps the best screensaver image ever taken. The incredibly detailed photo of a sunspot was actually taken back in January by the Daniel K. Inouye Solar Telescope, a 4-meter instrument with adaptive optics that can image the sun from the near-infrared to visible wavelengths and resolve surface details down to 20 km. The photo, with a distinct “Eye of Sauron” look, shows the massive convection cells surrounding the dark sunspot; an accompanying animation shows the movement of plasmas along the tortured lines of magnetic flux that cause the sunspot to form. It’s fascinating to watch, and even more interesting to mull over the technology that went into capturing it.

With the dustup surrounding the youtube-dl DCMA takedown by GitHub fresh on the open-source community’s minds, GitHub Universe 2020 had an interesting discussion about maintaining open-source software projects that’s worth watching. They focused on the challenges that youtube-dl maintainers face in keeping the tool working, and the impact their effort has on the people and groups that rely on them. To underscore that point, they featured a researcher with Human Rights Watch who depends on youtube-dl in her work, and made it quite clear that keeping up with all the API changes that constantly break open source tools like youtube-dl make the role of the maintainers that much more critical.

Speaking of GitHub, here’s a frightening and fascinating new tool: Depix, the password de-pixelizer. Developer Sipke Mellema noticed that his company often used pixelization to obscure passwords in documentation, and wondered if he could undo the process. He wrote up an article describing the pixelization process using a linear box filter and his method for attacking it, which involves generating a De Bruijn sequence in the same font, text size, and colors as the original document and feeding a screenshot of that and the pixellated password into the tool. We suspect it’ll only work for a subset of obfuscated passwords, but it’s still pretty clever.

‘Tis the season for Advent calendars, and the folks at QEMU have posted theirs. Open each of 24 doors on the calendar and you’re rewarded with a downloadable QEMU disk image that implements something fun. Minesweeper, a ray tracer that fits into a boot loader, and of course Conway’s Game of Life. The GW-BASIC image on Day 3 caught our eye — brings back some memories.

For anyone who has ever watched a Pixar film and wondered how all that animation actually works, here’s a great lesson in making art with math. The video is by Inigo Quilez and goes through the basics of rendering images using raymarching SDFs, or signed distance functions. In the beginning, it seemed like it was going to be a little bit like drawing an owl, but his descriptions of the math involved and how each element of the animation is just another formula is fascinating. What’s more, there’s a real-time rendering tool where you can inspect the code and edit it. Alas, my changes only made things worse, but it was still fun and instructive to play with. Check out the video after the break!

Continue reading “Hackaday Links: December 13, 2020”

RasterCarve Converts Images To CNC

CNC machines are an essential part of the hacker’s toolset. These computer-controlled cutters of wood, metal and other materials can translate a design into a prototype in short order, making the process of iterating a project much easier. However, the software to create these designs can be expensive, so [Franklin Wei] decided to write his own. In particular, he decided to write his own program to engrave images, converting a photo into a toolpath that can be cut. The result is RasterCarve, a web app that converts an image into a GCode that can be fed into a CNC machine.

Continue reading “RasterCarve Converts Images To CNC”

Build Your Own Raytracing Minion

A canceled project left [Craig] with six Raspberry Pi based devices he calls “Minions”. A minion is a Raspberry Pi model A in a small enclosure with an Adafruit 2.2″ 320×240 SPI LCD. The LCD lives in a lollipop style circular housing above the base. [Craig] has found a use for one of his minions as a desktop raytracer.

The Raspberry Pi is quite capable of running Persistance Of Vision Raytracer, or POV-Ray. POV-Ray started life as an early PC based raytracer. Created as a port of an Amiga program called DKBTrace, which was itself a port of a Unix raytracer, POV-Ray first was released in 1987. For the uninitiated, raytracers like POV-Ray  literally trace rays from a light source to an image plane. As one would imagine, the Raspberry Pi’s little ARM processor would take quite a bit of time to raytrace a high resolution image. However, when targeting a 320×240 LCD, it’s not half bad.

[Craig’s] minion is running his own software which he calls ArtRays. Based upon a setup file, ArtRays can render images from several sources, including the internet via a WiFi dongle, or a local SD card. Rather than walk through the setup and software install, [Craig] has provided a link to download a full SD card image to build your own Minion. It might be worth experimenting on your own first though, rather than killing his server with a 1GB download.

We’re glad [Craig] has found use for one of his minions, now we have to see what he’s done with the other five!

Soap, Candles, And Toiletries From Deer Fat

Here’s a hack with more of a survivalist flair to it. [Ligament] and some friends used the fat from butchering a deer to make soap, candles, and toiletries.

It’s hunting season and [Ligament’s] dad is processing the deer which he harvested. Wild game doesn’t have the amount of fat you’d find on a domesticated animal, but there is still a fair amount. The group cut off as much as they could before cutting up the rest of the meat. The trimmings are put in a pot with water and boiled until the fat starts to rise. It is ladled off and strained through some cheese cloth. The fat hardens overnight and can be picked up out of the container as a big disk. It is reheated and strained through a mesh coffee filter to achieve the final product. From there the fat was used as an ingredient in the recipes for candles, soap, and things like lip balm. For details on that heck out the comments for each image in the gallery linked above.

It’s a good thing to waste as little as possible. But this skill will be indispensable once the Zombie Apocalypse comes. You might also want to know how to chlorinate your own water.

[via Reddit]