[Bf-python] Curve.string

Yann Vernier yann at algonet.se
Thu Feb 10 21:39:47 CET 2005


On Thu, Feb 10, 2005 at 09:45:16AM -0500, Stephen Swaney wrote:
> Pidhash (Joilnen) and I were talking about this the other day.  After
> kicking the idea around, I would be prepared to argue that Text3d
> should be its own bpy type separate from Curve.

I'd think the obvious choice would be a Python subtype.

> But the fact that Text3d has some separate and distinct properties
> like a font and the text itself makes me think it should be separate
> from Curve.  I can even see Text3d having its own unique methods like
> read_from_file( fname ) to load a text object.

This particular example I wouldn't suggest as it's nearly as easy to do
using native python: text.string=open(fname).read()

-- 
PGP fingerprint = 9242 DC15 2502 FEAB E15F  84C6 D538 EC09 5380 5746
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20050210/72915c90/attachment.sig>


More information about the Bf-python mailing list