Color Gradient script?
 1-5  …  26-45  46-65  66-85  86-92

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.66 In reply to 9676.65 
OK that is more clear! :)

---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9676.67 In reply to 9676.63 
Hi Stefan, I've updated the attached versions to take a hue value between 0 and 360 so you can use these ones without doing any converting.

- Michael

EDITED: 15 Feb 2020 by MICHAEL GIBSON

Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  amur (STEFAN)
9676.68 
Hi Michael,

*thanks a lot, much appreciated!!!* :-)

Best regards
Stefan
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.69 
Must make a new translation! :)
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.70 
And of course with exactly same regulates!

---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.71 
French version will be done in a few time! (I must go to eat :)

@ Michael : Just a little detail :)
with the new 360 option you must erase this internal rectangle in the English "360" original! ;)

EDITED: 15 Feb 2020 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.72 
French version done with the 2 possibilities
H 0 -100 or 0 - 360 :)
http://moiscript.weebly.com/deacutegradeacutes.html

---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  nameless
9676.73 In reply to 9676.67 
Awesome stuff! Such a cool thread :)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.74 
Always fun :) And thx to Max Smirnov for its incredible Subdivision, Split, Bridge, Scale !
Explode Move an Hidden Function By Michael

EDITED: 15 Feb 2020 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9676.75 In reply to 9676.71 
Hi Pilou,

> @ Michael : Just a little detail :)
> with the new 360 option you must erase this internal rectangle in the English "360" original! ;)

Oops, looks like I forgot to remove that on the Path one. I've updated the attachment at:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9676.67

Thanks, - Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  nameless
9676.76 In reply to 9676.74 
Looking delicious Pilou :) <3

What is the Hidden Function script?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.77 In reply to 9676.76 
The hidden function is "ExplodeMove" native you must Press Tab and write it (with any capitals (so EXplodeMOVe is valid) but without Spaces! ;)
You can also make a shortCut
And it's present also if you have installted the List Scripts/Commands helper...for me the more speedy trick! ;)

EDITED: 15 Feb 2020 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
9676.78 
ExplodeMove is in Max's CustomUI, at the top of his Scripts menu.
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Mindset (IGNITER)
9676.79 
Is there some way that a version of the Color Gradient script could apply its effect to the vertices of a obj export (file)?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
9676.80 In reply to 9676.79 
Hi Mindset,

re:
> Is there some way that a version of the Color Gradient script could apply its effect
> to the vertices of a obj export (file)?

Sorry no there isn't any way to set them individually, faces in .obj export will inherit the color of the surfaces they were generated from.

To manipulate individual mesh vertices you would need to do that in a polygon mesh editing program.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  GonzoRus
9676.81 
Hi.

Please tell me how to assign hotkeys for the following actions:

1. Assign a fixed color to selected curves?

2. Assign a fixed color to all curves?

The color will be assigned in advance in the script:
"var red = XX, green = XX, blue = XX"

For version 3.0

All gradient scripts are very cool, but sometimes I need to quickly assign a color with hotkeys to individual curves or all curves.

I understand that the script will be like this:

"script: / * Assign styles to solids * / var styles = moi.geometryDatabase.getObjectStyles (); var breps = moi.geometryDatabase.getObjects (). getBReps (); var style_index = 0; for (var i = 0; i <breps.length; ++ i, ++ style_index) {if (style_index == styles.length) {style_index = 0;} var brep = breps.item (i); brep.styleIndex = style_index;} "

only for a single color and only for curves.

tried to edit this script, but I lack knowledge of syntax)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
9676.82 In reply to 9676.81 
Michael provided code for changing styles, used in the script for Jacobian function graph script, a few years ago. Do not know if you already have all of the code.

-Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
9676.83 
By Michael
script: /* Gradient Styles */ var red = 12, green = 15, blue = 20; for ( var i = 1; i <= 100; ++i ) { var style = moi.geometryDatabase.addStyle(); style.name = 'Gradient ' + i; style.color = (Math.abs(red%256)<<16) | (Math.abs(green%256)<<8) | Math.abs(blue%256); red += 2; green += 3; blue -= 7; }





---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 9676.84 deleted 19 Dec 2020 by BEMFARMER

Previous
Next
 From:  GonzoRus
9676.85 
I probably explain it wrong)

I need a simple script.

Just a fixed color. Color predefined in the script.

I understand color definition like this: red = XX, green = XX, blue = XX


1. all curves is assigned a color red = XX, green = XX, blue = XX (one fixed color)

2. the selected curves are assigned a color red = XX, green = XX, blue = XX (one fixed color)




only in MOI v.3 language for MOI to understand :)
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-5  6-25  26-45  46-65  66-85  86-92