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 5

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

 

 

 

 

Link to comment
  • Marionette Maven

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
Link to comment
  • Marionette Maven

@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
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

Link to comment
  • Marionette Maven

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. 

Link to comment

Hello Marissa

I was playing w/ this script.

It only works on VW logo. But as soon I enter our logo it fails. Am I missing anything. Thanks

 

  • Sad 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Add a comment...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...