Nodebundle for playing with nodes
 1-20  …  1001-1020  1021-1040  1041-1060  1061-1080  1081-1100  …  1841-1859
Thread Split: Some posts in this thread have been moved here

Previous
Next
 From:  Finema
7777.1041 In reply to 7777.1040 
Thanks Alberto
it's Ok now
I would like to use a solid instead an half surface
  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:  Finema
7777.1042 In reply to 7777.1041 
Thanks a lot James and Alberto
I know it's not as Paneling Tool Rhino but this node is usefull for my work

EDITED: 9 May 2020 by FINEMA

  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)
7777.1043 In reply to 7777.1039 
Hi Alberto,

In answer to your questions 1& 2. It seems it is no longer necessary to commence progression with 0.001.
This a hang over from an earlier version of isoCrvs, as you can see in image below it now does it automatically,
so that's good to know.



Question 3..the info box node ascertains whether the idxSelected surface has a z dimension.
An output of 0.00 for bottle base translates as boolean false and hence breaking the circuit,
while and other dimension translates as true.

It works better with inclusion of blue nodes in attached

I have only just awoken, so I have not had a look at your file. I'll do that now,

I've had a look: Yes your added nodes could be useful, thanks for that

Have a great weekend

James

EDITED: 12 May 2019 by JFH

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:  Finema
7777.1044 In reply to 7777.1043 
Hi
Why the pattern isn't similar to the model (bottle)
See my screenshots
The pattern is not perfectly following the shape of the bottle.
Thanks

EDITED: 9 May 2020 by FINEMA

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 7777.1045 deleted 12 May 2019 by JFH

Previous
Next
 From:  Finema
7777.1046 In reply to 7777.1045 
OK
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:  James (JFH)
7777.1047 In reply to 7777.1046 
Finema

The reason "pattern is not perfectly following the shape" is due to the fact that the bottle surface has been rebuilt. It fidelity of the bottle is significant, then there are work arounds. I'll get back to you

See if the attached works for you. Instead of rebuilding the bottle; it has been sliced/diced.

James

EDITED: 12 May 2019 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:  Finema
7777.1048 In reply to 7777.1047 
James
It's perfect now !
the script running is slower but it's great !
thanks a lot

EDITED: 9 May 2020 by FINEMA

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 7777.1049 deleted 12 May 2019 by JFH

Previous
Next
 From:  Finema
7777.1050 In reply to 7777.1049 
James,
With this version (7) there is a deformation
see my screenshot


Also,
With V6 et V7 :
1• I apply the node on my model
2• i quit MoI
3• ropen the 3dm file
4• apply the node > Error
5• i must redraw my model (Revolve)
6• ican now apply the nodeV6 or V7


thanks

EDITED: 9 May 2020 by FINEMA

  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)
7777.1051 In reply to 7777.1 
Hi Karsten,

I have attempted to create a node based on RemoveDuplicates script.
however without success. Below is my attempt:

// RemoveDup
function RemoveDup()
{
this.addInput("In","objectlist");
this.addOutput("Out","objectlist");
}

RemoveDup.title = "RemoveDup";
RemoveDup.desc = "RemoveDup";

RemoveDup.prototype.onExecute = function()
{
var inObj = this.getInputData(0, moi.geometryDatabase.createObjectList());
var output = moi.geometryDatabase.createObjectList();
if ( inObj.length> 0 ) output = factory ('removeduplicates', inObj);
this.setOutputData(0, output);
}

LiteGraph.registerNodeType("Objects2/RemoveDup", RemoveDup);


Now, only if this would be a welcome distraction for you,
I would appreciate if you could steer me right.

I have so missed your contributions to NE in your long absence.
I know you have a lot on your plate, so if this is something that
you can't turn your mind towards right now, then no worries.

Hope you're well

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

After some problems in my life or with my wife, I had to find a new orientation - I think a well known problem. Now it's getting better and better and I see the light at the end of the tunnel - I hope it's not a train;-)

To your problem:

At first: I think removeduplicate needs a second input - a tolerance value, but that won't solve the problem alone. I suspect that this factory don't give a geometry list back - it works directly to the geometry database. So we have to use a workaround - 1. write the input to the database. 2 call the factory. 3 delete the input list (otherwise the database locks removing). 4. commit the factory 5. get the left objects (singletons) back and copy them in a list. 6 delete the singletons also from the database. 7 give the list to the output.

It's only a first idea - give me some days please and I will have a closer look.

I hope you are well and remain with kind regards!
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:  speedy (AL2000)
7777.1053 
Hi Friends
I want to share with you my research in the field of "OpticalArt"
exploiting the potential of the Quartz node (truly amazing tool....
honor to Max)
A particular double propeller, as opposed moving creates the effect
looked for...
The propeller can be either a Polysurf or a Subdsurf
the file, for those interested at this link:
http://www.mediafire.com/file/3ply0jgng7xveb1/NewPropeller2.rar/file
Have a nice day to all
alberto
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Message 7777.1054 deleted 13 Jun 2018 by JFH

Previous
Next
 From:  James (JFH)
7777.1055 


Hi All,
A new Node Editor derived pattern experiment: Equilateral Triangular grid with scale of individual triangles determined by 3 attractors.

Oh & Thanks Michael for the new update
James

EDITED: 7 Jun 2018 by JFH

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:  Finema
7777.1056 In reply to 7777.1055 
Hi James
have you read my last message in this thread ?
Thanks a lot
  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)
7777.1057 In reply to 7777.1056 
Hi Finema,

>> have you read my last message in this thread ? <<.

Yes, but if I remember correctly an earlier version was working for you.

I'm sorry I didn't respond. I was developing a hopefully foolproof method
but am first awaiting for another's input. Stray tuned.

Have a great weekend
James

EDITED: 8 Jun 2018 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:  Finema
7777.1058 In reply to 7777.1057 
Hi James,
yes the V6 work correctly.
Thanks a lot and have a great WE too.
  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)
7777.1059 In reply to 7777.1057 
Hello James,
would you please check this code:
code:
// RemoveDup
    function RemoveDup()
    {
        this.addInput("In", "objectlist");
        this.addInput("Tolerance", "numarray");
        this.addOutput("Out", "objectlist");
        this.properties = {Tolerance: [0.005]};
    }

    RemoveDup.title = "RemoveDupCrv";
    RemoveDup.desc = "RemoveDupCrv";

    RemoveDup.prototype.onExecute = function ()
    {
        var inObj = this.getInputData(0, moi.geometryDatabase.createObjectList());
        this.properties.Tolerance = this.getInputData(1, this.properties.Tolerance);
        var output = moi.geometryDatabase.createObjectList();
        var temp = moi.geometryDatabase.createObjectList();
        if (inObj.length > 0) {
            var tempname = getUID(6);
            for (var i = 0; i < inObj.length; i++)
                inObj.item(i).name = tempname;
            moi.geometryDatabase.addObjects(inObj);
            var fac = moi.command.createFactory('removeduplicates');
            fac.setInput(0, inObj);
            fac.setInput(1, this.properties.Tolerance[0]);
            inObj = moi.geometryDatabase.createObjectList();
            fac.commit();
            moi.geometryDatabase.selectNamed(tempname);
            temp = moi.geometryDatabase.getSelectedObjects();
            var originXYZ = moi.VectorMath.createPoint(0, 0, 0); //Helppoint for a identical copy
            output = factory('copy', temp, originXYZ, originXYZ, true);
            var delfac = moi.command.createFactory('delete');
            delfac.setInput(0, temp);
            delfac.commit();
        }
        this.setOutputData(0, output);
    };

    LiteGraph.registerNodeType("Objects2/RemoveDupCrv", RemoveDup);

Have a nice day
Karsten

EDITED: 10 Jun 2018 by KMRQUS

  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
7777.1060 In reply to 7777.1059 
Hi Karsten, if you put that inside of a <code></code> block here in the forum it should preserve the spacing/tab/indenting.

Otherwise HTML has the tendency to collapse white space.

- 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-20  …  981-1000  1001-1020  1021-1040  1041-1060  1061-1080  1081-1100  1101-1120  …  1841-1859