Hi Pilou,
> In Sketchup you have this snap but only for the rectangle during its
> drawing : maybe sufficient for the Golden number ?
In MoI you can set up the same thing - add a shortcut key (maybe for letter G for golden snap?) and for the command part paste in the following script:
script: /* Activate golden rectangle snap */ var pp = moi.ui.getActivePointPicker(); if ( pp ) { pp.clearStraightSnapAngles(); pp.addStraightSnapAngle( Math.atan2( 1, (1 + Math.sqrt(5))/2 ) * 180/Math.PI, 'Golden' ); }
Then when you are drawing a rectangle, after you have placed the corner point hit the G key if you want a golden rectangle and you should get a snap line like so:
Note that it will only work correctly if you go from lower left to upper-right drawing direction and not if you go from right to left.
- Michael
|