Stephen M. McQuay
285c6c7254
First functioning pass at connectivity.
...
- added unittests (passing)
- updated run script to take int for number of subds
10 years ago
Stephen M. McQuay
2b3ab866b2
removed julython test file
10 years ago
Stephen M. McQuay
3f927477e9
added unittest to verify good connectivity generation; should be failing tests
10 years ago
Stephen M. McQuay
70f274e96c
test push to julython
10 years ago
Stephen M. McQuay
889cdf201c
added inner-face edges and all new faces
10 years ago
Stephen M. McQuay
719bc94e8c
first crack at adding edges between new verts
10 years ago
Stephen M. McQuay
dee1889d81
started adding edge connectivity
10 years ago
Stephen M. McQuay
6b21fd80cb
changed import so it would work
10 years ago
Stephen M. McQuay
7559887e0f
update tests to unittest2 (or unittest py2.7)
10 years ago
Stephen M. McQuay
a45c84c183
Started adding connectivity generation
...
- also added a test file in the blender folder
10 years ago
Stephen M. McQuay
cfbde60480
added vertex calcs for simple butterfly
10 years ago
Stephen M. McQuay
23f343a608
added Vertex method to allow for +=
10 years ago
Stephen M. McQuay
d05b5164b2
Updated files to support py3
10 years ago
Stephen M. McQuay
2355deec9f
Stubbed out subd.butterfly and added testing script
10 years ago
Stephen M. McQuay
7d46bb64bd
raise right error
10 years ago
Stephen M. McQuay
88cfd0f6a6
one of the asserts was incorrect ... perhaps the other one can be removed?
10 years ago
Stephen M. McQuay
7d89a5778b
got cc working
10 years ago
Stephen M. McQuay
dd6148ef52
fixed some pep8 violations
10 years ago
Stephen M. McQuay
1a317781cf
added real tests to the subd.cc.TestCC class
10 years ago
Stephen M. McQuay
71f99ba58d
added meaningful subd vert test
10 years ago
Stephen M. McQuay
e0460a0b8d
trying to spell things more clearly in cc
10 years ago
Stephen M. McQuay
d372620283
removed stray pdb call
10 years ago
Stephen M. McQuay
14a5128d8d
refined the PolygonMesh constructor
10 years ago
Stephen M. McQuay
66a688fa75
added another Vertex division test
10 years ago
Stephen M. McQuay
544a570629
Changed the Vertex class to inherit from list
...
- allows for simpler jsonification
10 years ago
Stephen M. McQuay
a00f1cb59a
cc: update old verts
10 years ago
Stephen M. McQuay
198a7d7ca8
Fixed bug in my CC implementation
...
- Wasn't calculating faces for a give original vert correctly
- vertices generated by surf.subd.cc.refine look about right
- still missing edge and face connectivity
10 years ago
Stephen M. McQuay
ba1ec89c27
In the middle of implementing Catmull-Clark
10 years ago
Stephen M. McQuay
f69f9e0224
pep8/pyflakes violations
10 years ago
Stephen M. McQuay
c324fb281f
refactor of Polygon to PolygonMesh
10 years ago
Stephen M. McQuay
6c516e26fc
updated the surf.geometry module to better map to blender primatives
10 years ago
Stephen M. McQuay
a083621d35
Updated file so that it could pass pep8/pyflakes
...
- left in borked state
10 years ago
Stephen M. McQuay
166e3719be
Added something reasonable for `from surf import *`
10 years ago
Stephen M. McQuay
fef3609399
moved tests to be submodule of surf
10 years ago
Stephen M. McQuay
d117dacf08
Added sample json files.
...
- removed the older util.py module
10 years ago
Stephen M. McQuay
475b9dd25d
got vertex tests to pass again
10 years ago
William Blattman
2bbeeb0b07
not working, but some work done to fix cc methods
10 years ago
Stephen M. McQuay
27db460657
changed perms for a module to 644
10 years ago
Stephen M. McQuay
8c265bf819
Removed some binary files
10 years ago
William Blattman
9a37d67ae7
nothing
10 years ago
Stephen M. McQuay
a4d9129d77
Vertex now uses true division instead of casting RHS to float
...
- updated tests
10 years ago
Stephen M. McQuay
93891b917b
Moved documentation, and added more operators to Vertex
...
- added __neg__
- added cross for Vertex * Vertex
- added tests for these
- moved the cube docstring up into the cube generating function
10 years ago
Stephen M. McQuay
9a5fc54f12
Cleaned up some pep8 violations
...
- changed camelCase variables to under_case
- wrapped lines that were longer than 80 chars
- used @property decorator
- changed the cc refine test to print before running refine
- refine seems to be destructive
10 years ago
Stephen M. McQuay
62efeb12b3
cleaned up some pep8/pyflakes violations
10 years ago
Stephen M. McQuay
2f4d648f55
Refactored into modules and test scripts.
10 years ago