[Sketcher] Add methods and tools for joining curves

Algorithm to join b-splines:
The code simple concatenates the knots, poles, weights, and knot multiplicities
together, removing data on the connection point of the second curve. Some
further study is needed to see if/when it will give an exact/good connection.

Icon courtesy @bitacovir.
This commit is contained in:
Ajinkya Dahale
2022-03-04 00:27:22 -05:00
committed by abdullahtahiriyo
parent 59c1741559
commit c5aceb0182
8 changed files with 795 additions and 2 deletions

View File

@@ -222,6 +222,11 @@ If there is no such constraint an exception is raised.
<UserDocu>split a curve with a given id at a given reference point</UserDocu>
</Documentation>
</Methode>
<Methode Name="join">
<Documentation>
<UserDocu>join two curves at the given end points</UserDocu>
</Documentation>
</Methode>
<Methode Name="addSymmetric">
<Documentation>
<UserDocu>add a symmetric geometric objects to the sketch with respect to a reference point or line</UserDocu>