Ben3B Posted March 21, 2023 Share Posted March 21, 2023 Hello I'm new to marionette and on VWX since 2years . I would make my stand adjustable in height. the stand is 1 base 2 tubes I don't know if I can "put" the marionette inside the symbol oor if the marionette as to import all element ? I want to put the height and the the second tube is moving from 1cm to 140cm Thanks in advance to give me the base, and the good direction I'm learning, I come back with my work on it later 🙂 Quote Link to comment
Ben3B Posted March 21, 2023 Author Share Posted March 21, 2023 (edited) Hello Step2 I arrive to build a simple marionette object, with the top legs adjustable in Z ... and with attached records But I have question How can I give a range to the height value from 0 to 1m ? My object work in my file but when I importe it in a blank, as soon as I change the height, all are convert to a simple 2d obj ... At the end I wan't put the total height between 1.4m to 2.4m in a field . the idea is to use the stand height of the stand records field .. is it possible ? Thanks ! stand marionette in blank file.vwx 1179006955_Standmarionette.vwx Edited March 21, 2023 by Ben59 add files Quote Link to comment
Niels Timmer Posted March 21, 2023 Share Posted March 21, 2023 Hello Ben, The same thing happens when I open "stand marionette in blank file.vwx". I found a workaround: before changing the height, dubble click the Marionette Object, it will show this message: Don't change anything, click Exit Marionette Script, and now it works. Don't ask me why 😄 I changed your network and added a slider that ranges from 0 to 1000. You can change the min and max values by editing the Python script inside the slider node. stand marionette in blank file.vwx Quote Link to comment
Ben3B Posted March 22, 2023 Author Share Posted March 22, 2023 Hello thanks @Niels Timmer 🙂 So I add a text to show the stand height in 2dtop plan But I have difficulty to put the text at the right place , I want the insertion text point is bottom center ... I only find a way with 2d point , so i can put the text "where" I want but the insertion point is still top left ... Second with math object and suffix, I can display text in meter, but the slider field doesn't display the stand height, it only display the range of the moving second tube (o to 1000mm) Third (bonus) is a way to link that value to the stand height record field ? I'm able to link something to that field, but I dont no where I can find the slider or text value from the marionnette to link to that field ... Hope I'm clear enough 🙂 stand marionette in blank file02.vwx Quote Link to comment
Niels Timmer Posted March 23, 2023 Share Posted March 23, 2023 Hi @Ben59, Here are my answers to your questions: I think you already found the EasyText node. I quickly added prefix and suffix functionality, so now you are able to change the insertion point and still have a suffix. If you want the slider to display the stand height instead of the moving distance of the second tube, you'll have to put some math between the slider and the "Point 3D"-node. I didn't add that to your network now. For the bonus question I used the "Set Record Field"-node. I used the "Marionette Object"-node to attach the record to the Marionette object your network creates. I hope this helps. Good luck! stand marionette in blank file02.vwx 1 Quote Link to comment
Ben3B Posted March 23, 2023 Author Share Posted March 23, 2023 5 minutes ago, Niels Timmer said: I think you already found the EasyText node. I quickly added prefix and suffix functionality, so now you are able to change the insertion point and still have a suffix. Thanks i just got there 6 minutes ago, Niels Timmer said: If you want the slider to display the stand height instead of the moving distance of the second tube, you'll have to put some math between the slider and the "Point 3D"-node. I didn't add that to your network now. ok 'ill try , idem for the bonus 🙂 Quote Link to comment
Ben3B Posted March 23, 2023 Author Share Posted March 23, 2023 23 minutes ago, Niels Timmer said: If you want the slider to display the stand height instead of the moving distance of the second tube, you'll have to put some math between the slider and the "Point 3D"-node. I didn't add that to your network now. I edited the top leg 3d component (move the default position to -1200mm 🙂 ) Quote Link to comment
Ben3B Posted March 23, 2023 Author Share Posted March 23, 2023 So i've another problem , how can I choose witch 2d component is in top off the other ? I duplicated my stand and add some accessorys... But the 2d representation isnt good, the base is on the top of all ... And I cant edit the 2d because its generated by the plugin ... If I change the symbol insertion in the marionnette the 2d is ok , but obviously the accessory is at the wrong place in the 3d.. Quote Link to comment
Ben3B Posted March 23, 2023 Author Share Posted March 23, 2023 I found a way with the backwards node from @DomC 🙂 1 Quote Link to comment
Ben3B Posted March 23, 2023 Author Share Posted March 23, 2023 and here is the "final" file TLS431+accessoires.vwx see you for the next step add speaker and tv on it ... 1 Quote Link to comment
Ben3B Posted March 27, 2023 Author Share Posted March 27, 2023 On 3/21/2023 at 2:41 PM, Niels Timmer said: The same thing happens when I open "stand marionette in blank file.vwx". I found a workaround: before changing the height, dubble click the Marionette Object, it will show this message: Don't change anything, click Exit Marionette Script, and now it works. Don't ask me why 😄 no idea about that ? now that my file is ok , saved and classed .. as soon as I want to use the marionette object ( style) in other file... i have to put the object and edit it , if not , it desaper as soon as I edit its height ( with the slider) Quote Link to comment
Ben3B Posted March 27, 2023 Author Share Posted March 27, 2023 2023-03-27 17-19-20.mp4 Attached the video where you can see the problem Quote Link to comment
Ben3B Posted March 31, 2023 Author Share Posted March 31, 2023 (edited) It seems to be a unit problem with the value from the slider to the move node ... Anyone know a node who convert unit value in universal value in order to be able to import object drawn in one unit to a file in an other one ? Edited March 31, 2023 by Ben59 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.