Jump to content

Nomi

Member
  • Content Count

    19
  • Joined

  • Last visited

Community Reputation

0 Neutral

1 Follower

About Nomi

  • Rank
    Greenhorn

Personal Information

  • Location
    United States

Recent Profile Visitors

364 profile views
  1. Hi all, Ran into a snag with the vs.GetLayer(h) command in marionette. Instead of returning a handle to the layer of the object, it returns a handle to the current layer in the document. What am I missing? Do I need to regenerate the object/something along those lines? I've attached a script with a modified Get Layer node that returns the name of the layer rather than the handle (just so it's easier to see what you're getting back). Any help appreciated! Thanks, Naomi Get Layer.vwx
  2. Aha, didn't know there were different ways to grab the handle for the created text. The node would run once but crash on the second time for some reason with (a,b) = vs.TrueTypeToPoly(vs.FSActLayer()). Did some playing, this combination seems to be the winner: text = vs.CreateText('hello') (a,b) = vs.TrueTypeToPoly(vs.LNewObj() ) self.Params.out.value = b Thanks! Naomi
  3. Hi all, Coding question for those who write their own nodes. Every time I try to run a node with the (a,b) = vs.TrueTypeToPoly(text) the program crashes - has anyone run into this/has any suggestions? I've attached a simple sample node that creates text and then uses the above command to turn it into poly lines. It doesn't crash if I don't try to assign the output to the tuple (a,b), but also doesn't convert the text. Thanks, Naomi text test.vwx
  4. Hi Dom, Thanks for the script! I've modified it for my needs (see attached file) but don't understand where you're pulling your record from. You've set the Record Name to be Space, and the record field names to be Name, 11_Number, and 11_Space Name Cust. Is the Space record internal to Vectorworks? How do I find its corresponding record field names? Thanks! Create spaces.vwx
  5. Thanks Sarah! Got everything to work.
  6. Hi all, I'm unable to set the elevation of a story - when I create multiple stories the elevation is by default set to increments of 9'. I've attached a file with the test node that shows the script I'm using - any input appreciated! Initialize Story.vwx
  7. Hi all, Quick question about the matrix rotation node - it works fine if I specify rotation around the z access, but doesn't work when I try to rotate objects out of the x-y plane (i.e. when I set the input vector to (1,0,0)). What am I missing? See attached file. Thanks! Matrix Rotation.vwx
  8. Nomi

    Image sampler?

    Perfect - running smoothly. Thanks for your help!
  9. Nomi

    Image sampler?

    Oops, here is the attached error:
  10. Nomi

    Image sampler?

    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!
  11. Nomi

    Image sampler?

    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
  12. Ah one more thing - could you point me towards the correct Scipy file for Mac as well? Thanks again.
  13. Nevermind, figured it out - thanks for your help!
  14. Hi Antonio, Thanks! I've downloaded version 3.5 but am having trouble locating where to put them in the Vectorworks library. I'm following the instruction in the thread I linked above, specifically this paragraph: To install Numpy and Scipy on a Mac, use the description you got with these files. Make sure to install them where you can find them later because you'll need to move them to another folder. Once they are installed just go to your Vectorworks.app and right-click it to enter the contents of the app ('show package contents'). Browse to Contents:Frameworks:Python.framework:Versions:3.3:lib:python3.3:site-packages and drop the folders "numpy", "numpy-1.9.3.dist-info", "scipy" and "scipy-0.16.0.dist-info" in there. Any thoughts? Much appreciated!

 

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.

×
×
  • Create New...