• Announcements

    • JimW

      The Future of Algorithmic Design   05/23/2017

      Natively available within Vectorworks software, Marionette delivers an algorithmic means to orchestrate and dictate design forms and customizations without needing to be a programmer.   Let the Marionette collaboration begin. Watch this video to learn how you can upload and share Marionette objects, nodes, and networks with your peers.
A_Wiese

New to scripting need advice on my current script

3 posts in this topic

Hello all!

 

I am working at a firm this summer in Nebraska and we are using Vectorworks. I am still learning the program however I have been tasked to create a canopy similar to the one below (Image 1) and was told I should explore marionette to make it. It needs to be full parametric since we are only in the schematic design phase. I have uploaded my code file below. 

 

The way I created the code was similar to how I would have modeled it... not sure if that is the right way. It is quite messy and disorganized. Essentially I need a way to create the smaller members and that they sit onto of the larger beams and move with the larger beams. 

 

Please let me know if you can help 

 

thank you 

AW

63434f0bf1e75bedbfb09dc840336014.jpg.b5dd3ac83c02c9e488d24a315ab70df9.jpg

Screen Shot 2017-05-18 at 4.32.15 PM.png

Script_for_canopy.vwx

0

Share this post


Link to post
Share on other sites

Thanks for the reply Patrick 

 

So the 3 large  "Beams" are built

1. using the (NURBS Curve) node to form a straight line that has 3 points beginning middle and end. more will be added as the form gets more complex

2  a rectangle is extruded alone the curve using the origin as the first point in the curbs curve 

(this seems to work well and respond accordingly when the parameters or inputs are changed)

 

the problems start to come about when I build the cross members (8 are show in the photo one is a line) the cross members need to be tied to the beams so when the beams change the cross members respond. below is the way I coded and built the object. please let me know if there is a simpler way to create the cross members.

 

3  the beam curve is divided using the (divide curve) node into (x) amount of points this is done for all the beam curves. these are ten exploded into a list node. 

4 the points form 3 exploded curves are then each connected using a order list node and the NURBS curve node. 

5 then a rectangle is extruded along the curve in similar fashion as the beams.

 

MY ISSUES 

-Is there an easier way to code and build this?

- when the beams change elevations the cross members do not respond to the beam and stay perpendicular is there a way to make this happen

- the cross members will be (2X4 dimensional lumber) and need to be offset to the top of the beams which will be (2X12 dimensional lumber) is this possible? 

 

Thank you for any help 

 

AW

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now