Marionette Maven Marissa Farrell Posted December 17, 2015 Marionette Maven Share Posted December 17, 2015 (edited) Here's another Marionette Object - this one produces the keys for a piano. There aren't currently many options in the OIP, but more can easily be added! [img:center]https://techboard.vectorworks.net/ubbthreads.php?ubb=download&Number=13709&filename=Marionette_Piano.png[/img] Edited December 17, 2015 by MarissaF Quote Link to comment
michaelk Posted December 17, 2015 Share Posted December 17, 2015 Very cool, Marissa! mk Quote Link to comment
AlanW Posted December 19, 2015 Share Posted December 19, 2015 (edited) Hi, Thought your keyboard needed a piano. But I get 4 duplicates of my extrude along path which gives me 5 bodies and when I place your keyboard in it shows the 2D plan of keys as well as when I place it in location, well it seems as soon as you move the keyboard it creates a 2D plan, you will see. Could you please have a look and put me out of my misery. Thanks Edited December 20, 2015 by Alan Woodwell Quote Link to comment
AlanW Posted December 21, 2015 Share Posted December 21, 2015 Hi, Well I got rid of the duplicates but not sure if its the right way to do this, so if you can point me in the right direction would be grateful. Tried adding lights but will have to have a little more practice. Thanks Quote Link to comment
Marionette Maven Marissa Farrell Posted December 21, 2015 Author Marionette Maven Share Posted December 21, 2015 Hi! So the 2D shapes you were seeing exist because my original network sort of became a hybrid object. I wasn't able to keep this functionality once you incorporated your additions (which I LOVE by the way! Very impressive!) What I changed in this file: I grouped many of your output shapes, just to clean up the object a bit (I couldn't get the 'extrude along path' object to group without disappearing... so that still just exists as is.) Inside of the "Keys" wrapper, I removed the 'copy' nodes from the script (that's where the 2D keys were coming from). I think that's all I did. Don't hesitate to ask anything else on this! And if you continue to add to this piano, please show me! I'm very interested! Quote Link to comment
the frog Posted December 22, 2015 Share Posted December 22, 2015 hello the piano makers I worked from your files (keys and shape)and added some. Still missing lots of parts! Strange things are coming out. Copy a "move" node from one file to the other gives an error pop up when I execute. If I delete the node and replace it with one from the Marionette palette No problem. if I copy from my own file No problem. Same with group. The strange last thing when I execute everything is ok but for the piano side, would not appear. As you can see in the script I cut the last link and execute it alone: No problem If you have any idea ? Quote Link to comment
the frog Posted December 31, 2015 Share Posted December 31, 2015 Hello This is the work on the keyboard. It joins the Polygon origin problem found by Alan. I am not a programmer but from what I read about Python it is a Tuple function in the Eval node that causes the impossibility of moving the poly. For no programmer (like me) Tuple means that the value you give stays even if you write later in the program to change it. So with the Sequence function nothing moves. What I found (music) is that all white notes have a different size of key. That’s why you have this huge list of vectors to start the keys. Happy New Year again 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.