Parametric design in MoI?
 1-19  …  60-79  80-99  100-119  120-139  140-159  …  900-912

Previous
Next
 From:  Karsten (KMRQUS)
7713.100 In reply to 7713.99 
Hi Pilou,

I renamed Math.js to nodemath.js to avoid Problems with other libraries. Both files are not finished, because a lot of mathematical functions are missing. especially there are some control sequences in the Array functions are missing (Clip the Arrays when they have different length). So I think You shouldn't translate them yet. Caused by the genue structure of Max's and Javi Agenjo's code, additional nodes touches the code in a first step only at index.html. I don't know if the proposed nodes are useful for someone, so we should Play around with them, discuss about the functionallity and improof them, or throw them away. So you can be fully concentrated to Max core functionality.
At this time I don't had a look at the internationalization function, because I have enough Problems with JavaScript and understand the code. But nevertheless I will have a look and try to understand it!? (I'm not a programmer - I only interessed in NOOODESS)

To integrate the files, place them in the nodes Folder. Then add two lines in index.html
<script type="text/javascript" src="nodes/nodemath.js"></script>
<script type="text/javascript" src="nodes/arrays.js"></script>

The menues will then generated:-)

Because all new nodes (excluded line, ICurve) are in These two files, they are already isolated:-) -> for doing with it, what you want!

A repository is a great idea, but we should wait till the next release!

Have a nice day!

Kind regards
Karsten
  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)
7713.101 In reply to 7713.100 
@Karsten
Thanks: it's more clear for me! :)
You have forgotten the file .nod !;)

French Multi-Language file lang.js : http://moiscript.weebly.com/uploads/3/9/3/8/3938813/lang.js
can be also found here : http://moiscript.weebly.com/elephant-systegraveme-nodal.html


@Max : about the translation : I have found that the more easy for me was to translate directly the file .nod!
So I use the function F3 with celerity and also Seach/ Replace "title":"English Word" / "title":"French Word" :)

A little surprise was I must change the size of button like "Loft" -->"Surface Tendue" inside the file .nod! :)
Because seems in file .nod buttons are static!
(I can of course also Remove it and remplace it directly in the Editor with the French Nodes version: easy when few but not in many!

EDITED: 8 Dec 2015 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:  Karsten (KMRQUS)
7713.102 In reply to 7713.101 
Hi Pilou,

sorry! Here is the .nod-file. You Need also the ICurve-function - posted by Brian! You will find it here -> http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.91

Kind regards
Karsten
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:  Frenchy Pilou (PILOU)
7713.103 In reply to 7713.102 
@Karsten
Thanks : useful for training of translation! ;)

But seems I need more infos about install the the ICurve...because there is yet a nodes/factories.js inside the the index.html ! ;)
And some others don't yet appear! (Sin, Cos, 1..n, Generativ Array :)


PS International language is not coding! ;)
It's like that for example for French (here only 2 lines but there a little more :)

FR: {
"Circle" : "Cercle",
"Z axis" : "Axe Z"
},

EDITED: 8 Dec 2015 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:  Karsten (KMRQUS)
7713.104 In reply to 7713.103 
Hi Pilou,
sorry for the late reply. You have to replace the original factories.js with the version from Brians post. In the index.html you have to add the two lines. Then it should work. For study look at the attached file. Please make copies of your originals:-)

Kind regards
Karsten
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:  Frenchy Pilou (PILOU)
7713.105 In reply to 7713.104 
@Karsten
Bingo! And in French! :)
It's a little chaotic as process! :)

You right I will wait some times before all was on the road for make the reposity! :)
When I see that I am a little affraid! :) http://modelab.is/grasshopper-primer/

So for the effort try CTRL+SHIFT+CLICK on the Options' Button inside Moi UI ! (bottom middle right screen)

EDITED: 8 Dec 2015 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:  James (JFH)
7713.106 In reply to 7713.105 
This is an inelegant solution to achieve this result,
but its my first scratch in the surface of possibilities.

Thanks to Max.... & Brian & Karsten

Regards
James

EDITED: 28 Nov 2016 by JFH

  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)
7713.107 In reply to 7713.106 
Post your file .nod that can help some one! ;)
---
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

Message 7713.108 deleted 14 May 2019 by JFH

Previous
Next
 From:  Karsten (KMRQUS)
7713.109 In reply to 7713.106 
Hello James,

I think you can't make it better with this basic nodes. I tried to make something flexible - on the other side it is difficult to handle and confused to work with it. I think we need some more specialized nodes in the future for particular things. Nevertheless, it seem you have fun and that's important! I have:-) in any case.

I think that the following approach can make things easier, but it's buggy, crashes the script-engine, and can't store the reference to the selected object. I don't know how to solve the problem, and I don't know if it is possible at all:-(
(my programming abilities are very limited)





Kind regards
Karsten
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:  James (JFH)
7713.110 In reply to 7713.109 
Karsten

Yes it is great fun.

I see in your animated gif that you have developed some more nodes: Revolve & PickedCurve
as well as a set of Logic nodes.

I would love to have a play with them. Can you please make them available.

Love your work
James
  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)
7713.111 In reply to 7713.110 
Hello James,

sure!

But there are a lot of bugs in some functions. If you want to use "pickedCurve", you have first select the Curve and then generate the node. Before you leave the nodeeditor, remove the node - otherwise the Editor crashes. I think the reference to Moi's database locks something!? Maybe Michael or Max should have a look on this sometimes, but I think they have something better to do presently.

Have a nice day
Karsten

p.s.: Be Aware everything I made is only a draft!

  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:  James (JFH)
7713.112 In reply to 7713.111 
Karsten

Thank you for the files. Can you tell me what "pickedCurve" offers over & above "Selected" node?

Thanks again
James
  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)
7713.113 In reply to 7713.112 
Hello James,

sorry, I didn't get you. Could You give me some more Details?

Kind regards
Karsten
  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)
7713.114 In reply to 7713.113 
WTF!!!

Thank You for your note!!! Now I understand! It is already implemented! I have fail to see!

Now I can study how Max has solved the Problem:-)
Have a nice day

Karsten
  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:  James (JFH)
7713.115 In reply to 7713.114 
Hi Karsten

I am unable to switch off caps on your "revolve" node.
I have tried inputting a false result from a logic operator
but caps remain. Is this a bug?

Regards
James
  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:  James (JFH)
7713.116 In reply to 7713.115 
To better explain my issue I have attached screen shot and .nod file
By my reckoning the A>B operator should switch off caps on the hyperboloid.

It is a brilliant node regardless.

James

EDITED: 16 Feb 2019 by JFH

  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)
7713.117 In reply to 7713.116 
Hello James,

the function was not fully implemented. My problem is that I don't know, if this is the right way. Maybe it is possible to build in controlelements inside the nodes. Maybe it is a better way to make special nodes for different behaviors of the same base function. Nevertheless here is a file:-)

Kind regards
Karsten
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:  James (JFH)
7713.118 In reply to 7713.117 
Thanks Karsten

That did the trick :)

Cheers
James
  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 7713.119 deleted 12 May 2019 by JFH
 

Reply to All Reply to All

 

 
Show messages:  1-19  …  40-59  60-79  80-99  100-119  120-139  140-159  160-179  …  900-912