MoI discussion forum
MoI discussion forum

Full Version: Node Wish List

Show messages:  1-17  …  338-357  358-377  378-397  398-417  418-425

From: James (JFH)
28 Jan   [#398] In reply to [#397]
Thanks for your reply, MO
quote:
not sure about is if is it better to write a "select sub-objects" node and rewrite other nodes above to work with it....

I like the way you're thinking!

If there was an "index" output from "select sub-objects" node, then the nodes: Construct/FilletEdges & Construct/ChamferEdges would not need to be re-written. As for Construct/Extrude etc, would they not perform analogous to Moi menu tool equivalents and accept faces as inputs?



Certainly, the ability to manipulate sub-objects rather than separate breps to discreet surfaces, curves and points and, where necessary, then rejoining; will afford greater control of resultant geometry.

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

Image Attachments:
SubObjSel.jpg 


From: MO (MO_TE)
29 Jan   [#399] In reply to [#398]
I think adding an index output for selected sub objects is a good idea, but, using this index output in other nodes brings a new challenge:
Some commands like fillet, chamfer, offset, blend and extrude behave differently with curves, edges and faces.
For example, I'm not sure how to distinguish an index for a node like "offset". should it behave like an edge/curve index or a face index or an objectlist index ?

I made a "Select_SubObjects" node. It has two outputs (for now). One output for edge/face sub objects, another one for extracting selected sub objects as separate objects.
It works nice with extrude and shell nodes without needing to change anything.
Also, adding a corner point output for fillet/chamfer is another good idea. Thanks :)
From: James (JFH)
29 Jan   [#400] In reply to [#399]
MO,

I am looking forward to getting my hands on "Select_SubObjects" node.
quote:
Some commands like fillet, chamfer, offset, blend and extrude behave differently with curves, edges and faces.
For example, I'm not sure how to distinguish an index for a node like "offset". should it behave like an edge/curve index or a face index or an objectlist index ?


The variance of operation on sub-0bject types has already been dealt with for filleting and chamfering.
Maybe a similar approach is required for offsetting.



As you alluded to extruding behaves consistently regardless of input types,
Blending only works with edges and curves, so it may also require separate nodes or ideally separate modes within "Blend" node.

Does existing Construct2/Blend node work with your "Select_SubObjects" node?

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

Image Attachments:
indexInput.jpg 


From: MO (MO_TE)
30 Jan   [#401] In reply to [#400]
Hi James

>> Does existing Construct2/Blend node work with your "Select_SubObjects" node?

No, It needs two named edges to work and it is not easy to use either. Also, it doesn't have an option to flip curves or edges.

>> Maybe a similar approach is required for offsetting and blending.

I've made a new blend node that works with "Select_SubObject" node on edges and curves.
Also, offset node works really nice with edges, faces and curves. :)
So, there is no need to add new nodes except "blend" node.

Some new options I'll try to add:
An index input and output for "Select_SubObjects" node instead of adding it to the other nodes.
A "sharp points" mode for curves.
From: Barry-H
31 Jan   [#402]
Hi all,
Is it possible to have a text array Concat node that can be index selected and displayed in the note node.
thus giving a text display of process selected within the nod file.
Cheers
Barry
From: MO (MO_TE)
2 Feb   [#403] In reply to [#402]
Hi Barry
Nodeeditor doesn't support the "string" type inputs/outputs.
I think it is possible to do that, but in the simplest scenario, requires adding "string" type support to nodeeditor,
Making a node to keep strings and changing other existing nodes like "idxSelect", "Concat" and "Note" to work with new string type.

I'm not sure if adding a completely new string menu and changing nodes is worthy for just one task.
From: Barry-H
2 Feb   [#404] In reply to [#403]
Thanks Mo I have used a number system now and it works ok.
Barry
From: MO (MO_TE)
2 Feb   [#405] In reply to [#404]
>> I have used a number system now and it works ok.
Cool, I'll be happy to see the way you do it in an example nod.

>> is there a limit to the number of Note nodes you can have ?
I don't have this issue here, do you get an error when this happen?
From: Barry-H
2 Feb   [#406] In reply to [#405]
Hi Mo,
no error message and have just tried again no problem at all.
Must have been my error.
Will update my Sections nod file as an example.https://moi3d.com/forum/index.php?webtag=MOI&msg=11314.71
Cheers
Barry
From: MO (MO_TE)
2 Feb   [#407] In reply to [#406]
Thanks. :)
From: MO (MO_TE)
2 Feb   [#408] In reply to [#406]
After seeing your nod file, I came up with an idea to switch the text with an index number.

For "switch text by index" to work, you need to change the newly added "mode" property to "Index" and separate your text by three stars (***).

See the attached nod file.

Attachments:
Note.js
Note_Index_Mode.nod


From: Barry-H
2 Feb   [#409] In reply to [#408]
Hi Mo,
excellent node.
Is it possible to have a index position that shows the choices because they are not visible one run is pressed.
Many thanks
Barry
From: MO (MO_TE)
2 Feb   [#410] In reply to [#409]
Hi Barry
Sorry, It needs nodeeditor to be running to work properly.
Although, I added the page system to display the number of choices.
Updated my earlier post.
From: Psygorn (DRILLBIT)
9 Mar   [#411] In reply to [#387]
Hi all,

I am using Google Chrome and when I want to download "ChamferCurve.js" it says "Virus Detected" and stops downloading process.

Do you know how I can fix this? or could you send it to me (like changing it's format from .js to .txt)

Edit: it also happens for "ArrayGem.js" so, if you could send that to me; I would appreciate it :-)

- Psygorn
From: Zooen
9 Mar   [#412] In reply to [#411]
ArrayGem.txt
ChamferCurve.txt

Attachments:
ArrayGem.txt
ChamferCurve.txt


From: Psygorn (DRILLBIT)
9 Mar   [#413] In reply to [#412]
Thank you Zooen,

But now I see this!



How can I fix this?

-Psygorn
From: Michael Gibson
9 Mar   [#414] In reply to [#413]
Hi Psygorn, re: "invalid character #" error, it looks like there are probably 2 different files named ArrayGem.js, one is the built in command in the commands folder and the other is I guess a node editor extension.

It looks like you've got the command one there instead of the node editor extension file like you want.

I'm not seeing where ArrayGem.js for the node editor is posted, can you post a link to the message where Chrome is not allowing you to download from?

- Michael
From: bemfarmer
9 Mar   [#415] In reply to [#413]
ArrayGem node:
https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1858

Rename .txt to ArrayGem.js.
Add to the extensions folder of nodeeditor. (AppData>etc.)
This node will be in the Objects2 node menu.

- Brian

Attachments:
ArrayGem_node.txt


From: Psygorn (DRILLBIT)
10 Mar   [#416] In reply to [#414]
Hi Michael,

>I'm not seeing where ArrayGem.js for the node editor is posted, can you post a link to the message where Chrome is not allowing you to download from?

https://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1858


Edit: how can I fix the issue of "invalid character #" error?

-Psygorn
From: Psygorn (DRILLBIT)
10 Mar   [#417] In reply to [#415]
Hi Brian,

I got confused and need help here:

ArrayGem_node.js is a different file from ArrayGem.js.

and MOI shows an error message I showed in my previous reply.

- Psygorn

Show messages:  1-17  …  338-357  358-377  378-397  398-417  418-425