# Curve SOP and relative coordinates

## Recommended Posts

Here is the relevant portion of the documentation:

Coordinates
Normally you will use this operator in the viewer and simply click to indicate coordinates; however, if you need to you can also use a space-separated list of coordinates in this field to specify points.

Coordinates can be specified in the following formats:

x,y,z

Absolute 3D coordinates, with a default weight of 1.

x,y,z,w

Absolute 3D coordinates and weighting factor.

@x,y,z

3D coordinates relative to the previous point in the list.

My coordinate list:

0,0,0  -1,1,0  @2,0,0    @-1,-1,0   2,-2,0   @0,-1,0  @-2,0,0

Can someone confirm that it's not working as expected when two relative coordinates are used in a row ?

It looks like the algorithm is ignoring the @ sign in the previous coordinates when computing a relative coordinate, which is kind of ironic.

Edited by AntoineSfx

##### Share on other sites

yeah, seems it's got a mind of its own...

##### Share on other sites

try this: 0,0,0 -1,1,0 -1,-1,1 @1,1,1 p3 @1,1,1

with the p3, the last point is correct, without the p3.....wut?

so maybe the workaround is to punctuate consec @'s with current point, then fuse later

Edited by Noobini

##### Share on other sites
30 minutes ago, Noobini said:

try this: 0,0,0 -1,1,0 -1,-1,1 @1,1,1 p3 @1,1,1

with the p3, the last point is correct, without the p3.....wut?

so maybe the workaround is to punctuate consec @'s with current point, then fuse later

I think the workaround is to file a bug report and wait for the fix... Which I'm doing right now.

• 1

##### Share on other sites

This is fixed in Houdini 18.0.460 (basically next daily build)

"The Curve SOP will now handle multiple relative references in a sensible fashion."

Edited by AntoineSfx

##### Share on other sites

There is now a "Build Using relative points" in the contextual menu of Curve while building one.

Not sure when it appeared, but it could not have existed before they fixed the first bug I mentioned in this thread.

##### Share on other sites

No pb on Houdini18.0.597

## Create an account

Register a new account