Jump to content

1 Screenshot

About This File

This network will read the data in an image existing in your file, for example, the color of each of the pixels, and create rectangles/extrusions with the same fill color. The extrusions are created at a height correlating to their brightness. The data extracted from the image could be used in many additional ways.


What's New in Version 2.0.1   See changelog

Released

Added a 2019 version to account for new Mac path handling

  • Like 2


User Feedback

Recommended Comments

Hi Marissa,

 

I tried running your marionette but it seems I'm missing the Python PIL library.

VW2017 downloads it without a problem. And then I can run it.

 

VW2018 SP2 (Build 401138) asks to download it, but then I receive following message and it crashes:image.thumb.png.417b9c755c8ef818e389d56499f4c70b.png

image.thumb.png.6ea6b0422ab9f1d7c39051ed90f82f54.png

Exception description: Unhandled exception at 0x00007FF690E2ED7B in Vectorworks2018.exe: 0xC000041D: An unhandled exception was encountered during a user callback.

 

 

So I manually copied the PIL folder from:

%AppData%\Nemetschek\Vectorworks\2017\Python Externals

to:

%AppData%\Nemetschek\Vectorworks\2018\ENG\Python Externals

 

But this gives the following error in 2018:

image.thumb.png.51f32002f9be3fcdd0360647320fc71c.png

 

Pressing close or Select node makes VW crash again.

 

Any fix for this issue in 2018?

 

Thanks,

Bert

 

 

 

 

Share this comment


Link to comment

Hi! 

 

This is because we upgraded from Python 3.3 in 2017 to Python 3.5 in 2018.

I'll try to get a new version for 2018 uploaded later today.

 

Thanks for the reminder!

 

Marissa

  • Like 1

Share this comment


Link to comment

@Bertf

When you click "Download this file" now you should have the option to download the 2018 version as well as the 2017 version.

 

I haven't tested this version on Mac fully, but since it looks like you're running Windows it should be fine. Let me know if you run into any issues.

  • Like 1

Share this comment


Link to comment

Hey Marissa!

 

I've been modifying your script to create a Halftone generator. But I've found a little mistake in your marionette:

In the part below you take the RGB values as XYZ values, and add X to the combined list of Y and Z. This makes creates a list of 5940 elements, instead of the initial 2970 pixels. 

image.thumb.png.8213862783e159a42e96d9642ad40b42.png

 

This makes the remaining 2970 extrudes to stack on each other on the last position:

image.thumb.png.b12fd5c5e082ca1238cb134c8ca97ba1.png

 

This fixes your problem:

image.thumb.png.850431bc5c93de937bae38e63b591172.png

 

Kind regards,

Bert

Share this comment


Link to comment

Thanks! I think at that point I was just playing around and never edited it back out before sharing. 

I'll update my file, nonetheless. 

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×