Parametric design in MoI?
 1-20  21-40  41-60  61-80  81-100  101-120  …  901-912

Previous
Next
 From:  Frenchy Pilou (PILOU)
7713.61 
@Max
error was erased ! Some ":" missing and some "," !
File Updated! http://moiscript.weebly.com/uploads/3/9/3/8/3938813/liste_elephant_fr01.txt

But now I have not the French Elephant on the screen inside Moi! :)
Even I enable Option / French !

No Problem with the English version!

So how enable the French Elephant ?

Edit I have found! : Line 1 of the file lang.js
var lang = { LANGUAGE: "FR" } against var lang = { LANGUAGE: "EN" } You are a genious!

PS Seems "Info" don't accept all translations for the moment , only some ones ?


EDITED: 2 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:  Max Smirnov (SMIRNOV)
7713.62 In reply to 7713.61 
Good morning, Pilou
it translates everything except ID string. It's a technical info and shouln't be translated.
  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.63 In reply to 7713.62 
Thanks!

<<It's a technical info and shouln't be translated.
Ok! So all now is perfect! :)

EDITED: 3 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.64 
@Max
I was too speed! :)
Little glitch!

Run --> Stop --> Run
gives in French
Lancer --> Stop --> Run !!!
So Translation works only one time for this case!

Ps Have you an example of the Loft node function ?

EDITED: 3 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:  mkdm
7713.65 
Hi everyone,

My name is Marco and although i play sometimes with this very cool piece of software (Moi),
in the demo version, just to test some graphics ideas, i'm a newbie in this forum,
and i wish to thank everyone for all the posts relate to this software,
'cause you have really urged my fantasy.

I'm observing that a old, and ever new, technical theme is affecting more and more users
of Moi.
The algorithmic modeling pattern.

Chippwalters, i made some search and i've found this other really interesting free tool
for generative design pattern, also available for windows plataform.

NodeBox 3
https://www.nodebox.net/

I've made a quick test and i verified that is possible to export the generated graphic in pdf format,
readable from Moi.

Last, but not least, thank you very much Max Smirnov, for you cool work on Nodeeditor !!

Good day to everyone,

Marco.
  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 T. (MICTU_UTCIM)
7713.66 In reply to 7713.59 
Thanks BurrMan. I tried that also, but still just a blank pop-up screen.


Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/DesignsByTuttle
  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.67 In reply to 7713.66 
A directory path for nodeeditor, Windows7.
Adjust it to match your actual Moi3.0 directory.


EDITED: 3 Dec 2015 by BEMFARMER

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:  Michael T. (MICTU_UTCIM)
7713.68 In reply to 7713.67 
That's what I have, and here is my shortcut:










Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/DesignsByTuttle

  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.69 In reply to 7713.68 
Hi Michael T

Your shortcut looks good. I pasted Max's shortcut to Ctrl+P, and it worked fine.

Well, a look at your path shows a problem, you have an alpha name for the nodeeditor subdirectory, not nodeeditor.

Rename subdirectory nodeeditor.v.0.22.alpha to nodeeditor.
Max's update directory structure could be slightly different to avoid the potential problem?

- Brian

EDITED: 3 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:  Michael T. (MICTU_UTCIM)
7713.70 In reply to 7713.69 
Thanks Brian! The renaming did the trick!

Michael T.
Michael Tuttle a.k.a. mictu http://www.coroflot.com/DesignsByTuttle
  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:  speedy (AL2000)
7713.71 
Hi Max
just a question ;
I extract folder ( Node 2015.12.01 zip) into Moi -ui , but in my window
does not appear added Rotate Function
Whi ?
Where is my mistake
many tnx-
al
Image Attachments:
Size: 621.8 KB, Downloaded: 50 times, Dimensions: 2192x1648px
Size: 251.1 KB, Downloaded: 58 times, Dimensions: 2192x1648px
  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.72 In reply to 7713.70 
:-)

I guess Max could, say for nodeeditor.v.0.22.alpha, include subdirectory nodeeditor below the alpha directory.
Of course nodeeditor would contain the core, css, nodes, etc subsubdirectories and file contents.
Then to update, the subdirectory nodeeditor (with its contents) could be copied to /ui, rather than unzipping and copying core, css, nodes, etc, to ui/nodeeditor.
I had to think which updated directories to copy :-)

- 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:  bemfarmer
7713.73 In reply to 7713.71 
Hi speedy

Absence of rotate happened to me, the very first time only. May be a file buffer issue?
Maybe close and re-open Moi. (pressing F5 once, helps with the file buffer?)

- 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:  speedy (AL2000)
7713.74 
many tnx bemfarmer.. for the info...
but ,I have resolved the problem....
I extract the content of folder ( node 2015.12.01)
and then copy and paste into the initial folder (nodes)
in Mou-ui , replacing the old file.js so-
Now it's work very well...
tnx
al
Image Attachments:
Size: 240 KB, Downloaded: 56 times, Dimensions: 2192x1648px
  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.75 
Oh, my fault %)

I noticed that mess with the folders yesterday. I repacked an archive, but then I reuploaded the first one. :) Sorry guys.

EDITED: 7 Mar 2022 by SMIRNOV

  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.76 
>>Lancer --> Stop --> Run !!!
Pilou, thank you for report. Fixed.

Also I fixed a critical bug, which cause errors on wire disconnection.

EDITED: 7 Mar 2022 by SMIRNOV

  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.77 In reply to 7713.76 
Hi Max,

I have made some experiments with your code and have some problems with the frames. The following code fragment works, but with frames not. Have you any idea what I'm doing wrong?

// Line
function Line()
{
// this.size = [60,20];
// this.addInput("Start","frame"); //<------
// this.addInput("End","frame"); //<------
this.addInput("x1","number");
this.addInput("y1","number");
this.addInput("z1","number");
this.addInput("x2","number");
this.addInput("y2","number");
this.addInput("z2","number");
this.addOutput("Out","objectlist");
// this.properties = { radius:0 };
}

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

Line.prototype.onExecute = function()
{
// var start = this.getInputData(0, moi.VectorMath.createFrame()); //<--------
// var end = this.getInputData(1, moi.VectorMath.createFrame()); //<-------
this.properties.x1 = this.getInputData(0, this.properties.x1);
this.properties.y1 = this.getInputData(1, this.properties.y1);
this.properties.z1 = this.getInputData(2, this.properties.z1);
this.properties.x2 = this.getInputData(3, this.properties.x1);
this.properties.y2 = this.getInputData(4, this.properties.y2);
this.properties.z2 = this.getInputData(5, this.properties.z2);
var start = moi.vectorMath.createPoint();
var end = moi.vectorMath.createPoint();
start.x = this.properties.x1;
start.y = this.properties.y1;
start.z = this.properties.z1;
end.x = this.properties.x2;
end.y = this.properties.y2;
end.z = this.properties.z2;
var factory = moi.command.createFactory( 'line' );
factory.setInput(0, start);
factory.setInput(1, end);
var output = factory.calculate();
// factory.update();
// LineFactory.commit();
this.setOutputData(0, output);
factory.cancel();
}
LiteGraph.registerNodeType("Factories/Line", Line);


Please, keep on coding:-)

Thanks a lot!
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:  bemfarmer
7713.78 In reply to 7713.77 
.

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:  Frenchy Pilou (PILOU)
7713.79 In reply to 7713.78 
Have you an idea of the use of Node "Loft" ?
---
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:  Max Smirnov (SMIRNOV)
7713.80 
Hi Karsten,

check this manual
http://moi.maxsm.net/api/#_CoordinateFrame

If you want to use frames as input data you can use this code:
code:
function Line()
{
	this.addInput("Start","frame");
	this.addInput("End","frame");
	this.addOutput("Out","objectlist");
}
Line.title = "Line";
Line.desc = "Line";

Line.prototype.onExecute = function()
{
	var start = this.getInputData(0, moi.VectorMath.createFrame());
	var end = this.getInputData(1, moi.VectorMath.createFrame());
	var factory = moi.command.createFactory( 'line' );
	factory.setInput(0, start.origin);
	factory.setInput(1, end.origin);
	var output = factory.calculate();
	this.setOutputData(0, output);
	factory.cancel();
}
LiteGraph.registerNodeType("Factories/Line", Line);


but it will be better if you use points instead of frames
code:
function Line()
{
	this.addInput("Start","point");
	this.addInput("End","point");
	this.addOutput("Out","objectlist");
}
Line.title = "Line";
Line.desc = "Line";

Line.prototype.onExecute = function()
{
	var start = this.getInputData(0, moi.VectorMath.createPoint());
	var end = this.getInputData(1, moi.VectorMath.createPoint());
	var factory = moi.command.createFactory( 'line' );
	factory.setInput(0, start);
	factory.setInput(1, end);
	var output = factory.calculate();
	this.setOutputData(0, output);
	factory.cancel();
}
LiteGraph.registerNodeType("Factories/Line", Line);
  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-20  21-40  41-60  61-80  81-100  101-120  121-140  …  901-912