KyleMac Posted October 21, 2016 Share Posted October 21, 2016 Hi all, Very new to Babylon, and indeed 3D stuff (a couple of days). I've created a lathe mesh which I'm happy with, but would also like to be able to update the shape of it dynamically. Is this possible? I may be mis-reading, but the documentation would suggest no and yes, in that there's no method for an updated mesh as there is with ribbons, extruded shapes etc. (and I think I read somewhere which I can't find now that you couldn't). But, there is an 'updatable' property on the lathe which gives me hope you might be able to! Any advice greatly appreciated :-) Quote Link to comment Share on other sites More sharing options...
JohnK Posted October 21, 2016 Share Posted October 21, 2016 Unfortunately am on mobile for a couple more days or I would try update method on the simple lathe mesh myself. Try something like the example for updating the ExtrudedShape and see if it works. Here is a playground example of updating a ribbon which may help. Quote Link to comment Share on other sites More sharing options...
jerome Posted October 21, 2016 Share Posted October 21, 2016 The BJS Lathe mesh is not updatable (well, morphable) with its CreateLathe method. Actually, the lathe is just a shape around a symetry axis... in other terms, it's a tube. And the BJS is updatable Another way to do would be to use the extrusion as JohnK suggested, or a Ribbon. Quote Link to comment Share on other sites More sharing options...
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.