Jump to content

Marissa Farrell

Marionette Maven
  • Content Count

    1,242
  • Joined

  • Last visited

Everything posted by Marissa Farrell

  1. Marissa Farrell

    Get Field Node issue

    My main question is why would you want to name more than one field in a record the same thing? I do notice that you CAN have multiple fields with the same name if you edit your record from the resource browser, but I'm just stuck wondering what good that would do? Secondly, if you were to use Marionette to extract the information from a record field, you would choose the name of the field, and if you have more than one with the same name, how can you be sure you're getting the right information? I'm not sure if this points out an issue with the node, really, because I can't personally see a use case for this to be available. Can you enlighten me as to why you want this to work? I can take a look into it, I just need a better grasp on the workflow.
  2. Marissa Farrell

    Class Visibilities by Search

    For your case sensitivity, you should be able to use .lower() to kind of bypass it. example: in the "Is In" node for x in list: if substr.lower() in x.lower(): res.append( True ) else: res.append( False )
  3. Marissa Farrell

    Brise Soleil Object Breaking Issue

    Actually, nevermind. This might work. I updated the Control Geometry node in the script symbol to include some extra lines of code. Let me know if this works for you, because I don't see the issue appearing anymore, but I may just be missing something.
  4. Marissa Farrell

    Brise Soleil Object Breaking Issue

    I've been actually working to solve this problem for a while now. I first encountered it when I was playing with my Stair object, although in that case it was due to a convert to NURBS. It does have to do with being in Top/Plan vs. a 3D view. I think we tried what fixed some other situations to try to handle this, but it hasn't worked out as expected. I'll take another look into a way to solve this. I'm thinking in the direction of saving whatever 3D view you're in at runtime to a variable, and then changing to top/plan for calculations, and then resetting back to your custom view. I've just been trying to avoid that since there should be a better way.
  5. Marissa Farrell

    Node Editing Anomally

    This is a known issue that also bothered (still bothers...) me. I believe it's a high priority on our list of things to solve, hopefully we can implement it sooner rather than later. Be assured we are working on it either way!
  6. We've actually started talking about encryption of Marionette recently, but there are a lot of things to consider. Right now, Marionette is very much open source, and I think it's important to keep that element for a handful of reasons - it makes it such a valuable learning tool for one. I have my own opinions on how encryption should be handled - I think we should definitely offer the option to encrypt or lock objects, and possibly wrappers as well, but I really don't agree with locking nodes. I think it's important for safety concerns (since it's all written in python) and I'm a big advocate on learning by example - being able to see the script inside will allow more people to become proficient in python as a language and it will help to teach elements and concepts of use cases for Marionette. I'm sure other people who work on Marionette with me don't share all of my opinions, so I really couldn't tell you which direction things will go. If we do take the route to encryption, it won't be until after at least another version. We're working on a lot of exciting improvements for 2017, and I don't know if we would be able to throw another large task into 2017 (but again, I don't know). I'm also uncertain on how difficult it would be to implement. So in short, I wouldn't hold my breath on it, but there's a chance that in the future we'll get something added in.
  7. Marissa Farrell

    Marionette Internal vs User Origin issue

    Yes! Please let me know if other nodes are affected/show the same issue. I'm trying my best to make our default library as consistent and accurate as possible.
  8. Marissa Farrell

    Using Marionette for automated average grade calculations?

    Sorry Markus! This accidentally fell off of my radar! I looked at your file and failed to see where you're using a "Objs by Crit" node. Are you possibly referring to the Name node? Either way, we can definitely add an if statement to prevent it from freezing Vectorworks. As for your question about saving the Python script to the script palette, since you're receiving the character limit, I would say no. And you're correct that it will execute immediately if you use Run Script. There may be a way to save it as a menu command, but I'm not familiar with the process as of yet. Maybe another user could point you in the right direction.
  9. Marissa Farrell

    Marionette Internal vs User Origin issue

    Martyn, Can you check if the node in this file works how you expect it would? I did some preliminary testing, but you know the problem better than I. Thanks! Marissa
  10. Marissa Farrell

    Marionette Internal vs User Origin issue

    I don't know if this situation was explored when the node was created, but I'm adding it to our list of things to look into. Thanks for reporting!
  11. Marissa Farrell

    Trying to modify this Choice Item node to take an input list

    The closest I can think of would be to use the filter node to filter items from a list that meet a certain requirement... But even then, the user wouldn't be able to choose one the way that I think you're asking for. There's not currently a way that I'm aware of to interrupt the script to have user selection. There might be some hope if using dialog boxes, but I haven't explored that.
  12. Marissa Farrell

    Trying to modify this Choice Item node to take an input list

    Are you aware of Debug Mode? Many users aren't completely satisfied with it in its current state, but to use it, have the Marionette tool selected and in the mode bar activate the Bug icon. To use it, you can click on a wired output and it will activate a dialog box with the data that flows through that wire. We're trying to find a more user friendly way to run it - right now, each time you select a wire, the entire network is rerun (annoying) but it provides at least another method of seeing what's flowing through your network.
  13. Marissa Farrell

    Trying to modify this Choice Item node to take an input list

    This isn't currently possible because the OIP controls are defined before runtime. We can't dynamically refresh the OIP controls within the script, unfortunately. I can't remember if this limitation is a hard limit or if we can find a workaround at a later time, but I'm going to guess it will be this way for at least another version.
  14. Marissa Farrell

    Door Tool Modifcation

    MMMmmmmmmm. So. Your door tool is different than ours. I'll have to see what I can find out about this one. I'll let you know if I make progress. Who's your distributor, by the way?
  15. Marissa Farrell

    Date in marionette

    Hi mattao! Can you show me what you mean by attaching a file with a simple example of what you're seeing?
  16. Marissa Farrell

    contour or shell gives uneven result

    So what I did here was divide the shell thickness by two, and then shelled each contour twice - once in each direction (positive half-thickness, and negative half-thickness) This in a sense will center where the shell is created on the contour. I converted them to a solid because when they were shells, I wasn't able to add the two halves together to create just one object, that's probably just something funny with how the Add Solid command works with shell objects. Does all of this make sense, or should I try to explain it differently?
  17. Marissa Farrell

    Gateway timeout

    I also hate this Jim, hurry it up!
  18. Marissa Farrell

    Door Tool Modifcation

    Can you show me where these parameters are? Like in a screenshot of the advanced parameter window? I'm guessing that variable names aren't localized, and that you can still extract the data, it's just probably not under what you think it is.
  19. Marissa Farrell

    Finding Polygon Center Point

    Correct. Good point. I'll see if I can add more logic to this node, I didn't write it originally, but I'll see if there's a way to ignore points that are already on an existing edge and try to modify it. I didn't even think of that! So big thanks for bringing that situation to my attention!
  20. Marissa Farrell

    contour or shell gives uneven result

    Let's try this one!
  21. Marissa Farrell

    contour or shell gives uneven result

    Oh how weird. Something is going wrong with the AddSolid command. it actually doesn't add them... If you take that line out and replace the self.Params.shell.value with "Shell1" and run it, you'll see that it was fixed there... but when you add the resulting solids together half gets deleted... Sorry! I'll keep poking.
  22. Marissa Farrell

    Finding Polygon Center Point

    So Get Center works with 3D polys and takes the points at each index in order to get the average value of x, y, and z for each point on the poly. So say you had a 3D poly with 4 points - (0,0,0), (3,0,0), (3,3,3), and (0,3,3). The Get Center will average all of the x, y, and z values to create the averaged point, i.e. x = (0 + 3 + 3 + 0) / 4 = 6/4 y = (0 + 0 + 3 + 3) / 4 = 6/4 z = (0 + 3 + 3 + 0) / 4 = 6/4 (This example is super simplistic and produces boring results...) With more complex polys, it's possible that the point won't be on a planar piece of the poly at all, since it's just averaging the points. You can kind of think of it as finding where the gravitational center of the poly would be? If that makes any sense?
  23. Marissa Farrell

    Door Tool Modifcation

    Yes, I did this with Marionette. I'm still trying to figure out the best way to help you with your frame challenge! The biggest problem right now, in my opinion, is that dimensions are returned as strings when you get the record information, so I'm trying to get around to writing a node that will convert those strings to proper dimensions. Once I get that figured out, I think many things will be MUCH easier
  24. Marissa Farrell

    contour or shell gives uneven result

    Okay. So as a workaround, it now shells in each direction by half of the distance. This is an inadequate final fix, I'll probably throw in an OIP control to let you decide in which direction the shelling takes place, but at least for now, it makes this uniform. (Figure if someone's shelling a bowl shape or something of the sort, you wouldn't want to shell in both directions, but maybe offering the choice would be a positive improvement?)
  25. Marissa Farrell

    contour or shell gives uneven result

    Oooooh this is very irritating. So, this is happening because the function used in the shell node takes the normal of the NURBS object that it's going to shell.. I'm not sure why, but it appears that when a NURBS curve is converted to a NURBS surface, it doesn't reliably have the normal in the same direction. I'll see if I can figure out a way to at least get them all to shell in the same direction.

 

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.

×