MoI discussion forum
MoI discussion forum

Full Version: Elephant Repository

Show messages:  1-5  …  26-45  46-65  66-85  86-105  106-125  126-145  146-165  …  486-503

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




From: Frenchy Pilou (PILOU)
4 Sep 2019   [#98]
Ok Section Curves (13 items) in English is done...so now the French one...will be easier and faster! :)

Big suspense for the Next Section ! :)
From: Frenchy Pilou (PILOU)
6 Sep 2019   [#99]
Big Section "Curve" in French done! :)

Now Section "Objects"
Clone done (English French)
http://moiscript.weebly.com/objects.html


From: Frenchy Pilou (PILOU)
6 Sep 2019   [#100]
Node Selected (English French)
http://moiscript.weebly.com/objects.html


From: Frenchy Pilou (PILOU)
6 Sep 2019   [#101]
Node Get by Name (English French)
http://moiscript.weebly.com/objects.html

Not yet Updated so OutPut = "--"



From: Frenchy Pilou (PILOU)
6 Sep 2019   [#102]
Node Get by Style (English French) (sorry I don't why Styles are listed in French on the English Elephant version!!! )




From: Frenchy Pilou (PILOU)
6 Sep 2019   [#103]
Again in the fog! :)

How to extract "Points" from the OBJToArray Point for see them ?
No yet result with the "Extract"...so try that but...
ConvertPts don't want to show them! (orange square! :(


From: Frenchy Pilou (PILOU)
6 Sep 2019   [#104]
Before the light of the ObjToArray :) (possible i make a missunderstanding of this Node)

here the last Node BoundingBox of the Object section (English French)


From: Frenchy Pilou (PILOU)
6 Sep 2019   [#105]
Global view of the Native Nodes
Useful for the Input / OutPut colors! ;)


Show messages:  1-5  …  26-45  46-65  66-85  86-105  106-125  126-145  146-165  …  486-503