Instance On Curve

Plugins linking to this thread: (hide)

Generate Instance On Curve 1.3Author: Julien Carmagnac
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

rmelville
Posts: 3
Joined: 24 Apr 2013, 07:29

Re: Instance On Curve

Post by rmelville » 10 May 2013, 08:35

Is there a quick way to convert these point cloud instances to poly mesh so they can be exported to different apps?

julca
Posts: 145
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 11 May 2013, 15:20

There are alerady some tools to convert a point cloud to a mesh object :

http://www.si-community.com/community/v ... =15&t=1579 (it's free)
or
LKL Mesher : "Turns any pointcloud into a mesh with control over resolution and instance-meshes." (http://leonardkoch.com/lklightning2-0changelog)

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 10 Sep 2013, 16:19

Hi,

with this technique, is it possible to place lights along curves as well? So far, I can't get the compound to pick up on something other than mesh objects or nulls.

-Jasper

julca
Posts: 145
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 10 Sep 2013, 18:43

Hello,

Yes you can place lights along curves.
It work like other objects, even if lights are displayed with nulls.

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 10 Sep 2013, 19:08

I tried and it doesn't work, could that be due to me not using mental ray? I'm rendering with redshift (and using redshift lights).

julca
Posts: 145
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 10 Sep 2013, 20:18

It's possible but I can't test it now.
Could you test it in mental ray first and then with redshift ?

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 10 Sep 2013, 21:10

Hi julca, I'll do a test next week, won't be back at my computer till then. Thanks for the replies.

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 23 Mar 2016, 11:42

Hi Julien,

back once more :) with a question (I hope you still visit this forum...): can your addon also work without creating subcurves/pointclouds first? I have a curve that is extracted from a series of polyislands, so when i run 'instance on curve', I get a whole bunch of subcurves with a pointcloud each. Then, when i want to do further work on the created instances and transfer the result (through Alembic) to Clarisse, I have to first merge all the pointclouds. In my case, it's hundreds of subcurves/pointclouds and I have to do a clone point on each one.

If it would be possible to have just one pointcloud created by your addon that would help me tremendously! Or ofcourse, a way to transfer the data from all of those pointclouds into one efficiently would be great as well.

Thanks,
Jasper

NNois
Posts: 754
Joined: 09 Jun 2009, 20:33

Re: Instance On Curve

Post by NNois » 23 Mar 2016, 12:15

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

NNois
Posts: 754
Joined: 09 Jun 2009, 20:33

Re: Instance On Curve

Post by NNois » 23 Mar 2016, 12:22

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 !

julca
Posts: 145
Joined: 07 Sep 2012, 14:24

Re: Instance On Curve

Post by julca » 23 Mar 2016, 12:44

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.

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 23 Mar 2016, 13:08

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
Posts: 754
Joined: 09 Jun 2009, 20:33

Re: Instance On Curve

Post by NNois » 23 Mar 2016, 13:26

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.

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 23 Mar 2016, 13:28

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?

NNois
Posts: 754
Joined: 09 Jun 2009, 20:33

Re: Instance On Curve

Post by NNois » 23 Mar 2016, 13:34

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

User avatar
druitre
Posts: 471
Joined: 25 Jun 2009, 23:35

Re: Instance On Curve

Post by druitre » 23 Mar 2016, 14:43

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.

Post Reply

Who is online

Users browsing this forum: No registered users and 30 guests