Parametric design in MoI?
 1  …  42-61  62-81  82-101  102-121  122-141  …  902-912

Previous
Next
 From:  Karsten (KMRQUS)
7713.82 In reply to 7713.80 
Hello Max,

thank You very much - I didn't know about ".origin" in the construct. But now everything makes sense.

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:  Frenchy Pilou (PILOU)
7713.83 In reply to 7713.81 
@ Max
Aaaaaaaaaaaaaaah! In all my trys I put "Loft" on start and not at the end! That was the trick! :)
Very cool that we can reload the entiere set of nodes!
That is parametric indeed! Bravo!

Just something curious all nodes titles are not translated !
I will investigate (i have not yet dowloaded your last version !)

EDITED: 4 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:  Frenchy Pilou (PILOU)
7713.84 
@Max
Even with your last version v 0.23Alpha
Reloading the "loft.nod" file don't make appear translated French Tittles of the Nodes!
Internal lines are translated!
So Little Glitch;
French version is present as you can see!

  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:  Max Smirnov (SMIRNOV)
7713.85 In reply to 7713.84 
It's not a glitch. When you create a node with English/French/Russian name it will be saved in a nod-file. When you load this file all names will be loaded as they stored.
  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.86 In reply to 7713.85 
@Max
But this persists when I resave it from my "French" version! ;)
So I must rename first all titles that is some painfull! :)
Or there is a little trick ?

NOT A PRIORITY PROBLEM !!! :)

EDITED: 5 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:  wastzzz
7713.87 
But why translate it
  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.88 In reply to 7713.87 
< Why ...

For the beauty of the perfection! ;)

I am agree that is nothing but when it's "default" buttons that is better to see them in their local language! :)

Sure that is more coding at the start but ...that is not priority one! :)

I prefere have more functions than this very very little annoyous trouble! :)

EDITED: 5 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.89 
Hello,

here is another try to implement a new node - unfortunately with a bug in the menudisplay - I hope Max can help again:-)




Here is the code:
//Curve
function Curve()
{
this.addInput("In","objectlist");
this.addOutput("Out","objectlist");
}
Line.title = "Curve";
Line.desc = "Curve";

Curve.prototype.onExecute = function()
{
var inObj = this.getInputData(0, moi.geometryDatabase.createObjectList());
var factory = moi.command.createFactory( 'interpcurve' );
// factory.createInput('point');
for ( var n = 0; n < inObj.length; ++n )
{ factory.createInput('point');
factory.setInput(n,inObj.item(n).pt);
}
var output = factory.calculate();
this.setOutputData(0, output);
factory.cancel();
}
LiteGraph.registerNodeType("Factories/Curve", Curve);

I hope it's useful and Max or someone else see my bug:-)

Kind regards
and a nice weekend to all!
Karsten

EDITED: 18 Dec 2017 by KMRQUS

  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
7713.90 In reply to 7713.89 
Hi Karsten

Finally found the simple error.
Line needs to be replaced with Curve, twice

Line.title = "Curve";
Line.desc = "Curve";

ICurve.title = "ICurve";
ICurve.desc = "ICurve";

- Brian

I renamed it ICurve, because ControlPoint curves are also possible.

Now I will try the simple Catenary to feed into ICurve.

EDITED: 5 Dec 2015 by BEMFARMER

  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
7713.91 In reply to 7713.90 
Here is a version of factories.js with Line and InterpCurve nodes.
(This is NOT approved by Max)
- 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:  Max Smirnov (SMIRNOV)
7713.92 
I have a plans to change point and frame formats. I'll make a common data type.
It will support points, frames, point arrays e.t.c.

Brian, thank you!
I'll check it tomorrow :)
  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.93 In reply to 7713.91 
Hi Brian,

thank You very much! Are there some other new nodes?

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:  bemfarmer
7713.94 In reply to 7713.93 
Hi Karsten,

I have not made any nodes, so you are way ahead of me:-)
But your and Max's examples have shown the way.

- 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:  Karsten (KMRQUS)
7713.95 In reply to 7713.94 
Hello,

I've playing around with a very simple node. It only invert values - but I think it can be useful:-)
I've put the following line in the index.html: <script type="text/javascript" src="nodes/math.js"></script>
and put the following file in the nodes directory.






Maybe interesting for someone.

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.96 In reply to 7713.95 
I believe that you must open a thread for collect the Nodes function created!
Else it will be difficult to find something!
---
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:  Karsten (KMRQUS)
7713.97 In reply to 7713.96 
Hi Pilou,

please, only a last one;-)




It's only for playing around:-)

Thank's Max again - I don't understand that stuff - but I love it!

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:  James (JFH)
7713.98 In reply to 7713.97 
Thanks Karsten

I have your nodes up and running. Brilliant work...kudos.
I encourage you to keep going.

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:  Frenchy Pilou (PILOU)
7713.99 In reply to 7713.97 
@Karsten
Does your last Math.js is a growing last one (inverse + ...) or a new one ?

In your last opus what are the new nodes? (and not Max's Nodes yet existing with some other Title)

Where must be in the Max's arborescence of folders ? Some new titles folders must be created ?
(or you have included them in one of the Max file? )

Can you isolated the new nodes and their codes ?

(more easy for me for translate them and maybe make an Elephant's Repository ! :)


(I have no time for search that! And facilities to explore the code! .... )

PS Post the file .nod !

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.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
 

Reply to All Reply to All

 

 
Show messages:  1  …  22-41  42-61  62-81  82-101  102-121  122-141  142-161  …  902-912