MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-13  …  974-993  994-1013  1014-1033  1034-1053  1054-1073  1074-1093  1094-1113  …  1854-1859

Thread Split: Some posts in this thread have been moved here

From: Finema
1 Jun 2018   [#1034] In reply to [#1033]
yes i've read it
but i've tested with 2 and 3
it works with 0
thanks a lot James , it's really usefull for me to design pattern on model !!!
From: speedy (AL2000)
1 Jun 2018   [#1035]
Hi Finema
You can Replace the mFlow node that appears in red
with original Flow node, which you find under the Trasform Tool ( Max's Tool)
just make the connections in and out
with the other nodes, as well as for actual mFlow node ...
I hope I was clear, it's easy enough
Have a nice day
alberto
From: Finema
1 Jun 2018   [#1036] In reply to [#1035]
Thanks Alberto
it's OK with Flow node now
This node is usefull but i need to draw the module and bottle myself on the scene.
Thanks a lot
From: speedy (AL2000)
1 Jun 2018   [#1037]
Hi Finema
As in the example posted by James you can create the references ,
in this case the bottle and the form you want to apply, then
you have to create two nodes (get by name) and then connect them
to the rest of the nodes of my file, (eliminating the bottle and the form
built with only the nodes ...)
All clear .... I hope so
best
alberto
From: Finema
1 Jun 2018   [#1038] In reply to [#1037]
Alberto,
yes it's clear but i don't know what i must exactly put the getbyname node
and also, what i must delete
I'm discovering node editor, sorry
Thanks
From: speedy (AL2000)
1 Jun 2018   [#1039]
Hi James
I carefully reviewed your last file, and I allowed myself to add
some steps to get a scaling on the faces for the Flow ...
I think it can be useful ---
file to this link:
http://www.mediafire.com/file/rx36d7931u1iuvu/bottleWrap4.nod/file
In any case, I have to ask you some questions;
1- why the progression for isocurve input starts from 0.0001 and not from 0 ....
2- the value 0.0001 is accepted, as ever, in some situations in which I tried to insert it, for other nodes, I could not, the value
it is not accepted .... it depends perhaps on some settings that I do not know .......
3- I saw that the added (info box) to the surface object of the flow,
then splitting the input of the value z, which means .....
grateful for your explanations
Have a nice day and good work
alberto
From: speedy (AL2000)
1 Jun 2018   [#1040]
Hi Finema
a this link:
http://www.mediafire.com/file/kqm1csr5w6b2g0o/31-05-Bottle_SimPanelingTool.zip/file
new file with object referenced
and new Flow node
only run... Good Luck
alberto
From: Finema
1 Jun 2018   [#1041] In reply to [#1040]
Thanks Alberto
it's Ok now
I would like to use a solid instead an half surface
From: Finema
1 Jun 2018   [#1042] In reply to [#1041]
Thanks a lot James and Alberto
I know it's not as Paneling Tool Rhino but this node is usefull for my work
From: James (JFH)
1 Jun 2018   [#1043] In reply to [#1039]
Hi Alberto,

In answer to your questions 1& 2. It seems it is no longer necessary to commence progression with 0.001.
This a hang over from an earlier version of isoCrvs, as you can see in image below it now does it automatically,
so that's good to know.



Question 3..the info box node ascertains whether the idxSelected surface has a z dimension.
An output of 0.00 for bottle base translates as boolean false and hence breaking the circuit,
while and other dimension translates as true.

It works better with inclusion of blue nodes in attached

I have only just awoken, so I have not had a look at your file. I'll do that now,

I've had a look: Yes your added nodes could be useful, thanks for that

Have a great weekend

James

Image Attachments:
isoCrvs.gif 


From: Finema
1 Jun 2018   [#1044] In reply to [#1043]
Hi
Why the pattern isn't similar to the model (bottle)
See my screenshots
The pattern is not perfectly following the shape of the bottle.
Thanks

Message 7777.1045 was deleted


From: Finema
1 Jun 2018   [#1046] In reply to [#1045]
OK
Thanks James :)
From: James (JFH)
2 Jun 2018   [#1047] In reply to [#1046]
Finema

The reason "pattern is not perfectly following the shape" is due to the fact that the bottle surface has been rebuilt. It fidelity of the bottle is significant, then there are work arounds. I'll get back to you

See if the attached works for you. Instead of rebuilding the bottle; it has been sliced/diced.

James
From: Finema
2 Jun 2018   [#1048] In reply to [#1047]
James
It's perfect now !
the script running is slower but it's great !
thanks a lot

Message 7777.1049 was deleted


From: Finema
2 Jun 2018   [#1050] In reply to [#1049]
James,
With this version (7) there is a deformation
see my screenshot


Also,
With V6 et V7 :
1• I apply the node on my model
2• i quit MoI
3• ropen the 3dm file
4• apply the node > Error
5• i must redraw my model (Revolve)
6• ican now apply the nodeV6 or V7


thanks
From: James (JFH)
2 Jun 2018   [#1051] In reply to [#1]
Hi Karsten,

I have attempted to create a node based on RemoveDuplicates script.
however without success. Below is my attempt:

// RemoveDup
function RemoveDup()
{
this.addInput("In","objectlist");
this.addOutput("Out","objectlist");
}

RemoveDup.title = "RemoveDup";
RemoveDup.desc = "RemoveDup";

RemoveDup.prototype.onExecute = function()
{
var inObj = this.getInputData(0, moi.geometryDatabase.createObjectList());
var output = moi.geometryDatabase.createObjectList();
if ( inObj.length> 0 ) output = factory ('removeduplicates', inObj);
this.setOutputData(0, output);
}

LiteGraph.registerNodeType("Objects2/RemoveDup", RemoveDup);


Now, only if this would be a welcome distraction for you,
I would appreciate if you could steer me right.

I have so missed your contributions to NE in your long absence.
I know you have a lot on your plate, so if this is something that
you can't turn your mind towards right now, then no worries.

Hope you're well

James
From: Karsten (KMRQUS)
3 Jun 2018   [#1052] In reply to [#1051]
Hello James,

After some problems in my life or with my wife, I had to find a new orientation - I think a well known problem. Now it's getting better and better and I see the light at the end of the tunnel - I hope it's not a train;-)

To your problem:

At first: I think removeduplicate needs a second input - a tolerance value, but that won't solve the problem alone. I suspect that this factory don't give a geometry list back - it works directly to the geometry database. So we have to use a workaround - 1. write the input to the database. 2 call the factory. 3 delete the input list (otherwise the database locks removing). 4. commit the factory 5. get the left objects (singletons) back and copy them in a list. 6 delete the singletons also from the database. 7 give the list to the output.

It's only a first idea - give me some days please and I will have a closer look.

I hope you are well and remain with kind regards!
Karsten
From: speedy (AL2000)
6 Jun 2018   [#1053]
Hi Friends
I want to share with you my research in the field of "OpticalArt"
exploiting the potential of the Quartz node (truly amazing tool....
honor to Max)
A particular double propeller, as opposed moving creates the effect
looked for...
The propeller can be either a Polysurf or a Subdsurf
the file, for those interested at this link:
http://www.mediafire.com/file/3ply0jgng7xveb1/NewPropeller2.rar/file
Have a nice day to all
alberto

Show messages:  1-13  …  974-993  994-1013  1014-1033  1034-1053  1054-1073  1074-1093  1094-1113  …  1854-1859