Difference between revisions of "Command:Link to Spline"

From Synfig Studio :: Documentation
Jump to: navigation, search
m (Grammar edits)
m (Rephrase sentence)
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Generally if you want some vertex to be attached to some point on another BLine, you need to create a vertex at that point on the target BLine. That increases the complexity of your image and has a drawback - you cannot move the attached vertex along the BLine.
+
<!-- Page Info -->
 +
{{NewTerminology}}
 +
{{Category|Data Linking}}
 +
<!-- End Page Info -->
 +
The easiest method to attach a {{Literal|Vertex}} to a specific position along a {{Literal|Spline}} is to create a new {{Literal|Vertex}} at that same position.
  
The Link to BLine feature provides an easy way to attach a vertex of a BLine to another BLine without the creation of an additional vertex. The vertex becomes "stuck" to the BLine and can be moved along it.
+
In general this method works, but is not very effective. In fact it has at least two drawback. First, it increases the complexity of the drawings. Secondly, it is not possible to move the attached vertex along the {{Literal|Spline}}.
 +
 
 +
The {{Literal|Link to Spline}} feature provides an easy way to attach a {{Literal|Vertex}} to a {{Literal|Spline}} without the necessity to create an additional {{Literal|Vertex}}. Once applied, the {{Literal|Vertex}} will be bounded to the {{Literal|Spline}} and will be possible to place it arbitrarily  along the defined path.
  
 
== Linking ==
 
== Linking ==
  
# Select the bline you want to link and target bline
+
To link a {{Literal|Vertex}} to a {{Literal|Spline}} you can:
# Select the duck you want to link to target bline. It could be  
+
# Select the {{Literal|Vertex}} you want to link and the target {{Literal|Spline}}
## bline vertex duck
+
# Select the handle you want to link to target {{Literal|Spline}}. It could be:
## bline tangent duck
+
## a {{Literal|Vertex}} {{l|Handle|handle}}
## or real duck
+
## a {{Literal|Tangent}} handle
# Right click on the target bline (not the bline vertex!) and select "Link to BLine"
+
## the {{l|Origin Parameter}} of a {{l|Group Layer}}
[[File:Link_to_Bline.png]]
+
## a {{Literal|Real}} handle
## if selected vertex duck, it placed on bline at position where clicked
+
# Right click on the target {{Literal|Spline}} and select {{Literal|Link to Spline}} [[File:Link to Spline 0.63.06.png|frame|none]]
## if selected tangent duck, it links with bline tangent at click position
+
## if a {{Literal|Vertex}} handle is selected, it will be placed on the {{Literal|Spline}} at the clicked position
## if selected real duck, it links with bline width at click position
+
## if a {{Literal|Tangent}} handle is selected, it will be linked at the clicked position
 +
## if the {{Literal|Origin}} is selected, it will link both Origin and Angle parameters
 +
## if a {{Literal|Real}} handle is selected, it will link with the Spline width at the clicked position
  
:NOTE: At step 2 you can select bline vertex, tangent and real ducks at the same time to link their values to the values on the same position of target bline.
+
:NOTE: At step 2 you can select more than one type of handle at the same time and link their values to the same position of the target {{Literal|Spline}}.
  
== Inverse Duck Manipulation ==
+
== Inverse handle Manipulation ==
  
It is possible to change linked duck position along bline simply by dragging it.
+
It is possible to change the linked handle position along the {{Literal|Spline}} simply by dragging it.
If you linked the tangent and width ducks too, you will notice what they are changing their values according the values of bline.
+
If you linked the Tangent and Origin, you will notice what they are changing their values according the value of the target {{Literal|Spline}}.
  
You may also specify the offset of the tangent and width ducks simply by dragging them. I.e. making tangent 90 degrees to bline will keep that offset at any point of bline.
+
You may also specify their Offset simply by dragging them, i.e. making tangent 90 degrees to Spline will keep that Offset at any point of the {{Literal|Spline}}.
  
See also: {{l|Following_a_BLine}} tutorial.
+
== See also ==
 +
* {{l|Doc:Following_a_Spline}} tutorial.

Latest revision as of 11:28, 30 March 2020

Languages Language: 

English

The easiest method to attach a "Vertex" to a specific position along a "Spline" is to create a new "Vertex" at that same position.

In general this method works, but is not very effective. In fact it has at least two drawback. First, it increases the complexity of the drawings. Secondly, it is not possible to move the attached vertex along the "Spline".

The "Link to Spline" feature provides an easy way to attach a "Vertex" to a "Spline" without the necessity to create an additional "Vertex". Once applied, the "Vertex" will be bounded to the "Spline" and will be possible to place it arbitrarily along the defined path.

Linking

To link a "Vertex" to a "Spline" you can:

  1. Select the "Vertex" you want to link and the target "Spline"
  2. Select the handle you want to link to target "Spline". It could be:
    1. a "Vertex" handle
    2. a "Tangent" handle
    3. the Origin of a Group Layer
    4. a "Real" handle
  3. Right click on the target "Spline" and select "Link to Spline"
    Link to Spline 0.63.06.png
    1. if a "Vertex" handle is selected, it will be placed on the "Spline" at the clicked position
    2. if a "Tangent" handle is selected, it will be linked at the clicked position
    3. if the "Origin" is selected, it will link both Origin and Angle parameters
    4. if a "Real" handle is selected, it will link with the Spline width at the clicked position
NOTE: At step 2 you can select more than one type of handle at the same time and link their values to the same position of the target "Spline".

Inverse handle Manipulation

It is possible to change the linked handle position along the "Spline" simply by dragging it. If you linked the Tangent and Origin, you will notice what they are changing their values according the value of the target "Spline".

You may also specify their Offset simply by dragging them, i.e. making tangent 90 degrees to Spline will keep that Offset at any point of the "Spline".

See also