Skip to main content
Dear All , 

 

 

How to double the length of the line from the end point . 

 

 

Thanks, 
Hi,

 

 

If the line is a single line segment, use the LengthCalculator to get the length and the Extender (End port) to create extended part.

 

And then, connect the extended part to the original line using the LineJoiner, if necessary.

 

Hope this helps.

 

 

Takashi

 

 


Or copy the line and move one frorm startpoint of either to endpoint of either.
Thanks all , I got it working with Takashi suggestion , I use clone as suggested by Gio but I didn't find an option to move it to the end point of line . 

 

 

Thanks , 
Hi,

 

 

I think Gio's method is: for the copied line, extract end point coordinate (x, y) with the CoordinateExtractor (Index: 1), and move the line by (x, y) with the Offsetter.

 

 

Anothor approach.

 

1) Extract start point coordinate (x, y) with the CoordinateExtractor (Index: 0).

 

2) Move the original line with the Offsettor (X Offset: -x, Y Offset: -y), so that the start point matches with origin (0, 0).

 

3) Extend the line with the Scaler (X: 2, Y: 2, Scale Origion: 0,0).

 

4) Move the extended line to the original location with the 2nd Offsetter (X Offset: x, Y Offset: y).

 

 

Takashi

Reply