Jump to content

sbarrett

Vectorworks, Inc Employee
  • Content Count

    252
  • Joined

  • Last visited

Files posted by sbarrett

  1. Image-Based Triangulated Panel

    This is a Marionette object that uses several python libraries - Pillow, NumPy, and SciPy - to create a triangulated panel that takes its colors from the pixels of an image.
    The color for each triangle is the average RGB value for all the pixels that would fall within that shape if the picture and the panel were aligned.
     
    To create this object I used some nodes that @Marissa Farrell created, a couple from this file and one node from this file.
     
    As this Marionette object contains external libraries, you may see some prompts to download libraries the first time you make a change. Just click OK when prompted. Unfortunately, this object does not work on PC running Vectorworks 2020. It does however work on a PC running Vectorworks 2021. 
     
    There are two files in this post, one with just the Marionette object and another that uses the Marionette object in an actual model.
     
     

    0 downloads

       (0 reviews)

    0 comments

    Submitted

  2. 2D to Massing Model

    This file contains a Marionette network that converts 2D polys into Massing Models. It reads the Record Format info attached to the poly and uses that information to create the Massing Model. It also transfers all attached Records to the Massing Model. This network is useful for converting shapefile data into Massing Models. To use the network, select the wrapper and make sure that all the fields in the Object Info palette correspond correctly to the objects that you want to convert. All of the info that you want to use to create the Massing Model must be in a single record, but all attached records will be transferred over by the script.
     
    Also included in the file is a worksheet that allows you to calculate Floor Usage Data for each floor of a multistory building. If you have one type of usage on the first floor, and a different type of usage on the upper floors, you can calculate that in the worksheet. (If you have more than two types of usage, it can only calculate the first two types.) To change the usage type in the worksheet, just type the name of the usage type, like "Retail" or "Residential" into the top row of one of the Area by Usage Type Columns. The lower rows will adjust appropriately.

    86 downloads

       (0 reviews)

    0 comments

    Updated

  3. Festoon Strings

    This is a Marionette object that creates an array of festoon strings. The Marionette object has four control points (one for each corner) that allow you to place each corner at a specific location and height. You can adjust the number of strings, the number of arcs in the strings, and the overall depth of the arc. The objects arrayed along the festoon strings are symbols so you can use the ones provided or create your own. The symbols provided have glow or light objects in them, so they can be used in renderings.

    335 downloads

       (3 reviews)

    0 comments

    Updated

  4. Gravity Wall

    This Marionette object creates a Gravity Wall based off of a folder of symbols and a poly line. The poly line is the path of the Marionette object - to edit the poly line, right-click on the object and choose “Edit Control Geometry.” Within the Object Info palette (OIP) of the Marionette object, you can set the overall wall height, the angle at which the wall is slanted, and the pattern of the different symbols that will make up the wall. You can also offset this pattern on each row.
    It’s important that the only symbols in the referenced folder be ones that you wish to use as blocks in the wall, and that each block symbol should have the same Z height - if the blocks are different heights, the wall will not be able to accommodate them.
    In this file, there is also a network form of the script. This functions in a similar way to the Marionette object, except it creates a wall based off of a referenced poly line (a poly line that already exists in the document) instead of control geometry. To reference a poly line, give that poly a name in the Name field in the OIP and then reference that same name in the network.
    GravityWall.mp4

    116 downloads

       (1 review)

    3 comments

    Updated

  5. Create Stories

    Creating stories, levels, and layers can be a tedious process, especially for tall, multistory projects. This wrapper allows you to automate that process based on an overall building height, typical floor heights, and default levels. You can create up to 4 Layer Levels and 2 Layerless Levels. To create fewer Levels, leave any of the Layer 1, Layer 2, Layer 3, Layer 4, Layerless Level 5, and/or Layerless Level 6 fields blank.
     
    To use this script in a new file, simply import the wrapper into the file, place it in the drawing, and run the script. The settings of the script are very similar to the levels and layers created in the Vectorworks template, but you can customize them in the OIP of the wrapper. To change the Story suffixes and Story names, double click on the wrapper and the select the Get Story Names node. There are settings that you can change in the OIP of this node as well.
     
    NOTE: Existing stories and story-associated layers that match the names of the new stories and layers will be deleted every time you run this script. Existing stories that DO NOT match the names of the new stories will not be deleted but may interfere with the creation of new stories. It is recommended that this script is run in a file without existing stories, levels, or story-associated layers.

    94 downloads

       (1 review)

    5 comments

    Updated

  6. Panel Arrays

    In Vectorworks, there is a command that allows the user to build a surface array, i.e. to array a symbol across a NURBS surface. This is a powerful tool, but creating patterns with multiple symbols is currently missing as an option in the software. 
     
    With this in mind, these two Marionette scripts are meant to help create panel patterns on a wall with existing 3D symbols:
    ·     The wrapper “Panelization with Rotation” arrays a single symbol across a surface, but can apply a rotation to that symbol in either a user-defined pattern or randomly. 
    ·     The wrapper “Panelization with Multiple Panels” arrays multiple symbols across a surface in either a user-defined pattern or randomly.
    For both scripts, the horizontal and vertical reveals between panels can be set separately, allowing for quick visualization of multiple paneling design options.
     
    These scripts only work when the NURBS surface is flat and the face is rectangular — the symbols will not follow a curved surface. This is meant to be used for panelized walls, which are much more likely to be flat. (The surface however does not have to be vertical; it can be slanted or horizontal.)
     
    The panels are distributed from left to right, top to bottom across the surface — if the pattern does not fit exactly across the surface, there will be extra room left at the right and/or bottom edge of the surface. When paneling a wall, it is more likely that the full surface or the reveals will be resized to fit the appropriate number of panels versus trimming the panels along one side.
     

    120 downloads

       (0 reviews)

    0 comments

    Submitted

  7. Wind Rose

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. You must have a valid internet connection to use this MO. There will be more weather analysis graphs to come!  Here is a video that shows how the Wind Rose works: Wind Rose Video.mp4

    140 downloads

       (0 reviews)

    8 comments

    Updated

  8. Temperature Chart

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows is the max, average, and min temperatures per month at a specific location. You must have a valid internet connection to use this MO.

    168 downloads

       (1 review)

    2 comments

    Updated

  9. Barn Door

    Here is a Marionette object that functions as a schematic Barn Door. It opens and closes with a slider and has separate 2D and 3D geometry. The wheel and hanger are a symbol, so if you wish to change their look you can edit the current symbol or create a new one. The insertion point of the symbol must be where the wheel touches the track.
     
     

    297 downloads

       (3 reviews)

    9 comments

    Updated

  10. NanaWall WA67

    This is a Marionette Object that can be used to simulate the WA67 Aluminum Clad Wood Folding NanaWall door. It allows you to set the panel width and height as well as the configuration and system. Based on these parameters, it calculates the overall frame width and height and creates a record format for the door that can be called in a worksheet. The insertion point of the door is the center left of the door, so if you choose a configuration with a different number of panels or you change the panel width, the PIO will extend or contract from the left (instead of from the center like regular door PIOs in Vectorworks). I would welcome feedback on the usefulness of this - is there something you would like it to do that it doesn't do? What does it do that you don't need it to do? As far as other types of NanaWalls (such as sliding panels), I am trying to figure out a way to script those as well.
     
     

    318 downloads

       (5 reviews)

    4 comments

    Updated

  11. Test Proximity and Associate Existing Trees

    This file is most useful for Landmark users but could be adapted to other plugin objects (PIOs). The purpose of these scripts are to take surveys of existing trees that consist of "dumb" data - pieces of geometry and text to label trees on a survey - and convert it into Existing Trees with the relevant text data associated.
     
    The first network, "Test Proximity," runs a check to make sure that each piece of text is closest to its associated piece of geometry. This is necessary to make sure that the second script will work properly.
     
    The second network takes the center of each piece of geometry and places an Existing Tree there. It will use the saved red symbol in the Resource Manager as a template, so if you use particular default settings for your Existing Trees, you can edit the red symbol. (Some day maybe there will be an Existing Tree Style!) The network will also transfer the text data to your chosen field of the Existing Tree PIO. In this network, it is set to transfer to the Tree No data field.
     
    This network could be adapted to other PIOs if needed.

    47 downloads

       (1 review)

    0 comments

    Submitted

  12. Scissor Lift

    This Marionette object is a Scissor Lift PIO. You can place the Scissor Lift in your drawing and set the height via a Slider in the OIP. (See video.) All the different parts of the Lift are different symbols, and the Marionette script places each symbol at a particular insertion point and rotation based on the value of the Slider. If you wish to share the object, make sure that you share the entire symbol folder that holds all of its accompanying parts.
     
    This object was based on a symbol created by @barnes2000. Thanks Scott for letting me play!
     

    755 downloads

       (1 review)

    17 comments

    Updated

  13. Precipitation Chart

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows the peak one hour rainfall and the total monthly rainfall per month. You must have a valid internet connection to use this MO.

    121 downloads

       (2 reviews)

    1 comment

    Updated

  14. Room Screen

    Here is another Marionette Object with articulation. It is a simple room screen that has three panels with two hinge points. Each panel can be given an angle of anything between 0 and 90.

    47 downloads

       (0 reviews)

    0 comments

    Submitted

  15. JLG Condor 60

    This is another Marionette object based on a symbol belonging to @barnes2000. (Thanks Scott!) He has built a bunch of cool crane and lift symbols. This one is an Articulating Boom Lift that has seven different rotation or extension articulations. Each has a Slider in the OIP that allows you to set its angle or extension. (See video.) This Marionette object works by placing the different parts of the Lift as symbols in the drawing at a particular insertion point and rotation based on the values of the Sliders. Each symbol has named loci that are used to locate the object in the drawing space and in relation to the other parts. The loci are on an invisible class (so don't delete the class from the drawing). The object updates pretty quickly for having so many variables. If you wish to share the object to another file, make sure that you import the entire symbol folder.
     
    Unlike the Scissor Lift, this object is not built from hybrid symbols because hybrid symbols cannot be rotated around the x- or y-axis. If you wish to convert it to a hybrid object, you could place it inside an Auto Hybrid, but this will make it a much bigger object (memory-wise), and you would only be able to edit the object from inside the Auto Hybrid.

    609 downloads

       (2 reviews)

    9 comments

    Updated

  16. Asterisk Wall Clock Object

    This is a Marionette object that is a wall clock. The time of the clock can be set by sliders in the OIP. The three pieces of the clock: the face, the hour hand, and the minute hand are all symbols that can be changed. The only important aspect of the symbols is that the XZ value of the insertion point for all the symbols be at the center of rotation and the Y value be relative to the clock face.

    26 downloads

       (0 reviews)

    0 comments

    Submitted

  17. Curved Ramp

    This Marionette object is a path-based ramp. The path is a bezier curve and can be reshaped by double-clicking on the object. The 3D ramp is built by lofting NURBS curves and the 2D text can be turned on or off in the Object Info palette.
     
    This ramp uses the new Valve node in Vectorworks 2018 which means it can't be exported back to 2017.

    352 downloads

       (2 reviews)

    2 comments

    Updated

  18. Rename Classes

    In Vectorworks 2018 menu commands can now be created with Marionette. To create a menu command, right-click on a wrapper and select Convert to Menu Command, and give the menu command a name exactly as you would like it to appear in the menu. After it is created, it will be available under Tools > Marionette Commands > [Command Name].
     
    This command works as a simple find and replace command for class names. It makes use of a User Interaction node which allows you to enter text while the command is running. Once you run the command, in the first dialog box that pops up, enter the text of class names that you want to replace. In the second dialog box, enter the text that you want to replace it with. If there is more than one instance of the text in the class name, it will only replace the first instance. To change more than one instance, simply run the command again. If you make an error, you can simply use the Undo command.

    285 downloads

       (1 review)

    0 comments

    Submitted

  19. Panelization

    This file was created by Proving Ground to analyze the panelization of NURBS surfaces. Based on 3 NURBS curves, it creates a lofted surface, then converts it to a series of 3D polys. It then compares the 3D polys to the curvature of the surface at that point and states how out of plane each panel is. It also uses a color gradient to indicate where it is out of plane. It then makes a copy of the panels and lays them flat in a grid.

    99 downloads

       (0 reviews)

    0 comments

    Submitted

  20. Create Site Model from Mesh

    This is a Marionette network that converts a mesh to 3D locus points. This is very useful for converting meshes of terrains imported into SketchUp from Google Earth into Vectorworks Site Models. Once you have a SketchUp mesh, import it into Vectorworks and give the mesh a name. Take the wrapper in this file and place it in the same drawing. Change the name of the mesh in the OIP of the wrapper to the name you gave the SketchUp mesh. Raising the number of the grid density will make your site model more accurate, but it might take the wrapper up to a minute or two run. When you run the script, you will get a group of 3D loci. Ungroup the loci, and keeping them selected, go to AEC -> Terrain -> Create Site Model... (in the Architect Workspace). Choose your settings and click ok

    212 downloads

       (2 reviews)

    0 comments

    Submitted

  21. Psychometric Chart

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows the psychometric data for a specific location. You must have a valid internet connection to use this MO.

    110 downloads

       (0 reviews)

    6 comments

    Submitted

  22. Sun Path Diagram

    This is a Marionette Object that downloads weather data from the internet based on the address/location you enter into the OIP. The data this graphic shows is the angle of the sun path at different times of the year. You must have a valid internet connection to use this MO.

    358 downloads

       (1 review)

    7 comments

    Submitted

  23. Platonic Solids

    Here is a file with some Platonic Solids as nodes and Marionette objects. The faces of the solids are in the form of 3D polygons.

    34 downloads

       (0 reviews)

    0 comments

    Submitted

  24. Sine Wave

    Here are a couple wrappers that output sine and cosine waves. I thought the math enthusiasts might find these useful.

    30 downloads

       (0 reviews)

    1 comment

    Submitted

  25. Component Wall from Surface

    Here is a script that converts a NURBS surface to a wall with components that can be exported to IFC. The wall is an Auto Hybrid object made up of 3D Solids that match the thicknesses and attributes of the components of a referenced wall style. CWS_1212_IFC.vwx
     
    A couple caveats: Make sure that wall style names do not  have a single or double quotation symbol in the name - it will get misinterpreted by the String Node. Also, if your base surface is an Interpolated Surface, use the tool in the 3D Power Pack - Rebuild NURBS... - to convert it to a standard NURBS surface.

    67 downloads

       (0 reviews)

    0 comments

    Submitted

 

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...