Stephan Moenninghoff 381 Posted January 12, 2017 I have uploaded the current version of my parametric books. Features: Places books from a designated symbol folder in a box ("shelf") Eliminates books that are too tall or wide for the box Allows to randomize the sequence of placement within each book collection (symbol folder) Option to repeat the list to fill long shelves Six different types of random angles or all straight Offset from shelf edge (Random Max/Min) Allows for any number of stacks in-between standing books Number of books per stack (Random Max/Min) Offset and angles for stacked books (Random Max/Min) Option to have only stacks, no upright books Download Link: https://forum.vectorworks.net/applications/core/interface/file/attachment.php?id=4863 Alternate Link: http://www.interiorcad.org/upload/marionette/Marionette-Books.vwx.zip Known Issues: Modifying existing Marionettes runs smoothly, even with long shelves. However, placing new objects using the red symbol in the document or duplicating an existing Marionette takes a long time. I don't know if this is my own wiring or something else. I have logged a bug with Vectorworks. Let's see what it turns out to be. The gap between angled books and stacks is not correct. I'm running out of time :-). Maybe I'll fix that later. Here's a video to explain a little more in-depth what this does: 9 Quote Share this post Link to post
AlanW 522 Posted January 12, 2017 (edited) Lovely Piece of work. Also after you watch the video a nice video of subdivision is available, see second half,Simple when you know how. Edited January 12, 2017 by Alan Woodwell Quote Share this post Link to post
AlanW 522 Posted January 12, 2017 (edited) @Stephan MoenninghoffHi The Encyclopedia Books are now sorted correctly, I added a sort node in the network after the bottom Repeat List. See attached. I had to renumber the books to 01, 02,03 etc as 1 is read as 10 by computer as you would know, 10 onwards I left as is. Edited January 12, 2017 by Alan Woodwell 1 Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 12, 2017 Ah, I didn't think of the preceding 0. Thanks, Alan. Does Random still work now? I can't test just now. My PC is busy rendering and on the Mac it's still crashing. (They are on it though. This is slated to be fixed for SP3 :-) Quote Share this post Link to post
AlanW 522 Posted January 12, 2017 @Stephan MoenninghoffRandom still works with the sort node in. 1 Quote Share this post Link to post
Marissa Farrell 461 Posted January 12, 2017 @Stephan Moenninghoff - this file is really impressing QA here, just thought you should know I got a message this morning from a coworker 'You have to see this!' and I went over there, and of course it was your file. (Of course I already knew about it, but they all love it.) Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 12, 2017 (edited) Thanks, @MarissaF :-). Marionette is highly addictive. I had a couple of hours to spare today (a rare occurrence) and I had to make a decision what to do. Of course I ended up wiring a spike for a textured, parametric box, my next pet project ("anything you can put on a shelf"). I wish I could do more Python sometimes to be more flexible. Having said that - what we can do just with nodes is already very good. I hope, Marionette will get regular updates with new features. Edited January 12, 2017 by Stephan Moenninghoff 1 Quote Share this post Link to post
Marissa Farrell 461 Posted January 12, 2017 Just now, Stephan Moenninghoff said: Thanks, @MarissaF :-). Marionette is highly addictive. I had a couple of hours to spare today (a rare occurrence) and I had to make a decision what to do. Of course I ended up wiring a spike for textured, parametric box, my next pet project ("anything you can put on a shelf"). I wish I could do more Python sometimes to be more flexible. Having said that - what we can do just with nodes is already very good. I hope, Marionette will get regular updates with new features. This is really fun to watch. 1 Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 12, 2017 Yeah, oddly satisfying. 2 Quote Share this post Link to post
AlanW 522 Posted January 13, 2017 (edited) @Stephan MoenninghoffHi, I notice that a lot of the new nodes are by 'HMK' is that Hans M K and one by 'Nicholas G'. I haven't seen them in the Marionette Forum. If they have more I would certainly like to see any that they have to contribute to the Forum. Thanks Ok i see them all now https://www.extragroup.de/xg/team/ Great work Team I want to see more please. Edited January 13, 2017 by Alan Woodwell Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 13, 2017 41 minutes ago, Alan Woodwell said: @Stephan MoenninghoffHi, I notice that a lot of the new nodes are by 'HMK' is that Hans M K and one by 'Nicholas G'. I haven't seen them in the Marionette Forum. If they have more I would certainly like to see any that they have to contribute to the Forum. Thanks Ok i see them all now https://www.extragroup.de/xg/team/ Great work Team I want to see more please. Yes, Hans Martin Kern is our CTO and my associate in the company and Nicolas Goutte is our Python Guru. They helped me with some of the changes made to the Index and Random Chunk Nodes. Quote Share this post Link to post
Robert Anderson 128 Posted January 13, 2017 Stephan, most impressive. (I loved the fact that you had a Karl May collection!) Could one move examples from all the collections into a "general random" folder and get a truly randomized collection of books? Quote Share this post Link to post
Neil Barman 164 Posted January 13, 2017 Wow! That's a fantastic use of Marionette and superb results Stephan! -Neil 1 Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 13, 2017 1 hour ago, Robert Anderson said: Stephan, most impressive. (I loved the fact that you had a Karl May collection!) Could one move examples from all the collections into a "general random" folder and get a truly randomized collection of books? Ah, you mean like on a real messy person's shelf? :-) I cringe when I think of Karl May mixed with Penguin and trashy novels but hey, why not. I am sure there are marionetteers on this forum who could change the "Symbol in Folder" Node (was that even one of @DomC's?) to drill down into subfolders. That way the cake could be kept and eaten at the same time. Then again, one might want to exclude the Karl Mays after all (and the encyclopaedia). About time I learned Python. Quote Share this post Link to post
AlanW 522 Posted January 13, 2017 (edited) The great thing this about this network is it has endless possibilities for placement of items. Here is a kids shelf with toys generated by the network. The potential is endless. Edited January 13, 2017 by Alan Woodwell 2 Quote Share this post Link to post
AlanW 522 Posted January 14, 2017 This sort of input gets the brain going. Simple to fill up supermarket shelves in 3d with a simple script like this one. Will need to adjust to suite shelves heights etc and find a better way to have hundreds of items in a folder to choose from. Also set so the front is random with a few missing. Items_on_shelves_002.vwx 1 Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 14, 2017 (edited) @Alan Woodwell That sounds like a great idea for another "shelf life" marionette (should we create a new tag? I'm also working on a new "shelf life" Marionette this weekend). Can't wait to see the finished script. BoxShot app has parametric bottles, bags, cream tubs etc., so no end of possibilities there. I'll make some as soon as I get the chance. I noticed you used the "Get Bounding Box" node to get at the symbol footprints. I would never have tried that because the description reads "Returns the bounding box's coordinates of an objects *projection on the screen*. If this also works for the 3D projected footprint (as apparently it does) the description should be changed to reflect that, don't you agree? Edited January 14, 2017 by Stephan Moenninghoff Quote Share this post Link to post
DomC 303 Posted January 14, 2017 (edited) The Descreption was all right for the first version of the Get Bounding Box Node. Because the Script-Command does exactly this and returns wrong results in wrong views. The Marionette engine I think, newly run the script in a Top Plan view. So the Descreption should be changed. From a isolated view, the desception is matching exactly for the RunNode() Methode. But the Node runs in the Marionette class, which changes to TopPlanView. Edited January 14, 2017 by DomC Quote Share this post Link to post
AlanW 522 Posted January 14, 2017 @DomCHi, This sort of thing is very similar to your magazines on shelves you did a while ago. Could you re do that to place things on shelves or is that not suitable? Quote Share this post Link to post
AlanW 522 Posted January 14, 2017 Hi, I see its cold over there in Germany today. 36Dec C here today. Not sure where I would rather be. Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 14, 2017 1 hour ago, Alan Woodwell said: Hi, I see its cold over there in Germany today. 36Dec C here today. Not sure where I would rather be. Plus one, so not that cold. Suits me fine. Expecting some snow though. Quote Share this post Link to post
Stephan Moenninghoff 381 Posted January 17, 2017 OK, no new features for the bookshelf this week. I'm attending the "BAU 2017" in Munich. "Been there, done it, got the t-shirt". Unfortunately, all t-shirts are size S... :-) Quote Share this post Link to post
AlanW 522 Posted January 17, 2017 I want one of the T-shirts Please. Quote Share this post Link to post
RussU 173 Posted January 17, 2017 Hi, I've just come back from Munich... One of my stands is in Hall 5. hope you've wrapped up warm there. Was minus 7 last week. Quote Share this post Link to post
Rummelplatz 2 Posted April 28, 2017 On 17.1.2017 at 10:41 AM, Alan Woodwell said: I want one of the T-shirts Please. Maybe I could send you that graphic(I made it) and you can print it yourself. Currently there are none left... Quote Share this post Link to post