Ancestors

Written by Guy Dupont on 2025-01-04 at 21:00

Wrote a script to generate these "Iso Slice-O" drawings directly from 3D model files (with a tiiiny bit of manual SVG cleanup at the end). Ran it on some of the most popular models and I'm obsessed with the results using white ink / black paper

=> View attached media | View attached media | View attached media

=> More informations about this toot | More toots from gvy_dvpont@mastodon.social

Written by Guy Dupont on 2025-01-04 at 21:01

First step takes in a number of slices and runs through the STL file vertically to get cross sections, and produces an SVG for each. Here's the output:

=> View attached media

=> More informations about this toot | More toots from gvy_dvpont@mastodon.social

Written by Guy Dupont on 2025-01-04 at 21:03

Then I iterate through each layer and use OpenSCAD to extrude by a given amount and recreate an STL file for each.

=> View attached media

=> More informations about this toot | More toots from gvy_dvpont@mastodon.social

Written by Guy Dupont on 2025-01-04 at 21:04

I then use the PyVista library to place the STL file in space and take a picture of each with virtual lighting on. I always take the snapshots from a fixed global isometric position. I use the calculated camera from the largest slice, which ensures all will be in view.

=> View attached media

=> More informations about this toot | More toots from gvy_dvpont@mastodon.social

Written by Guy Dupont on 2025-01-04 at 21:05

This is the strangest step - I quantize the image down to 3 colors, and then I have a script trace each of the resulting contours. So now I have SVG paths of the EDGES of the 3D object in space. This results in some duplicate paths but that all comes out in the wash

=> View attached media

=> More informations about this toot | More toots from gvy_dvpont@mastodon.social

Toot

Written by Guy Dupont on 2025-01-04 at 21:06

Last bit of Python stacks all the edge SVGs with a fixed vertical offset (which works because of the viewing angle) and then I manually fill in the faces I want drawn (like 5 mins of clicking in inkscape) - there's probably a way to automate this but I like doing a finishing pass

=> View attached media

=> More informations about this toot | More toots from gvy_dvpont@mastodon.social

Descendants

Written by PierreNick :apple_old_logo: 💾 on 2025-01-04 at 21:10

@gvy_dvpont This is so cool. Art!

=> More informations about this toot | More toots from pierrenick@hachyderm.io

Written by Bradley on 2025-01-04 at 22:19

@gvy_dvpont very cool they turned out great!

=> More informations about this toot | More toots from bradley@techhub.social

Written by herzberg on 2025-01-09 at 20:06

@gvy_dvpont This is really great, thanks for sharing.

=> More informations about this toot | More toots from herzberg@linuxhotel.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113772120499268981
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
310.214339 milliseconds
Gemini-to-HTML Time
4.497814 milliseconds

This content has been proxied by September (3851b).