MoI discussion forum
MoI discussion forum

Full Version: Elephant Repository

Show messages:  1-17  18-37  38-57  58-77  78-97  98-117  118-137  138-157  …  498-503

From: Frenchy Pilou (PILOU)
3 Sep 2019   [#78]
I have some troubles with the Nodes Curve, Polyline! :)
From: Frenchy Pilou (PILOU)
3 Sep 2019   [#79]
Node Arc 3Pts (English)
http://moiscript.weebly.com/curves.html




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#80]
Added Arc Center (English)
http://moiscript.weebly.com/curves.html



From: Frenchy Pilou (PILOU)
4 Sep 2019   [#81]
Added Circle Dia (English)
Curiously there is not Input inside the Info Panel!

http://moiscript.weebly.com/curves.html




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#82]
Added Circle 3 Pts (English) Input datas only by Nodes ! Not Possible by Info Panel !
http://moiscript.weebly.com/curves.html




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#83]
Added Ellipse Center (English)
http://moiscript.weebly.com/curves.html




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#84]
Added Ellipse 3 Pts (English)
http://moiscript.weebly.com/curves.html

Maybe a little glitch on the "Z" Point drawing? (not on the ellipse perimeter! )




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#85]
I am blocked with the Nodes Curves & Polylines for Input datas ! ???

If you have some lights about that! :)


From: wayne hill (WAYNEHILL5202)
4 Sep 2019   [#86] In reply to [#85]
Hi Pilou,

Look at the curves.js file for the geometry definitions.

...
// Curve
function Curve()
{
this.addInput("In","pointarray");
this.addOutput("Out","objectlist");
this.properties = { mode:["Curve", "Curve", "Interpcurve"], closed:["No", "No", "Yes"]};
}
...


// Polyline
function Polyline()
{
this.addInput("In","pointarray");
this.addOutput("Out","objectlist");
this.properties = {closed:["No", "No", "Yes"]};
}
...


Wayne
From: James (JFH)
4 Sep 2019   [#87] In reply to [#85]
Pilou,

The 3 colours of wires and connectors (inputs & outputs) represents the 3 data types:
GREEN = number data (numbers or numArrays)
PINK = point data (points or pointArrays)
YELLOW = objects (curves, surfaces or bReps)

So Curve & polyline nodes inputs are PINK and hence point arrays (minimum length of 2)

Hope this makes sense.
James
https://www.instagram.com/nodeology/

PS Keep up the good work.
From: Frenchy Pilou (PILOU)
4 Sep 2019   [#88]
Yes I am totally agree with you but the problem is that i don't find the good "native" Nodes for that! :)
(simple way like that or more complex)

I must miss something trivial!


From: bemfarmer
4 Sep 2019   [#89] In reply to [#81]
So Green inputs may have default values in the info window(?) Pink pointarray inputs do not have such default values in the info window (?)

Also Vertikal should be changed to Vertical :-)

- Brian
From: Frenchy Pilou (PILOU)
4 Sep 2019   [#90] In reply to [#89]
Vertikal is Max ! ;)

<< Pink pointarray inputs : what is the name of this node (if it's a native one)

Polyline has no case for input list of something


From: bemfarmer
4 Sep 2019   [#91] In reply to [#88]
For example:
Use Point node object output, as input to ObjToArray.

Use 3 Progression nodes with different settings, as input to Point node x, y, z.

- Brian
From: Frenchy Pilou (PILOU)
4 Sep 2019   [#92]
Sorry I am in total foggy mood! :)

Say I draw 4 Points : how to transform them in Polyline or Curve ?

(or Maybe Nodes Polyline or Curve is not made for that ?

My OutPut stays desesperately "orange" even with hundred of tests/errors! :)

PS and how gives the good order of them ?


From: Frenchy Pilou (PILOU)
4 Sep 2019   [#93]
OK I have the curve! :)



It's more problematic for the Polyline : problem of order of points!
From: Frenchy Pilou (PILOU)
4 Sep 2019   [#94]
OK I have the Polyline also! :)



Maybe Node "MovePoint" will be more simple with dx,dy,dz =0 than TransformPts

Not sure if all that is very orthodox but that works! :)

Order of points is good when you click one by one for select them for a few selection

Many more problematic when you have hundred of them!
From: Frenchy Pilou (PILOU)
4 Sep 2019   [#95]
Very very mysterious!!!

Now that works like that must be! No need to insert an additional Node! :)




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#96]
Added Curve (English)
http://moiscript.weebly.com/curves.html




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#97]
Added Polyline (English)
http://moiscript.weebly.com/curves.html




Show messages:  1-17  18-37  38-57  58-77  78-97  98-117  118-137  138-157  …  498-503