TurboCAD Forums

Turbo Talk => General Discussion => Topic started by: Frederick Lm on January 27, 2019, 10:44:17 PM

Title: Convert text to spline
Post by: Frederick Lm on January 27, 2019, 10:44:17 PM
Is it possible to convert text to spline?
Title: Re: Convert text to spline
Post by: nikkipollard on January 28, 2019, 01:34:39 AM
Yes.
explode it twice it should be a polyline. then select it and go to format convert to curve. Then in the properties change the type of curve to spline.
Title: Re: Convert text to spline
Post by: Andy H on January 28, 2019, 03:35:41 AM
Just to add to Nikki's reply.   You need to give it some thought beforehand.  When the letters are converted to curve, they are Bezier, which is fine because Bezier can handle tight corners. Splines cannot unless one manually adds a knot.  Therefore if using something like Times font, the 'T' would droop.  All the straight lines would end up curved by TC to maintain continuity. 

If doing manually (and TC pro) using Times, one would draw the polylines and splines separately and use compound profile option if converting to 3D.  Or add extra spline nodes at corners to get them as tight as possible.  TC when converting from Bezier to spline will not do this. 

Obviously, letters with a hole in them, a, b, d etc. may require exploding to two separate polylines. before converting to curve.
Title: Re: Convert text to spline
Post by: Frederick Lm on January 28, 2019, 05:39:40 PM
The problem is I need to convert the characters to polylines before convert to curves, that reduced quality of the fonts.

Is it possible to convert text to curve directly?
Title: Re: Convert text to spline
Post by: Andy H on January 28, 2019, 07:22:19 PM
Is it possible to convert text to curve directly?

Not that I know of. 

Is it just a few characters or many.   Bezier do not normally reduce the quality of the text,  albeit they can convert to lots of nodes.  Personally I tend to trace the characters with spline and line/polyline.  Accuracy is then dependent on how accurate and patient one is at drawing, and takes away any TC conversion errors.  That said, I don't use many fonts, so have three or four alphabets which I just copy / paste from. 
Title: Re: Convert text to spline
Post by: Frederick Lm on January 28, 2019, 07:30:59 PM
What I am making is a watch dial, I need curves instead of polylines for text. Spline or Bezier doesn't matter because I will not alter the fonts. So convert truetype font to polylines is not right in the first place.
Title: Re: Convert text to spline
Post by: murray dickinson on January 28, 2019, 07:34:37 PM
Even the outlines of individual letters are compound profiles, and they're not parametric shapes, so there are literally an infinite number of ways to trace them with curves.  You'd get quite close if you trace splines through the polyline's vertices yourself, if TC's automated methods aren't good enough for you, but it's going to be a time sink.     
Title: Re: Convert text to spline
Post by: John R on January 28, 2019, 07:44:10 PM
I use Lines and Arcs for text objects. I made/traced a couple of symbol libraries of two fonts that I like at 1 inch and drag the individual letters in as needed. Being that they each come in as a Group, it's easy to scale the whole bunch up-or-down. Once I'm satisfied with placement, then I'll Explode them 'one time' (to remove the Group wrapper) and use the "Use Compound Profile" when extruding or sweeping.

The hard part is making a Library that you'll always have when needed.
Title: Re: Convert text to spline
Post by: Frederick Lm on January 28, 2019, 08:15:58 PM
Now I need to use Rhino to type the text and export to DWG.
You can see the text render very nicely.
So convert from truetype font to curve feature is a must.
Title: Re: Convert text to spline
Post by: Andy H on January 28, 2019, 08:46:30 PM
Just curious.  What font is it.  It has similar shaping to Times new Roman, except for the bulges at the end of the numbers.
Title: Re: Convert text to spline
Post by: Frederick Lm on January 28, 2019, 09:39:55 PM
The font is HYMyeongJo-Extra, I think the numeric will looks good on watch dial.