Lucio Liberi Posted September 17, 2015 Share Posted September 17, 2015 Already Grasshopper user (Rhino) I'm very happy about VW Marionette. Now the question is: could we 'assemble' a script using Vectorscript, instead Python? Maybe in the next release? Thank you L. PS We need a lot of example in using Mtte or a user manual, or something else... Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted September 17, 2015 Vectorworks, Inc Employee Share Posted September 17, 2015 PS We need a lot of example in using Mtte or a user manual, or something else... It's comin'! It's in progress right now: [img:center]https://techboard.vectorworks.net/ubbthreads.php?ubb=download&Number=12829&filename=Screen%20Shot%202015-09-17%20at%202.41.48%20PM.png[/img] Quote Link to comment
Mark Flamer Posted September 17, 2015 Share Posted September 17, 2015 There is also a wiki page started for Marionette. It does explain some details that are not documented anywhere else. All you need to do to contribute to the page is register. So, please help us make this an active source of information for everyone. http://developer.vectorworks.net/index.php/Marionette Quote Link to comment
Bas Vellekoop Posted September 17, 2015 Share Posted September 17, 2015 (edited) @mark: Great first piece on the wiki page. Very excisable! Hope it will grow over time! Edited September 17, 2015 by Bas Vellekoop Quote Link to comment
rDesign Posted September 17, 2015 Share Posted September 17, 2015 Awesome - I went to that Wiki this morning and it was blank - and now it's not. Is there a comprehensive list of all the possible nodes and their functions? I didn't see anything in the online help file. Thanks. Quote Link to comment
Kevin McAllister Posted September 18, 2015 Share Posted September 18, 2015 I've browsed through the nodes and it feels like what's available so far are the basic building blocks from Vectorscript/Python. I'm assuming the next step is to create some intermediate nodes for those of us with limited coding experience who want to experiment with visual scripting. For example there is a node for creating an Extrude Along Path but not for Duplicate Array or Duplicate Along Path, two functions that would be very powerful for experimentation. I assume this is because EAP functionality exists directly in Vectorscript whereas the other two are functions built from code. Clearly someone with scripting experience could build those nodes from scratch. But for experimenters like me these are the type of intermediate nodes I would hope to see on the development path to bridge the gap between coder and average user. Kevin Quote Link to comment
Lucio Liberi Posted September 18, 2015 Author Share Posted September 18, 2015 Thank you, Jim. And, what about Vectorscript code instead of Python? L. P.S. About the reference: nice job! Quote Link to comment
Vectorworks, Inc Employee PVA - Admin Posted September 18, 2015 Vectorworks, Inc Employee Share Posted September 18, 2015 Python only for now and likely for the future from what it seems to me, though I haven't heard that officially. Vectorscript is based of the much, much older Pascal and I don't think any new development takes place in it now. Quote Link to comment
Pat Stanford Posted September 18, 2015 Share Posted September 18, 2015 For now, Python is basically a wrapper around the existing Vectorscript calls. For the "fairly" simple things that an individual Marionette node should do, you can probably think in VS and write it almost line for line as Python. For me the hardest part is making sure that the capitalization is EXACT and remembering the white space matters. In Python the VS Begin and End statements you use to define the scope are replaced by having everything in the block have the same indentation. Quote Link to comment
gester Posted September 19, 2015 Share Posted September 19, 2015 (edited) i don't know if i asked this already, but i'll try nevertheless: is it possible in the marionette to convert some shape to a graphics' node? i mean e.g.: i want to use my own, manually created polyline as a path for the distribution of the, say, columns created in a marionette network... thx in advance, rob Edited September 19, 2015 by gester Quote Link to comment
Pat Stanford Posted September 19, 2015 Share Posted September 19, 2015 Several ways. One would be to name the object you want to use as the path. Then in the Marionette network you could access the object by name and use it as you want. Another way would be to make a Control Group. This is kind of like the path and profile objects in an extrude along path. You can access/edit this by right clicking on the Marionettte Object. I think you are stuck with the name option if you want to do it with a Marionette Network or Wrapper Node instead of with a Marionette Object. See the following thread for more information about Control Groups https://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Main=43136&Number=215710#Post215710 Quote Link to comment
gester Posted September 20, 2015 Share Posted September 20, 2015 thanks, pat. actually i don't care about the names, but you're right, i have to go deeper into the procedures. rob Quote Link to comment
Ilay Posted September 20, 2015 Share Posted September 20, 2015 (edited) One would be to name the object you want to use as the path. Then in the Marionette network you could access the object by name and use it as you want. yes, name is "mypath" alias in data name of poly-line and scatter by duplicating of circles (i forgot to filtered number of points to duplicate-node) i made such Edited September 20, 2015 by Ilay Quote Link to comment
gester Posted September 21, 2015 Share Posted September 21, 2015 btw pat, how to 'access the object by name'? can you shortly expand on it? thx in advance. rob Quote Link to comment
twk Posted September 21, 2015 Share Posted September 21, 2015 Even though Marionette, (I mean VW2016), hasn't been released in this part of the globe, I have a couple of quick questions - based on the videos/Techboard Posts released and the Developers Wiki I've been reading/following- 1. Seeing that Marionette scripts can be wrapped in to a wrapper 'object', can the data generated from these objects be scheduled into a worksheet? Would that procedure be the same as plugin objects? > Set Database Row > Cell Formula =('PIOName','PIOParameter') 2. After the marionette script is built, would you be able to export the marionette script into python/VS and create a PIO off of that? 3. Also one for JimW, any ETA on the Manual you're writing up? Would love to have a read before VW2016 gets released here in NZ. Thanks in Advance Tui Quote Link to comment
gester Posted September 21, 2015 Share Posted September 21, 2015 sorry ilay, i have focused on pat's answer, i missed yours. rob Quote Link to comment
Ilay Posted September 21, 2015 Share Posted September 21, 2015 (edited) Rob I expand it 1. human-made curve we named - mypath 2. add that alias to options in name node. script will begin to find target object with such alias Edited September 21, 2015 by Ilay Quote Link to comment
gester Posted September 21, 2015 Share Posted September 21, 2015 thanks ilay, i actually know how to name the object, the devil was in the left part of your explanation. rob Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.