MoI discussion forum
MoI discussion forum

Full Version: Parametric design in MoI?

Show messages:  1-12  …  473-492  493-512  513-532  533-552  553-572  573-592  593-612  …

From: Karsten (KMRQUS)
18 Oct 2016   [#533] In reply to [#532]
Hello Marco,

sorry that I forgot to say that you don't need the litegraphExt.js and so I didn't posted an updated here. Max has integrated the getElement in the last version. The copyElement -Stuff I have integrated inline. So try to remove litegraphExt.js from index.html.

Have a nice day
Karsten
From: mkdm
18 Oct 2016   [#534] In reply to [#533]
Ahhhh....Ok Kartsen,

I did what you said and now all works fine. Thanks a lot!

What do you think about my proposal to rewrite my lost :( experimental nodes ArrayDistinct and ArrayBoolean that I mentioned in my previous post ?
(http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.527)

Unfortunately, for the time being I can't deal that effort.
Maybe when Max's will release 1.0 version of Elephant...

Have a nice day.

- Marco (mkdm)
From: speedy (AL2000)
18 Oct 2016   [#535]
Hello Max and Friends
Someone is willing to post some examples
illustrating the use of the node length .........
for me it's difficult to figure out how to function
thank you
al
From: Karsten (KMRQUS)
18 Oct 2016   [#536] In reply to [#535]
Hello Al,

the length node evaluates the number of elements in a given array. With the RMB you can change the type of the input (numarray - default, pointarray or geometrical
objects). The output is type of numarray (number) with only one element.

Now it's up to you - but I saw that you have already used it!

Have a nice day
and thanks for sharing your examples
Karsten
From: speedy (AL2000)
18 Oct 2016   [#537]
Hi Karsten
thanks for your reply, I have many other questions to ask ,
but let's degrees.....
1-Blend
attached a file that contains two surfaces, you get with your Node Swep,
how do I use the Blend Node?
Swept gives me a single input, the surface, how do I
to extract the edge you want to use for the blend?
2-Blend
I also used two simple curves, I thought
that blend so it worked, I was wrong ....
Can you please show me the use of this Feature ...
Needless to say ... thank you very much

have a nice day,friend
best
al

Attachments:
CP-Swept_ versus Blend.3dm
CP-Swept_ versus Blend.nod

Image Attachments:
Blend-1.jpg 


From: Karsten (KMRQUS)
18 Oct 2016   [#538] In reply to [#537]
Hello Al,
I will try to explain the attached file and the workflow. First you have to create your surfaces. I have used here sweep with a circle placed to the startframe (getCrvSFrame). Important: Switch of CapEnds in the sweeps!. The created sweeps are connected to the nodes BRepNameSubObj. This node takes the sweep and gives edges and faces a name. If the elephant runs, it creates also a tempobject with the same names. Now you can preselect both edges. Do not clone the BRepNameSubObj node, because the clone would have the same basename for the subelements. When you now create the blend the names of the edges will be evaluated and stored in the blend node. Connect the wires and switch of the tempobjects in the BRepNameSubObj nodes.
It's a little bit complicated, but at the moment I can't find a better solution for the function.

Have a nice day
Karsten

Attachments:
sweep-blend.nod


From: Karsten (KMRQUS)
18 Oct 2016   [#539] In reply to [#537]
And your file with a blend:-)

Attachments:
CP-Swept_ versus Blend.nod


From: James (JFH)
18 Oct 2016   [#540] In reply to [#538]
Hi Karsten,

Thank you for your clarification of the application of BRepNameSubObj node together with Blend node. I know I asked about this earlier: http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.499
but this a prime example of where inputs into a alt version of const node (called say Num node) would be very useful. In this way a short series could be constructed with variable inputs as shown.

-James
From: speedy (AL2000)
19 Oct 2016   [#541]
Hello Karsten

First of all thank you for the explanations....
I would like to ask you some things that are not
very clear

1- theBlend object surfaces are sweep, loft etc etc
must always be closed (solid) ???
Name BrepSubObj Node- does not recognize the surfaces
as Brep? ........
2- I need to clarify if, once connected my
Surf with BrepNameSubObj- Node, run Elephant, I have to selected
the edges which appear to me to video ,before or after
It made the final connection with the final Blend -Node ......

3- Blend curves, Curves Joint , Rebuild Curve, I think they are Nodes
absolutely essential for the growth of Our Elephant,
and given the Your ability to create Scripts, I think you should give it a thought

Have a Nice Day and many .. many .. Thanks
al
From: Karsten (KMRQUS)
19 Oct 2016   [#542] In reply to [#541]
Hello Al,

1. the sweep, loft, ... has to be a surface not a solid - the loft works only for egdes of surfaces.
2. Select the edges before you create the blend node - very important, because the blend node evaluates the names of the edges with the selection.
3. I have already thought about that, but time is limited and it is useful to think about which functionallies have to included in which node. Max has made a great job regarding to intelligent data handling with a small amount of nodes - very flexible. As well as the internal structure regarding to the programming. Every time I have a look in his code I'm surprised and impressed, but most of the time - first shocked and then confused, until I understand the concept. So are all my nodes are only studies to help developing and it's not clear if there are better solutions for some functionallity. So I hope they are useful, If not, we should disscus and find better solutions. Important! Play with them!

Have a nice day
Karsten

p.s.: @James: I try to make a node based on Max Concat, with the length node functionallity (flexible input types)
From: Frenchy Pilou (PILOU)
19 Oct 2016   [#543]
Does not a good idea to make a little general diagram by the creator of new nodes because text is not very catching in a wink!

between Original Max Elephant / external...new nodes...place where that must be placed...what download...

because now we are totally over passed! :)

Message 7713.544 was deleted


From: mkdm
19 Oct 2016   [#545] In reply to [#543]
Hi everyone,

> between Original Max Elephant / external...new nodes...place where that must be placed...what download...
> because now we are totally over passed! :)

I totally agree with you Pilou.

I think that, until Max will not release his 1.0 official version of Project Elephant,
it would be really helpful for everyone if we create a new thread dedicated to all the experiments that most of us are doing
with brand new nodes and/or with the improvement of the existing ones.

What do you think about ?

Best,

- Marco (mkdm)
From: speedy (AL2000)
19 Oct 2016   [#546]
Hello Karsten

I had to work hard to understand the mechanism of selection for
connect Blend Node
now it's works finely............

I must say it has a great performance
Grasshopper even has a tool so wonderful-
Could you add (Go Continuity ) in the feature into it's Node ?....

I also ask you, if the board surface is not a single board, just
Click in sequence the naked edge?

I am attaching a small example of the beautiful performance obtained
combining it to Boolean Intersect Node
in the coming days continuing my exploration
You will definitely ask more from you

Best
al

Attachments:
CP-Blend explor.3dm
CP-Blend explor.nod

Image Attachments:
CP-Blend explor.jpg 


From: bemfarmer
20 Oct 2016   [#547]
I like the yellow crosshair in Karsten's modified .85 version, nodeeditor.v.0.85_mod.zip, message # 7713.485.
It looks good for a lighter canvas background.
The cursor is located in \the zip file at core\img as cursor.png.
This cursor.png can be copied to the corresponding img subdirectory in Max's nodeeditor program, to change to the yellow crosshair.

Maybe Max could add an "Options" button, to include cursor selection and also lighter color scheme?

- Brian
From: Karsten (KMRQUS)
4 Nov 2016   [#548]
Hello Max,

is it right, that the node editor while loading a node-file from disk, only read the first element of an array with strings? Is it a feature to increase performance? I had some problems to reread an array of strings of stored names. The node file supports the complete array, but I only get the first string back. I solved the problem by a number as first array element, so the whole array will be restored. I hope, that you don't have plans to avoid the complete storage for arrays of strings in your next version.

Thanks in advance
and have a nice weekend!
Karsten
From: Max Smirnov (SMIRNOV)
5 Nov 2016   [#549] In reply to [#548]
Hi Karsten,

>>is it right, that the node editor while loading a node-file from disk, only read the first element of an array with strings?
Nod file is a js-object in JSON format . There are no any performance features, just JSON.parse

Could you send me an example of this strings array node file?

>>I hope, that you don't have plans to avoid the complete storage for arrays of strings in your next version.
I didn't think about implementing of a strings arrays support until now. And I doubt that I will add this feature in the next version. Maybe later.
From: Karsten (KMRQUS)
6 Nov 2016   [#550] In reply to [#549]
Hello Max,
thanks for your reply. I've posted these two files. http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.119
Please have a look at the line " this.internal = {filletEdgeNames: [0]};" in the construct2.js and the corresponding line
"internal":"filletEdgeNames":0,"EcHB1E_E3","EcHB1E_E12","EcHB1E_E21","EcHB1E_E30","EcHB1E_E39","EcHB1E_E48","EcHB1E_E57","EcHB1E_E66","EcHB1E_E75"]}}

If I would erase the default 0 in " this.internal = {filletEdgeNames: [0]};" and store the node file, only the first value "EcHB1E_E3" will be restored from file.

Any idea?

Have a nice day
Karsten
From: mkdm
16 Nov 2016   [#551]
Hi Karsten and everyone!

> "It's been a year since Max's first version!"

Thank you very much for the reminder!!

These are the main and fundamental steps of Project Elephant's history :

1) Thread "grasshopper for moi" 26 Oct 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=3145.23)
Max has written :
"Today I wrote a test-script which can create and manipulate objects by using html5 graphics interface.
Everything works great. Html5 canvas, window and mouse events e.t.c.
So it is technically possible to write the grasshopper clone for MoI."

2) Thread "grasshopper for moi" 28 Oct 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=3145.28)
Max has written :
"I've found great node-based editor! Litegraph.js
It's fast, small and free."

3) Thread "grasshopper for moi" 28 Oct 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=3145.35)
Max has written :
"First real test. It works pretty good."

4) Thread "Parametric design in MoI?" 19 Nov 2015 (http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.18)
Max's YouTube video : MoI nodeeditor preview

Thanks to Michael, Moi3D is a wonderful software but i think that there's a Moi BEFORE Max's contribution and a Moi AFTER Max's contribution.

I have nothing more to say.

Best,
From: mkdm
26 Nov 2016   [#552]
Hi everyone.

Just in order to keep Project Elephant's stuff straighten up a little bit, I created this new thread :

"Project Elephant's UNOFFICIAL Repository"
at http://moi3d.com/forum/index.php?webtag=MOI&msg=8197.1

I hope that it will be useful for everyone.

Best!

Show messages:  1-12  …  473-492  493-512  513-532  533-552  553-572  573-592  593-612  …