MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-10  …  511-530  531-550  551-570  571-590  591-610  611-630  631-650  …  911-912

From: Karsten (KMRQUS)
12 Dec 2016   [#571] In reply to [#562]
Hello Max,

>>>>>Upd: Forgot to say, that I don't like idea about logical variables type. I think it will be much better to use numarray type for logical operations. X>0 = True, X<=0 False.
Anyway it's not a final decision. We can discuss it :)

I choosed boolean type, because your nodeeditor supports it and you have a clear separation between the datatypes (colors and connection behavior). But I think we can switch to numarray. Numarray is already available as additional output in the compare node, so the changes are not complex. I don't know how much performace and memory is lost by using booleans, but I think thats your minds behind your objection.

Have a nice day
Karsten
From: Max Smirnov (SMIRNOV)
15 Jan 2017   [#572]
Hi guys!

Today I added autoload functions to this project.
index.htm - almost completely rewritten
now it uses loadScripts function to load all .js scripts
all functions from the old index.htm has been moved to core/init.js

Syntax: loadScripts(subdirectory, scriptlist)
Subdirectory is a string parameter which points to subdirectory where scripts are stored.
As scriptlist you can use a comma separated string or a string array. In this list you can specify a names of the scripts which you want to load.
You can use a mask instead of full name. Each script will be loaded only once.
Example:
we have the following scripts in the nodes subdirectory:
basic.js
points.js
curves.js
solids.js
construct.js
transform.js
objects.js
interface.js
myscript1.js
myscript2.js
... etc

if we call loadScripts('nodes', 'interface, myscript1, c*, *s, *'); the scrips will be loaded with the following order:
(interface)
interface.js

(myscript1)
myscript1.js

(c*)
construct.js
curves.js

(*s)
objects.js
points.js
solids.js

(*)
all the rest scripts

backup the old index.htm file and unzip this archive to existing nodeeditor directory. There are only two files in the archive (index.htm and core/init.js)
Waiting for a bugreports. :)

P.S. I'll read all questions you asked me above and write an answers today or tomorrow.
From: Frenchy Pilou (PILOU)
15 Jan 2017   [#573]
Max new year the return! :)

I will wait some few times before new French translation ...time to users to find rare bugs are existing! ;)

But seems there is nothing to do as it's just some replace files! :)

I have replace the 2 files above

In fact you must put the file "init.js" inside the existing old Folder Core and not "Replace" the Folder Core!
and replace the index.html
(am i right ? :)
Seems all works fine !

Here the French version :)


From: Max Smirnov (SMIRNOV)
19 Jan 2017   [#574]
Today I wrote Slider2D interface node ;)
From: Karsten (KMRQUS)
19 Jan 2017   [#575] In reply to [#574]
Hello Max,

thank you very much - now I know, what Brian was talking about:-)

Have a nice evening
Karsten
From: mkdm
19 Jan 2017   [#576] In reply to [#574]
Hi Max!

Wonderful implementation! Thank you very much!

Are you thinking about which of the many nodes written by community you want to integrate into the core of Project Elephant ?

See you.

- Marco (mkdm)
From: Frenchy Pilou (PILOU)
19 Jan 2017   [#577]
Cool!
Not yet Translated the "Slider"! ;)

Do you think of a Slider 3D ?

From: Mindset (IGNITER)
19 Jan 2017   [#578]
Wow!
From: bemfarmer
20 Jan 2017   [#579]
Very Cool!
Thank you Max.
- Brian
From: speedy (AL2000)
20 Jan 2017   [#580]
Welcome back Max
really... really performing the
your new Slider2D ;
we need your "knowledge"
to advance the Elephant-
Again thanks for everything
Have a nice day
al
From: Ced (FRACTIONALIST)
20 Jan 2017   [#581]
Uh... yeah. What goes where, please?

Image Attachments:
Untitled-1.jpg 


From: Karsten (KMRQUS)
20 Jan 2017   [#582] In reply to [#581]
Hello Ced,

the short version: moi\ui\nodeeditor

more infos here: http://moi3d.com/wiki/Nodeeditor

Have a nice day
Karsten
From: Karsten (KMRQUS)
20 Jan 2017   [#583] In reply to [#582]
p.s.: First install the main package;-)
From: AlexPolo
20 Jan 2017   [#584]
Hi All,

Just getting into understanding Max's great work with Node Editor trying to emulate his other great script the Array 3d in nodes but with the function of Path (Curve) Follow. Where selected object grows along a selected curve.

If possible with a randomize seed.

Any thoughts welcome

Alex.




From: Karsten (KMRQUS)
21 Jan 2017   [#585] In reply to [#584]
Hello Alex,

there a different way to create such geometries. I have made a file as a start point for your experiments.





Have a nice day
Karsten

Attachments:
3D-Array.nod

Image Attachments:
3D-Array.png 


From: AlexPolo
25 Jan 2017   [#586] In reply to [#585]
Hello Karsten,

Many thanks for that I have tried to get a similar result to your image if you could give me a brief not on usage would be great I am a novice to the NODES and still working out its workflow.

best regards

Alex.
From: Max Smirnov (SMIRNOV)
25 Feb 2017   [#587]
Next beta has arrived :) v.0.90.2017.02.26

Changelist:
- Added "Average" and "Cross" modes in processInOut function.
I checked "averege" mode written by community, and decided to rewrite it. :) Sorry. It may cause bugs with v.0.85 nodes which uses this function. Could someone send me old node files for testing this mode?
At the moment the "Cross" mode works with 2-input nodes only. If node has one or more than two inputs, the mode will be changed to "Long" automatically.

- Fixed bug in processInOut function. Now it works correctly with nodes without inputs.

- Directory structure and some filenames has been changed
CSS files moved to /core/css
Added /nodes/extensions directory for nodebundles written by community :)
Added /nodes/extensions/libs directory for additional math/geometry libraries. All .js files in this directory will be started before all /nodes/extensions/*.js files.

- Load file function improvements
Now all node files will be loaded correctly even if some nodes are missing. In this case the missing nodes will be marked. "Save", "Run" and "Step" buttons will be blocked.

- Changed some mouse button functions (I made interface closer to original MoI interface)
Left mouse button:
click on background and drag - selection tool
shift + click on background and drag - selection tool (addition mode)
alt + click on background and drag - move canvas
click on node - select node
shift + click on node - select node (addition mode)
click on node and drag - move node
click on linked input - disconnect input
double click on node - open info window
double click on background - show/hide debug info
shift + double click on background - select all nodes

Right mouse button:
click and drag - move canvas
click - context menu

Middle mouse button:
click on node - select/deselect node
click on background and drag - move canvas
From: Frenchy Pilou (PILOU)
25 Feb 2017   [#588] In reply to [#587]
Fabulous as always!

French version in few times! :)
Done :)
http://moiscript.weebly.com/elephant-systegraveme-nodal.html
From: redraw (MAYSKY)
25 Feb 2017   [#589] In reply to [#587]
Russki:
Спасибо, это в самом деле классно.

Angliski:
Thanx, this is the bomb!

Ivan
From: James (JFH)
26 Feb 2017   [#590] In reply to [#587]
Hi Max,

Thank you for your continued development of node editor.
Brilliant as ever!

The new interfacing capabilities will be a real enhancement to
productivity: in particular the marque selection of multiple nodes.

This is very useful for ordering complex node wiring diagrams,
however there would also be great utility in being able to delete
multiple nodes at once. Is it possible to activate the "delete" key
to work with litegraph core?

Also as I understand it, Javi Agenjo imposed a limitation on nodes
that they can receive only single inputs, but may have unlimited
multiple outputs. However in node editor, nodes with object outputs
are further limited to single outputs necessitating the "clone" node.

Particularly as is, with only 2 outputs, the "clone" node
introduces a lot of unnecessary complexity to wiring diagrams,
greatly inhibiting their legibility. Obviously, this problem could be
improved vastly with the allowance of additional outputs.

However it would be better to deprecate the "clone" node altogether,
and introduce unlimited multiple outputs to object out nodes as well.
Is this something that is even possible?

Thanks again for your great work,
I can not express enough how appreciative I am of your efforts.

James

Show messages:  1-10  …  511-530  531-550  551-570  571-590  591-610  611-630  631-650  …  911-912