FreeCAD-Doc/localwiki/Macro_Circular_Text.html
2018-07-08 12:11:49 -05:00

788 lines
54 KiB
HTML

<html><head><title>Macro Circular Text</title><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><link type='text/css' href='wiki.css' rel='stylesheet'></head><body><h1>Macro Circular Text</h1></div>
<div id="mw-content-text" lang="en" dir="ltr" class="mw-content-ltr"><div class="mw-parser-output"><table class="fcinfobox wikitable ct" width="100%" style="float: right; width: 230px; margin-left: 10px;">
<tr>
<td class="ctTitle">
<h3><span class="mw-headline" id="Macro_Circular_Text"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularTextButtom.png" class="image"><img alt="FCCircularTextButtom.png" src="32px-FCCircularTextButtom.png" width="32" height="32" srcset="/wiki/images/thumb/c/c1/FCCircularTextButtom.png/48px-FCCircularTextButtom.png 1.5x, /wiki/images/thumb/c/c1/FCCircularTextButtom.png/64px-FCCircularTextButtom.png 2x" /></a> Macro Circular Text</span></h3>
</td></tr>
<tr>
<th class="ctOdd">Description
</th></tr>
<tr>
<td class="ctEven left macro-description">This macro creates a text around a cylinder.
</td></tr>
<tr>
<th class="ctOdd">Author
</th></tr>
<tr>
<td class="ctEven macro-author"><a href="https://www.freecadweb.org/wiki/index.php?title=User:Mario52" title="User:Mario52">Mario52</a>
</td></tr>
<tr>
<th class="ctOdd">Links
</th></tr>
<tr>
<td class="ctEven"><a href="Macros_recipes.html" title="Macros recipes">Macros recipes</a><br /><a href="How_to_install_macros.html" title="How to install macros">How to install macros</a><br /><a href="Customize_Toolbars.html" title="Customize Toolbars">How to customize toolbars</a>
</td></tr>
<tr>
<th class="ctOdd">Version
</th></tr>
<tr>
<td class="ctEven macro-version">0.13
</td></tr>
<tr>
<th class="ctOdd">Date last modification
</th></tr>
<tr>
<td class="ctEven macro-date">2018-01-30
</td></tr>
<tr>
<th class="ctOdd">
</th></tr>
<tr>
<td class="ctToc"><br /><div id="toc" class="toc"><div class="toctitle"><h2>Contents</h2></div>
<ul>
<li class="toclevel-1"><a href="#Macro_Circular_Text"><span class="tocnumber">1</span> <span class="toctext">Macro Circular Text</span></a></li>
<li class="toclevel-1 tocsection-1"><a href="#Description"><span class="tocnumber">2</span> <span class="toctext">Description</span></a></li>
<li class="toclevel-1 tocsection-2"><a href="#Utilisation"><span class="tocnumber">3</span> <span class="toctext">Utilisation</span></a>
<ul>
<li class="toclevel-2 tocsection-3"><a href="#Presentation"><span class="tocnumber">3.1</span> <span class="toctext">Presentation</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-4"><a href="#First_section"><span class="tocnumber">4</span> <span class="toctext">First section</span></a></li>
<li class="toclevel-1 tocsection-5"><a href="#Second_Section"><span class="tocnumber">5</span> <span class="toctext">Second Section</span></a>
<ul>
<li class="toclevel-2 tocsection-6"><a href="#First_zone"><span class="tocnumber">5.1</span> <span class="toctext">First zone</span></a></li>
<li class="toclevel-2 tocsection-7"><a href="#Second_area"><span class="tocnumber">5.2</span> <span class="toctext">Second area</span></a></li>
<li class="toclevel-2 tocsection-8"><a href="#Outdoor"><span class="tocnumber">5.3</span> <span class="toctext">Outdoor</span></a></li>
<li class="toclevel-2 tocsection-9"><a href="#Indoor"><span class="tocnumber">5.4</span> <span class="toctext">Indoor</span></a></li>
<li class="toclevel-2 tocsection-10"><a href="#Helix"><span class="tocnumber">5.5</span> <span class="toctext">Helix</span></a></li>
<li class="toclevel-2 tocsection-11"><a href="#Clock"><span class="tocnumber">5.6</span> <span class="toctext">Clock</span></a></li>
<li class="toclevel-2 tocsection-12"><a href="#Commands"><span class="tocnumber">5.7</span> <span class="toctext">Commands</span></a></li>
</ul>
</li>
<li class="toclevel-1 tocsection-13"><a href="#Script"><span class="tocnumber">6</span> <span class="toctext">Script</span></a></li>
<li class="toclevel-1 tocsection-14"><a href="#Example"><span class="tocnumber">7</span> <span class="toctext">Example</span></a></li>
<li class="toclevel-1 tocsection-15"><a href="#Example_onto_Ellipse"><span class="tocnumber">8</span> <span class="toctext">Example onto Ellipse</span></a></li>
<li class="toclevel-1 tocsection-16"><a href="#Little_bug"><span class="tocnumber">9</span> <span class="toctext">Little bug</span></a></li>
<li class="toclevel-1 tocsection-17"><a href="#Currently:"><span class="tocnumber">10</span> <span class="toctext">Currently:</span></a>
<ul>
<li class="toclevel-2 tocsection-18"><a href="#Links"><span class="tocnumber">10.1</span> <span class="toctext">Links</span></a></li>
</ul>
</li>
</ul>
</div>
</td></tr>
</table>
<p><br />
</p>
<h2><span class="mw-headline" id="Description">Description</span></h2>
<p>This macro writes a text, standing or flat, circumferential or helical in the manner of <a rel="nofollow" class="external text" href="http://en.wikipedia.org/wiki/Trajan%27s_Column">Trajan Column</a> and creates a clock with Arabic numerals <b>1 2 3 ...</b> or Roman <b>I II III ...</b> (inspired to <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=22&amp;t=5013&amp;hilit=Clock">Macro to Create Clock Face</a> to cblt2l)
</p><p><br />
<a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_01.png" class="image" title="texte 360 degrees"><img alt="texte 360 degrees" src="400px-FCCircularText_01.png" width="400" height="274" srcset="/wiki/images/f/f1/FCCircularText_01.png 1.5x" /></a>
</p>
<h2><span class="mw-headline" id="Utilisation">Utilisation</span></h2>
<p>Principle: The options that are not useful for the selected function are dimmed so inaccessible.
</p><p>A function can gray out options if they are not for him.
</p><p>Launch the macro folder <b>FcString</b> for created characters and a file <b>FcClock</b> for created clocks.
</p><p>All the characters are and remain independent. When creating extrusions nothing is deleted. If Compound is created with <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Run Comp</span> is copied out of the folder.
</p><p>The options are shaded by default and are active in all functions if they are checked&#160;:
</p>
<ul><li> <b>Extrude Char.</b></li>
<li> <b>Placement.</b></li>
<li> <b>SP. inclination.</b></li></ul>
<p>Except for one Clock Service Placement box <b>Z</b> is activated and moves the text in the direction <b>Z</b> to place the text on the support surface.
</p>
<h3><span class="mw-headline" id="Presentation">Presentation</span></h3>
<p>Overview
</p><p><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_06.png" class="image" title="GUI"><img alt="GUI" src="FCCircularText_06.png" width="374" height="673" /></a>
</p>
<div style="clear:both"></div>
<p><br />
</p>
<h2><span class="mw-headline" id="First_section">First section</span></h2>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_07.png" class="image"><img alt="FCCircularText 07.png" src="FCCircularText_07.png" width="362" height="105" /></a></div></div>
<div style="clear:both"></div>
<p><br />
</p>
<ul><li> TextEdit window that lets you copy the text to display (click on the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Reset</span> allows to know the number of the input string that is displayed in the window title)</li>
<li> The <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Reverse</span> to reverse the text</li>
<li> The <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">New Font</span> to select a new font to use
<ul><li> Default ARIAL.TTF</li></ul></li></ul>
<h2><span class="mw-headline" id="Second_Section">Second Section</span></h2>
<p>Configuring characters in FCCircularText
</p>
<div class="center"><div class="floatnone"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_08.png" class="image"><img alt="FCCircularText 08.png" src="FCCircularText_08.png" width="361" height="305" /></a></div></div>
<div style="clear:both"></div>
<p><br />
</p>
<h3><span class="mw-headline" id="First_zone">First zone</span></h3>
<p>Your choice&#160;:
</p>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_09.png" class="image"><img alt="FCCircularText 09.png" src="FCCircularText_09.png" width="129" height="237" /></a></div>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 135px"><div style="width: 135px">
<div class="thumb" style="width: 130px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_20.png" class="image"><img alt="" src="88px-FCCircularText_20.png" width="88" height="120" srcset="FCCircularText_20.png 1.5x" /></a></div></div>
<div class="gallerytext">
<p><b>Outdoor</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 135px"><div style="width: 135px">
<div class="thumb" style="width: 130px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_21.png" class="image"><img alt="" src="88px-FCCircularText_21.png" width="88" height="120" srcset="FCCircularText_21.png 1.5x" /></a></div></div>
<div class="gallerytext">
<p><b>Indoor</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 135px"><div style="width: 135px">
<div class="thumb" style="width: 130px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_22.png" class="image"><img alt="" src="88px-FCCircularText_22.png" width="88" height="120" srcset="FCCircularText_22.png 1.5x" /></a></div></div>
<div class="gallerytext">
<p><b>Helix</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 135px"><div style="width: 135px">
<div class="thumb" style="width: 130px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_23.png" class="image"><img alt="" src="88px-FCCircularText_23.png" width="88" height="120" srcset="FCCircularText_23.png 1.5x" /></a></div></div>
<div class="gallerytext">
<p><b>Clock</b>
</p>
</div>
</div></li>
</ul>
</center>
<div style="clear:both"></div>
<p><br />
</p>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_24.png" class="image"><img alt="FCCircularText 24.png" src="FCCircularText_24.png" width="121" height="164" /></a></div>
<ul><li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Mode Stand</span> or <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Mode Flat</span>&#160;: The text will be placed standing or flat (same as clock) options <b>Outdoor</b> and <b>Indoor</b> are reversed.</li></ul>
<div style="clear:both"></div>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:36.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_01.png" class="image"><img alt="" src="200px-FCCircularText_01.png" width="200" height="137" srcset="/wiki/images/thumb/f/f1/FCCircularText_01.png/300px-FCCircularText_01.png 1.5x, 400px-FCCircularText_01.png 2x" /></a></div></div>
<div class="gallerytext">
<p><b>Mode Stand</b> <b>Outdoor</b> The text will be written up.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:40.5px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_40.png" class="image"><img alt="" src="200px-FCCircularText_40.png" width="200" height="129" srcset="/wiki/images/thumb/5/58/FCCircularText_40.png/300px-FCCircularText_40.png 1.5x, /wiki/images/thumb/5/58/FCCircularText_40.png/400px-FCCircularText_40.png 2x" /></a></div></div>
<div class="gallerytext">
<p><b>Mode Flat</b> <b>Outdoor</b> The text will be placed flat.
</p>
</div>
</div></li>
</ul>
</center>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:41px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_39.png" class="image"><img alt="" src="200px-FCCircularText_39.png" width="200" height="128" srcset="/wiki/images/thumb/6/65/FCCircularText_39.png/300px-FCCircularText_39.png 1.5x, /wiki/images/thumb/6/65/FCCircularText_39.png/400px-FCCircularText_39.png 2x" /></a></div></div>
<div class="gallerytext">
<p><b>Mode Flat</b> <b>Indoor</b> The text will be placed flat.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:26px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_03.png" class="image"><img alt="" src="200px-FCCircularText_03.png" width="200" height="158" srcset="/wiki/images/thumb/2/22/FCCircularText_03.png/300px-FCCircularText_03.png 1.5x, /wiki/images/thumb/2/22/FCCircularText_03.png/400px-FCCircularText_03.png 2x" /></a></div></div>
<div class="gallerytext">
<p><b>Mode Stand</b> <b>Indoor</b> The text will stand registered (same as clock).
</p>
</div>
</div></li>
</ul>
</center>
<h3><span class="mw-headline" id="Second_area">Second area</span></h3>
<p>This section allows you to configure the overall behavior of characters in all the choices available but with some variation.
If the command is not used in the option chosen, it will be grayed out.
</p>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_10.png" class="image"><img alt="FCCircularText 10.png" src="FCCircularText_10.png" width="361" height="307" /></a></div>
<ul><li> <b>Radius of circle</b>&#160;: Radius of the circle. (Default 10)</li>
<li> <b>Size character</b> &#160;: Character height. (Default 2)</li>
<li> <b>Begin angle</b> &#160;: Starting angle of the first character in the circle. (Default 0 °)</li>
<li> <b>End angle</b> &#160;: Angle end of the last character of the text. (Default 360)</li>
<li> <b>Correction angle</b>&#160;: Character correction angle to make it tangent to the circle. (Default 10 °)</li>
<li> <b>Correction radius</b>: Fixed the radius of the circle characters (optional). (Default 0.15)</li>
<li></li>
<li> <b>Pivot Character </b>: Pivot the character on himself. (Inactive Default)</li>
<li> <b>Extrude Char</b> &#160;: Checkbox extrusion characters. (Inactive Default)</li>
<li> <b>Placement</b> &#160;: Text placement in the 3D view. (Inactive Default)</li>
<li> <b>Sp. inclination</b> &#160;: Inclination of characters in three axes X, Y and Z (example to cover such a cone). (Inactive Default)</li></ul>
<div style="clear:both"></div>
<p><br />
</p>
<h3><span class="mw-headline" id="Outdoor">Outdoor</span></h3>
<p>Default mode. The text is written on the outside of the circumference of the circle.
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_20.png" class="image"><img alt="" src="FCCircularText_20.png" width="133" height="180" /></a></div></div>
<div class="gallerytext">
<p><b>Outdoor</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:30px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_25.png" class="image"><img alt="FCCircularText 25.png" src="200px-FCCircularText_25.png" width="200" height="150" srcset="/wiki/images/thumb/8/85/FCCircularText_25.png/300px-FCCircularText_25.png 1.5x, /wiki/images/thumb/8/85/FCCircularText_25.png/400px-FCCircularText_25.png 2x" /></a></div></div>
<div class="gallerytext">
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:30px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_30.png" class="image"><img alt="FCCircularText 30.png" src="200px-FCCircularText_30.png" width="200" height="150" srcset="/wiki/images/thumb/c/cb/FCCircularText_30.png/300px-FCCircularText_30.png 1.5x, /wiki/images/thumb/c/cb/FCCircularText_30.png/400px-FCCircularText_30.png 2x" /></a></div></div>
<div class="gallerytext">
</div>
</div></li>
</ul>
</center>
<h3><span class="mw-headline" id="Indoor">Indoor</span></h3>
<p>The text is written on the inner side of the circumference of the circle
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_21.png" class="image"><img alt="" src="FCCircularText_21.png" width="133" height="180" /></a></div></div>
<div class="gallerytext">
<p><b>Indoor</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:26px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_03.png" class="image"><img alt="FCCircularText 03.png" src="200px-FCCircularText_03.png" width="200" height="158" srcset="/wiki/images/thumb/2/22/FCCircularText_03.png/300px-FCCircularText_03.png 1.5x, /wiki/images/thumb/2/22/FCCircularText_03.png/400px-FCCircularText_03.png 2x" /></a></div></div>
<div class="gallerytext">
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:30px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_27.png" class="image"><img alt="FCCircularText 27.png" src="200px-FCCircularText_27.png" width="200" height="150" srcset="/wiki/images/thumb/6/6b/FCCircularText_27.png/300px-FCCircularText_27.png 1.5x, /wiki/images/thumb/6/6b/FCCircularText_27.png/400px-FCCircularText_27.png 2x" /></a></div></div>
<div class="gallerytext">
</div>
</div></li>
</ul>
</center>
<h3><span class="mw-headline" id="Helix">Helix</span></h3>
<p>The text is entered on the outer circumference of a helix.
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_22.png" class="image"><img alt="" src="FCCircularText_22.png" width="133" height="180" /></a></div></div>
<div class="gallerytext">
<p><b>Helix</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:30px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_33.png" class="image"><img alt="FCCircularText 33.png" src="200px-FCCircularText_33.png" width="200" height="150" srcset="/wiki/images/thumb/f/f7/FCCircularText_33.png/300px-FCCircularText_33.png 1.5x, /wiki/images/thumb/f/f7/FCCircularText_33.png/400px-FCCircularText_33.png 2x" /></a></div></div>
<div class="gallerytext">
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:30px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_34.png" class="image"><img alt="FCCircularText 34.png" src="200px-FCCircularText_34.png" width="200" height="150" srcset="/wiki/images/thumb/2/21/FCCircularText_34.png/300px-FCCircularText_34.png 1.5x, /wiki/images/thumb/2/21/FCCircularText_34.png/400px-FCCircularText_34.png 2x" /></a></div></div>
<div class="gallerytext">
</div>
</div></li>
</ul>
</center>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_11.png" class="image"><img alt="FCCircularText 11.png" src="FCCircularText_11.png" width="388" height="106" /></a></div>
<ul><li> The helix area is grayed out by default.</li></ul>
<div style="clear:both"></div>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_14.png" class="image"><img alt="FCCircularText 14.png" src="FCCircularText_14.png" width="363" height="386" /></a></div>
<ul><li> All characters configuration options are available.</li>
<li> <b>Step of helix</b> which corresponds to the pitch of the helix turns and displays 2 (character height) by default.</li>
<li> <b>Char. per turn </b>activates and displays 10 by default, which corresponds to 10 characters per helical turn.</li></ul>
<div style="clear:both"></div>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_15.png" class="image"><img alt="FCCircularText 15.png" src="FCCircularText_15.png" width="386" height="111" /></a></div>
<ul><li> If <b>Step of helix</b> (helix pitch) is zero, Spinboxes <b>Base Helix</b> and <b>End Helix</b> are activated.</li>
<li> <b>Base Helix</b> provides the basis for starting the helix (even Placement Z). If <i> 'Placement Z' </i> is different from zero, the starting point is added to Z Placement</li>
<li> <b>End Helix</b> End of the helix pitch of the helix will be calculated relative to the height and the number of characters per helical turn.</li></ul>
<p><br />
</p>
<h3><span class="mw-headline" id="Clock">Clock</span></h3>
<p>The figures are part of a circle with Arabic numerals or Romans.
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_23.png" class="image"><img alt="" src="FCCircularText_23.png" width="133" height="180" /></a></div></div>
<div class="gallerytext">
<p><b>Clock</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:30px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_35.png" class="image"><img alt="" src="200px-FCCircularText_35.png" width="200" height="150" srcset="/wiki/images/thumb/e/ea/FCCircularText_35.png/300px-FCCircularText_35.png 1.5x, /wiki/images/thumb/e/ea/FCCircularText_35.png/400px-FCCircularText_35.png 2x" /></a></div></div>
<div class="gallerytext">
<p><b>Axial</b>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 235px"><div style="width: 235px">
<div class="thumb" style="width: 230px;"><div style="margin:30px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_36.png" class="image"><img alt="" src="200px-FCCircularText_36.png" width="200" height="150" srcset="/wiki/images/thumb/2/25/FCCircularText_36.png/300px-FCCircularText_36.png 1.5x, /wiki/images/thumb/2/25/FCCircularText_36.png/400px-FCCircularText_36.png 2x" /></a></div></div>
<div class="gallerytext">
<p><b>Redress</b>
</p>
</div>
</div></li>
</ul>
</center>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_12.png" class="image"><img alt="FCCircularText 12.png" src="FCCircularText_12.png" width="388" height="137" /></a></div>
<ul><li> By default, the section is grayed.</li></ul>
<div style="clear:both"></div>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_16.png" class="image"><img alt="FCCircularText 16.png" src="FCCircularText_16.png" width="360" height="495" /></a></div>
<ul><li> When the selection is made, the following functions get dark and are usable:
<ol><li> Begin angle.</li>
<li> End angle.</li>
<li> Correction angle.</li>
<li> Correction radius.</li>
<li> The buttom <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Mode Stand</span> or <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Mode Flat</span>.</li></ol></li>
<li> The area <b>Clock</b> is activated.</li></ul>
<div style="clear:both"></div>
<p><br />
</p>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_19.png" class="image"><img alt="FCCircularText 19.png" src="FCCircularText_19.png" width="388" height="132" /></a></div>
<ul><li> <b>Radius of support</b>&#160;: If a value is given, support will be created (default 0).</li>
<li> If <b>Support number face</b> is different from zero a support is created. (If <b>Extrude support </b>= zero then a face is created).
<ul><li> 1 = A circle is created (circle appears).</li>
<li> 2 = A rectangle is created (length = (Radius of media * 1.5) width = Radius of support) (Rectangle appears).</li>
<li> 3 = A triangle is created (circumscribed) (Triangle appears).</li>
<li> 4 = A square is created (Radius of support) (Square appears).</li>
<li> 5 = A polygon with the number of faces displayed (circumscribed) (Polygon appears).</li></ul></li>
<li> <b>Extrude support</b> is activated and an extrusion dimension can be given.</li></ul>
<div style="clear:both"></div>
<p><br />
</p>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_17.png" class="image"><img alt="FCCircularText 17.png" src="FCCircularText_17.png" width="387" height="132" /></a></div><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_38.png" class="image"><img alt="FCCircularText 38.png" src="200px-FCCircularText_38.png" width="200" height="132" srcset="/wiki/images/thumb/b/b8/FCCircularText_38.png/300px-FCCircularText_38.png 1.5x, /wiki/images/thumb/b/b8/FCCircularText_38.png/400px-FCCircularText_38.png 2x" /></a>
<div style="clear:both"></div>
<div class="floatleft"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_18.png" class="image"><img alt="FCCircularText 18.png" src="FCCircularText_18.png" width="387" height="129" /></a></div><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_37.png" class="image"><img alt="FCCircularText 37.png" src="200px-FCCircularText_37.png" width="200" height="128" srcset="/wiki/images/thumb/8/89/FCCircularText_37.png/300px-FCCircularText_37.png 1.5x, /wiki/images/thumb/8/89/FCCircularText_37.png/400px-FCCircularText_37.png 2x" /></a>
<div style="clear:both"></div>
<p><br />
</p>
<ul><li> If <b>Support number face</b> is equal to zero there is no support.</li>
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Mode Roman</span>&#160;: The writing will be in Roman figures <b>I II III IIII V VI VII VIII IX X XI XII</b></li>
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Axial</span> &#160;: The figures will be written axially.</li></ul>
<h3><span class="mw-headline" id="Commands">Commands</span></h3>
<p><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_13.png" class="image"><img alt="FCCircularText 13.png" src="FCCircularText_13.png" width="388" height="64" /></a>
</p>
<div style="clear:both"></div>
<p><br />
</p>
<ul><li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Exit</span> &#160;: Leaves the macro.</li>
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Reset</span> &#160;: Reset all values and displays the number of characters displayed in the window.</li>
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Run Comp</span>&#160;: Launches the macro and creates a Compount object of all characters.</li>
<li> <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Run</span> &#160;: Launches the macro</li></ul>
<p>Launch the macro folder <b>FcString</b> for created characters and a file <b>FcClock</b> for created clocks.
</p>
<h2><span class="mw-headline" id="Script">Script</span></h2>
<p>Download the script&#160;:
</p><p>- on github <a rel="nofollow" class="external text" href="https://gist.github.com/mario52a/a25e802498bae6959335">Macro_FCCircularText.FCMacro</a> ver 0.13 09/08/2016
</p><p>- at the forum <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=3&amp;t=7384&amp;p=87642#p87642">Extrude from curved surface of cylinder</a>
</p><p>The button icon:
</p><p>- in .PNG <a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularTextButtom.png" class="image"><img alt="FCCircularTextButtom.png" src="FCCircularTextButtom.png" width="128" height="128" /></a>
</p><p>- in .SVG <a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularTextButtom.svg" class="image"><img alt="FCCircularTextButtom.svg" src="FCCircularTextButtom.svg" width="128" height="128" /></a>
</p><p>(See <a href="Customize_Toolbars.html" title="Customize Toolbars"> Customize_Toolbars</a> for more)
</p>
<h2><span class="mw-headline" id="Example">Example</span></h2>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_02.png" class="image"><img alt="" src="275px-FCCircularText_02.png" width="275" height="200" srcset="/wiki/images/thumb/e/ed/FCCircularText_02.png/412px-FCCircularText_02.png 1.5x, /wiki/images/e/ed/FCCircularText_02.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Text beginning at 180 degrees (<b>Begin angle</b>) end at 360 degrees (<b>End angle</b>) external curve.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_03.png" class="image"><img alt="" src="254px-FCCircularText_03.png" width="254" height="200" srcset="/wiki/images/thumb/2/22/FCCircularText_03.png/380px-FCCircularText_03.png 1.5x, /wiki/images/thumb/2/22/FCCircularText_03.png/507px-FCCircularText_03.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Text set in an inner curve.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_04.png" class="image"><img alt="" src="265px-FCCircularText_04.png" width="265" height="200" srcset="/wiki/images/thumb/5/53/FCCircularText_04.png/397px-FCCircularText_04.png 1.5x, /wiki/images/thumb/5/53/FCCircularText_04.png/530px-FCCircularText_04.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Text circular on internal and external curve.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_05.png" class="image"><img alt="" src="252px-FCCircularText_05.png" width="252" height="200" srcset="/wiki/images/thumb/f/f0/FCCircularText_05.png/377px-FCCircularText_05.png 1.5x, /wiki/images/thumb/f/f0/FCCircularText_05.png/503px-FCCircularText_05.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Circular text on a flat onbjet.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p><p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_26.png" class="image"><img alt="" src="267px-FCCircularText_26.png" width="267" height="200" srcset="/wiki/images/thumb/6/68/FCCircularText_26.png/400px-FCCircularText_26.png 1.5x, /wiki/images/thumb/6/68/FCCircularText_26.png/533px-FCCircularText_26.png 2x" /></a></div></div>
<div class="gallerytext">
<p>External curve.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_28.png" class="image"><img alt="" src="267px-FCCircularText_28.png" width="267" height="200" srcset="/wiki/images/thumb/d/d6/FCCircularText_28.png/400px-FCCircularText_28.png 1.5x, /wiki/images/thumb/d/d6/FCCircularText_28.png/533px-FCCircularText_28.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Internal curve.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p><p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_29.png" class="image"><img alt="" src="267px-FCCircularText_29.png" width="267" height="200" srcset="/wiki/images/thumb/f/f4/FCCircularText_29.png/400px-FCCircularText_29.png 1.5x, /wiki/images/thumb/f/f4/FCCircularText_29.png/533px-FCCircularText_29.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Internal curve extrusion material designated and subtraction.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_31.png" class="image"><img alt="" src="267px-FCCircularText_31.png" width="267" height="200" srcset="/wiki/images/thumb/9/93/FCCircularText_31.png/400px-FCCircularText_31.png 1.5x, /wiki/images/thumb/9/93/FCCircularText_31.png/533px-FCCircularText_31.png 2x" /></a></div></div>
<div class="gallerytext">
<p>External curve.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p><p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_32.png" class="image"><img alt="" src="267px-FCCircularText_32.png" width="267" height="200" srcset="/wiki/images/thumb/3/35/FCCircularText_32.png/400px-FCCircularText_32.png 1.5x, /wiki/images/thumb/3/35/FCCircularText_32.png/533px-FCCircularText_32.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Internal curve with subtraction.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_41.png" class="image"><img alt="" src="267px-FCCircularText_41.png" width="267" height="200" srcset="/wiki/images/thumb/a/a3/FCCircularText_41.png/401px-FCCircularText_41.png 1.5x, /wiki/images/thumb/a/a3/FCCircularText_41.png/534px-FCCircularText_41.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Extrusion on a cone with <b>Sp. Inclination </b>45° axis Z.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p><p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:24px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_42.png" class="image"><img alt="" src="300px-FCCircularText_42.png" width="300" height="182" srcset="/wiki/images/d/d6/FCCircularText_42.png 1.5x" /></a></div></div>
<div class="gallerytext">
<p>Ring Internal curve with subtraction.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_61.png" class="image"><img alt="" src="267px-FCCircularText_61.png" width="267" height="200" srcset="/wiki/images/thumb/d/d7/FCCircularText_61.png/400px-FCCircularText_61.png 1.5x, /wiki/images/thumb/d/d7/FCCircularText_61.png/533px-FCCircularText_61.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Pivot character 0°, 90°, ....
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<h2><span class="mw-headline" id="Example_onto_Ellipse">Example onto Ellipse</span></h2>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_43.png" class="image"><img alt="" src="267px-FCCircularText_43.png" width="267" height="200" srcset="/wiki/images/thumb/a/ab/FCCircularText_43.png/400px-FCCircularText_43.png 1.5x, /wiki/images/thumb/a/ab/FCCircularText_43.png/533px-FCCircularText_43.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Create your ellipse hers 100x50.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_44.png" class="image"><img alt="" src="267px-FCCircularText_44.png" width="267" height="200" srcset="/wiki/images/thumb/a/ac/FCCircularText_44.png/400px-FCCircularText_44.png 1.5x, /wiki/images/thumb/a/ac/FCCircularText_44.png/533px-FCCircularText_44.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Exrtude it 50 mm.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_45.png" class="image"><img alt="" src="267px-FCCircularText_45.png" width="267" height="200" srcset="/wiki/images/thumb/1/14/FCCircularText_45.png/400px-FCCircularText_45.png 1.5x, /wiki/images/thumb/1/14/FCCircularText_45.png/533px-FCCircularText_45.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Discretize the perimeter and create points with the macro <a href="Macro_WorkFeatures.html" title="Macro WorkFeatures">Work Features</a>.<br />Tab Point &gt; Point 2/3 &gt; Points=Cut (Wire)
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_46.png" class="image"><img alt="" src="267px-FCCircularText_46.png" width="267" height="200" srcset="/wiki/images/thumb/3/3b/FCCircularText_46.png/400px-FCCircularText_46.png 1.5x, /wiki/images/thumb/3/3b/FCCircularText_46.png/533px-FCCircularText_46.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Create the circle to 3 points with the macro <a href="Macro_WorkFeatures.html" title="Macro WorkFeatures">Work Features</a>.<br />Tab Circle Circle=(3 Points)
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_47.png" class="image"><img alt="" src="267px-FCCircularText_47.png" width="267" height="200" srcset="/wiki/images/thumb/a/a4/FCCircularText_47.png/400px-FCCircularText_47.png 1.5x, /wiki/images/thumb/a/a4/FCCircularText_47.png/533px-FCCircularText_47.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Create point center circle with the macro <a href="Macro_WorkFeatures.html" title="Macro WorkFeatures">Work Features</a>.<br />Tab Point &gt; Point 1/3 &gt; Circle(s) center.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_48.png" class="image"><img alt="" src="267px-FCCircularText_48.png" width="267" height="200" srcset="/wiki/images/thumb/e/e1/FCCircularText_48.png/400px-FCCircularText_48.png 1.5x, /wiki/images/thumb/e/e1/FCCircularText_48.png/533px-FCCircularText_48.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Create the benchmark lines and configure FCCircularText.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_49.png" class="image"><img alt="" src="267px-FCCircularText_49.png" width="267" height="200" srcset="/wiki/images/thumb/f/f9/FCCircularText_49.png/400px-FCCircularText_49.png 1.5x, /wiki/images/thumb/f/f9/FCCircularText_49.png/533px-FCCircularText_49.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Create the text with <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;">Run Comp</span>.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_50.png" class="image"><img alt="" src="267px-FCCircularText_50.png" width="267" height="200" srcset="/wiki/images/thumb/b/b2/FCCircularText_50.png/400px-FCCircularText_50.png 1.5x, /wiki/images/thumb/b/b2/FCCircularText_50.png/533px-FCCircularText_50.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Select Ellipse Extrude, Shape and press the <span style="background: #DDDDDD; border: 1px solid #888888; padding: 0px 5px 1px 5px;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:Part_Cut.png" class="image"><img alt="Part Cut.png" src="16px-Part_Cut.png" width="16" height="16" srcset="/wiki/images/thumb/4/4a/Part_Cut.png/24px-Part_Cut.png 1.5x, /wiki/images/thumb/4/4a/Part_Cut.png/32px-Part_Cut.png 2x" /></a> <b>Part Cut</b></span> button.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_51.png" class="image"><img alt="" src="267px-FCCircularText_51.png" width="267" height="200" srcset="/wiki/images/thumb/e/e9/FCCircularText_51.png/400px-FCCircularText_51.png 1.5x, /wiki/images/thumb/e/e9/FCCircularText_51.png/533px-FCCircularText_51.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Delete the circle, points and lines.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_52.png" class="image"><img alt="" src="267px-FCCircularText_52.png" width="267" height="200" srcset="/wiki/images/thumb/3/34/FCCircularText_52.png/400px-FCCircularText_52.png 1.5x, /wiki/images/thumb/3/34/FCCircularText_52.png/533px-FCCircularText_52.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Ellipses.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
Mode relief:
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_53.png" class="image"><img alt="" src="267px-FCCircularText_53.png" width="267" height="200" srcset="/wiki/images/thumb/2/27/FCCircularText_53.png/400px-FCCircularText_53.png 1.5x, /wiki/images/thumb/2/27/FCCircularText_53.png/533px-FCCircularText_53.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Create an ellipse. <a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Ellipse.png" class="image"><img alt="Draft Ellipse.png" src="Draft_Ellipse.png" width="64" height="64" /></a>
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_54.png" class="image"><img alt="" src="267px-FCCircularText_54.png" width="267" height="200" srcset="/wiki/images/thumb/a/a1/FCCircularText_54.png/400px-FCCircularText_54.png 1.5x, /wiki/images/thumb/a/a1/FCCircularText_54.png/533px-FCCircularText_54.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Create a rectangle include all object. <a href="https://www.freecadweb.org/wiki/index.php?title=File:Draft_Rectangle.png" class="image"><img alt="Draft Rectangle.png" src="Draft_Rectangle.png" width="64" height="64" /></a>
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_55.png" class="image"><img alt="" src="267px-FCCircularText_55.png" width="267" height="200" srcset="/wiki/images/thumb/6/66/FCCircularText_55.png/400px-FCCircularText_55.png 1.5x, /wiki/images/thumb/6/66/FCCircularText_55.png/533px-FCCircularText_55.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Select the rectangle , the ellipse and make compound<br />Activate the Part module, then Menu Part &gt; Make compound.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_56.png" class="image"><img alt="" src="267px-FCCircularText_56.png" width="267" height="200" srcset="/wiki/images/thumb/0/0f/FCCircularText_56.png/400px-FCCircularText_56.png 1.5x, /wiki/images/thumb/0/0f/FCCircularText_56.png/533px-FCCircularText_56.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Extrude the compound of Solid.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_57.png" class="image"><img alt="" src="267px-FCCircularText_57.png" width="267" height="200" srcset="/wiki/images/thumb/c/c3/FCCircularText_57.png/400px-FCCircularText_57.png 1.5x, /wiki/images/thumb/c/c3/FCCircularText_57.png/533px-FCCircularText_57.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Select Shape (text) , the compound and Cut.
</p>
</div>
</div></li>
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_58.png" class="image"><img alt="" src="267px-FCCircularText_58.png" width="267" height="200" srcset="/wiki/images/thumb/e/eb/FCCircularText_58.png/400px-FCCircularText_58.png 1.5x, /wiki/images/thumb/e/eb/FCCircularText_58.png/533px-FCCircularText_58.png 2x" /></a></div></div>
<div class="gallerytext">
<p>The text is cut in the shape of the ellipse.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 335px"><div style="width: 335px">
<div class="thumb" style="width: 330px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_59.png" class="image"><img alt="" src="267px-FCCircularText_59.png" width="267" height="200" srcset="/wiki/images/thumb/3/3e/FCCircularText_59.png/400px-FCCircularText_59.png 1.5x, /wiki/images/thumb/3/3e/FCCircularText_59.png/533px-FCCircularText_59.png 2x" /></a></div></div>
<div class="gallerytext">
<p>Select the Ellipse extruded , the Cut (text) and fuse.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p>
<h2><span class="mw-headline" id="Little_bug">Little bug</span></h2>
<p>It is possible that two characters overlap, here a small remedy with <a rel="nofollow" class="external text" href="https://www.freecadweb.org/wiki/Macro_Rotate_To_Point">Macro_Rotate_To_Point</a>
<br />
</p>
<center>
<ul class="gallery mw-gallery-traditional">
<li class="gallerybox" style="width: 665px"><div style="width: 665px">
<div class="thumb" style="width: 660px;"><div style="margin:15px auto;"><a href="https://www.freecadweb.org/wiki/index.php?title=File:FCCircularText_Correction.gif" class="image"><img alt="" src="FCCircularText_Correction.gif" width="618" height="400" /></a></div></div>
<div class="gallerytext">
<p>Little "bug" and remedy example.
</p>
</div>
</div></li>
</ul>
</center>
<p><br />
</p><p>(not fully developed)
</p><p>Planned&#160;:
</p><p>Writing on a path circular text of position object selected.
</p><p><b>(PS&#160;: it is possible that an error is made between version 2 Please wait for the next or return to the previous version thank you)</b>
</p>
<h2><span class="mw-headline" id="Currently:">Currently:</span></h2>
<ul><li>ver 0.13 30/01/2018 add feature Pivot for rotate the character on himself</li></ul>
<ul><li><strike>ver 0.13 09/08/2016 replace the button "New font" to "fontComboBox" cause , with Windows 10 the window Font stay empty the files are hidden</strike></li></ul>
<ul><li>ver 0.12 03/07/2016 optimize the code for accept the decimal number in determination angle</li></ul>
<p>replace the line
</p>
<pre>for angleTr in range(debut,rotation,((rotation-debut)/nombre)): </pre>
<p>to
</p>
<pre>for angleTrFloat in range((debut*10000),(rotation*10000),int((round(((float(rotation)-float(debut))/float(nombre)),4)*10000)) ): # pour 4 decimales
angleTr = (float(angleTrFloat)/10000) </pre>
<ul><li> ver 0.10 17/05/2015 adding lines 1365, 1366 only created more clock face&#160;?? ()</li></ul>
<pre>supp.MakeFace = True
App.activeDocument().recompute() </pre>
<ul><li> ver 0.9 11/05/2015 thank you NormandC for testing</li></ul>
<p>replace
</p>
<pre>self.DS_InclinaisonX.setSuffix(" X°")
self.DS_InclinaisonY.setSuffix(" Y°")
self.DS_InclinaisonZ.setSuffix(" Z°") </pre>
<p>to
</p>
<pre>self.DS_InclinaisonX.setSuffix(unicode(" X°"))
self.DS_InclinaisonY.setSuffix(unicode(" Y°"))
self.DS_InclinaisonZ.setSuffix(unicode(" Z°")) </pre>
<ul><li> ver 0.8 10/05/2015 replace "<b>String=texte[ii2]</b>" to "<b>String=unicode(texte[ii2])</b>" line 1290. cause <span style="color:#FF0000">"<b>TypeError: Property 'FontFile': type must be str or unicode, not QString</b>"<span> </li></ul>
<pre># ver 0.8 10/05/2015 /_ # testing with OS&#160;:
##################################################################################################
# OS: Ubuntu 14.04.1 LTS # OS: Ubuntu 14.04.2 LTS
# Platform: 32-bit # Word size of OS: 32-bit
# Version: 0.14.2935 (Git) # Word size of FreeCAD: 32-bit
# Branch: master # Version: 0.16.4928 (Git)
# Hash: eab159b6ee675012bf79de838c206a311e911d85 # Branch: master
# Python version: 2.7.6 # Hash: d8f63bcfd10301f3d1e141cced4370f0782238d0
# Qt version: 4.8.6 # Python version: 2.7.6
# Coin version: 4.0.0a # Qt version: 4.8.6
# SoQt version: 1.6.0a # Coin version: 4.0.0a
# OCC version: 6.7.0 # OCC version: 6.8.0.oce-0.17
##################################################################################################
# OS: Windows Vista # OS: Windows Vista
# Word size of OS: 32-bit # Word size of OS: 32-bit
# Word size of FreeCAD: 32-bit # Word size of FreeCAD: 32-bit
# Version: 0.15.4527 (Git) # Version: 0.15.4671 (Git)
# Branch: master # Branch: releases/FreeCAD-0-15
# Hash: 0da2e4c45a9a259c26abd54c2a35393e1c15696f # Hash: 244b3aef360841646cbfe80a1b225c8b39c8380c
# Python version: 2.7.8 # Python version: 2.7.8
# Qt version: 4.8.6 # Qt version: 4.8.6
# Coin version: 4.0.0a # Coin version: 4.0.0a
# OCC version: 6.7.1 # OCC version: 6.8.0.oce-0.17
################################################################################################## </pre>
<ul><li> ver 0.7 02/02/2015 suppression 2 str <b>App.Console.PrintMessage(str(PolicePath)+"\n")</b> to <b>App.Console.PrintMessage((PolicePath)+"\n")</b> that caused an error with the characters above 128 in the police path.</li>
<li> ver 0.6 23/11/2014 corrected "texte = unicode(self.textEdit.toPlainText())" now accept "'éèà@..."</li>
<li> ver 0.5 19/11/2014 Gui </li>
<li> ver 0.4 10/10/2014 add variable "rotation" in the loop (<b>for i in range(0,rotation,(rotation/nombre)): # 360 a parametrer</b>)</li>
<li> ver 0.4 27/08/2014 correction error of de radius (exterieur=0, debout=1)</li>
<li> ver 0.3 26/08/2014 add creation text of flat curve</li>
<li> ver 0.2 26/08/2014 add creation text of internal curve</li>
<li> ver 0.1</li></ul>
<p>(2537)
</p>
<h3><span class="mw-headline" id="Links">Links</span></h3>
<p>To comment on the <a rel="nofollow" class="external text" href="http://forum.freecadweb.org/viewtopic.php?f=3&amp;t=7384">Extrude from curved surface of cylinder</a>
</p>
<div style="clear:both"></div>
</div></span>
<p></span>
</p>
</div>
</div><div class="printfooter">
Online version: "<a dir="ltr" href="https://www.freecadweb.org/wiki/index.php?title=Macro_Circular_Text&amp;oldid=247231">http://www.freecadweb.org/wiki/index.php?title=Macro_Circular_Text&amp;oldid=247231</a>"</div>
<div id="catlinks" class="catlinks" data-mw="interface"></div><div class="visualClear"></div>
</div>
</div>
<div id="mw-navigation">
<h2>Navigation menu</h2>
</body></html>