MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-9  …  630-649  650-669  670-689  690-709  710-729  730-749  750-769  …  910-912

From: vknw123
14 Oct 2017   [#690] In reply to [#688]
Karsten (KMRQUS),
I need to reflect, because not always the object is the same along the Y axis

Attachments:
lodka.nod

Image Attachments:
Screenshot_2.png 


From: bemfarmer
14 Oct 2017   [#691]
https://nwjs.io/
From: Karsten (KMRQUS)
14 Oct 2017   [#692] In reply to [#690]
Hello vknw123,

at first - an very intersting project!

It seem that you use no extensions. The Standard version of the nodeeditor hasn't a mirror node at the moment. So you have to use the extensions. But there isn't a russian language file. Maybe You are the one that translate it:-) or use it like it is.
Here is a link:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8628.1

Extract the extensions and copy the folder to /ui/nodeeditor/nodes/

Restart MoI.




Have a nice day
Karsten

Attachments:
lodka-ext.nod

Image Attachments:
lodka-extended.png 


From: vknw123
14 Oct 2017   [#693] In reply to [#692]
Karsten (KMRQUS),
Thank you so much.
works great.

Image Attachments:
Screenshot_3.png 


From: AlexPolo
14 Oct 2017   [#694]
M.I.A Node - Looking for a Node written a while back gone missing in action from my collection written by one of the Node Masters have tried searching the forum threads but not coming up if anyone can point it out would be great.

It was the 3d Scale Array over a path.

Many thanks
Alex.
From: Karsten (KMRQUS)
14 Oct 2017   [#695] In reply to [#694]
Hello Alex,
ScaleUVW maybe the node that You searching for.
Here is a link for the latest extensions:

http://moi3d.com/forum/index.php?webtag=MOI&msg=8628.1

Take the extensions.zip - uncompress - and copy to ui/nodes- Restart MoI.

Also a sample for with the scaleuvw node.

Have a nice day
Karsten

Attachments:
scale.nod


From: mkdm
14 Oct 2017   [#696] In reply to [#689]
Hi Max!

@You : "...There was buttons, switches, valves, fans etc. I can easylly convert switch and button nodes for using with MoI..."

That would be amazing!

Please, include that stuff into next version of NE.
I think these new features would add great power to NE.

Thanks.
From: mkdm
14 Oct 2017   [#697] In reply to [#686]
Hi Karsten.

@You : "...Logic/split is the switch you are looking for..."

Perfect! I didn't know this node.
I want to familiarize with it and see how it works.

Thanks!
From: AlexPolo
15 Oct 2017   [#698]
Hello Karsten,

Many thanks for you directions and input.

CHAMPION efforts made by some many on this forum.

All the best Alex.
From: vknw123
15 Oct 2017   [#699] In reply to [#698]
graphical interface. is not responding willingly.
may not need rounded windows and round buttons, do everything square?
From: James (JFH)
15 Oct 2017   [#700]
Hi Karsten,

Am I right in think that subD node appears different since your menu reordering?
Had there been change to code? Div input no longer accepts numerical values
(maybe it never did)

Also I am attempting to add new input "corners" to accept 0 or 1

Can you please have a look at my small changes below in bold,
& tell me what code is needed for "Div" & "Corners" inputs to accept numerical values?




I am assuming that what I am asking is relative simple, if not please let me know.

Thanks
James

function SubD()
{

this.debug = true;
this.minsize = [80, 60];
this.addInput("In", "objectlist"); // [0]
this.addInput("Div", "number"); // [1]
this.addInput("Corners", "number"); // [1]
this.addOutput("Out", "objectlist"); //[0]
this.properties = {Div: 100};
this.properties = {Corners: 0};
}
SubD.title = "SubD";
SubD.desc = "SubD";
SubD.prototype.onAdded = function ()
{
this.properties.Div = 100;
this.properties.Corners = 0;
this.lastalpha = -1;

}

SubD.prototype.onExecute = function ()
{
// var outObj = moi.geometryDatabase.createObjectList();
var sourceObject = this.getInputData(0, moi.geometryDatabase.createObjectList());
this.properties.Div = this.getInputData(1, this.properties.Div);
this.properties.Corners = this.getInputData(2, this.properties.Corners);
var smooth = this.properties.Div;
var preserveCorners = this.properties.Corners;
////////////////////////////////////////////////////////////////////

Image Attachments:
subD.jpg 


From: Karsten (KMRQUS)
16 Oct 2017   [#701] In reply to [#700]
Hello James,

it's early in the morning here. I can have a look in the evening. But I saw that I have left the node untouched for a very Long time. I have to rework it. Maybe I have to look a Little bit deeper in it. As I remember, it wasn't easy for me to wrap it without understanding the code.

Have a nice day

Karsten
From: Karsten (KMRQUS)
16 Oct 2017   [#702] In reply to [#701]
Hello James,

which effect has the Corners Option. I can't see a difference when I Switch to 0. The original script hasn't this Option also not. Or is it in a Special geometry constellation. If yes, please post an example geometry. Maybe Max can enlight me.

Karsten
From: James (JFH)
16 Oct 2017   [#703] In reply to [#702]
Hi Karsten,

<<which effect has the Corners Option>>

Its the same as "preserve corners" script checkbox, allowing subdivision of 2d shapes:

Ideally, the "Corners" option would have a 2 state pulldown with choice between "preserve/ignore" (maybe it would better to simply be "preserve Crn: Yes/No"

I have attached my "max_Subdiv_beta9.js" with the changes outlined in my last post.
It works for inputting into fields on info side panel, but the node itself can not be wired into.

Hope this makes sense
James

P.s. In the .nod file it is necessary to input "1" into "Corners" field because it reverts to "0" on reopening.
From: Karsten (KMRQUS)
16 Oct 2017   [#704] In reply to [#703]
Hello James,
thanks for the information - for 3D objects there is no effect and i never tried flat shapes - then I think there is no problem. After work I will fix it.

Have a nice day
Karsten
From: Karsten (KMRQUS)
16 Oct 2017   [#705] In reply to [#703]
Hello James,

please check the file.

Thanks in advance!

Have a nice day
Karsten
From: James (JFH)
16 Oct 2017   [#706] In reply to [#705]
Thanks Karsten,

I have thoroughly tested new subD node and it appears to work just as it should.
I will do some further testing, but as of now I can tentative recommend that other noders update to this new version.



Thank you so much for your time,
I really appreciate it.

James
From: Max Smirnov (SMIRNOV)
13 Nov 2017   [#707] In reply to [#706]
MoI v4 (icons and background fix)

Replace editor.js and editor.css with new files
http://moi.maxsm.net/nodeeditor/
From: James (JFH)
13 Nov 2017   [#708] In reply to [#707]
Hi Max

Thanks for MoI v4 (icons and background fix).

I still get error message when using MacBook Pro trackpad in NE
see earlier post:

http://moi3d.com/forum/index.php?webtag=MOI&msg=8675.21

Regards
James
From: Max Smirnov (SMIRNOV)
25 Nov 2017   [#709]
v.0.98
MoI v4 compatibility fixes
Removed pointArray.pSize function, use pointArray.getScale instead
Added pointArray.setScale function
Added ScalePts node
Added Selection border
Added UI extensions (Example: core/ext.mylib.js)

http://moi.maxsm.net/nodeeditor

Show messages:  1-9  …  630-649  650-669  670-689  690-709  710-729  730-749  750-769  …  910-912