Image-based Triangulated Panels with Marionette

Posted by Alex Altieri on 9/28/20 2:59 PM  |  2 min read time
Alex Altieri
Find me on:

We’re back with another Marionette Monday!

In the past, we’ve shared a lot of custom scripts and networks that do a whole lot of different things (this gravity retaining wall design, this 2D to massing model automation, and this building story automation to name a few!) This time, we have a script that generates some unique geometry patterns. This network transforms an image into a triangulated panel by reading the image’s data for each pixel, then averaging colors per triangle.

Screen Shot 2020-09-22 at 2.31.23 PM

Customize the number of points in the panel to add your own artistic flair, like in the image above — the panels contain 250 points, 100 points, and 30 points (left to right), and each way offers a unique look and feel. You can use this network to decorate an interior with customized art, to create a stained glass window, or to simply see what your favorite image looks like in triangulation.

ImageBasedTriangulatedPanel

This script combines and expands upon an image processing node and a triangulation node from our Community Forum, where you can find plenty of other Marionette objects and scripts.

Screen Shot 2020-09-22 at 2.33.39 PM

You'll need the Python libraries “Pillow,” “NumPy,” and “SciPy” to be installed on your computer to run the script. You’ll see a pop-up to install them when you modify any objects that use the script. You only need to install them the first time you run the script, and after that it’ll work automatically.

GET THE FILE

Exceptional design demands exceptional tools and platforms built to deliver absolute creative expression and maximum efficiency. At Vectorworks, we believe your design software should offer the freedom to follow your imagination wherever it may lead. See for yourself with a free 30-day trial of Vectorworks. Click here for more information.

If you're still in school or a recent graduate and are looking for that all-in-one solution, check out Vectorworks' academic programs and see how you can get free or discounted software. Click here for more information.

Make the most of your software experience with Vectorworks University. Take classes online, sign up for one of our webinars, or schedule a training session. Beginners and experienced designers alike will gain new skills, fine-tune workflows, and dive into all you can do with Vectorworks. 

Topics: Tech Tips and Workflows

Try Vectorworks

Request your Free, 30-day trial of Vectorworks. From 2D drawing to 3D modeling to fully integrated BIM, we provide new solutions to help you work faster and smarter.

Free Trial

Stay in the Know

What You'll Receive

Our blog subscribers receive tech tips, user success stories, webinar opportunities, and important company announcements.

Subscribe Here!

Recent Posts