Parametric design in MoI?
 1-4  …  305-324  325-344  345-364  365-384  385-404  …  905-912

Previous
Next
 From:  Karsten (KMRQUS)
7713.345 In reply to 7713.343 
Hello Max,

the main thing , you are well . I enjoy the break:-)

Have a nice weekend
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:  bemfarmer
7713.346 
Here is a lighter color for the Canvas.
Under nodeeditor/core/imgs, save the original grid.png, and replace it with the lighter grid.png.

The colors of the original grid was inverted. This was done with Gimp2, or with Greenfish Icon Editor Pro (GFIE).
The lighter colors were swapped with GFIE. GFIE does not compress the PNG, so PNGGauntlet was used to shrink the PNG file size.

A button to select the grid colors might be nice, as well as an even lighter grid for printing.

- Brian (Grid.png removed as it is no longer used.)


EDITED: 18 Mar 2017 by BEMFARMER

  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.347 In reply to 7713.346 
I made an even lighter grid, but the cursor is almost invisible. :-(

The few icon/png editors I've tried have been difficult to use as well.

- 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:  bemfarmer
7713.348 In reply to 7713.346 
. So how do I delete a message?

- 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:  Michael Gibson
7713.349 In reply to 7713.348 
Hi Brian,

re:
> . So how do I delete a message?

In the bottom right corner of a message there's a "more" link and if you click it a menu will pop out with a "Delete" link on it.

If that doesn't work, just give a link to the message you want to delete and I can do it for you too.

- 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:  bemfarmer
7713.350 In reply to 7713.349 
Thank you Michael.
(I've been unable to delete from the edit window.)
  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.351 In reply to 7713.348 
Hello Brian,
dont't delete the message. The cursor can be customized with e.g. Gimp. Take a cursor example (also png) from this thread and change form and color and share it also, please.

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:  bemfarmer
7713.352 In reply to 7713.351 
To switch to an arrow cursor, locate the litegraph.css file under nodeeditor\css\, and change "crosshair" to "default", without the quote marks.
(Line 4)

https://css-tricks.com/almanac/properties/c/cursor/

Attached is a lighter grid.png replacement for the canvas. In the canvas display it still seems to be relatively dark.

The Wand selector of the Greenfish Icon editor cannot distinguish between two different tints and/or tones and/or shades, which are nearly the same .
This makes it hard to select the proper areas of the grid.png for editing.

The Wand selector of the IcoFX2 icon editor can so distinguish, but does not do Hex colors. Setting one of the two colors of Grid.png to a very different color allows the .png to be edited in the Greenfish Icon editor, which does do Hex colors.

- Brian

Grid.png removed as no longer needed.

EDITED: 18 Mar 2017 by BEMFARMER

  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.353 
Hi everyone,

While waiting the next official NodeEditor release by Max, here's my the first stable version (0.1) of some nodes i wrote :

N.B. these nodes requires the latest v.0.65b version of Max's NodeEditor.

- "PatternSelArray" : returns a PointArray, made by a patterned+subset selection of the input PointArray's element

- "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, made by flipping the elements of the input PointArray

- "ArrayLogger" : Outputs to a textarea the content of the input PointArray. It's useful for debugging.
You can copy/paste the textarea's content, to a text editor, in order to better view all the text.
Every line of text contains the full data of each point present in the input PointArray, separated by a single space :
X Y Z AngleX AngleY AngleZ Size

- "ArrayReplicator" : Replicates the input PointArray. It may be useful only in order to keep the graph cleaner.

In order to use these new nodes, follow these steps :

1) copy the "arraysExt.js" file into the "nodes" folder of NodeEditor
2) copy the "litegraphExt.js" file into the "core" folder of NodeEditor
3) add these lines of code to the "index.html" file of NodeEditor

code:
<script type="text/javascript" src="core/litegraphExt.js"></script>
<script type="text/javascript" src="nodes/arraysExt.js"></script>


I hope that you will find these nodes useful.

Please, let me know if you will find bugs.

Nice day to all!

Marco (mkdm)

EDITED: 30 May 2016 by MKDM


Image Attachments:
Size: 75.3 KB, Downloaded: 49 times, Dimensions: 968x704px
Size: 176 KB, Downloaded: 96 times, Dimensions: 1721x971px
Size: 2.1 MB, Downloaded: 87 times, Dimensions: 1920x1034px
Size: 155.6 KB, Downloaded: 58 times, Dimensions: 1720x967px
  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.354 In reply to 7713.353 
Hello Marco,

Thank You very much for sharing. I have tested some nodes and for now, everything works fine. Especially the ArrayLogger will help to debug while programming and also while using the nodeeditor. I'm very curious what's comming next.

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:  mkdm
7713.355 In reply to 7713.354 
Hi Karsten,

I'm glad to know that you appreciated my little contribution and also that you haven't found some strange bugs...

Currently i'm working on a node that will be called "ArraySketcher".
It will process a PointArray and, following some criteria, it will use the array elements to draw some basic geometry objects :

"Triangles", "Quads", "Curve", "Interpcurve", "Arc3pt", "Circle3pt", "Rect3pts", "EllipseDiam","EllipseCen" and some others...

I also wrote "PatternSelObjects" node, that does the same things of "PatternSelArray", but with it,
it's possible to operate on a ObjectList rather than a PointArray.

I hope to post soon these new nodes.

Thank you for your reply and have a nice day!

Marco (mkdm).

EDITED: 31 May 2016 by 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:  Frenchy Pilou (PILOU)
7713.356 
I believe that must be easy but I am a little stucked in the nodal world! :)
http://moiscript.weebly.com/uploads/3/9/3/8/3938813/nodal_problemo.zip
(no nodal file inside) Curve can be any flat curve like a Sinusoïde etc...Hllow object can be any thing like a bowl etc...



I make a "Flat Extrude" +"Vertical Extrude" because "Shell" is not yet implemented (Vertical Extrude Line + Shell)

All that for simulate this function! :)
Minute 25.00 - 25.54

EDITED: 6 Jun 2016 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:  bemfarmer
7713.357 
After much study learning how the Motor2.nod works, I did a documentation PDF.

Also, there were 3 miscellaneous observations of very minor concern:

1. The first rotate node has input label "In" instead of "Objects." (This is apparently an old version leftover?)

2. Regarding arcsin (asin), the order of mathematical operation appears to be
nonstandard. (An additional set of () was added around the asin opperands.)

3. The Rotate nodes Z angle inputs are obeying the "Left Hand Rule," rather than the "Right Hand Rule." (OK I guess)

4. Increasing positive angle results in Clockwise rotation. (OK)

- Brian

The Word to PDF conversion makes the SnagIt MoI PNG blurry :-(
So I need a different way to make the PNG?
Edit: Updated PDF with new Figure 1 PNG from CustomUI Snapshot Right Click, and added a couple of sentences.

EDITED: 8 Jun 2016 by BEMFARMER

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:  Frenchy Pilou (PILOU)
7713.358 In reply to 7713.357 
Enlighting!


<<So I need a different way to make the PNG?
You have no choice to make different level of rendering image at the begining of the PDF process?
Seems remember that ...but a long time that i don't made a PDF! (i have not more this program)

Blurry for me only when you make a big zom!

French translation of your Tutorial in a few days! :)
  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.359 In reply to 7713.358 
Thanks PILOU,

I updated the PDF a little bit.

- 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:  bemfarmer
7713.360 
Quartz is in the translate list.
Quartz is also a basic node, but its activation is commented out in the basic.js file.
Quartz refers to a quartz watch.

To activate Quartz, by editing the basic.js file, uncomment it by changing //LiteGraph.registerNodeType("Basic/Quartz", Quartz);
to: LiteGraph.registerNodeType("Basic/Quartz", Quartz);

Try replacing the slider in motor2.nod with a Quartz node for slow, continuous animation.

The Hz (Hertz) input should control cycles per second, somehow?
The Hz input does not seem to do anything?

- Brian

Hmm, there is also a Watch node...
The Watch node can be wired in just after the Quartz node.
The Watch node displays the input numbers. With Quartz, the numbers go from 0 to 359.

Quartz can have its step value changed, and has a tic-tac mode.

So Quartz acts like an automatic slider?

EDITED: 8 Jun 2016 by BEMFARMER

  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.361 
Hi Max,

How are you ? I hope well.

Have you got some good news about a new official release of your NodeEditor ?

In my garbage time i'm continuing to code some new utility nodes for PointArray or in general but,
if i remember correctly, you said that the next version of NodeEditor will present a major rewrite of the fundamental datatypes,
so i would like to know if it's better for me to wait the new version, instead of coding nodes that will not work anymore.

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:  Max Smirnov (SMIRNOV)
7713.362 In reply to 7713.361 
Hi Marco!
I'm fine, thank you! :)
I have no time for programming right now, but it will not last for long. Wait two or three weeks.

>> the next version of NodeEditor will present a major rewrite of the fundamental datatypes
I have plans to replace Number type with NumberArray type. It should be last change in the datatype system.
  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.363 
Max's motor2.3dm is here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7713.203

Also, to try out the continuous animation, copy the modified basic.js to nodeeditor/nodes directory.

- Brian

EDITED: 2 Mar 2021 by BEMFARMER

  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.364 In reply to 7713.362 
Hi Max,

It's good to know that you're okay.

> I have plans to replace Number type with NumberArray type. It should be last change in the datatype system.

Thank you for this heads-up.
I think that it shouldn't be a problem for the utility nodes i'm coding, for the PointArray datatype.

One more question, just about the PointArray.
Did you plan to code some business logic that will supply programmatic ways to select the PointArray's element ?

I realize that i've already asked this in other posts and with other words,
but i think that this would be a very very powerful thing.

For the time being, i've only written the "PatternSelArray" node, but it can be done much, much more :)

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-4  …  285-304  305-324  325-344  345-364  365-384  385-404  405-424  …  905-912