[Bf-python] Adding python hooks to C functions.
Joseph Gilbert
models at paposo.com
Thu May 13 04:13:24 CEST 2004
Can you post the code for the setBorder() plz :)
Joseph
-----Original Message-----
From: bf-python-admin at blender.org [mailto:bf-python-admin at blender.org]On
Behalf Of Campbell Barton
Sent: Wednesday, May 12, 2004 7:05 PM
To: bf-python at blender.org
Subject: [Bf-python] Adding python hooks to C functions.
Hi, I have tinkered with blenders code and managed to make some python
hooks to existing C functions.
It dosent seam that hard to do, even with debugging and writing the epy
docs.
Things Id like to add... havent thaught a lot abot exact naming but you
get the idea.
NMesh.triangluate() # Turn quads to Tri's, speed up exporting to formats
that only support tri's.
NMesh.removeDoubles()
NMesh.removeDoublesLimit(n)
NMesh.subdivide(Type=Normal, Smooth, fractal)
Scene.Render.RenderData.setBorder(...) # I have alredy done
Image.reload() # A hook to the image relaod in the image menu, I have
done this too.
Blender.Quit()
Object.setSelect(1/0) # To select/deselect objects in python
NMesh.Face.setSelect(1/0)
NMesh.Vert.setSelect(1/0)
So my question is...
IS there any group/single person who has a say as to weather things will
go into the python API? (Is this mailing list IT?)
Would sombody commit to the CVS my python hooks If I wrote and tested them?
-Cam
--
Campbell J Barton
133 Home Street
Geelong West, Victoria 3218 Australia
URL: http://www.metavr.com
e-mail: cbarton at metavr.com
phone: AU (03) 5229 0241
_______________________________________________
Bf-python mailing list
Bf-python at blender.org
http://www.blender.org/mailman/listinfo/bf-python
More information about the Bf-python
mailing list