Itoo Software Forum

Author Topic: Reset size and Rotate  (Read 133 times)

RealViz

  • Jr. Member
  • **
  • Posts: 52
Reset size and Rotate
« 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
« Last Edit: September 02, 2019, 09:39:19 AM by RealViz »

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1918
    • iToo
Re: Reset size and Rotate
« Reply #1 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:


You need to "bake" transforms to items and disable Random Transforms. This can be done with one button click "Store Random"


Then Reset Size Button will work as expected- reset Items size to original geometry size:


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()



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

Have a great week.
« Last Edit: September 02, 2019, 11:16:13 AM by Rokas »
Rokas
iToo Software

RealViz

  • Jr. Member
  • **
  • Posts: 52
Re: Reset size and Rotate
« Reply #2 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".

Rokas

  • iToo Software
  • Hero Member
  • *****
  • Posts: 1918
    • iToo
Re: Reset size and Rotate
« Reply #3 on: September 02, 2019, 02:16:45 PM »
Long story short: if it does not work, just press Store Random and try again.
Rokas
iToo Software

RealViz

  • Jr. Member
  • **
  • Posts: 52
Re: Reset size and Rotate
« Reply #4 on: September 02, 2019, 02:29:14 PM »
OK, thanks.