SCRIPTS4ALL

TxtOnCurve

draw text along curve in CATIA V5


Do you need to draw text along curve?

There are times when you need to create text in CATIA V5. Such a task itself is very challenging because CATIA by default does not have any built-in functions to do so. And what if you need to draw text along circle or any other 2D curve? Then you are really helpless and without third-party tool or external application you cannot do it. Our small tool helps you to overcome all these limitations and create smooth text along curve in a matter of seconds.



Show me an example

You are right, a picture is worth a thousand words. For more examples see Gallery ...


  • TxtOnCurve Sample 1
    You can easily create curved text ...
  • TxtOnCurve Sample 2
    ... with different text properties

Wanna see it in action?

Then watch this video:

TxtOnCurve - Create text along a curve in CATIA V5 Part Design

Main Features

  • All basic 2D curves like line, circle, arc, ellipse, parabola, hyperbola and spline are supported
  • Unlike .dxf export where only lines are used, the resulting text is smoother and consists of lines and splines
  • Works with TrueType fonts installed on your system
  • Works with Unicode characters like: ! @ # $ % ^ & * © ® Ř §
  • You can check result (and find possible interferences) in application window before you export it to CATIA
  • You can refine resulting shape by using smoothing algorithm

And how to use it?

Usage is very straightforward, just follow these simple steps:

  • Click the Set Text button to set text and font options (family, style, size and spacing).
  • Create a sketch with guiding curve.
  • Click the Select Guiding curve button and select guiding curve in CATIA V5 sketch. Only 2D curve from within CATIA sketch is valid leading curve and you can select it either during sketch edition or after you leave it.
  • Check your text for possible interferences in Main application window. If you cannot see any geometry (usually because it is outside of screen coordinates or zoomed out) click Fit All In button. Use right mouse button to move geometry on screen or middle mouse button to zoom geometry in / out.
  • Use Reverse Curve Flow option to change start / end point of the curve, and flow of the curve or use Invert Letters option to draw letters from inner / outer side of the curve.
  • Set Export options like Points per Spline, Smoothing and export text to CATIA V5 by clicking Draw button. Please be aware that you have to leave sketch editor before launching this command.
  • You are informed about progress of export process by Status window. When it disappears, export is finished. New sketch with text geometry is automatically created in main PartBody and placed at the same location as sketch with guiding curve. Sketch with guiding curve is not affected.

Options

Font Family, Font Style

Easy, choose a Font family you like to use as well as Font style e.g. regular, bold, italic. All properly installed fonts should be available.

Font Size

Font size is calculated in mm, based on the shape of capital letter "T". When size is set to 50mm, then size of capital "T" from top to bottom will be 50mm in sketch.

Spacing

Increase or decrease default spacing by setting this value. Zero is default (default spacing is used), positive values increase spacing, negative values decrease spacing.

Points per Spline

Number of control points that specify spline in sketch. Minimum is 3 points (startpoint, end point and 1 control point), maximum is limited to 50. More points slows down the performance of sketch creation, so please keep it in reasonable range.

Smoothing

If checked, tangencial curves in sketch are joined into one and result is smoother. Work closely with Max Tangency Deviation option

Max Tangency Deviation

Maximum deviation between tangencial vectors of 2 curves in their common point. Curves below this limit value will be considered as tangencial and joined into one spline in catia sketch


Gallery

Different types of guiding curves are supported

As a guide you can use any 2D catia curve (curve from sketch)


  • Text on circle
    Text on circle, ...
  • Text on ellipse
    ... text on ellipse, ...
  • Text on hyperbola
    ... text on hyperbola, ...
  • Text on parabola
    ... text on parabola, ...
  • Text on line
    ... text on line, ...
  • Text on spline
    ... and text on spline.

Not enough Fonts? Get more

TxtOnCurve works with any installed TrueType (ttf) fonts. There are plenty of amazing fonts available, lot of them free to dowload and free to use. In our example we used Font Awesome from here, Grunja from here and Poultrygeist from here.


  • Font Awesome
    Font Awesome, the iconic font and CSS toolkit
  • Grunja font
    Grunja from Apostrophic Labs
  • Poultrygeist
    Poultrygeist from Apostrophic Labs