Itoo Software Forum

Forest Pack => Forest Pro (*) => Topic started by: RealViz on September 02, 2019, 09:14:46 AM

Title: Reset size and Rotate
Post by: RealViz on September 02, 2019, 09:14:46 AM
Hi, when I use Custom Edit mode there is button for Reset Size but not for Rotation. Is there chance to implement it? THX
Edit: now I think that Button Reset Size dont work. :-( FP 6.1.6
Title: Re: Reset size and Rotate
Post by: Rokas on September 02, 2019, 11:06:23 AM
Hi

Thanks for question. Let me explain a bit:
All Transform values are applied as a post-effect.
If You are in Custom Edit mode and Your Random Transforms are enabled, then Reset Size button wont work:
(https://i.imgur.com/2c1Msjy.png)

You need to "bake" transforms to items and disable Random Transforms. This can be done with one button click "Store Random"
(https://i.imgur.com/9a4vQqb.png)

Then Reset Size Button will work as expected- reset Items size to original geometry size:
(https://i.imgur.com/RkcZ9Qo.png)

To reset rotation as well You can run this script:
Code: [Select]
for each in ($.trees.getSelected()) do $.trees.setRotation each [0,0,0]
$.trees.update()

(https://i.imgur.com/KNTT8Bs.png)

Hope this explains how FP works a bit and You can find a solution in Your workflow.

Have a great week.
Title: Re: Reset size and Rotate
Post by: RealViz on September 02, 2019, 01:48:18 PM
Thanks. That works fine. It would be great if the reset works even if I don't press the "store" button and reset to default size / rotate. Because I often forget to press "store".
Title: Re: Reset size and Rotate
Post by: Rokas on September 02, 2019, 02:16:45 PM
Long story short: if it does not work, just press Store Random and try again.
Title: Re: Reset size and Rotate
Post by: RealViz on September 02, 2019, 02:29:14 PM
OK, thanks.