Show messages:
1-11
…
332-351
352-371
372-391
392-411
412-431
432-451
452-471
…
1852-1859
Thread Split: Some posts in this thread have been moved here
From: James (JFH)
Hi fellow Noders,
I am attempting to construct a parametric weave.
Attached are 2 failed attempts:
WeaveProto1 starts with a 3 dimensional point array with variable U & V + 2 in the W dimension, while
WeaveProto2 offsets 2 dimensional array in Z direction and bundles both arrays into a 3 dimensional array.
In both cases it was possible to selectively index weave in the WARP direction. However I was less successful with the WEFT weave (better with WeaveProto2, first row but not repeated)
Also even if the WEFT weave could be successfully indexed, there remains the issue of snipping the threads so that each row in both directions, is distinct.
Any thoughts?
James
Image Attachments:
weaveProto2.jpg
From: Barry-H
Karsten,
thanks works great and having the ability to switch on or off is a bonus.
Cheers
Barry
From: Karsten (KMRQUS)
Hello James,
I don't have access to Moi at the moment, but a look in the file with an Editor shows me, that you used Concat2 for the Points??? Concat2 doesn't support a internal organization/grouping of pointarrays. So in my opinion, it is easier to generate 2 curves for both directions and make then a pattern of the curves. Nevertheless I will try to find some time in the evening (CET) and have a deeper look in the files.
Have a nice day
Karsten
From: James (JFH)
Hi Karsten,
Thank you for getting back to me.
<<used Concat2 for the Points???>>
I used Concat2 on num arrays only. The point arrays were interleaved with Test/BundleArray which works perfectly for the application.
<<it is easier to generate 2 curves for both directions and make then a pattern of the curves>>
Yes it is easier, but also more limited. Ultimately I plan to map point arrays to compound surfaces for topographic woven skin.
<<will try to find some time...and have a deeper look in the files.>>
Thanks Karsten, I greatly appreciate it.
All the best
James
From: Karsten (KMRQUS)
Hello James,
I have tried to maipulate the internal organization x-length and z-length of the pointarray, but the PointExt-node seems that it not support this feature/inputs at the moment. So I have to improve the node first. It is also possible to integrate the feature in the concat2-node, but that would cause wiered results with inputs of different length and wouln't help here.
The picture shows what I wanted to do:
With the xLength and zLength informations, the polyLine node can seperate the pointsequences and produces independent segments.
I will try to solve this in the next days.
Have a nice day
Karsten
Image Attachments:
Problem.png
From: Karsten (KMRQUS)
Hello James,
After a deeper look into the PointExt-Node I saw, that the feature is already supported - it was my fault. I've forgot to connect yLength. Find attached an example how to solve this issue.
Have a nice day
Karsten
Attachments:
weaveProto1.nod
From: bemfarmer
Curve node may be used instead of polyline.
- Brian
From: James (JFH)
Hello Karsten,
Thank you for your help, it works perfectly.
To use the curve segments as discreet sweep rails,
it was necessary to alter your Construct2/Sweep node
changing processInOut to "Long" as shown below.
Nodes/Extensions/contruct2.js LINE 62
var data = this.processInOut("Long", this.multiProcess, null, null);
Will this adversely effect its functionality?
Hi Brian,
<<Curve node may be used instead of polyline.>>
Yes, polyline was only a stand in for the purpose of clarity.
Also, Points/InterpPts node before curve node gives a more pleasing result at thread ends.
Keep on Noding
James
Image Attachments:
weaveSweep.jpg
From: Karsten (KMRQUS)
Hello James,
Yes it will effect the functionality. The node is able to process also 2 or more profiles and 1 or 2 Rails. It seems that the sweep factory uses some internal autoplacement? to distribute the profile to the rail, if this change is working for you (Just a guess - would need more details). I tried to avoid this . To distribute the profile you can use something like that:
I've chosen this way to make it possible to place also individual profiles to each rail. I don't know if this way is the right one.
Have a nice day
Karsten
Image Attachments:
sweep.png
From: James (JFH)
Hello Karsten,
Yeah, I had realised that it was not necessary to alter your sweep node;
but rather just use "Long" MODE on Max's original sweep node.
I've restored your node to "Short"
Also, it's not necessary to use getCurveSFrame, if sweep profile is remote from rails.
Please find nod file attached.
Now I need to index perpendicular threads.
Thanks for your help.
James
From: Karsten (KMRQUS)
Yep! That's right! It's early in the morning here;-)
From: James (JFH)
Hello All,
Weave in both direction and wrapped over curved surface
(nod file attached)
Works with most up-to-date mod which can be found here:
http://moi3d.com/forum/index.php?webtag=MOI&msg=8197.7
Keep on Noding
James
From: bemfarmer
James, you have written an interesting node!
I'll note that it took well over a minute to work on my Windows7 computer.
The result was 15508 kb.
(Reducing warp to 9 and weft to 13 ran faster, but with less detail in the result.)
- Brian
From: AlexPolo
Hi All MOI NODE-STERS
It would be great if some of the NODE developers could perhaps start a YOUTUBE channel taking beginners through the process of this tool set seems lots of development has gone in its functions expanding but little or no documentation other than forum drilling.
Could be a good new audience.
great to see the development.
Alex
From: James (JFH)
Hi Brian,
Your point is well taken...so I have replaced weaveWrap.nod in my earlier post
with new version: WARP=13 & WEFT=19, as well as changing profile to hexagon.
This has greatly accelerated drawing to screen.
If fine mesh detail is desired, it is best to STOP the node running, change the inputs
and then press RUN.
You also reminded me that I should have mentioned that the WARP & WEFT input
need to be odd numbers to weave properly.
Thank you
James
From: Barry-H
Hi,
I'm trying to create my own node but having studied existing maths node
still cannot get the input values into the formula I want to perform.(I am a novice )
Attached is my pathetic attempt any advice much appreciated.
Barry
Attachments:
XVarHelix.js
From: Barry-H
Hi,
got a bit further now have the inputs and formula working and giving an output
but the output is not working with the move node ?
HELP
Barry
Attachments:
VarHelix.js
XXVar Helix Calc node.nod
From: bemfarmer
Hi Barry,
I'm too much a novice to help now, but will study on it after work.
You must be close.
It is nice to modify something that already works...
- Brian
From: Barry-H
Hi Brian,
yes please have a look.
When I checked the outputs of N,P1,P2 i'm not getting any value.
So the formula's are not working and I can't find something similar to work to.
Anyway it's a challenge to learn more.
Thanks
Barry
From: Karsten (KMRQUS)
Hello Barry,
starting with node programming isn't easy, but you have started it already - congratulation and welcome to the world of nodes. The problems in your file, is that your variables (inputs are numarrays) missing the element indexing - Always keep in mind that you are working with arrays!!!. To access the first element you have to use xxx[0]. Have a look in the attached file. The arrays are the requirement for multiprocessing data, even if they were not needed in this case. the same goes for the output.
Have a nice day
Karsten
p.s.: The variable R isn't used in your formula - If you use netbeans for programming or something similar, such things will be highlighted.
Attachments:
VarHelix.js
Show messages:
1-11
…
332-351
352-371
372-391
392-411
412-431
432-451
452-471
…
1852-1859