MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-7  …  68-87  88-107  108-127  128-147  148-167  168-187  188-207  …  908-912

From: Karsten (KMRQUS)
12 Dec 2015   [#128] In reply to [#127]
Hello Max,

that's really good news - especially the flexible Math-Node - it will reduce the wiring a lot. For me it was clear that most of the nodes has to be rewritten or will some day obsolete. I saw and I see it, as an exercise in JavaScript and the moi-api and I have a lot of fun with it. My intention is to clarify what can to be done with such a system, check limitations and what is most needed. So see me as one of elephants alpha-test-users:-).
In the last hours I fail about the problem to make the link of "Selected" persitent/permanent. The idea was to evaluate the name of the selected object, if it has no name, give it one (simple UUID-routine - example from stackoverflow.com) put it in the label. After store and reload evaluate from label (it seems the informations are in the node file.) But I fail - My limitations:-( - any ideas?

Nevertheless I will show another approach for using such a node-editor:-)


It can also be expanded for clash detection:-)

Thank You very much Max, Pilou, James, Michael, .....

Kind regards
Karsten

Image Attachments:
motor.gif 


From: christian (CHRI)
13 Dec 2015   [#129] In reply to [#128]
Hi Karsten

Your new approach with nodes and dynamic assembly is incredible .
What a surprise for me to see that in Moment Of Inspiration .

With Max, Pilou, James, Michael , YOU and others brilliant people , we can talk about DREAM TEAM

Many thanks for your job
From: Frenchy Pilou (PILOU)
13 Dec 2015   [#130]
Brilliant ideas!
And cool zoom, maths projects!
From: Karsten (KMRQUS)
13 Dec 2015   [#131] In reply to [#128]
Hi Max,

I found a solution for my problem!

Kind regards
Karsten
From: Frenchy Pilou (PILOU)
15 Dec 2015   [#132]
All actual nodes of the animation above! ;)

From: Sharif (SR13765)
15 Dec 2015   [#133]
Hi;

First I want to thank Max for creating such amazing program and others that are contributing to expand beyond. I am trying to create a math conversion node for converting Degree to radian and radian to degree. I created these two nodes by coping other example and modify them.My knowledge of Javascript very limited and I can not figureout why is not converting.

// *************** Math Conversion Degree to radian ****************************

function convertDegtoRad()
{
this.addInput("Deg","number");
this.addOutput("Rad","number");
this.properties = {Deg:0};
}

convertDegtoRad.title = "DegreeToRad";
convertDegtoRad.desc = "Degree to Radian";

convertDegtoRad.prototype.onExecute = function()
{

this.properties.Deg = this.getInputData(0, this.properties.Deg);
var outValue = (this.properties.Deg * 2 * Math.Pi) / 360;
this.setOutputData(0, outValue);
}

LiteGraph.registerNodeType("MathBasic/DegreeToRad", convertDegtoRad);

// *************** Math Conversion Radian to degree ****************************

function convertRadToDegree()
{
this.addInput("Rad","number");
this.addOutput("Deg","number");
this.properties = {Rad:0};
}

convertRadToDegree.title = "RadToDegree";
convertRadToDegree.desc = "Radian To Degree";

convertRadToDegree.prototype.onExecute = function()

{

this.properties.Rad = this.getInputData(0, this.properties.Rad);
var outValue = (this.properties.Rad * 180) / Math.pi;
this.setOutputData(0, outValue);
}

LiteGraph.registerNodeType("MathBasic/RadToDegree", convertRadToDegree);

// *************** ***************************


thanks
-sharif

Image Attachments:
Math Conversion.png 


From: James (JFH)
15 Dec 2015   [#134] In reply to [#133]
sharif

Try "PI" instead of "Pi"

I think it then should work.
Let us know

- James
From: Sharif (SR13765)
15 Dec 2015   [#135] In reply to [#134]
Thanks! It worked
From: guyver (DAVGIAN)
17 Dec 2015   [#136]
this is possible?
http://www.grasshopper3d.com/forum/topics/camel-grasshopper-output-for-5-axis-cam
From: Frenchy Pilou (PILOU)
17 Dec 2015   [#137] In reply to [#136]
Maybe you will be more speedy productive with this free one! ;)

Free for students, enthusiasts, hobbyists, and startups
http://www.autodesk.com/products/fusion-360/try-buy

(Step and Sat from Moi)


From: Karsten (KMRQUS)
18 Dec 2015   [#138] In reply to [#136]
Hello guyver,

It's not possible - I think - at the moment, but maybe some day:-) Because I have only a 3-Axis router I use HeeksCNC for generating G-Code (supports -3-Axes). I read something about a plugIn for GMax called CNC-Toolkit that should do the Job also (5-Axes), but I never had a tryout. Free stuff for that is rare:-(

Kind regards
Karsten
From: Karsten (KMRQUS)
18 Dec 2015   [#139] In reply to [#136]
p.s.: The shown example isn't extreme 5-Axis - That can be done - with respect to the milling time and a lesser quality - with 3-Axes :-)
From: Barry-H
28 Dec 2015   [#140]
Hi,
can someone show me how to do a grid array using this plugin.
I can produce a line of objects space them rotate them and offset them
but for the life of me can't work out how to produce more than one line.
Attached is my effort so far.

Thanks
Barry-H



Attachments:
array.nod

Image Attachments:
Array.png 


From: Karsten (KMRQUS)
28 Dec 2015   [#141] In reply to [#140]
Hi Barry,

the Node is not easy to understand, because the inputs can be interpreted differently, so I want to explain how it works. First the node generates only a 1D-Array. The amount of copies depends on the N value of of your intput Array. So you have to make sure that on every input has to be the same number of values from the arrays. start value and step controls the start and distance from Inputobject to the next generated. You can control x(n) y(n) z(n) independent from each other. If you take an array of constant values (step=0) in x(n) the direction in x is fixed for your arrayed object. If you use step > 0 you will get a linear array. If you put your linear array as an input for a mathematical function and use it as input, the distance between the objects will be controlled by the function. Please make sure that all inputs are connected, because the node is not very stable. If you want to make a grid (2D), you can use the output of a first generative array as the input of a second one. With the sin und cos functions you can also generate spirals or helix. The node is not easy to use but, I think, very flexible. The example shows a grid with a linear and a quadratic growth. I hope you can load it:-), because I play a lot with the code.

Good luck
Karsten

p.s.: All nodes I made are only drafts, to check the possibilites;-) I'm not a native speaker, so the naming may not fortunate.

Attachments:
array2.nod


From: Barry-H
28 Dec 2015   [#142] In reply to [#141]
Hi Karsten,
thanks for your quick reply unfortunately I cannot run Array2 it comes up with the attached error.
I will try to create an array based on the information you have given me.
Many Thanks
Barry


Image Attachments:
Array2 error.png 


From: Karsten (KMRQUS)
28 Dec 2015   [#143] In reply to [#142]
Hi Barry,

sorry there is a named selection in it. Delete it. It is the input of the first gen array. Replace it with what you want, or use this one.

Karsten

Attachments:
array21.nod


From: Frenchy Pilou (PILOU)
28 Dec 2015   [#144]
A funny one will be to emulate the LineWeb! ;)
http://moi3d.com/forum/index.php?webtag=MOI&msg=3666.10


From: Karsten (KMRQUS)
29 Dec 2015   [#145] In reply to [#144]
Hello Pilou,

very cool and I like your sense for colors!

By the way - Here is something I am working on. A curvearray with induvidual spacing, scaling and rotation. It is full of bugs at the moment, so I want to share only a gif at the moment. The naming has not a reference to the real function, because it was written for another context:-)

Have a nice day
Karsten



From: Frenchy Pilou (PILOU)
29 Dec 2015   [#146] In reply to [#145]
Bon courage! :)



In another sort of idea: Can we imagine a Knob/ Slider of Knobs/Sliders?
For use several ones in the same time!
From: chippwalters
29 Dec 2015   [#147]
This is a quite interesting bit of work done by Max. It provides some very powerful capabilities, but at somewhat of a steep learning curve-- not Max's fault.

It reminds me of the function editor of Vue. The very first time I used it, I was pretty much overwhelmed. Over years I became fairly adept and could create dense cloud structures, hypertexture volumes and interesting fractal landscapes. In talking with the Vue programmers, they too recognized the challenge the function editor posed to most users and decided to provide an 'abstraction layer' for the interface.

What this meant is folks like my friend Dax Pandhi could now take his elaborate functions and distill them into a few custom named sliders, hide the rest and allow the rest of us to be able to use them without having to understand vectors, max/min, what different fractals did, etc.. I think it was a smart move by Vue and also helped the community (and Dax!) significantly.

I would think something along an 'abstracted' interface might be worth exploring. As always, I'd encourage Max to sell this significant technology in order to find a way to help support it.

Show messages:  1-7  …  68-87  88-107  108-127  128-147  148-167  168-187  188-207  …  908-912