Elephant Repository
 1-7  …  68-87  88-107  108-127  128-147  148-167  …  488-503

Previous
Next
 From:  bemfarmer
9476.108 In reply to 9476.106 
PinkDot represent pointarray class, and contain many properties, including "raw" points, e.g.(x,y,z), AND frames and scales(?) and angles...

GoldDot points are MoI's geometry form of points, which can be added to the geometry database and displayed in MoI. (Object Lists)

GoldDot points can have styles, names, etc.

- Brian

EDITED: 13 Sep 2019 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:  Frenchy Pilou (PILOU)
9476.109 
<<Selected> ObjtoArray > extractPts > Output

I have a cube selected

Not yet working! (square orange) and not sure that takes all points...(maybe also i don't use good nodes after the Extract)

  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:  wayne hill (WAYNEHILL5202)
9476.110 In reply to 9476.109 
This is working. Maybe right click on Selected and Update. The extractPts is in the Objects2 node

EDITED: 17 Jan 2021 by WAYNEHILL5202

  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)
9476.111 In reply to 9476.110 
New test only one point (before reading your last post)



Ah OK Cool! you pass not by the "Array" :)

So what is the "Pink Array" of the "ObjTo Array" ?
  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)
9476.112 
Just a little Thing : The "ExtractPts" is not in the Native Nodes!!!

I am only on the Native Nodes for the moment! ;)

So maybe that is not possible with only Native Nodes ?

And always want to know what is exactly the Pink "Array" of the Native Node "ObjToArray" :)

EDITED: 7 Sep 2019 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:  Frenchy Pilou (PILOU)
9476.113 
More easy :)

Node Loft (English French)
http://moiscript.weebly.com/construct.html


" />

EDITED: 7 Sep 2019 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:  Frenchy Pilou (PILOU)
9476.114 
Node Sweep (English French)
http://moiscript.weebly.com/construct.html



EDITED: 7 Sep 2019 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:  Frenchy Pilou (PILOU)
9476.115 
Node Extrude ( English French)
http://moiscript.weebly.com/construct.html



EDITED: 7 Sep 2019 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:  Frenchy Pilou (PILOU)
9476.116 
New little blockage! I stay on a Flat land! :)

Surely trivial but what is the "Frame" inside the Revolve Node and how to use it?



Of course I can rotate first my Profil... but i want to know the use of this mysterious "Frame"! :)

EDITED: 7 Sep 2019 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:  Frenchy Pilou (PILOU)
9476.117 
More easy :)
Node Boolean Diff (English French)

http://moiscript.weebly.com/construct.html




EDITED: 7 Sep 2019 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:  Michael Gibson
9476.118 In reply to 9476.116 
Hi Pilou, a frame is an origin point and 3 direction vectors which together defines a 3D coordinate system, like this:



Probably your case there will use the z axis of the frame as the axis of revolution.

- Michael
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)
9476.119 In reply to 9476.118 
Cool! Seems that but there is a direct exit from MOi! :) (without report! )
In general when slider go toward 0 (even 0 is not touched) - this is the same thing for any of axis chosen!

Ps The file ".3dm" saved don't appear on the list of last saved ! ??
I have yet 15 last saved files in this list (does exist a maxi number)
Saved is done before launch the Node!







http://moiscript.weebly.com/uploads/3/9/3/8/3938813/speed_exit.3dm

http://moiscript.weebly.com/uploads/3/9/3/8/3938813/speed_exit.nod

EDITED: 8 Sep 2019 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:  Michael Gibson
9476.120 In reply to 9476.119 
Hi Pilou, since the node editor uses GeometryFactory::calculate() it runs the factory calculation inside MoI.exe instead of running it in the separate moi_commandprocessor.exe process as will happen when running the regular Revolve command. As a side effect of this there are some kinds of bugs that you can encounter with the node editor that get screened out with the regular commands because if moi_commandprocessor.exe crashes the MoI.exe process just keeps going ok.

In this case the bug is the revolve factory will crash if given a 0 (or perhaps very small) angle value. This could be tuned up in the Revolve node to not try and do the revolve if the angle is very small. Something like: if ( Math.abs(angle) < 0.01 ) return;

I've updated the revolve factory itself to do that as well so in the next release that shouldn't happen even with the current revolve node.

- 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:  Frenchy Pilou (PILOU)
9476.121 
Anyway :)

Node Intersection (English French)
http://moiscript.weebly.com/construct.html



  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
9476.122 In reply to 9476.119 
Hi Pilou,

> Ps The file ".3dm" saved don't appear on the list of last saved ! ??
> I have yet 15 last saved files in this list (does exist a maxi number)
> Saved is done before launch the Node!

The "recent files" list is written to moi.ini when MoI closes down but if it crashes then the normal shutdown processing does not happen.

The number of recent files that are displayed can be adjusted in moi.ini :

[UI]
<....>
MaxNumRecentFiles=15


- 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:  Frenchy Pilou (PILOU)
9476.123 In reply to 9476.122 
Thx for the Infos!
---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel 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:  Frenchy Pilou (PILOU)
9476.124 
Node Union (English French)
http://moiscript.weebly.com/construct.html



---
Pilou
Is beautiful that please without concept!
My Moi French Site My Gallery My MagicaVoxel 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:  Frenchy Pilou (PILOU)
9476.125 
About the Revolve function : I try to add the "if ( Math.abs(angle) < 0.01 ) return;" inside the construct.js file of the nodeeditor

but as I don't know where exactly to add it i have for the moment some errors... :)

PS about the Node editor for the V3 I have only a "White screen Window"
I have tryed

​moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ) on the prog itself

​moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); on the "application data"

no success

What is the number of the version of NodeEditor working for the V3?

EDITED: 8 Sep 2019 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:  Frenchy Pilou (PILOU)
9476.126 
Last one of the Native Section "Construct" :)

Node Revolve
(English French)

http://moiscript.weebly.com/construct.html

Warning : Put the Minimum of the Slider at 1° Angle for avoid a direct exit of Moi before the new V4 !!!



  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
9476.127 In reply to 9476.125 
Hi Pilou,

> About the Revolve function : I try to add the "if ( Math.abs(angle) < 0.01 ) return;" inside the construct.js file of the nodeeditor>
> but as I don't know where exactly to add it i have for the moment some errors... :)
>

Probably like this (haven't tested to make sure though), add the line marked with >>>

code:
Revolve.prototype.onExecute = function()
{
	if (this.properties.mode[0] === "Union")
	{
		var inObj = this.getInputData(0, moi.geometryDatabase.createObjectList());
		var center = this.getInputData(1, new pointArray(true));
		this.properties.angle = this.getInputData(2, this.properties.angle);
		var frame = center.getFrame(0);

>>>		if ( Math.abs(this.properties.angle[0]) < 0.01 ) return;

		var output = factory ('revolve', inObj, frame.origin, frame.evaluate( 0, 0, 1 ), this.properties.angle[0], this.properties.cap_ends[0] === "On");
		this.setOutputData(0, output);
	}
	else
	{
		var data = this.processInOut(this.properties.mode[0], this.multiProcess, null, null, 360 );
		this.properties.angle = data.inputs[2];
		this.setOutputData(0, data.outputs[0]);
	}
}



>
> PS about the Node editor for the V3 I have only a "White screen Window"
> I have tryed
>
> ​moi.ui.createDialog( 'nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ) on the prog itself
>
> ​moi.ui.createDialog( 'moi://appdata/nodeeditor/index.html', 'resizeable,defaultWidth:680,defaultHeight:420', moi.ui.mainWindow ); on the "application data"
>
> no success
>
> What is the number of the version of NodeEditor working for the V3?

I think the same version works for both, however v3 does not have the stuff needed for running it from appdata so you have to install it in the main install folder, in the ui subfolder if I remember right.

Then if you put it in a folder like \ui\nodeeditor , you would use the first one above. Whatever folder you put it in, this part in bold of the keyboard shortcut should match the folder name: ​moi.ui.createDialog( 'nodeeditor/index.html',

If you want to have one single launcher shortcut key that does different things depending on whether it's running in V3 or V4 you can do it like this:
http://moi3d.com/forum/index.php?webtag=MOI&msg=9266.194

Also Macros in v3 won't work unless you apply the fix from here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=7777.1494

- 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
 

Reply to All Reply to All

 

 
Show messages:  1-7  …  48-67  68-87  88-107  108-127  128-147  148-167  168-187  …  488-503