Macro FCCircularText/en

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) debout         = 0
 * 14) * if debout = 0 the text is a flat and if exterieur = 1 then the is upper curve
 * 15) * if debout = 0 the text is a flat and if exterieur = 0 then text is inferior curve
 * 16) * size font
 * 17) here for radius 10 mm (change to another radius)
 * 18) 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)

Planned :

circular text helix.

circular text of position object selected.

(PS : it is possible that an error is made between version 2 Please wait for the next or return to the previous version thank you)

Currently:


 * ver 0.4 27/08/2014 correction error of de radius (exterieur=0, debout=1)
 * ver 0.3 26/08/2014 add creation text of flat curve
 * ver 0.2 26/08/2014 add creation text of internal curve
 * ver 0.1

(83 fois)

Links
To comment on the Extrude from curved surface of cylinder