Parametric design in MoI?
 1-19  …  780-799  800-819  820-839  840-859  860-879  …  900-912

Previous
Next
 From:  Karsten (KMRQUS)
7713.820 In reply to 7713.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
  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:  FDP
7713.821 In reply to 7713.820 
Thanks!

Attached the zip. This is from my: 'Program Files/MoI 4.0 beta Jun-6-2018/ui' folder (64bit).
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:  Barry-H
7713.822 In reply to 7713.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:

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

EDITED: 24 Jul 2018 by JFH


Image Attachments:
Size: 70 KB, Downloaded: 52 times, Dimensions: 1254x458px
  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.825 In reply to 7713.824 
The FrenetKTCurve script scans a curve for values of x and y.
- 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.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
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 7713.827 deleted 28 Jul 2018 by JFH

Previous
Next
 From:  James (JFH)
7713.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

EDITED: 14 May 2019 by JFH

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:  James (JFH)
7713.829 In reply to 7713.828 
Hi All,

To better illustrate how easing macro works
please find attached animation.

In this example, the new array is input into x component of Point node,
but it could alternatively be circle/polygon radii, angles, star ratios etc.
See small image and multiEasing.nod attached

James

EDITED: 14 May 2019 by JFH

Attachments:

Image Attachments:
Size: 15.1 KB, Downloaded: 33 times, Dimensions: 480x563px
  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.830 In reply to 7713.818 
Hi Max

I had a look in the nodeeditor directory to see if there was a css file that I may alter so that the nodes showed input and output colours by default rather than only when being connected to. I believe it would be better if the nodes communicated what they "needed" from the outset. (perhaps when they were being connected to, they could high-light in white? OR alternatively dot coloured from the outset & labels coloured only when being connected)

Also in most cases it seems redundant to label outputs, but even more so, if they are coloured.

Maybe you are not in agreement with this proposal, but please give it some consideration.

Have a great weekend
James

PS I found css stuff, in index.html. I'll see if I can modify.

EDITED: 30 Jul 2018 by JFH

Image Attachments:
Size: 25.5 KB, Downloaded: 184 times, Dimensions: 300x544px
  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.831 In reply to 7713.830 
Hi James,

you can't change it with css.
NE have a hidden feature which highlights inputs and outputs titles. Alt+Left click on Info button (left upper corner).
In the next version I'll add an ability to switch it using a color scheme settings (colors.js)

>>Also in most cases it seems redundant to label outputs, but even more so, if they are coloured.
I need to think about it. We can't hide all output titles.

UPD:
http://moi.maxsm.net/files/nodeeditor/ne.colored.dots.and.titles.zip

1. replace colors.js and main.js with this files
2. set "io_text_highlight" and "io_highlight" parameters in colors.js

EDITED: 29 Jul 2018 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:  James (JFH)
7713.832 In reply to 7713.831 
Hi Max,

Thanks for getting back to me, & thanks for the update: it's perfect! Great Stuff.

>> 2. set "io_text_highlight" and "io_highlight" parameters in colors.js <<.

I think it is best with "io_text_highlight" set to "false"

Did you happen to see my earlier post regarding a graphical num array re-mapper:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.824

Is this something that would be capable to achieve in canvas?
I do think it would have wide ranging application.

But I don't want you to think I am not satisfied with your recent update;
I could not be more grateful

Thank you
James

P.S. Some thoughts on Remapper widget:

By input a new range as well as the array to be remapped will increase widgets utility, so curve may be a straight line if all that is desired is to remap an array to within new range with easing; replacing my macro:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1114


EDITED: 29 Jul 2018 by JFH

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:  Max Smirnov (SMIRNOV)
7713.833 In reply to 7713.832 
Hi James,

>> I think it is best with "io_text_highlight" set to "false"
In my opinion it looks better with both "io_text_highlight" and "io_highlight" switched off :)

>> Some thoughts on Remapper widget
I'll try to write this node today evening. Thank you for a good idea!

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:  James (JFH)
7713.834 In reply to 7713.833 
Hi Max,

>> I'll try to write this node today evening.

Wow, this is exciting, Thank you so much...I can't wait.

>> Some...[MORE]...thoughts on Remapper widget

Grasshopper's Graph mapper has 10+ curve types, however several would have limited application.
Instead of emulating their approach, it would IMHO be better to have an anchor point at each end
and a pulldown menu in info panel for the number of control points (0,1,2,3 or 4). In that way, 0 control
points would give a linear remapping of numArray to new range and 1 or 2 control points provide easing.
3 or 4 control points could be used for defining geometry: say you have a linear progression (0,1,2,3,4,5)
wired into z input of Point node (x=0, y=0), as well as into Remapper node with curve as shown below.
The new series output is wired into radius input of Circle node & the Point node is wired into the Center input.
Loft the circles and you have a parametrically defined lathed form. This is a very simple example, but
imagine if multiple Remapper nodes were used together, say affecting rails and profiles of sweeps & rail-revolves,
or multiple curves Lofted or Networked to surfaces.



I imagine you are too far down the track for taking on suggestions, and if the new node allows num array
remapping by S-curve only, it will still be a huge advance for NE

I look forward to seeing what you have done
James

P.S.
>> In my opinion it looks better with both "io_text_highlight" and "io_highlight" switched off :)

For future releases, then, have them both set to false and I will reset "io_highlight" to true myself.

EDITED: 1 Aug 2018 by JFH

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:  speedy (AL2000)
7713.835 
Max , James and Friend
reconnect to the Graph Mapper or Remapper , or speech in any
another way we want to call it,
I unlike James, I would leave some types of curves by default :
Linear
Bezier
Sine
Cosine
Cubic
CatmulRom
and , add a Free Curve with n ° (to be defined) pt ... that govern the curve;

I believe that this way, I will be a more flexible instrument ..._

In addition, I would also like to explore the possibility of improving the tool
2D Slider, also including the possibility of multi-input
so that it becomes a sort of viewer of the curve to be obtained,
without having to pedanticly add more Slider2d ...
What do you think ?
In any case, however you decide, it will be a substantial improvement
good work
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:  James (JFH)
7713.836 In reply to 7713.833 
Hi Max,

>> I'll try to write this node today evening. Thank you for a good idea!

Did it turn out to be too hard?

I'm worried that I may have asked too much with my latter post and it made the task insurmountable.

If that is the case, please return to the minimum functionality of applying easing to a numArray as per http://moi3d.com/forum/messages.php?webtag=MOI&msg=7713.833

Thank you
James

EDITED: 13 Aug 2018 by JFH

  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.837 In reply to 7713.836 
Hi James!
Sorry, I was in business trip last week :)

>>Did it turn out to be too hard?
I wrote this node two weeks ago, but I need more time to make it work as I planned it.
In fact it's really hard. :)

You can use it, but I certainly will change it later.

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:  James (JFH)
7713.838 In reply to 7713.837 
Thanks Max,

Remapper node is a brilliant start.

>> In fact it's really hard. :)
Please know that I am eternally grateful.


I'm sure you know full well what needs to be done for it to function correctly,
but by way of helping to clarify things I prepared the attached NE file.

At the moment the node only works within the range of input array.
So it first needs to remap the array to within new range.

The math to do this is very simple, as shown.
Ideally this functionality would be incorporated into the node.

In the event that no new range is input into the node,
the output array would remain within existing range.

I hope this accords with your intentions.

Have a great weekend
& thanks again
James

P.S. I know the remapping does not correlate perfectly with the curve,
(for instance a diagonal straight line does not result with no change to
array as expected), nevertheless it is still workable.
Although perfecting this is desirable, it is less urgent IMHO
than the remapping to new range as outlined above.


EDITED: 14 May 2019 by JFH

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

Message 7713.839 deleted 9 Aug 2020 by JFH
 

Reply to All Reply to All

 

 
Show messages:  1-19  …  760-779  780-799  800-819  820-839  840-859  860-879  880-899  900-912