MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-15  …  656-675  676-695  696-715  716-735  736-755  756-775  776-795  …  1856-1859

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

From: speedy (AL2000)
3 Nov 2017   [#716]
Hi James
from now on, I worked using updated Karsten's NE,
but I still have many files to share with you, all made with previous versions of the latest update ....
so the advice I give you is to create a double folder, one with them
Old Extension and One with NE ...
in this way, you can open it from time to time, compatible Elephant
with everything....
Thank you for appreciation
Have a nice day
alberto
From: Karsten (KMRQUS)
3 Nov 2017   [#717] In reply to [#716]
Hello Al,

good news! Please tell me: Are there problems to convert the files?

Thank's in advance
and have a nice day
Karsten
From: James (JFH)
4 Nov 2017   [#718]
Hi Karsten (and others),

Attached is a file with macro that converts a Brep to Edges & points.



I have tried modifying your "Extract" node by making line 212 & 217-220 into comments so that it only outputs edge curves. It works perfectly however is no use for the sharing of .nod files, & hence convert.nod attached.

I wonder though, if it would be difficult to add an "Edges Only" option to your node. Perhaps, if this could be included, it might be an opportune time for a name change (to let's say "Derive"), so as to remove the redundancy of 2 nodes of the same name & not be confused with Max's Basic/Extract.

Anyway, this was just a thought

Have a great weekend
James

EDITED:
Better still, might be for Max to fold this functionality into a Brep option in his "Exract" node

Image Attachments:
convert.png 


From: Karsten (KMRQUS)
5 Nov 2017   [#719] In reply to [#718]
Hello James,

what a surprise. I didn't planed to use the node in this way. It is pure coincidence, because no names are stored in the node and no names are given to the input. Typically it should be used in combination with the brepNameSubObj. So the node stores pre-selected names and filters it while running. I think there are different possible ways to solve it. You have already shown a way. Nevertheless it would be great when Max would integrate it in the next release of his extract node.
Brep - option on RMB and a filter/switch for edges and faces.

Have a nice day
Karsten

p.s.: Geometrical world trip: Welcome to Bruxelles:-)
From: James (JFH)
5 Nov 2017   [#720] In reply to [#719]
Hi Karsten

Thank you for getting back to me.

Can you tell me is Objects2/separateObj effectively identical to Objects2/Extract if it had a "Faces only" option?


Geometrical world trip: Welcome to Bruxelles:-) ??????
James
From: Karsten (KMRQUS)
5 Nov 2017   [#721] In reply to [#720]
Hello James,

The seperate node is identical with the separate command in moi - same factory. It smashes objects. Joined curves in segments, solids and joined surfaces in single faces.

Bruxelles: https://en.wikipedia.org/wiki/Atomium

Have a nice day
Karsten
From: James (JFH)
5 Nov 2017   [#722] In reply to [#721]
Karsten

RE:Atomium...Ahh now I get you

RE: SeparateObj
Cheers, thanks for info
James
From: Barry-H
5 Nov 2017   [#723]
Hi,
how can I enter an adjustable range ( from calcs using maths nodes ) into the points node other than with the range slider.
Cheers
Barry


Image Attachments:
Grid Array.png 


From: James (JFH)
5 Nov 2017   [#724] In reply to [#723]
Hi Barry,

<<enter an adjustable range.... other than with the range slider>>

Use objects2/concat2 node, with RMB option Numbers



Let me know if you need further clarification

James

Image Attachments:
concat2.png 


From: Karsten (KMRQUS)
5 Nov 2017   [#725] In reply to [#723]
Hello Barry,

of corse, you can. Start and end value can be calculated independent from each other. Then you have to concate them together as input for the points node.
Concate2 node can take numarray, pointarray and objects as input (RMB).

Have a nice day
Karsten

Attachments:
Concat2.nod


From: Barry-H
5 Nov 2017   [#726] In reply to [#724]
Hi James,
thanks can't tell you how long I've messed about trying different permutations.
Not sure if my memory is correct but did Karsten do a spreadsheet with node definitions on it ?
Cheers
Barry
From: James (JFH)
5 Nov 2017   [#727] In reply to [#726]
Hi Barry

Spreadsheet can be found here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.200

James
From: mkdm
5 Nov 2017   [#728] In reply to [#718]
Hi James.

Thanks you very much!
This is a very useful nod file!

Ciao!
From: James (JFH)
5 Nov 2017   [#729] In reply to [#728]
Hi Marco (& others),

<<This is a very useful nod file!>>

Assuming you are talking about "convert.nod",
you may prefer to do what I have done,
which is to include new node in "objects2"
called "ExtractEdges"

It is simply Karsten's "Extract" node minus a few lines of code.

It achieves the same effect as convert.nod edges output
without issues that arise with multiple inputs & poly-surfaces.

Maybe you could look at it's code.
It is at the very end of the script.
I suspect that several more unnecessary lines
may be removed (or made into comments)


James
From: mkdm
5 Nov 2017   [#730] In reply to [#729]
Hi James.

Thanks a lot for the "ExtractEdges" new node !

I will be very useful also for my "2D workflows" :)

Asap I'm going to look at its code.

Thanks!
From: James (JFH)
5 Nov 2017   [#731] In reply to [#729]
Hi All,

Attached is .nod file to produce result as shown.
(not exactly as pattern is randomly generated)

It is a requirement for execution that "object2.js"
attached to my earlier post replaces similar in
"nodeeditor/nodes/extensions".

Also requires most recent NE mod (Karsten's cleanup menu):
http://moi3d.com/forum/index.php?webtag=MOI&msg=8628.1

It appears to be robust, but rename original
so you may easily revert to it if problems arise.

James


Image Attachments:
truchet.jpg 


From: mkdm
6 Nov 2017   [#732] In reply to [#731]
Wow!

Wanderful node James.
You rock!!

Ciao!
From: bemfarmer
6 Nov 2017   [#733] In reply to [#731]
Looks cool James.

- Brian
From: speedy (AL2000)
13 Nov 2017   [#734]
Hi friends
This is my last Macro- Rhombic Grid,
I thought of it as my utility for
the creation of the Clifford Torus-
Anyway I think it can be a tool
of wide use ...
at least I hope ,
the exercise at this link:
http://www.mediafire.com/file/0lpo8m4fxsselje/M-Rhombic_Grid.rar
Have a nice day to all
alberto
From: bemfarmer
13 Nov 2017   [#735] In reply to [#734]
Nice node Alberto.

(note, getting an error with MoIV4 NEv0.97)

- Brian

Show messages:  1-15  …  656-675  676-695  696-715  716-735  736-755  756-775  776-795  …  1856-1859