Jump to content

Marissa Farrell

Marionette Maven
  • Posts

    1,474
  • Joined

  • Last visited

Posts posted by Marissa Farrell

  1. My primary goal with this is oriented towards 3D printing, so i'm trying to get things as realistic as possible. Images will likely appear more embossed than anything, but it's better than nothing!

    Kitty silhouette ornaments for the holidays are a close possibility :)

  2. For the surface or the rectangles?

    The surfaces are still very preliminary.

    As for the rectangles, I expect the results to stagger quite a bit. Right now the multiplier affects the "brightness" of each rectangle's color. I plan to later have it step in a more uniform fashion... remapping the heights to increase uniformly bsaed on the next color in the list.

    I'll still post an example, if it's the rectangles you're interested in. (Also, I will be incorporating the same logic to the surfaces if it works out okay, but again, those need much more work.)

  3. I'll keep looking!

    I'm able to return most of the settings of the image, I just don't know how to actually take that image right out of the cell.

    I'll ask around here and see if I can find the right person to guide me.

  4. In general, the "worksheet image" is considered the on-drawing worksheet object...

    I don't know if we can extract the image from a cell.

    I'm able to return a boolean if the cell has an image in it, but I don't know how to take that image and use it elsewhere, assuming that's your ultimate goal.

  5. zoomer,

    Are you aware of Marionette Objects? In the sense that you can convert your Marionette script into a responsive Parametric Object?

    Maybe I'm misunderstanding you, but that's what I'm assuming your "live/non linear/dynamic/realtime" question relates to?

    I think that it's fully conceivable to do full image processing in Vectorworks - the only potential issue I'm thinking is that it could bog down system resources. The image I used here was only 80x80 pixels. It ran reasonably quick, but some of the other images I was querying took significantly longer. (Part of why I'm holding off on sharing the script. I want to see how optimized I can get it...)

    Marionette will be forever expanding in any direction a user wants to go. I can see all of your proposed ideas being made a reality in time.

  6. I'm currently working on some image processing projects, and hope to share them with you all in the future.

    I wanted to share a preview now, in hopes of the reminders to finish this project. I think it will be super useful for some concept ideas!

    Here's my avatar - brought in as rectangles for each pixel and extruded to a height relative to the darkness of the pixel.

    (They're my cats - Euler and Crona - in case you were curious :P)

    Sorry for not having a .vwx ready for you - it's still in progress!

     

    UPDATE:

    Working files for 2017 Image Processing may be found here:

     

    imgProcessing.JPG

  7. For now, that's probably your best bet, aside from using the node in the file I posted earlier in this thread :)

    Glad it worked.

    I'll work with the people who work on the back end to see if we can get this to behave better.

  8. Here's a file with a node that you can use as an alternative. The downside is that you will have to type in the name of the layer that you want to move your object to in the String node.

    This will be the most reliable method for the time being. I know why the current version doesn't work, but I'm not sure how we'll be able to dynamically update the layers that show - the only way right now would be to edit the script in that node, as I've stated in my previous post.

  9. Before I do that, do me a favor.

    Double click on the "Set Layer" node and enter the Script Editor window. Without changing anything, exit out of that, deselect the Set Layer node, and select it again.

    Does that update the list of popups?

    Just trying to troubleshoot.

  10. I think there are issues with the Set Layer node...

    (Okay, I know there are... and I have NO IDEA where Ham is coming from.)

    Give me a bit and I'll give you a working example on how to change an object's layer.

  11. Alan,

    I'm going to try to answer all of your questions, although they may be out of order, and some may take longer for me to form a response to.

    First, this file will help you get the correct values from your spreadsheet. In this case, we need to get the value of a subrow cell, instead of the value of a row cell.

    I've added two brand new nodes to your network (I probably have the same ones floating around, and these ones aren't clean in the sense of descriptions, but they work. One day I'll get all of my worksheet nodes posted with correct descriptions.)

    The first node is "Get Subrow Count", this will tell you how many subrows there are for a row. In your spreadsheet, row 2 has 2 subrows. I've incorporated this into your network to show you how to use it.

    The second one is "Get Subrow Value", this node will provide you with the value in the subrow cell. It takes the same inputs as "Get Cell Value" as well as a "Subrow" input.

    In this case, we will use 2 as our Row input, and 1 through 2 as our subrow input.

    I hope this can guide you a bit.

    As for the series node, that just has to do with how math is calculated. Float numbers can have infinite decimal places, sometimes they don't round out the same way that you would expect. I wouldn't worry about how far this goes, because having that many zeroes before that three means it's very, very insignificant overall.

  12. I created a node in the attached file called "GetExternalSymbol"

    You'll be required to enter the full path to the file location as well as the name of the symbol you want to use.

    This can be changed, if you want, we can make it more custom later.

    A note on your path - based on your machine, you may have to normalize the path. The path in my example is windows based, you are required to do double slashes (//) instead of singular, due to escape characters in python.

    Mac may be more difficult. If you need it, I'll look into it and get back to you soon.

    Please let me know if you need any help with this.

×
×
  • Create New...