MoI discussion forum
MoI discussion forum

Full Version: Nodebundle for playing with nodes

Show messages:  1-4  …  1765-1784  1785-1804  1805-1824  1825-1844  1845-1859

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

From: Frenchy Pilou (PILOU)
8 May 2021   [#1825] In reply to [#1824]
When you have few number of objects you can make something like this


From: Psygorn (DRILLBIT)
8 May 2021   [#1826] In reply to [#1825]
Hi PILOU,

I don't get it! I want to select create objects by nodeeditor.

Edit: How one can do it by controlling the movement of objects?

Could you please explain how I should use it to select created objects? So, then I can perform "Union" on them.

Later I would like to know how I can select certain edges using nodeeditor is it possible?

Attachments:
Move.nod


From: Frenchy Pilou (PILOU)
8 May 2021   [#1827] In reply to [#1826]
I am not sure you can "select" an object result : you can take the result for make something with it!

The Union Node works like that (that is here "Selected" by hand) but will be the same if it's an object(s) resulting of something!
https://moiscript.weebly.com/construct.html#bibeunion
From: Barry-H
8 May 2021   [#1828] In reply to [#1826]
Hi,
the node you need is the concat.
Barry



Image Attachments:
Screenshot (646).png 


From: Frenchy Pilou (PILOU)
8 May 2021   [#1829] In reply to [#1828]
Problem of Nodes system : when you stop for a while you forget all! :)
Even you have made the Library ! ;)
https://moiscript.weebly.com/basic.html#bibeconcat
From: Psygorn (DRILLBIT)
8 May 2021   [#1830] In reply to [#1828]
Thank you Barry-H :)

By the way do you know if it is possible to do this (Selecting certain edges of unioned mesh) or not?


From: Psygorn (DRILLBIT)
8 May 2021   [#1831] In reply to [#1829]
I understand PILOU :)

Is there a manual to read and learn the functionality of nodes?

in a glance https://moiscript.weebly.com/construct.html#bibeunion I was not able to find out how "select" works for example.

Should I keep digging into above link?

or is there another source for learning that kind of things.
From: Frenchy Pilou (PILOU)
8 May 2021   [#1832] In reply to [#1831]
You have all nodes here with their explanation so it's not exactly a manual but...
in English...and in French ;)
https://moiscript.weebly.com/biblio-elephant.html

You have Selected Node
https://moiscript.weebly.com/objects.html#bibeselected

and this shows (2 lines bottom) the action on the Select Node on this page : https://moiscript.weebly.com/node.html

From: Psygorn (DRILLBIT)
8 May 2021   [#1833] In reply to [#1832]
Ok

So, digging it is! :)
From: Frenchy Pilou (PILOU)
8 May 2021   [#1834] In reply to [#1833]
Bon courage! It's not so evident!
From: Psygorn (DRILLBIT)
13 May 2021   [#1835] In reply to [#1830]
Hello guys!

I still have don't know how I could select those edges I had highlighted on the attached photo!

Could anyone help me out here?
From: sunspeed
20 May 2021   [#1836]
Dear all,

I tried to use the OFFSET node to create a bigger version of a closed curve object i.e. a rectangle.

When entering a "Dist" number into the editor of this node, i.e.10, the rectangle gets a 10mm negative offset and is getting smaller. Entering negative numbers is not accepted. Switching the "Both" parameter to "YES" is creating both offset rectangles correctly.

My issue now is that I only want to have the bigger rectangle and not both.

Do I misunderstand the node or do I use it in the wrong way?

Thanks in advance for any ideas or proposals how to get this working.

Joerg

Image Attachments:
Offset Node issue.JPG 


From: Frenchy Pilou (PILOU)
20 May 2021   [#1837] In reply to [#1836]


I will investigate your problem :)
From: Frenchy Pilou (PILOU)
20 May 2021   [#1838]
Maybe like this ?


From: sunspeed
20 May 2021   [#1839] In reply to [#1838]
Thanks Pilou!

The FLIP parameter is doing the difference!

Really strange, I was pretty sure that I tested yesterday all parameter including different permutations but always failed. But maybe I simply did not test this combination or the restart of the computer solved the issue.

But however now it works, thanks again Pilou!
From: sunspeed
21 May 2021   [#1840]
I need to do some calcs in a MATH node. I am looking for a function like integer(), but this one seems not to exist.

Do you know where I can find a summary about available functions that can be used in the MATH node? I know the simple + - * / PI sin cos tan ( ) but I assume that there might be more ;o))

Thanks, Joerg
From: bemfarmer
21 May 2021   [#1841] In reply to [#1840]
See posts by Max, a few years ago.
Also see nodeeditor code, e.g. in notepad++.
See Javascript functions, Ecmascript 5, for example at W3 site

- Brian
From: sunspeed
21 May 2021   [#1842] In reply to [#1841]
Thanks Brian. Sometimes it's really the easiest to directly look into the code although Java is not a know language for me. But Max did a very good readable code, so it was easy to simply add the ROUND() function to the list of codes.

In line 78 of basic.js the function can be added:
this.properties = { mode:["Long","Long","Short"], f:"a+b", preset:["a+b", "a+b", "a-b", "a*b", "a/b", "sin[a]", "cos[a]", "pow(a,b)", "round(a)"], a:[1], b:[1]};

Works now perfect for me.
From: bemfarmer
21 May 2021   [#1843] In reply to [#1842]
Thankyou sunspeed for sharing your Javascript (5) solution.
- Brian
From: bemfarmer
12 Mar 2022   [#1844]
Is bundlePts available anywhere?
Is bundlePts redundant?

Was bundlePts replaced with some combination of array nodes?
As per Karsten, bundlePts combines the 1st point of each input array, then 2nd point of each input array, etc., which seems to be one of the multi process combinations?

Search of +bundlePts only yields 6 mentions.

- Brian

Show messages:  1-4  …  1765-1784  1785-1804  1805-1824  1825-1844  1845-1859