Jump to content

Image Processing 2.0.2023

   (1 review)

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.

 

Please look at the different version options to locate a file for the Vectorworks version you are running. 


What's New in Version 2.0.2023   See changelog

Released

  • Updated custom nodes to use new functionality for downloading Python libraries
    Should work cross platform, tested on Mac.
  • Tidied network up (though still unhappy with it overall)
  • Like 7

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
On 3/25/2022 at 5:44 PM, David Luque said:

Hello Marissa. I have similar problem than posted by Bertf. Does the script needs to be updated to Vectorworks 2020?

image.thumb.png.582b49d6290ef343d8c094b6771a9354.png

 

Hi @Marissa Farrell, it would be much appreciate if you could have a look into the 'ReadImage' node please? Same issue in 2021.

Link to comment
  • Marionette Maven

@Tbai

I just uploaded a new version that should work in 2022, I tested Mac, but have not tested Windows. Please let me know if you find an issue.

  • Like 1
Link to comment
On 4/5/2022 at 3:50 PM, Marissa Farrell said:

@Tbai

I just uploaded a new version that should work in 2022, I tested Mac, but have not tested Windows. Please let me know if you find an issue.

 

 

(SOLVED)

 

Hi @Marissa Farrell, thank you for updating the node. Unfortunately, I don't have access to 2022 at the moment. I have tested it in 2021 and it still shows the same error. Please see below a screenshot of the error details. Not sure if this is because of the version. Can I send you the file I'm testing with through direct message so you can have a look? Many thanks

 

image.png.26ae9baedb85b913a98b65dbd0c765c4.png

Edited by Tbai
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...