Nomi Posted July 9, 2019 Share Posted July 9, 2019 Hi all, Does Marionette have something similar to the image sampler in Grasshopper (for reference https://www.grasshopper3d.com/forum/topics/image-sampler-8). Thanks! Naomi Quote Link to comment
Marionette Maven Marissa Farrell Posted July 9, 2019 Marionette Maven Share Posted July 9, 2019 There is nothing in Marionette's shipped content that will do this, though a couple of years back I wrote a node that will read an image, that data can be used to do this. These files may not be updated properly for 2019, if you come across an error when installing the Python modules, please let me know which OS and VW version you are running and I will update the scripts to work. Original file, extrudes the pixels as rectangles to a height based on their brightness: User modified file that seems to result similarly to what you are hoping to achieve: 1 Quote Link to comment
Nomi Posted July 9, 2019 Author Share Posted July 9, 2019 Hi Marissa, Thanks! Your script that extrudes rectangles works a charm. When I run the second one I encounter the error shown in the photo below - any thoughts? I can go ahead and rewrite a similar script based on your initial one, but figured I'd see if there's an easy fix! Quote Link to comment
Nomi Posted July 9, 2019 Author Share Posted July 9, 2019 Oops, here is the attached error: Quote Link to comment
Marionette Maven Marissa Farrell Posted July 9, 2019 Marionette Maven Share Posted July 9, 2019 This error is due to Vectorworks changing how it reads paths between 2018 and 2019? (maybe the switch was earlier, I cannot remember) I believe that you should be able to just copy my read image node and my GetPixRGB node from my file and replace the ones in the halftone file, I'll take a better look in a bit. Quote Link to comment
Marionette Maven Marissa Farrell Posted July 9, 2019 Marionette Maven Share Posted July 9, 2019 Here's a file with the nodes copied over and wired in, it works for me, so hopefully you find the same: Submitted_Halftone_Marionette_v1_v2019.vwx 1 Quote Link to comment
Nomi Posted July 9, 2019 Author Share Posted July 9, 2019 Perfect - running smoothly. Thanks for your help! Quote Link to comment
Recommended Posts
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.