MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-4  …  745-764  765-784  785-804  805-824  825-844  845-864  865-884  …  905-912

From: Max Smirnov (SMIRNOV)
11 Feb 2018   [#805]
Another small update:
Added: mac trackpad gestures support
Added: macros directory (put often-used macros to this directory)


http://moi.maxsm.net/nodeeditor/nodeeditor.v.1.0.rc2c.2018.02.11.zip
From: Barry-H
11 Feb 2018   [#806] In reply to [#803]
Hi Max,
thanks works great.
Barry
From: James (JFH)
11 Feb 2018   [#807] In reply to [#805]
Hi Max

Thank you for the update:

> Added: mac trackpad gestures support

Pinching to zoom works just as it should! Great work.

However double finger, double tap does not "zoom to extents" as expected.
Rather it zooms to mid-size, but does not centre on the canvas.

Nevertheless it is a vast improvement
Thanks again

James
From: Max Smirnov (SMIRNOV)
12 Feb 2018   [#808] In reply to [#807]
Hi James

>> However double finger, double tap does not "zoom to extents" as expected.
>> Rather it zooms to mid-size, but does not centre on the canvas.
I'll change the double-tap zoom logic in the next release.
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 


Show messages:  1-4  …  745-764  765-784  785-804  805-824  825-844  845-864  865-884  …  905-912