Array on a spline with some randomisation
 1-13  14-33  34-53  54-66

Previous
Next
 From:  Michael Gibson
5416.34 In reply to 5416.32 
Hi Pilou, you can "comment out" script code by either putting // characters at the start of each line, like

// code here
// code....
// etc....

or also you can do a whole block by putting /* */ around the whole block like:

/*
a bunch of code here
etc...
etc...
*/

- 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:  BurrMan
5416.35 In reply to 5416.30 
"""""""""""The year is 2035 and the world is over populated.............this is Sky City 001.""""""""""

Your not just a table guy with helpers... You have the artist thing. I love your side stuff. :o
  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)
5416.36 In reply to 5416.34 
thx!
for the /*a bunch of code here etc...*/
That will be in another life :)
---
Pilou
Is beautiful that please without concept!
My 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:  DannyT (DANTAS)
5416.37 In reply to 5416.35 
Thanks Burr,

It was just something that popped up in my head when Michael released the script, it didn't take long and imagine what it would take to do that without the Randomize script.

Cheers
~Danny~
  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:  moritaka
5416.38 
It's a lot of fun.
I was able to easily create.


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

Message 5416.39 deleted 23 Sep 2012 by MORITAKA

Previous
Next
 From:  TpwUK
5416.40 In reply to 5416.38 
I like this one, Moritaka .... Well done

Martin
  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:  Marc (TELLIER)
5416.41 In reply to 5416.40 
Thanks for the update Michael!

Marc
  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:  Volksgasmaske
5416.42 In reply to 5416.41 
What a great script.
Thank you very much for sharing it.

Best regards.

EDITED: 25 Sep 2012 by VOLKSGASMASKE

  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
5416.43 
Lerp sounded so strangely familiar, I had to look it up:

(The pear psylla insect is such a pest.)

From Wikipedia:
"Lerp may refer to
Lerp (biology), a structure produced by larvae of psyllid insects as a protective cover.
Lerp (computing), a quasi-acronym for linear interpolation in computing and mathematics."

http://msdn.microsoft.com/en-us/library/windows/desktop/bb509618(v=vs.85).aspx
  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:  raytownmike (HOPPER)
5416.44 
I can't seem to get this script to work. Any thoughts installation etc..?
Message reads: Can't find variable:Randomize
  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:  raytownmike (HOPPER)
5416.45 In reply to 5416.5 
I can't seemed to get the Randomize script to work. Message reads: Can't find variable: Randomize like 1 1:>>Randomize

Any thoughts what I maybe doing wrong here. I believe I installed it correctly.
  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)
5416.46 
If it's this one ?
No problem for me! (works also fine with curves)
Maybe you must post your 3dm file!

EDITED: 12 Sep 2016 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
5416.47 In reply to 5416.44 
Hi Mike, re:

> I can't seem to get this script to work. Any thoughts installation etc..?
> Message reads: Can't find variable:Randomize

Please double check the instructions here at FAQ #1.

That error message means that MoI tried to run the contents of your shortcut key command text as direct immediate script code. It will do that if it could not find a file of that name in the commands folder, or if you have set up the shortcut key command with a "script:" prefix on it (like if you shortcut key command is set up as script:Randomize instead of just plain Randomize).

If you have just plain Randomize as the shortcut key command then it means that the Randomize.js and Randomize.htm files are not getting copied into the commands folder, so double check that and restart MoI after you have copied them.

- 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:  raytownmike (HOPPER)
5416.48 In reply to 5416.47 
I have installed these before and I still can't get this one to work. Most of the installs I have also show up in the Ext. scripts list buy not this one. I have had at times some do this were I can't get them to show up. There isn't platform issues is there?

EDITED: 13 Sep 2016 by HOPPER

  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
5416.49 In reply to 5416.48 
Hi Mike, nope no known platform issues, I just gave it a check over here on my own Mac to make sure.

Can you please show me a screenshot of where you have placed your Randomize.htm and Randomize.js files, and also a screenshot of what you have set up for your keyboard shortcut?

One thing to note is that with Safari, when you download the Randomize.zip file, it automatically unzips it into a folder named Randomize with the 2 files contained within that folder. You've got to go into that folder and move those 2 files over, if you move just the entire folder so the whole Randomize folder is a nested folder underneath MoI's commands folder that won't work.

- 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:  raytownmike (HOPPER)
5416.50 In reply to 5416.49 
Here is the path and short cuts. A lot of commands are floating and not nested. Should it show up in my Ext. scripts list?
Image Attachments:
Size: 34.3 KB, Downloaded: 19 times, Dimensions: 470x162px
Size: 60.2 KB, Downloaded: 17 times, Dimensions: 973x194px
  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
5416.51 In reply to 5416.50 
Hi Mike, so it looks like you've got 2 problems there, first your keyboard shortcut says: "script: Randomize" - you need it to say just plain "Randomize" instead, without any script: prefix.

If you put script: in front of the text for the Command part of a shortcut key, it will run the text immediately following it as direct JavaScript code, which will result in the syntax error that you noticed.

To run an installed command file, you have to put just the name of the file (without .js extension) in the shortcut key, that will make it look up the file in the commands folder.

Then the second problem is that the Randomize.js and Randomize.htm files are not directly inside the first level of the commands folder, you've got them nested down an additional level in a Randomize folder. Go into that Randomize folder and move the files up one level in the folder hierarchy so they are directly inside the commands folder instead of nested down in a sub-folder.

Once you tune up those 2 things you should then be set up. If you need a reminder for future reference, FAQ #1 has instructions for this and I've added a little bit to that to help clarify.

Hopefully you'll be able to get all set up now!

- 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:  raytownmike (HOPPER)
5416.52 In reply to 5416.51 
Thank you very much for your assistance. See the attached images for where I am at. I apologize for all my confusion. I still get that error message.
Would it make sense to delete some sort of preference file? Or do you see something I am still doing wrong here.
Image Attachments:
Size: 32.8 KB, Downloaded: 25 times, Dimensions: 435x163px
Size: 60.8 KB, Downloaded: 31 times, Dimensions: 527x491px
Size: 63.1 KB, Downloaded: 23 times, Dimensions: 830x189px
  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:  Karsten (KMRQUS)
5416.53 In reply to 5416.52 
Did you restart Moi?
  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-13  14-33  34-53  54-66