Parametric design in MoI?
 1-11  …  532-551  552-571  572-591  592-611  612-631  …  912

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7713.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.

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:  Frenchy Pilou (PILOU)
7713.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 :)

EDITED: 15 Jan 2017 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.574 
Today I wrote Slider2D interface node ;)

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.575 In reply to 7713.574 
Hello Max,

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

Have a nice evening
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:  mkdm
7713.576 In reply to 7713.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)
  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.577 
Cool!
Not yet Translated the "Slider"! ;)

Do you think of a Slider 3D ?
  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:  Mindset (IGNITER)
7713.578 
Wow!
  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.579 
Very Cool!
Thank you 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:  speedy (AL2000)
7713.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
  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:  Ced (FRACTIONALIST)
7713.581 
Uh... yeah. What goes where, please?
Image Attachments:
Size: 217.2 KB, Downloaded: 83 times, Dimensions: 1009x607px
  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.582 In reply to 7713.581 
Hello Ced,

the short version: moi\ui\nodeeditor

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

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:  Karsten (KMRQUS)
7713.583 In reply to 7713.582 
p.s.: First install the main package;-)
  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:  AlexPolo
7713.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.



EDITED: 26 Jan 2020 by ALEXPOLO

  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.585 In reply to 7713.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

  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:  AlexPolo
7713.586 In reply to 7713.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.
  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.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

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:  Frenchy Pilou (PILOU)
7713.588 In reply to 7713.587 
Fabulous as always!

French version in few times! :)
Done :)
http://moiscript.weebly.com/elephant-systegraveme-nodal.html

EDITED: 25 Feb 2017 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:  redraw (MAYSKY)
7713.589 In reply to 7713.587 
Russki:
Спасибо, это в самом деле классно.

Angliski:
Thanx, this is the bomb!

Ivan
  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.590 In reply to 7713.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
  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.591 In reply to 7713.590 
Hi James,

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

I've added this program block today. Wait a few days until a new beta.

>>Is it possible to activate the "delete" key to work with litegraph core?

Unfortunately, I can't find a way to use shortcuts in this project. I can't catch keyboard events at all when I start nodeeditor using moi.ui.createDialog method. Also I can start it using .js command script. In this case I can set shortcuts, and it works. But if I start another script while nodeeditor window is open the shortcuts will be reset.

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

This limitation caused by MoI's geometry database architecture. We can't use same objects with multiple nodes. So let's wait until MoI V4 beta. I hope it will support instances.

>>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?
It possible, but it can cause significant slowdown. Anyway I'll think about 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
 

Reply to All Reply to All

 

 
Show messages:  1-11  …  512-531  532-551  552-571  572-591  592-611  612-631  632-651  …  912