Parametric design in MoI?
 1-8  …  829-848  849-868  869-888  889-908  909-912

Previous
Next
 From:  Max Smirnov (SMIRNOV)
7713.869 In reply to 7713.868 
Hi Brian,

>>The following minor “bug?” was found for copy/paste of several nodes
Yes, it's a bug, and I can reproduce it. I'll try to fix it today.

P.S. fixed
http://moi3d.com/forum/index.php?webtag=MOI&msg=9189.7

EDITED: 5 Jan 2019 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:  Max Smirnov (SMIRNOV)
7713.870 In reply to 7713.839 
Hi James,

I've updated Remapper node. Now it works much better.

Replace nodes/interface.js file with this one
http://moi.maxsm.net/files/nodeeditor/interface.js

P.S. Hold Alt-key to turn on snapping

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.871 In reply to 7713.870 
Happy New Year Max,

I’m away ATM, but I look forward to using this node on my return.
Your efforts are greatly appreciated. I know it was a difficult task.

Thanks so much,
James
https://www.instagram.com/nodeology/

EDITED: 7 Jan 2019 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:  bemfarmer
7713.872 
Proposed:
To the ConvertPts node, add two more Modes,
InterpCurves U, and InterpCurves V.

I tried out modifying the factory 'curve' to 'interpcurve', in two places in the points.js code, and the curves changed their mode...
Caused my project demo to have the curves go through points, but interpcurve(s) are supposed to be wigglier...
Would need to duplicate two sections of code to add the two interpcurve modes, and keep the curve modes...



Also added "e" and "f" inputs to the mathPts node, by modifying ~a dozen lines of code. (But they may not be needed...)
Seemed to work, but I may have overlooked something, in my ignorance.

Maybe I'll make a new version for the points2 extension category...

- 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:  James (JFH)
7713.873 In reply to 7713.870 
Hi Max

I have just returned home and have had opportunity to test your revised "Remapper" node.
It work brilliantly...great job.

I know that I originally proposed the node having a "range" input, but I wonder if it might be better for the script to determine the range values internally with Math.min() and Math.max() values from the input num array. If think it would simply its operation without a loss of utility.

Let me know what you think.
Thanks again,

James
https://www.instagram.com/nodeology/

EDITED: 25 Jan 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:  bemfarmer
7713.874 
When re-running a node with curve output, and changing color style, the color does not change.
(This is not necessarily bad?)
The curve color seems to be saved in the output node.
So for a .nod which makes two curves, they can be made to show up as two different color styles, when re-ran.
- Brian

Some other actions trigger synchronization of colors...

EDITED: 18 Feb 2019 by BEMFARMER

  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.875 In reply to 7713.870 
Max

I've been playing around with a customised colour scheme for NE.

Can you tell me if it is possible to have a node border in un-selected state,
similar to border in selected state?

Anyway, how are you going? We've missed you around here
James
https://www.instagram.com/nodeology/

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.876 In reply to 7713.875 
>>Can you tell me if it is possible to have a node border in un-selected state, similar to border in selected state?

Yes. You need to open main.js and replace this code
code:
	if (selected)
	{
		ctx.fillStyle = LiteGraph.NODE_SELECTION;
		ctx.roundRect(-1,no_title ? -1 : -title_height -1, size[0]+2, no_title ? (size[1]+2) : (size[1] + title_height+2), 6);
		ctx.fill();
		ctx.fillStyle = bgcolor || LiteGraph.NODE_DEFAULT_BGCOLOR;
	}

with something like this
code:
	ctx.fillStyle = (selected)?LiteGraph.NODE_SELECTION:LiteGraph.NODE_DEFAULT_COLOR;
	ctx.roundRect(-1,no_title ? -1 : -title_height -1, size[0]+2, no_title ? (size[1]+2) : (size[1] + title_height+2), 6);
	ctx.fill();
	ctx.fillStyle = bgcolor || LiteGraph.NODE_DEFAULT_BGCOLOR;


You can use any other color instead of LiteGraph.NODE_DEFAULT_COLOR
  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.877 In reply to 7713.876 
Max

Thanks for getting back to me so promptly.
I had not expected it, as you have been very quiet of late.

Changed code as instructed, & it works!

So good to hear from you,
Thanks for your help
James

James
https://www.instagram.com/nodeology/

  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.878 
What would it take to get nodeeditor to compose music, or at least sound?
Does MoI have any sound output?
Have to check out Tone.js...

- 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:  Michael Gibson
7713.879 In reply to 7713.878 
Hi Brian, MoI does not itself have any sound generation and the web browser engine that is used for the UI does not have the multimedia layer enabled that I think would be needed for playing sounds or videos from HTML.

Probably your best bet would be to call moi.filesystem.shellExecute( 'other_program.exe' ); to execute a separate program that would make the sound.

- Michael
  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:  wayne hill (WAYNEHILL5202)
7713.880 
Support,

This is an error on the current version of the Node Editor that happens when pressing "Load" then "Cancel".

Thank you,

Wayne

EDITED: 17 Jan 2021 by WAYNEHILL5202

  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.881 In reply to 7713.880 
line 149 for me ;)

  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:  Michael Gibson
7713.882 In reply to 7713.880 
Hi Wayne,

re:
> This is an error on the current version of the Node Editor that happens
> when pressing "Load" then "Cancel".

The fix will probably be to modify the code to check the return value from the moi.filesystem.getOpenFileName() function.

If it is an empty string it means the user pushed Cancel and it should not try to go forward with the load.

- Michael
  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:  Michael Gibson
7713.883 In reply to 7713.880 
Hi Wayne,

re:
> This is an error on the current version of the Node Editor that happens when pressing "Load" then "Cancel".

I investigated this some more and it turns out that it is not a bug in the Node Editor, it is a bug in MoI's file dialog handling. The bug crept in with a change a couple of betas ago to remember the last used file dialog directory so the dialog will start out in that directory. It ends up returning that directory name when you cancel when it should be returning an empty string.

The node editor code is already checking for an empty string like it should.

I've got it fixed up for the next v4 beta, thanks for reporting it.

- Michael
  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:  wayne hill (WAYNEHILL5202)
7713.884 In reply to 7713.883 
Thank you Michael. I thought it was a Node Editor error and was attempting to fix it on my own with no luck. Was also looking into having the Node Editor prompt a save before exiting.

-w
  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.885 In reply to 7713.642 
When I select the “Export” command there is no dialog or options to export as shown in your post.
  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.886 In reply to 7713.885 
It's maybe for a MAC user ?

I have not also this...but my Macro is well exported... ;)
  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.887 In reply to 7713.754 
I unzipped the Extensions.zip file into the [C:\...\AppData\Roaming\Moi\nodeeditor\nodes\extensions\]
It created another Extensions folder.
But how do I access these?
  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:  Tim (TGILMORE)
7713.888 
Could someone suggest where I might start as a beginner with the Node Editor.

Website?
Forum Page?

Thanks
Tim
  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-8  …  809-828  829-848  849-868  869-888  889-908  909-912