Changeset 1195 for framspy/frams-test.py
- Timestamp:
- 02/01/23 22:58:25 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
framspy/frams-test.py
r1183 r1195 106 106 107 107 matrix = np.zeros((20, 20, 20), dtype=int) # 3D matrix, "voxels" 108 m = frams.ModelGeometry.forModel(frams.Model.newFromString(geno)) ;109 m.geom_density = 20 ;108 m = frams.ModelGeometry.forModel(frams.Model.newFromString(geno)) 109 m.geom_density = 20 110 110 for p in m.voxels(): 111 111 # print('%f %f %f ' % (p.x._value(), p.y._value(), p.z._value()))
Note: See TracChangeset
for help on using the changeset viewer.