Jump to content
Forum Maintenance - Tuesday, September 18th 2019 - 5PM EST Read more... ×

DomC

Member
  • Content count

    342
  • Joined

  • Last visited

Files posted by DomC

  1. Growing Lines

    This example is based on a custom node. which returns a line pattern. This pattern is based on several while and random loops. I have not found a proper way to run a while loop over a marionette network so this is better to create in a custom node.
     
    It is easier to play with the example, than explaining exactly how it works. 
     
    Have fun with it. This is my base study to find a workflow to project any pattern on a NURBS Surface which would be a real scope of usage.
     
    Movie Link (first Part of Movie)
    https://youtu.be/GcFwW-k5Lms?list=PL8s_WkTvFQ2YdFlMfU7Teuh5QrmsO03gW
     

    Growing Lines 1.0.0.mp4  
     
     

    14 downloads

       (0 reviews)

    0 comments

    Updated

  2. Rectangle Line Pattern

    A Rectangle Line Pattern with a random option.
     
    Also the files show, hot how to project on a NURBS Surface. This 3D Projection contains two additional custom nodes.
     
    1. GetZatXY (Also used in many other examples on the community board)
    2. GetZamong Pt. Not so easy to understand. This nodes calculates the z value of a 2D Point between two 3D Points without trigonometry (faster). 
     
    Movie Link (2nd Part of Movie)
    https://youtu.be/GcFwW-k5Lms?list=PL8s_WkTvFQ2YdFlMfU7Teuh5QrmsO03gW
     

    10 downloads

       (0 reviews)

    0 comments

    Updated

  3. Reshape Node 2D

    https://youtu.be/vuCvK4OwN80 German Movie
    https://youtu.be/Nm0te1zmpVY English Movie
     
    Structure of the Input:
     
    1. Group with Geometry group (send to back) and Reshape Zone definition (send to front). Best practice is to use a blue smbol without screen plane objects
    2. Reshape Zone group has further groups. Every reshape zones (polygons) is grouped with a dimension object. The dimension is the link to the script. The parameter name is a prefix of the dimension text
    3. Use one of the existing examples to understand the system
     
    Limitations:
     
    1. Supportes not 3D, Chain Dimension, path objects, rectangles. Container objects are not reshaped but moved (like the reshape tool)
    2. user origin has to be set to vectorworks origin
    3. not mix of screen-plane and layer plane. Use all layer-plane
    4.  ...
     
     
     
     
     
    Parametric Symbol v2018.vwx

    47 downloads

       (0 reviews)

    0 comments

    Updated

  4. Bar Diagram

    A nice, small Marionette for creating bar diagrams. This is much more simpler and more flexible than a spread sheet bar diagram.
     
     
    Options:
    1. ColNames
    2. Col Values -> mandatory
    3. RefValue -> A bar with this value, has the height of the BArHeigtRefValue field
    4. BarWidth
    5. BarHeigtRefValue
    6. Invert -> A bigvalues results in small bar
     
    There is a 2 minute movie (without audio) 
    Bar Diagram.mp4

    10 downloads

       (0 reviews)

    0 comments

    Submitted

  5. Apartment Area

    This nice script summarize all Space-Areas, which are part of the same Appartement Number and shows the result in a symbol based stamp. Alternatively you can get apartment. Alternatively we can pull out sum of apartment area with a worksheet. But this Marionette is also a nice method to do this.
     
    Instructions:
    1. The Marionette Objects access to the field "11_Room ID" of the space object. Every other field can be used if necessary by editing script
    2. with the Marionette PIOs field "Raum ID" you can tell the stamp, which apartment should be displayed.
     
     
     
    Appartment Area.vwx

    7 downloads

       (0 reviews)

    0 comments

    Submitted

  6. Number to Row Name

    If you need Worksheet-like Numbering like A, B, C .... AA, AB ..... AAA .... This node offers you an easy solution.
    There are two nodes for both directions.
     
    Limitations:
    1. Input from special characters etc. will result in wrong values or errors. 
     

    6 downloads

       (0 reviews)

    0 comments

    Submitted

  7. Name2Index

    Some Ressource Types (such as dimension standard or text styles) are handled by an index number. This node helps to find the index of those resources.

    7 downloads

       (0 reviews)

    0 comments

    Submitted

  8. Point Rectangle

    This node creates optional a rectangle and returns the corner points of that rectangle.
    Often there is a need of a rectangle and the corner points. If the rectangle is rotated, it can be a cramp to calculate the corner points. I hope this node can help to simplify marionette workflows.

    12 downloads

       (0 reviews)

    0 comments

    Submitted

  9. Create Design or Sheet Layer

    This Node creates a new layer and keep the active layer the active one. 
    It has a popup witch allows to choose sheet or design layer. It returns a  handle to the new layer or a handle to an existing layer with the same name.
     
    Like ever .. with not warranty try first in an empty file and be careful creating thousands of layers or layers with the same name as other objects in the drawing. 

    6 downloads

       (0 reviews)

    0 comments

    Submitted

  10. Move Symbol in Folder or create Folder

    Insert Symbol in Folder Node:
     
    1. Move the Symbol with the input name in the folder with the input folder name
    2. If folder do not exists it will be created. If no symbol name is inputted, the folder created also
    3. If the folder name is taken by another object, the folder will not be created

    6 downloads

       (0 reviews)

    0 comments

    Updated

  11. Get and Set Marionette OIP Parameter

    With this two nodes, we are able to set or get the parameter of an Marionette PIO or wrapper.
    Can be used to access the values in the OIP by script or another Marionette.
    The Screenshot shows an example in which every of those pillar is an own marionette PIO (Script as symbol to instance the PIO). 
     
    Note:
    It is not possible to write the parameters via Worksheet. Also it is not possible to read Marionette Object parameters directly into a worksheet. To read Marionette object parameters in a worksheet I recommend to write data into a record format and list those values in a worksheet.
     
     
     

    17 downloads

       (0 reviews)

    0 comments

    Updated

  12. Enhanced Rectangle

    What is the distance of the middle top point to the insertion Point (left bottom), if your rectangle has 175.5° degrees? Not so easy calculate the move vector or the rotation for that. This node can help you to use your time for other challenges. You can place your rectangles with every standard reference Point in any angle in degrees.
     

    9 downloads

       (0 reviews)

    0 comments

    Submitted

  13. Reset Object

    Some Objects needs to be Updated after Changing the Object Properties. In this cases this node can help you.
    Reset Object.vwx

    5 downloads

       (0 reviews)

    0 comments

    Updated

  14. Symbol Link Text

    If you have many symbol definitions and have to link text to record fields. This Marionette can help you.

    13 downloads

       (0 reviews)

    0 comments

    Updated

  15. Locus with Mastersnap Point

    This is an enhancement of the standard locus point, with OIP Mastersnap or not.
     
     

    5 downloads

       (0 reviews)

    0 comments

    Submitted

  16. Spaces with objects

    This node sorts out all spaces which have a collision with one of the input objects. Can be used to detect, if a space contains a specific object.
    For collision points, the space polygon and the object's bounding box is used. There is a OIP dim parameter for tolerance value.
     
    The vwx contains a quick and dirty test floor plan, nothing real 🙂

    11 downloads

       (0 reviews)

    0 comments

    Updated

  17. Set Parent

    This Node puts objects in a parent Object (symbol, group, etc.)
     
    Inputs:
    1. Handle to Object which put into a container
    2. Handle Input to Parent Object (use "get Object" node to use a named container here like a symbol definition)
    3. Object Info Option "Reset". Reset Bounding Box and other attributes of the parent object
     
    Set Parent.vwx

    5 downloads

       (0 reviews)

    0 comments

    Updated

  18. Create Symbol

    "Create Symbol" creates a new symbol definition on the active document. Refresh resource manager if you create a new symbol with this node by just switch to another document and back in the resource manager.
     
    This node does not use "List absorb" so you can just insert one object into the symbol definition. Recommended to first create an empty symbol and then use "Set Parent" to attach several objects into the symbol.
     
     
    Create Symbol.vwx

    5 downloads

       (0 reviews)

    0 comments

    Submitted

  19. Point Cluster.vwx

    The "Point Cluster"- node detects points, which are within a given distance from other points in the same scope with an own algorithm (not python 3rd party module needed).
     

    8 downloads

       (0 reviews)

    0 comments

    Updated

  20. Concave Hull

    This node gets points clockwise with a given minimum distance. 
    The node has an additional option in the info-palette. Follow Deadlock means, that the hull can follow back the same points that already was used as a hull point. Deadlock off means, that a point can't be uses twice as a hull point.
     
    The Algorithm behind the node:
    1. Check, which points are in range of the point most left (bounding box for speed optimization)
    2. Check, which points are exactly in range of the distance value
    3. Check which angle in cw direction is the smallest and connect to this point
     
    I think there would be a speed optimization possible with normalized vectors etc. So i would call this a beta version of the node.
     
    Computing the angles of the vectors takes a while if there are many points. in combination with the cluster node it takes about 17 seconds for 4200 points. Seven Minutes for 8800 points. So check number of clusters and numbers of points.
     
    The Idea was, to have a workflow for vectorize an image. This is a complexe project. Maybe it is worth to check other algorhitms with existing python external modules. But so far it works quite nice. 
     

    4 downloads

       (0 reviews)

    0 comments

    Updated

  21. Create Record from external File

    This example shows, how to create a record format with fields from an external csv or text-tab file with marionette.
     
    This example maybe needs the following know how which is not automatically is handled by the script:
     
    1. Save Text with excel, open office or any other application as separated text file or tab separated text file.
    2. Setup the "import txt" node-popup with the needed text encoding. Try utf-8, Latin1,  macLatin_2 or other encoding to handle umlauts or special character issues.
    3. The Exmaple just checks the first line of the text-file and creates record fields from them
    4. The path to the text-input in the attached example is related to the document path. Save first your Vectorworks document. Or use an absolute path input.  
    5. No warranty or charge for this script, play first on a new file or on the attached file.
     
    I whish you success with it
     

    19 downloads

       (0 reviews)

    0 comments

    Submitted

  22. Symbols in Rows

    Places a Marionette object, which contains symbols from a specific symbol folder. Offset and rows, can be defined. Handy for a quick and printable preview of symbols in a specific folder.

    76 downloads

       (2 reviews)

    0 comments

    Updated

  23. Marionette Launch Video Facade

    This is one of the files used in the Marionette launch video. It was created by Dominique Corpataux at Computerworks.
     
     

    107 downloads

       (0 reviews)

    0 comments

    Updated

  24. Shuffle Numbers Example

    An Input of 4 different numbers. Out of that 4 values there are 40 shuffled numbers of the same values. Next value never is the same like preview value.
    This Example uses a custom "shuffle-node" (randomize input list with the option, no next value must be the same like preview value) and the "saldo-node" (returns a sum after every new value).
     

    13 downloads

       (0 reviews)

    0 comments

    Updated

  25. Basic Reshape SolidScale in x,y,z

    This Nodes breaks up and scale a 3D Solid Geometry and the result is similar like a 2D Geometry reshaped by the 2D Reshape Tool.
    The Input Geometry (Geometries) have to be grouped. You can input it from symbol or control geometry. 
     
    The Node is designed with some love to detail and make the job in many situation just right. It follows some rules:
    1. reference Point is left bottom back
    2. Overlapping geometries over the zero point to left, back or bottom are handled symmetric. You can use locus points to direct the correct symmetry.
    3. The nodes cut a geometry in 3 parts. the end parts are called "caps". The Node allows to scale the caps or the middle part (in most cases the right mode)
    4. It is necessary the input geometry is a group.
    5. Grouped Objects completely inside caps, will be moved as well
    6. Objects between the caps, will be moved half value
     
    This advantage of this node, is to allow an incredible fast production of a specific type of PlugIn Objects (Reshape in x, y, z direction Middle Part is scaled like Tables, Pillars, Handles etc.)
     
     Movies:
     
    Simple Example (Pillar):
    https://youtu.be/F6BIe8d0mTs
     
    More Complex Example(Window Element):
    https://youtu.be/pJ9R8UWyM7Y
     
    Further Examples:
    https://youtu.be/uRwDU-KTRjw
     
     
     

    127 downloads

       (0 reviews)

    0 comments

    Updated

×