re:
> Does it possible to have something for restore the Default Style that we have when we launch Moi ?
> (seven colors Black, Red, Orange, Green , Cyan, Blue, Magenta)
re:
> @ Michael How gradient numbers colors itselve are made following the path ?
> Following the number of objects selected or following an arbitrary number (eg 100) ?
It is assigned by taking the center of the object's bounding box and then finding the closest point on the path curve to that center point.
Then the parameter value of that point along the curve becomes the parameter for the gradient, with the start of the curve being the start color, blending up to the end of the curve being the end color.
<<> Does it possible to have something for restore the Default Style that we have when we launch Moi ?
> (seven colors Black, Red, Orange, Green , Cyan, Blue, Magenta)
<<< Yes, using File> New will do that.
Yes but i want keep that is on the screen and don't want close the actual file...
Just remake the original Style by default after any gradients
Maybe a script if you can't make an option
or a selection multiple for erase something large!
re:
> Yes but i want keep that is on the screen and don't want close the actual file...
> Just remake the original Style by default after any gradients
What about select what is on your screen, use Ctrl+C , then File>New, then Ctrl+V ?
re:
> ...and how works the filter? (Ctrl + Click)
That restricts object selection to only work on the filtered items. So for example if you set the filter on Style = Red, then when you click in the viewport (or do any selection action like Ctrl+A or whatever), only objects that have Style = Red assigned to them will be targeted for selection and any other objects not matching the filter will be skipped over.
<< What about select what is on your screen, use Ctrl+C , then File>New, then Ctrl+V ?
Ok above + new file keeps the colors used for the objects created! Cool!
<< when you click in the viewport (or do any selection action like Ctrl+A or whatever)
it's that i had forgotten!
Ctrl + A ok, Rectangular Selection ok, Click on an object ok = selection following filters selected
but what do you mean by only "Click on the viewport" ?
re:
> Ctrl + A ok, Rectangular Selection ok, Click on an object ok = selection following filters selected
> but what do you mean by only "Click on the viewport" ?
Same as what you say there for "click on an object".
Maybe some of you have noticed that the superb Gradient script uses 0-100 percent for hue (H)
instead of the commonly used 0-360 degrees for hue (H). So, to choose colors from a reference
image or palette you may do the following, as I currently do:
Look at an online site for RGB to HSV or HSB conversion or check the color palette in your Graphics
Editor and choose the HSV or HSB color there.
Then simply calculate the correct values for Hue = n for the script like: n/360*100 wich gives you for
example 70.83. In order to input these values in the script I have changed line 19 and 30 in the .html file to:
'NumericInput' instead of 'IntegerInput' and add 'style="decimalPlaces:2"' behind 'default="100"'