Nodebundle for playing with nodes
 1-12  …  1073-1092  1093-1112  1113-1132  1133-1152  1153-1172  …  1853-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  Karsten (KMRQUS)
7777.1113 In reply to 7777.1110 
Hello Al,
can you please post the *.nod file to the forum?

Thanks in advance!
Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 7777.1114 deleted 14 May 2019 by JFH

Previous
Next
 From:  Frenchy Pilou (PILOU)
7777.1115 
Vasarely revival! :)
---
Pilou
Is beautiful that please without concept!
My Moi French Site 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:  speedy (AL2000)
7777.1116 
Good Morning James
Congratulations , you got the target
cool node, very useful
have a nice day
al

Ps-Peeking on Grasshopper you'll see that there
are, many other nodes to be able to create
or adapt with macro, good work
  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.1117 
Hello Finema and Friends
Sorry, I double checked and inside the folder
the nod file was missing
now everything is OK, at least I hope
file at this link:
http://www.mediafire.com/file/lst3pvtl7seesgd/M_Helix.M_mradiiTube.zip/file
sorry again
al
  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:  Finema
7777.1118 In reply to 7777.1117 
yes, it's great :)
  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.1119 
Hi Friends
this macro M-HelixfromRef.Curve , completes the Helix tool,
taking a cue from Catia, where this utility is Default,
I thought it could be a great help for the Users to have this tool.
Starting from a reference curve, lying on the plane
xz, with starting point on the x-axis of any height and shape ,
the macro returns the helix whose limit is the curve
of reference...
In the posted example there are some Ref.Curves, just enough
give run
how many interested people find the file at this link:
http://www.mediafire.com/file/qabtdpn99zmj2pl/DM_Helix_from_Ref_Curve.zip/file
Good work everyone
al
  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:  James (JFH)
7777.1120 
Hi All,

Here is an exercise, showing localised distortion of point array from a point at the origin.

James

EDITED: 14 May 2019 by JFH

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:  speedy (AL2000)
7777.1121 
Good morning James
your distorsion node is a Gift ...
mathematically very inspired.....
beautiful in its essence .....
Compliments
Have a nice day my friend
al
  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:  James (JFH)
7777.1122 In reply to 7777.1121 
Hi Al,

Thanks for the compliment, but to be honest I could do with your help.
I have been trying to introduce multiply points for repulsion, without success.

Although my method worked well for my intents, it is not extendable
(at least, not as far as I can see).

If you are looking for a project, perhaps you could turn your masterful skill toward this.

James
  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.1123 
Hello James and Friends
I took your words to the letter, I did some small manipulation
to your node and I used the Wire as a starting point to sketch this
Construction ... a pretty original Dome I would say ....
James , your Remap macro , will be very useful -
file at this link;
http://www.mediafire.com/file/rxqxfwcfdyo3xga/DomeDistorsion.zip/file
Good evening
al
  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:  James (JFH)
7777.1124 In reply to 7777.1123 
Good Morning Alberto,

>> a pretty original Dome I would say .... <<

Yes, your architectonic reworking of my distorted field was a delight to wake up to. Great work.

However, the distribution of isoCurves around point of repulsion would, in my original, give a less elegant curvature... in fact, plugging the remapped array into z input of pointExt results in a plateaued form which accords with the isoCurves. It is not as pleasing as your form, but allows the localisation manipulation.(ie ZONE widget) see below:




Rather than upload revised .nod file here, I replaced the one attached to my earlier post:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1120
It can be switched between 2d & 3d with red switch node.

To make it bulge in a hemispherical form will require some added formula applied to the x and y as well as the z components. Nevertheless at this stage my interest is more, in having the 2D field distorted at multiple points (ie 2 or more points of repulsion). I don't know if that was clear in my last post. (or this one for that matter) This video will clarify: https://www.youtube.com/watch?v=PY4Byucrcpw

>> Remap macro , will be very useful <<
Yes, so useful in fact, that I believe, it should be part of the core toolkit: ie a node, or even better an option of an enhanced ReMap node that include this, as well as remapping of points as exists in Karsten's node and ideally remapping of surfaces (retopologizing).

Anyway, thank you for your inspirational work.
I look forward, as always, to your next creation
James

EDITED: 25 Jun 2018 by JFH

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:  Karsten (KMRQUS)
7777.1125 In reply to 7777.1124 
Hello James, Hello Al,

it's a pleasure to see your works. At the Moment i'm working on the projection node, which can be also used for evaluating the shortest distance of a Point to a curve. So you have to have some patience until I think about a remap/rescale.

Have a nice day
Karsten
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 7777.1126 deleted 26 Jun 2018 by JFH

Previous
Next
 From:  speedy (AL2000)
7777.1127 
Hi Karsten
Thanks in advance for your contributions
"Illuminants"
look forward
Good evening
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:  Karsten (KMRQUS)
7777.1128 In reply to 7777.1127 
"Hello - is it this you looking for - I can see it in your eyes - I can see it in your smile ..."

Not direct the closest distance, but more general. It is the project curve factory and it works also for points to curves. Please test and study. The direction mode takes the x-axis of the frame input. For closestpt it is not necessary.
code:
        function Project()
{
	this.addInput("Objects","objectlist");
        this.addInput("Target","objectlist");
	this.addInput("Frame","pointarray");
	this.addOutput("Out","objectlist");
	this.properties = {ProjectMode:["closestpt","closestpt","direction"]};
}

Project.title = "Project";
Project.desc = "Project";

Project.prototype.onExecute = function()
{
        var obj = this.getInputData(0, moi.geometryDatabase.createObjectList());
        var target = this.getInputData(1, moi.geometryDatabase.createObjectList());
        var f = this.getInputData(2, new pointArray(true));
        var output = moi.geometryDatabase.createObjectList();
	//0 Object
	//1 Objects
	//2 projectmode
	//3 basePt
	//4 TargetPt
	//5 delete inputs
	//6 plane
	//7
	var frame = f.getFrame();

	var pFac= moi.command.createFactory( 'project' );
	pFac.setInput( 0, obj );
	pFac.setInput( 1, target );
	pFac.setDefaultDirection();
	pFac.setInput( 2,this.properties.ProjectMode[0] );
	pFac.setInput( 3, frame.origin );
	pFac.setInput(4,frame.evaluate( 1, 0, 0 ) );
	pFac.update();
        output = pFac.calculate();	
	pFac.cancel();
        this.setOutputData(0, output);
};

LiteGraph.registerNodeType("Construct2/Project", Project);


A nice day to all
Karsten
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:  James (JFH)
7777.1129 In reply to 7777.1128 
Hi Karsten,

Well there was hardly any time for impatience, you've done it....and it is just perfect.

Brilliant stuff as always
James

PS This is an application where reMapRange is useful: allowing greater controls of min/max radii and extrude height.

EDITED: 14 May 2019 by JFH

Attachments:

Image Attachments:
Size: 46.5 KB, Downloaded: 25 times, Dimensions: 480x469px
  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:  James (JFH)
7777.1130 In reply to 7777.1128 
Karsten,

Your new node is a godsend.....which makes you a....?

Here, a ptArray is deformed with a curve, which makes for a delightfully simple way of generating a parametric surface.

James



PS Karsten, if you are now open for suggestions; this is a big one: it requires 2 nodes to work in unison. Firstly a image import node and secondly a node that converts greyscale values to numArray (à la Max's heightMap script). These num values may be z value for a ptArray, however they may alternatively be radii of circles (Che) or scale values or whatever............ Could Be Good!

This not even a request, just something to get you excited about. In the meantime there is no end of fun possible with your latest node.

Below image: using circle attractor

EDITED: 14 May 2019 by JFH

Attachments:

Image Attachments:
Size: 22.8 KB, Downloaded: 16 times, Dimensions: 640x365px
  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.1131 
Hi Karsten and James
One thing friends ...
the js file for the NE (Project)
where can I find it...
you've already posted it, and I missed ...
thank you
al
  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:  James (JFH)
7777.1132 In reply to 7777.1131 
Hello Alberto,

>> the js file for the NE (Project)... where can I find it..<<

Copy the code (within grey rectangle) @
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1128

and paste into the bottom, but just above })(); of Construct2.js code.

Directory:
C:\Users\< user name>
\AppData\Roaming\Moi\nodeeditor\nodes\extensions\construct2.js

Hope this helps
James

PS If you have not already done so, also paste in code for railRevolve and Network.
Code found in posts below:

http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1085
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1086

EDITED: 27 Jun 2018 by JFH

  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-12  …  1053-1072  1073-1092  1093-1112  1113-1132  1133-1152  1153-1172  1173-1192  …  1853-1859