MoI discussion forum
MoI discussion forum

Full Version: Node Wish List

Show messages:  1-20  …  321-340  341-360  361-380  381-400  401-420  421-425

From: bemfarmer
22 Jan   [#381] In reply to [#380]
Thankyou Barry.
It seems that my nodeeditor, for this pc especially, is not up to date, with some "obsolete"/ defective nodes.

- Brian
From: MO (MO_TE)
22 Jan   [#382] In reply to [#378]
Hi Barry
>> can you make a node of your script please

I was working on a new version of fillet node months ago, with ability to pick corner points directly from the scene, I guess I can add my new findings to it.
It's still buggy and I'm not sure when it'll be ready.

I'm not that skilled too. :)
From: bemfarmer
22 Jan   [#383] In reply to [#382]
Hi MO_TE

Thank you for your hard work. You seem very skilled with the Javascript & Nodes.
I like the way that you break up Max's paragraphs of code into individual code lines. This tends to make them more comprehensible IMHO.
Is this "parsing" done by some editing software?
Notepad++ does not break down these code "paragraphs".

- Brian
From: Barry-H
22 Jan   [#384] In reply to [#382]
Thanks Mo,
much appreciated.
Would be good to add fillet and chamfer to the curves section if possible.
Cheers
Barry
From: MO (MO_TE)
22 Jan   [#385] In reply to [#383]
Hi Brian
>> You seem very skilled

Thanks, I wish I was. ;)

I use notepad++ with language set to JavaScript.
Maybe this helps you to format/beautify your codes:
https://beautifier.io/
From: bemfarmer
24 Jan   [#386] In reply to [#385]
Thank you MO_TE for the JS-beautify link.
From: MO (MO_TE)
27 Jan   [#387]
"FilletCurve" and "ChamferCurve" nodes
Fillet/chamfer multiple curves at once.
You can choose a specific corner point to fillet or chamfer or set a pattern of 01 to fillet/chamfer curves.


How to use it?
Start nodeeditor and connect your curves to the node.
Click on the "FilletCurve" node to open the information panel.
In the "Select" dropdown menu choose the "sharp points" option.
This way you can see and choose the corner points in the scene.
When you finished picking corner points, choose the "Done" option from "Select" dropdown menu.


Also see the attached "FilletCurve_Showcase.nod" for an example.
Address:
Construct/FilletCurve
Construct/ChamferCurve

Attachments:
ChamferCurve.js
FilletCurve.js
FilletCurve_Showcase.nod

Image Attachments:
FilletCurve_ChamferCurve_Nodes.png  FilletCurve_Vid-ezgif.com-optimize.gif 


From: Barry-H
27 Jan   [#388] In reply to [#387]
Hi Mo,
Excellent will give them a try.
Many thanks
Barry
From: Frenchy Pilou (PILOU)
27 Jan   [#389]
Excellent!
From: Barry-H
27 Jan   [#390] In reply to [#387]
Hi Mo,
quick update.
When filleting a selected object and applying the original object remains and cannot be deselected as normal (mouse click).
Perhaps keeping original is not needed.
Cheers
Barry
From: MO (MO_TE)
27 Jan   [#391] In reply to [#390]
Hi Barry
Thanks for the bug report.
I've fixed the lock selection bug. Try updated version.
From: Barry-H
27 Jan   [#392] In reply to [#391]
Hi Mo,
works fine many thanks.
Barry
From: Frenchy Pilou (PILOU)
27 Jan   [#393] In reply to [#387]
In fact we must make our own schema from your example ?
(killing some nodes and save it ) that works fine...
Or there is an original somewhere ?
Or I miss something ?
(here in French for some nodes because i have French enable! :)

From: MO (MO_TE)
27 Jan   [#394] In reply to [#393]
Hi PILOU
>> In fact we must make our own schema from your example ?

I modified my main.js to have more colors. But, there should be no difference in terms of working.

>> Or there is an original somewhere ?

Actually, I was working on implementing some new features of this "litegragh" fork into the old nodeeditor. But, I haven't released it yet.
https://github.com/atlasan/litegraph.js

It works nice, But, I have some problems with html and css parts.
I was hoping to find someone interested/skilled to help me finish it! :)
From: Frenchy Pilou (PILOU)
27 Jan   [#395] In reply to [#394]
THx for the infos! And alas i can't help you on these difficult domains! :( (for me)
From: James (JFH)
27 Jan   [#396] In reply to [#387]
MO,
RE: "FilletCurve" and "ChamferCurve" nodes

This is some impressive work. Indeed the facility for selecting vertices is such a profound contribution, that I really feel it is deserving of its own node.



As well as isolating vertices for fillet/chamfer operations, it could, for example add a trim point on a curve; and in the instance where there were coincidental end point, perform selective joining of curves; etc etc.

Also vertices could be output as points for the locating of other objects/geometry/vectors; or be the targets for operations (eg extrude to point).

Generally I am resistant to the tendency towards node library bloat, but in this case I believe that it would beneficial to take this facility for vertex selection out of your new nodes and universalise it into a dedicated node.

Either way; Brilliant work.
Keep it up.

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


PS Another thought: Could node have an "index" number array output as an alternative option?

Image Attachments:
verticeSel.jpg 


From: MO (MO_TE)
28 Jan   [#397] In reply to [#396]
Hi James
Thanks for your ideas. I hadn't thought about using the corner points like this.
Although, I should think more about adding a break to curve or merging curve segments.

I was thinking about adding a new node for selecting sub-objects like edges and faces to use them in filletEdges, blend, offset, inset, extrude, n-sided, network and shell nodes.
Maybe I can add an extra "point" option to it.

One thing I'm not sure about is if is it better to write a "select sub-objects" node and rewrite other nodes above to work with it,
Or, add selection function like "filletCurves" to all of them. (I guess the first one is faster and easier!)
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 


Show messages:  1-20  …  321-340  341-360  361-380  381-400  401-420  421-425