MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-8  …  749-768  769-788  789-808  809-828  829-848  849-868  869-888  …  909-912

From: Max Smirnov (SMIRNOV)
9 Mar 2018   [#809]
nodeeditor.v.1.0.rc3 (I hope this one will be last before v1.0 release)
http://moi.maxsm.net/files/nodeeditor/nodeeditor.v.1.0.rc3.2018.03.09.zip

Fixed a couple of bugs.
Also I clean all waste from NE files.
Updated translation file.

Pilou, I removed french translations of all obsolete and unofficial nodes. Later I will help you to make an extension for unofficial nodes.
Right now I need your help with translation. Could you check an attached file, and add translations for all words marked with "?"
From: Frenchy Pilou (PILOU)
9 Mar 2018   [#810] In reply to [#809]
sure! ;)
From: mkdm
9 Mar 2018   [#811] In reply to [#809]
Hi Max.

This version works with V4 only or also with V3 ?

Thank you very much :)
From: Frenchy Pilou (PILOU)
9 Mar 2018   [#812] In reply to [#809]
Done ;)
Of course must be tested in action! :)
(i change the name of the file for avoid some erase on my rustic Web site)

http://moiscript.weebly.com/uploads/3/9/3/8/3938813/nodeeditortranslation_fr1_10_03_2018.xlsx

Some Lines are empty in column D ?
From: Max Smirnov (SMIRNOV)
9 Mar 2018   [#813]
Marco,

>>This version works with V4 only or also with V3 ?
I forgot to test this version with V3, but it should work fine.

Frenchy Pilou
Thank you!
>>Some Lines are empty in column D ?
You may leave it empty when French and English words are same.
From: mkdm
9 Mar 2018   [#814] In reply to [#813]
@You : "...I forgot to test this version with V3, but it should work fine..."

Ok! Thanks.
From: James (JFH)
31 May 2018   [#815] In reply to [#809]
Hi Max,

How are you going with finalisation of NE v1.0 release?

I have a proposal for an extension to switch node
that you might consider including.

It is pretty self explanatory; allowing branching between 2 paths.
& would be useful for checking outputs and readings at various
critical points for debugging purposes.

I know that there is a work around with split + 0-1 knob,
or alternatively, split + switch + 2x const, but they're cumbersome.

All the best,
Keep up the good work
James


Image Attachments:
fork.gif 


From: Max Smirnov (SMIRNOV)
4 Jun 2018   [#816] In reply to [#815]
Hi James,

I didn't write a line of code since 1.0 rc3 release. Sorry, have no time at all.

>>I have a proposal for an extension to switch node
Good idea. I'll add it to Switch node.
From: FDP
3 Jul 2018   [#817] In reply to [#816]
Hi Max,
Thanks for building this awesome tool!

I'm having a problem with node editor v 1.0 (rc3). It appears that Macros aren't working for me at all (either in MoI 3 or 4 beta). The following error pops up if I select Macro (the error looks identical in 3 and 4 beta, although I can only cut and paste the error in 4 beta):

Script error

TypeError: undefined is not an object (evaluating 'document.URL.split(/moi:\/\/appdata\/(.*\/).*/g)[1].replace')

moi://ui/nodeeditorv10rc3/core/main.js line 4404

4400: var entries = {};
4401: for(i=0; i<values.length; i++) { if ( values[i] ) entries[i] = { value: ">"+values[i], content: lang.getTranslation(values[i]), is_menu: false }; }
4402:
4403: var dir = (moi.filesystem.getAppDataDir)?moi.filesystem.getAppDataDir:moi.filesystem.getProcessDir;
4404: >> var path = dir()+document.URL.split(/moi:\/\/appdata\/(.*\/).*/g)[1].replace(/\//g,"\\")+"macros\\";
4405:
4406: if ( moi.filesystem.dirExists(path) )
4407: {
4408: var files = getFiles(path);



Any ideas on what I am doing wrong?

-FDP
From: Max Smirnov (SMIRNOV)
3 Jul 2018   [#818] In reply to [#817]
Hi FDP,

I'll check it this weekend. I have no idea at the moment.
From: FDP
12 Jul 2018   [#819] In reply to [#818]
Hi Max,
Any chance to look into that error? I'm sorry to be bugging you with this - understand if you are super busy!

-FDP
From: Karsten (KMRQUS)
13 Jul 2018   [#820] In reply to [#819]
Hello FDP,

could you make a zip of your nodeeditor Folder and post it - maybe something is wrong with it. As a Workaround I would Switch back to an older Version. Worth a try.

Have a nice day
Karsten
From: FDP
13 Jul 2018   [#821] In reply to [#820]
Thanks!

Attached the zip. This is from my: 'Program Files/MoI 4.0 beta Jun-6-2018/ui' folder (64bit).

Attachments:
nodeeditorv10rc3.zip


From: Barry-H
14 Jul 2018   [#822] In reply to [#821]
Hi FDP,
not sure if this is your problem but you are missing the basicfunctions.js
I have attached a copy that you need to put in the libs folder that is within the node extensions folder.
Hope this helps.
Barry

Attachments:
basicFunctions.js


From: Karsten (KMRQUS)
16 Jul 2018   [#823] In reply to [#821]
Hello FDP,

it seems that an Installation und /ui/ Folder doesn't work. I think you have to install under appdata/Roaming/moi/.

Have a link to this post: http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.767

Maybe Max can help hopefully.

Have a nice day
Karsten
From: James (JFH)
24 Jul 2018   [#824]
Hi Max/Karsten & others who may be interested.

There is a component (widget) in grasshopper called "GraphMapper" that remaps a numerical array to values under a user defined curve. see below



I imagine that coding for such a node would be quite difficult, however I propose a more limited node that may be more achievable (below image)



In essence it would take a linear progression of number (say point distances from an attractor) and shift them to ease in and out.

Your thoughts?
James

P.S. a NE widget equivalent of GraphMapper would nevertheless still be the ideal... one day; See attached image below

Image Attachments:
curve-from-points-with-y-graph-mapper1.jpg  easing.gif  graphMapper.jpg 


From: bemfarmer
25 Jul 2018   [#825] In reply to [#824]
The FrenetKTCurve script scans a curve for values of x and y.
- Brian
From: speedy (AL2000)
25 Jul 2018   [#826]
Hi James and Friends
it is strange and curious, as though distant miles of Kilometers
our thoughts are so close ....
Just a few days ago I thought about how it would be useful
to be able to insert something similar to Graph Mapper ...
of our beloved Grasshopper, in Elephant
For this purpose, I tried to use the available tools
to recreate something similar .......
The result I have to say was better than I thought ...
But it certainly would be very useful to be able to implement it
Our gurĂ¹ (max and Karsten) have material to focus on
I'd say....
We hope for good news
the file and some images at this link:
http://www.mediafire.com/file/ots3p0n6dboq42w/-Similar_Graph_Mapper.zip/file
Have a nice day to all
al

Message 7713.827 was deleted


From: James (JFH)
25 Jul 2018   [#828]
Hi All,

I have knocked up a simple macro for applying easing to a num array.
It achieves the result by physically emulating what graph mapper does with code,
by actually projected on to a user defined curve, not elegant but it works.

To see easing in action, I have included in my latest .nod file:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1182

James

Image Attachments:
easingMacro.gif 


Show messages:  1-8  …  749-768  769-788  789-808  809-828  829-848  849-868  869-888  …  909-912