Nodebundle for playing with nodes
 1-15  …  736-755  756-775  776-795  796-815  816-835  …  1856-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  r2d3
7777.776 
I start to like vases... :-) made by pentagraf...








Ralf

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  mkdm
7777.777 In reply to 7777.776 
Hello Ralf!

I echo the words I said yesterday.

WANDERFUL THINGS!!!

Very fascinating and interesting.

My congratulation :)

- Marco (mkdm)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.778 
Welcome among us Ralf ,Nice entrance.....
nice node, and beautiful Extension "Stream"Script
compliments...
I just uploaded the file in V3 and launched in v 0.99
Max's last version, all right, I noticed a single drawback ,
all outputs are locked ...
I can not unload them with the usual click....
Someone has the same problem....
or, maybe i have badly installed v 0.99?
Very most welcome your info-
best
alberto
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.779 
Ok I have all nodes this time! :)
If i good undertstand now there is no necessary to have a Nodeditor modified just extentions enable or not
and of course the new nodes, libs...

But Now I need the manual! For 2D first! :)
Curve? Lines ? ... names them ... the big fog! :)
Because nothing Pentographing for the moment! (2 Get Name are pinky! :)


EDITED: 1 Dec 2017 by PILOU

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
7777.780 In reply to 7777.779 
TRES BIEN!

dont think about the pinkys - they are only colored to identify the axes..

MANUAL:

1:open the pentagraf.3dm
2:oben nodeditor
3:load the pentagraf3D.nod (much more funnyer :)
4:hit run and enjoy

these settings makes vases:




you can also make your own pentagraf (actualy this things are called PANTOGRAPH..)
important is only that you name the axes and levers like the original (i just made one only with just circles and lines)

Ralf
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
7777.781 In reply to 7777.777 
THX!

but take care... its edictive! ;-)

Ralf
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.782 
OK! That was a long way to work! :)
Thx for all infos!
Funny of your crazzy toy is that you can make an animation on the same time!

I had just forgotten to load the "file.3dm" !!!



Now I will try the 3D one!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.783 
Yep funny indeed! :)

---
Pilou
Is beautiful that please without concept!
My Gallery
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
7777.784 In reply to 7777.778 
ciao alberto,

the outputs are locked??...


Make sure you open first the pentagraf.3dm...

and than the nodeeditor...


Ralf:)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
7777.785 In reply to 7777.783 
WOW nice one!

Did you mention, that if you go with the mouse over the animation ore Moi is in background it produces some different curves...


Ralf:)
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  speedy (AL2000)
7777.786 
Thank you Ralf, but this malfunction does not occur
only with your file, the procedure for uploading your file
that's exactly what you said,
the defect I believe is in the folders I uploaded in V.099
but I can not figure out where the mistake is-
alberto
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.787 
French version and manual of the Pentagraph 2D / 3D ! :)
http://moiscript.weebly.com/elephant-systegraveme-nodal.html
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  r2d3
7777.788 In reply to 7777.787 
Merci beaucoup!!!

That looks great :-)

The stream.js is now a little bit more robust for bad inputs..
perhabs you can update it


Ralf:)
looking for moments of inspiration...
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
7777.789 
Hi All,
I would like to be able to move an object automatically if it intersects another.
The logic is.
1) Select object 1 and 2
2)Check if they intersect.
3) If Yes move object 2 a given amount 'X+' and keep looping till No intersection or move limit reached.
4) If No move object 2 a given amount 'X-' and keep looping till Yes intersection or move limit reached.
5) When either steps 3 or 4 have been achieved set a flag to indicate loop end.
I know we have an intersect node but I need a true or false or 0 or 1 output.
Any ideas how to achieve this ?
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7777.790 In reply to 7777.789 
Hi Barry,

(precision)Bounding box would give an estimate of the size of the objects, and how far to "nudge" one or both, in some direction.
If the intersect factory, via factory.calculate(), has its intersect curves or points sent to an objectlist, and the length is zero, there is no intersection. (?)
(I'll await Michael response :-)
- Brian
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
7777.791 In reply to 7777.790 
Hi Brian,
I used the bounding box in my original trials but wanted to use the intersect node to give a more accurate layout (allowing for nesting within the bounding box). My problem is to find away of using the output of intersect node as a true or false or 0 or 1 so I can then trigger the movement.
I looked at the JS code of the intersect node to see if the output could be changed to give a 0 or 1 and then create a new node but my limited JS knowledge is a problem hence my post.
Cheers
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  bemfarmer
7777.792 In reply to 7777.791 
Instead of factory.commit(), putting the intersecting lines/curves/points in the geometry database,
objList = factory.calculate() would put the curves & points in an objectlist, which could be counted/ checked for length.
I'll defer to the professional programmers, due to my very limited knowledge, and limited time :-)
- B
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
7777.793 In reply to 7777.791 
Hi Barry, it looks like you'd need to do 2 things - you'd need to change the output type of the node which is defined by this line in objIntersect():

this.addOutput("Out","objectlist");

It sounds like you want it to output a boolean value, it looks like you can put in "boolean" for that, so change that to:

this.addOutput("Out","boolean");


Then to actually make the boolean value you will need to change the onExecute function for objIntersect, the last line currently looks like this:

this.setOutputData(0, output);

To change that to a boolean value instead of outputting the object list try this:

this.setOutputData(0, output.length > 0);

So that should then output true if anything was generated from the intersection or false if nothing was generated.

Does that maybe do what you need?

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
7777.794 In reply to 7777.793 
Hi Michael,
yes that’s what I need to achieve a node that indicates a collision.
Thanks a lot.
Barry
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Barry-H
7777.795 In reply to 7777.793 
Hi Michael,
I modified Max's node as your suggestions but cannot find anyway to connect it to the maths node.
Is the output a numeric number ?
Thanks
Barry

EDITED: 30 Jan 2021 by BARRY-H

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
Show messages:  1-15  …  716-735  736-755  756-775  776-795  796-815  816-835  836-855  …  1856-1859