Create a unit test (in tests/) which verifies the order, reusability, and
overall sanity of Vertex and Face objects added to a soy.meshes.Mesh.
Examples on how Vertex, Face, and Mesh objects work together can be seen at
http://svn.pysoy.org/trunk/pysoy/examples/blocks.py.
This means that the mesh .faces[n] should remain at that position regardless of new faces being added and other manipulations being made, .verts[n] should likewise remain predictable both for the mesh and each face.
If a face is added which shares 1 or 2 already known verticies, it should reference the two already known which should remain in their current list positions (.verts[n]).
The source can be obtained through svn co http://svn.pysoy.org/trunk/pysoy
Completion:
Commit the work to http://svn.pysoy.org/, attach your diff(s) to this task, and contact the ghop-python mailing list.
Relevant Wiki pages:
- HowToTest
- RunningPythonTests
Task duration: please complete this task within 5 days (120 hours) of claiming it.
Comment #1
Posted on Jan 16, 2008 by Happy HorseI claim this task
Comment #2
Posted on Jan 16, 2008 by Helpful KangarooThis task is due January 21, 2008 12:30:00 UTC
Comment #3
Posted on Jan 16, 2008 by Happy HorseJust commited first revision to the repository
Comment #4
Posted on Jan 16, 2008 by Happy HorseIs that that was required from me?
Comment #5
Posted on Jan 16, 2008 by Helpful KangarooAccording to the task, you're also supposed to attach the work here and then send email to the mailing list announcing that you're ready for someone to review your work.
Comment #6
Posted on Jan 17, 2008 by Happy OxThis task is complete as soon as the file is attached.
Comment #7
Posted on Jan 17, 2008 by Happy HorseHere is the patch:
Comment #8
Posted on Jan 17, 2008 by Happy Horse(No comment was entered for this change.)
Attachments- mesh_test.diff 5.1KB
Comment #9
Posted on Jan 17, 2008 by Happy Ox(No comment was entered for this change.)
Status: Completed
Labels:
test
pysoy
Due-20080121.1230
ClaimedBy-dev.jrx