An_pi Posted March 25, 2020 Share Posted March 25, 2020 Hi guys. Is there a way to scale mesh "uniformly" like we can do with the peak node, but choose the axis. An example could be a flat long box that we wanna scale "uniformly" in the X and Z axis but not in the Y axis. Quote Link to comment Share on other sites More sharing options...
An_pi Posted March 25, 2020 Author Share Posted March 25, 2020 So I came up with this. vector dir = normalize(-@P); vector size = getbbox_size(0); @P = (@P - (dir / size) * chf("distance")); Don't know if there is a node to do this, but I couldn't find it. Cheers Quote Link to comment Share on other sites More sharing options...
anim Posted March 25, 2020 Share Posted March 25, 2020 (edited) not sure it's doing what you think it's doing but if you just want non-uniform scale (which is what uniform scale in certain axis sounds like) then use Transform SOP and scale just in X and Z for example Edited March 25, 2020 by anim Quote Link to comment Share on other sites More sharing options...
An_pi Posted March 26, 2020 Author Share Posted March 26, 2020 (edited) Hi @anim I don't know what to think anymore To be clear. I am trying to make a simple table with 6 legs. I am placing the legs by "shrinking" the underside of the table and using the side points to copy the legs on to. The solution I posted before does not work, because I have two points in the middle of the table that will scale wrong, so I made a pretty ugly solution with a fit function. It seems to be a very simple task to do, so I am sure that there is a more elegant way? Here's an example of my ugly solution. table_example.hip Edited March 26, 2020 by An_pi Quote Link to comment Share on other sites More sharing options...
anim Posted March 26, 2020 Share Posted March 26, 2020 in this case you can use Polyextrude Inset table_example_fix.hip 1 Quote Link to comment Share on other sites More sharing options...
An_pi Posted March 26, 2020 Author Share Posted March 26, 2020 Thank you Tomas 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.