Macro Circular Text

This macro write you text around a cylinder or a portion of the cylinder.



Example
Here 180 degrees rotation and create circle internal curve.

Utilisation
set the following parameters

for your understanding do a test with the values ​​to 0.0 and see the result, then begin your settings.
 * 1) PolicePath     = "C:/Windows/Polices/KLANG.TTF"
 * 2) * your path font
 * 3) rayon          = 10.0
 * 4) * radius of cylinder
 * 5) rotation       = 180
 * 6) * rotation occupied by text 0 to ... max 360 (must exceed the number of characters of text)
 * 7) texte          = "FreeCad The Best"
 * 8) * your text to display (PS: space gives an error not to consider)
 * 9) SizeCaractere  = 5.0
 * 10) exterieur      = 1
 * 11) * if exterieur = 1 then the text is external
 * 12) * if exterieur = 0 then the text is internal
 * 13) * size font
 * 14) here for radius 10 mm (change to another radius)
 * 15) These numbers are the corrections made to a circle of radius of 10 mm (to modify any other radius for your convenience, start with a character and see the result)
 * 1) correctionAngle = 10.0
 * 2) * correction angle of the tangent to narrow the width of the character
 * 3) correctionRayon = 0.15
 * 4) * radius compensation because of correctionAngle and depending on the width of the character

Script
Macro FCCircularText.FCMacro

(not fully developed)

Currently:


 * ver 0.2 26/08/2014 add creation text of internal curve
 * ver 0.1

Links
To comment on the Extrude from curved surface of cylinder