Instance On Curve
Plugins linking to this thread: (hide)
Generate Instance On Curve 1.3
Updated June 2013 (info) — Based on a part of the »Create Copies along Curve« Compound of Felix Geremus,
I try with this tool to cover many possible situation as possible with copies on curves.
It work with multiple curves, even merged, and generate as many point cloud as necessary.
We can easily edit all of then with the Multi Edit PPG.
The 1.2 update adds these new features and functions: Exposed »accuracy« parameter Adjust scale with real space in X,Y Or Z Delete Last Instance on open Curve Delete Neighbors with distance Random scale on X,Y,Z independently Offset scale on X,Y,Z independently Create from preset Save preset Randomize Update instances
Demonstration videos available here (V1.0) and here (V1.1) and here (V1.2).
Note that the download in the first post of the si-community thread isn't the most current version. Look further down in the thread to find it.
local backup: InstanceOnCurve_v1.3.xsiaddon
The 1.2 update adds these new features and functions: Exposed »accuracy« parameter Adjust scale with real space in X,Y Or Z Delete Last Instance on open Curve Delete Neighbors with distance Random scale on X,Y,Z independently Offset scale on X,Y,Z independently Create from preset Save preset Randomize Update instances
Demonstration videos available here (V1.0) and here (V1.1) and here (V1.2).
Note that the download in the first post of the si-community thread isn't the most current version. Look further down in the thread to find it.
local backup: InstanceOnCurve_v1.3.xsiaddon
Re: Instance On Curve
Hi japser,
You can iterate trough subcurve in ice directly
Here's a reworked powerextrude tool for generating instances on curves and subcurves
you need two things
1. run NNcurveTool.js or install it and access it via "Model->Modify->Curve->NN Curve Tools->Generate Data provider"
2. use the compound provided "NN Generate On Curve" this will generate instances, points etc (even strands) with various control over them
https://www.dropbox.com/s/03lafnc6xcx0ea5/NN_Generate_On_Curve_1.7.zip?dl=0
cheers
You can iterate trough subcurve in ice directly
Here's a reworked powerextrude tool for generating instances on curves and subcurves
you need two things
1. run NNcurveTool.js or install it and access it via "Model->Modify->Curve->NN Curve Tools->Generate Data provider"
2. use the compound provided "NN Generate On Curve" this will generate instances, points etc (even strands) with various control over them
https://www.dropbox.com/s/03lafnc6xcx0ea5/NN_Generate_On_Curve_1.7.zip?dl=0
cheers
Re: Instance On Curve
humm now i think about it i might have on time generated another compound for a project based on the hardcoded "Get Position on Curve" from EM tools wayyy faster !
Re: Instance On Curve
Hello Jasper,
I'm sorry but this addon doesn't work with merged curves.
But I'm pretty sure there is a way to capture all point cloud generated data into one big other.
I didn't have time to look at this right now but if you still follow this way let me now if you can't do it.
Friendly.
I'm sorry but this addon doesn't work with merged curves.
But I'm pretty sure there is a way to capture all point cloud generated data into one big other.
I didn't have time to look at this right now but if you still follow this way let me now if you can't do it.
Friendly.
Re: Instance On Curve
Hi Julca, thanks for the answer, I'm trying out NNois's idea, hope it will work.
NNois, thanks! I'm not getting everything right yet but the concept is working, all subcurves get instances in one tree.
I'm still up for that wayyyy faster compound, though!
-Jasper
NNois, thanks! I'm not getting everything right yet but the concept is working, all subcurves get instances in one tree.
I'm still up for that wayyyy faster compound, though!
-Jasper
Re: Instance On Curve
hum, i'm in another world now without softimage... if you can't get this one right I can boot on windows to dig and try to find this one
Last edited by NNois on 23 Mar 2016, 13:31, edited 1 time in total.
Re: Instance On Curve
NNois, I think i'm doing something wrong with your script - I keep getting a 'could not find node: NN Curve Tool Data Provider' message, nor a menu entry for NN Curve Tools.
The instancer does work though, but only in 'evenly spaced - fixed' mode.
How do I install the .js? That would likely fix that?
The instancer does work though, but only in 'evenly spaced - fixed' mode.
How do I install the .js? That would likely fix that?
Re: Instance On Curve
yes this will fix that.
Just install it in your workgroup in Workgroup/name/Application/Plugins/nnCurveTool.js
then restart soft it will show up
Just install it in your workgroup in Workgroup/name/Application/Plugins/nnCurveTool.js
then restart soft it will show up
Re: Instance On Curve
Thanks NNois, that works - it gives the menu and I can generate the data on the curve. So far, i'm still not getting anything useful besides the 'evenly spaced - fixed' mode though. In 'per span' nothing happens and in 'evenly spaced - spacing ratio' I see random isolated instances popping up, about four or five here and there, no matter how I set the values, or with which curves I try it.
Re: Instance On Curve
sorry for that..
Try this older version that i know for sure is working https://www.dropbox.com/s/ou4spoa9cq0dthb/NN%20Generate%20On%20Curve.1.4.xsicompound?dl=0
Try this older version that i know for sure is working https://www.dropbox.com/s/ou4spoa9cq0dthb/NN%20Generate%20On%20Curve.1.4.xsicompound?dl=0
Re: Instance On Curve
evenly spaced - spacing ratio -> gives you an uniform spacing of instances regardless of the lenght of the curve
fixed -> gives you a fixed number of curve per sub curve
per-span -> forget this one this is using the position between each points
fixed -> gives you a fixed number of curve per sub curve
per-span -> forget this one this is using the position between each points
Re: Instance On Curve
Thanks NNois, you're being very helpful. But still the same though - what it looks like, is it's only generating one instance per subcurve in 'spacing ratio' mode.
I attached a very simple scene, if you could have a look that would be great, otherwise I'll just continue with some other ideas.
thanks,
Jasper
[edit - link updated]
https://www.dropbox.com/s/h8eurjqbmgacn ... t.rar?dl=0
I attached a very simple scene, if you could have a look that would be great, otherwise I'll just continue with some other ideas.
thanks,
Jasper
[edit - link updated]
https://www.dropbox.com/s/h8eurjqbmgacn ... t.rar?dl=0
Last edited by druitre on 25 Mar 2016, 12:23, edited 2 times in total.
Re: Instance On Curve
ok i'll test that in some hours
Re: Instance On Curve
hehe, your zip was the scn.toc file...
Anyway, here is a test scene for you with the 1.7 version
https://www.dropbox.com/s/vq0t7v3yv26rk ... e.zip?dl=0
Anyway, here is a test scene for you with the 1.7 version
https://www.dropbox.com/s/vq0t7v3yv26rk ... e.zip?dl=0
Re: Instance On Curve
Oops, fixed it (if just for posterity's sake, nothing really to be gained there).
And thanks for the scene, busy atm but will have a look asap.
And thanks for the scene, busy atm but will have a look asap.
Re: Instance On Curve
Hi NNois,
your 'druitre' scene works. But when I do the same setup it doesn't... Only when I copy the compound from your pointcloud I can get it to work. What could I be doing wrong?
(So, I tried with new curve and with yours, with new pointcloud and with yours, and only when I use the compound copied from your pointcloud it will work, either with my own curve or yours. I also exported the compound to my workgroup over the 1.7 I already had, but it still doesn't work. All nodes inside are okay, nothing red. I checked and my data provider script is the 1.7 version)
your 'druitre' scene works. But when I do the same setup it doesn't... Only when I copy the compound from your pointcloud I can get it to work. What could I be doing wrong?
(So, I tried with new curve and with yours, with new pointcloud and with yours, and only when I use the compound copied from your pointcloud it will work, either with my own curve or yours. I also exported the compound to my workgroup over the 1.7 I already had, but it still doesn't work. All nodes inside are okay, nothing red. I checked and my data provider script is the 1.7 version)
Who is online
Users browsing this forum: No registered users and 40 guests