MoI discussion forum
MoI discussion forum

Full Version: MOI Script Pipe2Thickness evolve into TUBE TOOLKIT

Show messages:  1-2  3-22  23-42  43-62  63-82  83-93

From: Frenchy Pilou (PILOU)
28 Jan   [#43]
Hello
I have 2 curves selected (multi select node) ...works fine but seems i can't keep both of them in the same time?
What i miss ?
i used this Barry node http://moi3d.com/forum/index.php?webtag=MOI&msg=11314.30



From: Frenchy Pilou (PILOU)
28 Jan   [#44]
Another thing :)
At the end of a node session I must use this script for select objects generated existing on the screen!

script: var objs = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); obj.setHitTest( true ); }

is that the same for you ?

I have maybe not the last version of nodeeditor!
Nodeeditor 1.1 jms

Message 11314.45 was deleted


From: Frenchy Pilou (PILOU)
28 Jan   [#46] In reply to [#45]
so only the multi select to Swicht or other thing ?

Because i have only one object result but 2 curves selected..
From: Barry-H
29 Jan   [#47] In reply to [#46]
Hi Pilou,
The multi select indexes thro your selections one at a time so you need to apply your selection before moving to the next selection.
This allows you to choose between pipe or box.
If your selections are all the same (pipe or box) give them the same name and select by get by name.
Hope that’s clear.
Cheers
Barry
From: Frenchy Pilou (PILOU)
29 Jan   [#48] In reply to [#47]
Very "sportive" nodes! :)
here select the 2 rectangles in the same time !

From: Barry-H
29 Jan   [#49] In reply to [#48]
Hi Pilou,
The small rectangle looks to small for the pipe size you have used thus the problem.
Can you post your shapes and settings so I can check.
Cheers.
Barry
From: Frenchy Pilou (PILOU)
29 Jan   [#50] In reply to [#49]
here the file!
https://moiscript.weebly.com/uploads/3/9/3/8/3938813/for_barry.3dm

But it not really a problem because it's a solid! :) auto-intersected! :)
From: Barry-H
29 Jan   [#51] In reply to [#50]
Hi Pilou,
the nod file will not calculate multi different shapes at one time.( it will if all shapes are the same)
I have modified the nod file to take multiple paths but you will need to index thro them one at a time choosing
Pipe or Box fillets or no fillet etc.
The nod file includes the use of MO (M0_TE) new fillet curve & note nodes so I have included my latest Nodeditor.
Also included is my test file.
Please let me know of any issues.
Cheers
Barry

Edit 30/01/24
Correction thanks to WN the node will now do multiply paths at same time.
Have updated nod file.
Another bug fix so latest version Pipe Tool 300134

Bug fix 02/02/24 version Pipe Tool 010224

Attachments:
nodeeditor.zip
Pipe Test.3dm
Pipe Tool 010224.nod


From: Frenchy Pilou (PILOU)
29 Jan   [#52] In reply to [#51]
OK i will test that!
I replace the knob by a cursor with no decimal number
For me a knob is not practical...
From: Frenchy Pilou (PILOU)
29 Jan   [#53] In reply to [#51]
Cool that you have linked your nodeeditor

Works fine for alone path except the fact that i don't find how sweep a profil along a path!
From: Barry-H
29 Jan   [#54] In reply to [#53]
Pilou,
I do not understand can you give an example.
Barry
From: Frenchy Pilou (PILOU)
29 Jan   [#55] In reply to [#54]
Something like that :)
with your example of path given

From: Barry-H
29 Jan   [#56] In reply to [#55]
Hi Pilou,
the nod file sweeps either a round or a rectangular pipe on the paths (rails) you create.
You can select numerous paths and cycle one by one thro them with the knob.
When your happy with the style of pipe shape (round or rectangular) you want press apply.
With the knob select the next path and so on.
Perhaps the gif below will help it as 2 paths.
Cheers
Barry



Image Attachments:
Pipe tool.gif 


From: Frenchy Pilou (PILOU)
29 Jan   [#57] In reply to [#56]
Ah ok! I have yet this!
So you must refine a little your node for have also the natural sweep!
Any profil along any reasonable rail! :)
or a little more hard any profils along any reasonable rails! ;)
From: WN
29 Jan   [#58]
A small change and everything will work.

Attachments:
pi.3dm
Pipe Tool.nod

Image Attachments:
ok.PNG  sweepLong.PNG 


From: Frenchy Pilou (PILOU)
29 Jan   [#59] In reply to [#58]
works like a charm!

Rest to make something for use any profil against only the rectangle for the moment!


From: WN
29 Jan   [#60] In reply to [#59]
Hi Pilou.
A small rectangle to the side is one of the profiles that is used to form the pipe. I made him visible. Depending on the selected curve, it will be located in different places. This is a method that moves the "pipe profile" away from the "guides" to avoid conflicts. The mechanism of pipe construction consists of creating solid bodies using profiles and guides, and then the body that is inside is subtracted from the one in which it is located.
From: Frenchy Pilou (PILOU)
30 Jan   [#61] In reply to [#60]
So not easy to put any other reasonable profil(s) ?
From: Barry-H
30 Jan   [#62] In reply to [#60]
Hi WN,
thanks for spotting the issue not come across that before.
I have attached a nod file to produce various sections along a path based on the Pipe Tool.
Can you test it please.
Cheers
Barry



Attachments:
Sections.nod

Image Attachments:
Screenshot (37).png 


Show messages:  1-2  3-22  23-42  43-62  63-82  83-93