Parametric design in MoI?
 1-12  …  473-492  493-512  513-532  533-552  553-572  …  893-912

Previous
Next
 From:  bemfarmer
7713.513 In reply to 7713.512 
Thank you chippwalters.
So that is what an .md file is.
I've just purchased MarkdownPad2Pro for $14.95, and installed Writage, for MS Word, and Pandoc.
I have not located "good" ms word templates, nor identified what fonts to use, for a "User Manual."
- 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:  chippwalters
7713.514 
Hi Brian,

Please check out http://StackEdit.io
It may be one of the best markdown tools out there. It also can render HTML (different templates) as well as PDF.
  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
7713.515 In reply to 7713.514 
Thank you Chippwalters.

Stackedit looks powerful, but the install with yum, bower, npm, gulp, ... is very confusing, as I've never done such before.

- 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:  speedy (AL2000)
7713.516 In reply to 7713.515 
Hello Friends
another little example to share with you;

Karsten, I have loaded your Node ... congratulations
Just a question...
Can I put them in the Node editor with the original Max's Node
v.085?
Many thanks for your response
best
al

Image Attachments:
Size: 364.2 KB, Downloaded: 77 times, Dimensions: 1680x1050px
Size: 321.6 KB, Downloaded: 49 times, Dimensions: 1680x1050px
  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
7713.517 In reply to 7713.516 
Hi speedy (AL2000),

What a fantastic job!

One further step to Jewelry Design in Moi!

Thanks,

- 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:  Karsten (KMRQUS)
7713.518 In reply to 7713.516 
Hello Al,
I always try not to touch Max original code, only for some experiments. Nodes are normally additions, to purpose functionallity.
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

Previous
Next
 From:  chippwalters
7713.519 In reply to 7713.515 
Hi Brian,

Not sure I understand. I just use it in the Chrome browser window. No need to download any app.
  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)
7713.520 In reply to 7713.517 
Hi Marco,

I tried to install your PatternSelectArray node into new version of node editor without success.
The problem seems to be that there is a conflict with existing function "pointArray.prototype.getElement".
I tried renaming it, but still no luck.

Have you rewritten node for v0.85?

One suggestion I think would be useful is for node input to accept number series (disregarding commas).
In that way for example a random pattern could be generated: range/random/interp/PatternSelectArray.
Also inputs may, in later development, be generated by boolean (True/false) queries with outputs of ones & zeros.
Just a thought!

Thanks,
-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:  mkdm
7713.521 In reply to 7713.520 
Hi James,

and thanks for your reply and suggestions. Much appreciated!

Right now, regarding the rewriting of the Array utility nodes that I was writing some time ago,
I decided to wait the next official stable release of Project Elephant.

Best,

- 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:  Karsten (KMRQUS)
7713.522 In reply to 7713.520 
Hello James,

to run PatternSelArray in V0.85 please replace the following:

source_elem.pt.x,
source_elem.pt.y,
source_elem.pt.z,
source_elem.AngleX,
source_elem.AngleY,
source_elem.AngleZ,
source_elem.Size

With:
source_elem.data[0],
source_elem.data[1],
source_elem.data[2],
source_elem.data[3],
source_elem.data[4],
source_elem.data[5],
source_elem.data[6]

at two places in the file! It seems that Max has changed the internal structure since the Node was created!

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

Previous
Next
 From:  James (JFH)
7713.523 In reply to 7713.522 
Hi Karsten,

Thanks for that, it works!
Now if only we could input array to dynamically generate the pattern.

I recall you stating that you were not a "Pattern Man" [#319]
http://moi3d.com/forum/lmessages.php?webtag=MOI&msg=7713.319

IMHO the manipulation of num & pt arrays (interlacing, flipping shifting etc)
lies at the very heart of parametric design. i.e. pattern.

Anyway, thanks again
- James

EDITED: 17 Oct 2016 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

Previous
Next
 From:  mkdm
7713.524 In reply to 7713.522 
Hi Karsten,

Thanks a lot for updating PatternSelArray for V0.85. I hope it works.

Have a nice day,

- 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:  mkdm
7713.525 In reply to 7713.523 
Hi James and good morning to everyone,

> IMHO the manipulation of num & pt arrays (interlacing, flipping shifting etc) lies at the very heart of parametric design. i.e. pattern.

I totally agree with you.

In fact, as I wrote in a post some times ago (http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.353),
I was writing a bunch of utility nodes for PointArray datatype :

- "ArrayShuffler" : returns a PointArray, by shuffling the elements inside the input PointArray (RMB -> Update : generate a new random shuffle)
For example, it may be useful to create objects like ball of wool.

- "ArrayFlipper" : returns a PointArray, created by flipping the elements of the input PointArray

And "ArrayBoolean", a very useful node that operates boolean operations on Pointarray. Very powerful.

Unfortunately, because of a distraction, I totally lost all the code of "ArrayBoolean" and other two very interesting nodes I was writing !!!

Only ArrayShuffler and ArrayFlipper were saved.

When Max will release the first 1.0 official version of Project Elephant I will try to write again those nodes.

Best,

- 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:  James (JFH)
7713.526 In reply to 7713.525 
Hi Marco,

"ArrayBoolean" sounds interesting. What a shame it has been lost.
Hopefully it or something similar will be resurrected in the future.
I'm always excited by your node contributions.

-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:  mkdm
7713.527 In reply to 7713.526 
Hi everyone,

Thanks a lot James for your appreciation.

Damn "recycle bin" and "overwrite" !!
I tried also to use some recovery tools but without success...it's been too long....

Anyway, here's just some info in the case of someone wants to write something similar.

I was writing these nodes :

code:
"ArrayDistinct" node :

Input : A PointArray[], a DELTA (a javascript float number) and a PRECISION (a javascript int number) 

Output : a new PointArray[] containing all the "DISTINCT" PointArray elements found in the source PointArray[].

All the PointArray elements of the source, far from each other, NOT MORE THAN DELTA (considering the required PRECISION)
are WELDED into a SINGLE PointArray element, that is, the element currently investigated (simple "For loop" with some flags to mark already processed elements).



code:
"ArrayBoolean" node that did exactly what its name means : Basic boolean operations between two PointArray[] objects.

More in depth, it provided these operations :

1) Array Union : 
Input : Two PointArray[] (named "A" and "B") also with different amount of elements, a DELTA (a javascript float number) and a PRECISION (a javascript int number) 

Output : a new PointArray[] containing all the "DISTINCT" PointArray elements of both arrays.

All the PointArray elements of "A" and "B" far from each other, NOT MORE THAN DELTA (considering the required PRECISION)
are WELDED into a SINGLE PointArray element.

2) Array Difference : 
Input : Two PointArray[] (named "A" and "B") also with different amount of elements, a DELTA (a javascript float number) and a PRECISION (a javascript int number) 

Output : a new PointArray[] containing all the PointArray elements of "A" that are NOT PRESENT in "B".

All the PointArray elements of "A" that are far from each "B" elements, for AT LEAST DELTA (considering the required PRECISION)
are returned into the output PointArray[].


I don't know if I made myself clear..

It's really too bad that "ArrayDistinct" and "ArrayBoolean" node that I was writing were lost because they were at and advanced alpha stage,
and from many tests I did they seemed to be very powerful for interesting elaborations in order to create some "exotic" nurbs objects.

Anyway, I must also say that they have been written with a very coarse businnes logic, and crunching more than some hundreds of PointArray elements,
produced very poor performances.


Have a nice day,

- 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:  Karsten (KMRQUS)
7713.528 
Hello Marco, James, wastzzz ...

I thought about randomly place geometry again and was reminded ArrayShuffle made by Marco. So I have updated the file for v0.85. I have made some test as an alternative to the node I have written (randomObj). Two different ways with different advantages:-)

Have a nice day
Karsten

@James: I'm indeed not interested in patterns or more precisely ornaments (my focus is smooth geometry), but it's not possible for me to ignore them and I think not useful also:-)

EDITED: 6 Mar 2019 by KMRQUS

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)
7713.529 In reply to 7713.528 
Hi Karsten

Ornament is a crime :-)

I think there may have been some semantic confusion.
I meant pattern as order not ornament; designation not decoration.

Thanks for updating these nodes, I greatly appreciate it.

-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)
7713.530 
Hello Friends
a new little exercise to test some Karsten's nodes
best
al
Attachments:

Image Attachments:
Size: 289.1 KB, Downloaded: 67 times, Dimensions: 1680x1050px
  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)
7713.531 In reply to 7713.529 
Hello James,

I agree with you about ornaments and the different interpretation of "pattern". But I'm not an artist and haven't the creativity like some others here, so there are many different points of view about the aesthetics of ornaments, that I can accept.

Have a nice day
Karsten

p.s.: Please, don't let us start a dicussion about that here - I'm afraid about that!
  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
7713.532 In reply to 7713.528 
Hi Kartsen and good morning.

Thank you for updating my old arraysExt.js and litegraphExt.js.

N.B. I will begin by saying that I'running latest Max's verison "nodeeditor.v.0.85_mod.zip" at http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.485

Well...I'm sorry but it seems that your updates doesn't works for me.
I think that I'm doing something wrong or I'm getting a little bit confused among various versions (mine and yours).

When I run your last experiment "ashuffle.nod" (http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.528)
I get this error : http://take.ms/R2l59

Also if I run this simple .nod file (http://take.ms/mGHP8) I get this error : http://take.ms/LnRgz.

I'm running your arraysExt.js that you uploaded (http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.528)
and this is my litegraphExt.js that has your modifications :

code:
// litegraphExt.js v.0.1 - Marco Di Mario (mkdm), 2016
// based on :
// 		Max Smirnov's Node Editor, v.0.65 - 2016
// 		litegraph.js library (c) Javi Agenjo http://tamats.com

pointArray.prototype.getElement = function(n)
{
	var idx = (n || 0);
	var shift = idx * this.recordLength;
	
	var element = {"pt":this.getPoint(idx),
		"AngleX":this.data[shift+3],
		"AngleY":this.data[shift+4],
		"AngleZ":this.data[shift+5],
		"Size":this.data[shift+6]};
		
	return element;
}

pointArray.prototype.copyElementDataTo = function(source_elem, n)
{
	var idx = (n || 0);
	var shift = idx * this.recordLength;
	
	if (source_elem) {	
		this.data[shift+0] = source_elem.data[0];
		this.data[shift+1] = source_elem.data[1];
		this.data[shift+2] = source_elem.data[2];
		this.data[shift+3] = source_elem.data[3];
		this.data[shift+4] = source_elem.data[4];
		this.data[shift+5] = source_elem.data[5];
		this.data[shift+6] = source_elem.data[6];
	}
}


What I'm doing wrong ?

P.S : Would you like 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)

Have a nice day ?

- 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
 

Reply to All Reply to All

 

 
Show messages:  1-12  …  453-472  473-492  493-512  513-532  533-552  553-572  573-592  …  893-912