How to tie a point-cluster to its original point ?

Discussions regarding modelling with SOFTIMAGE©
Post Reply
Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

How to tie a point-cluster to its original point ?

Post by Frank1000 » 07 Dec 2013, 13:38

Hi,
I've created a cluster-with-center A on a point of an arc-curve. My aim is to constrain/position the cluster-with-center B of another curve to it. So far constraining works, but when I change the radius of arc-curve A, the cluster A is not moving along with the original point on the curve.

How is this done ?

Regards,
Frank

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: How to tie a point-cluster to its original point ?

Post by myara » 07 Dec 2013, 17:38

If you want to "lock" your point only when you use radius, you could duplicate your curve, and apply shrink wrap to "lock" that point to the dupliated curve. It won't lock the point if you decide to move it, or move the curve manually. Or, if you move the duplicated object, it will follow the closest point of that curve.

If you want to absolutely lock that point or constrain it no matter what to another object, I think you can't do that without writing a custom scripted operator.

I wrote one to lock points (from objA), by duplicating the object (to objB), hidden it and "constraining" the locked points (cluster) to objB, so any change I do in objA will be overriden by this scripted operator.


If you understand JScript, you may be able to easily modify it to use nulls instead.
btw, I used duplicate to make it easier to write, but you should only need the points coordinates and indexes.

But now that I think about it, It shouldn't be very difficult to do something similar in ICE.
M.Yara
Character Modeler | Softimage Generalist (sort of)

Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

Re: How to tie a point-cluster to its original point ?

Post by Frank1000 » 07 Dec 2013, 18:11

Hi Myara,

I'm trying to tie the point of curve B to arc A, so when I change the radius of arc A, curve B gets modified accordingly.

Image

Regards,
Frank

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: How to tie a point-cluster to its original point ?

Post by myara » 09 Dec 2013, 06:27

I see, if you are not going to change curve B radio I think the easiest way would be,

1. Create a point cluster in curve A
2. Create Cluster with Center in curve B
3. Constrain (Object to Cluster) this Null (in curve B) with curve A point cluster.
M.Yara
Character Modeler | Softimage Generalist (sort of)

Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

Re: How to tie a point-cluster to its original point ?

Post by Frank1000 » 09 Dec 2013, 23:12

have constrained it, but seems it's sticking to the center of curve A, when I constrain-clicked on the A-point-cluster

Image

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

Re: How to tie a point-cluster to its original point ?

Post by NNois » 09 Dec 2013, 23:44

just create the null (center) independantly on the 1st point, then create cluster with center with this null.
For that you select your point then use the left screen menu, not the right clic context menu

Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

Re: How to tie a point-cluster to its original point ?

Post by Frank1000 » 10 Dec 2013, 00:12

the null is not following the point it is constrain/positioned to yet when changing radius. had the same effect when i first was creating to cluster-with-center, each point one.

Image

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: How to tie a point-cluster to its original point ?

Post by myara » 10 Dec 2013, 04:43

Frank1000 wrote:have constrained it, but seems it's sticking to the center of curve A, when I constrain-clicked on the A-point-cluster
That's because you are not using Object to Cluster Constraint + a cluster.

Again, a little more detailed

1. Create a point cluster in curve A, let's call this cluster A.

2. Create Cluster with Center in curve B. You can create a cluster before doing it, it doesn't matter. Let's call this Null, Null B.

3. Select Null B, go to Constraints menu, and look for the "Object to Cluster" option, it should be around the middle of the menu.

4. You should have now a Pick cursor, select cluster A now. Don't select the curve, select cluster A.

Done. Now the Null is constrained to cluster A. You can Scale, rotate, translate, increase radius, subdivision obj A and Null B will still following cluster A. Just remember that Null B won't follow any geometry changes in obj B like point translation, increasing radius, etc.

In step 4, if you haven't created the cluster in step 1, you could select just a subcomponent in step 4 but I prefer to define my cluster manually.
M.Yara
Character Modeler | Softimage Generalist (sort of)

Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

Re: How to tie a point-cluster to its original point ?

Post by Frank1000 » 10 Dec 2013, 12:01

Thank you Myara for the detailed explanation. In fact i need the point on curve B, to follow the point on arc-curve A, when i change the radius of arc-curve A. Is this an ICE task only or is there another way to achieve this with usual SI tools too ?

Regards,
Frank

User avatar
myara
Posts: 403
Joined: 28 Sep 2011, 10:33

Re: How to tie a point-cluster to its original point ?

Post by myara » 10 Dec 2013, 12:04

Frank1000 wrote:Thank you Myara for the detailed explanation. In fact i need the point on curve B, to follow the point on arc-curve A, when i change the radius of arc-curve A. Is this an ICE task only or is there another way to achieve this with usual SI tools too ?
If you're not going to change the geometry in curve B, it should work as I explained.
Attachments
CurveConstraintTest.zip
(78.58 KiB) Downloaded 89 times
M.Yara
Character Modeler | Softimage Generalist (sort of)

Frank1000
Posts: 349
Joined: 16 Oct 2011, 14:13
Skype: the2he

Re: How to tie a point-cluster to its original point ?

Post by Frank1000 » 10 Dec 2013, 12:20

ah ok, great :-)

thx

Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests