Skip to content

Commit a27c080

Browse files
authored
Merge pull request #3 from tataratat/update
clean up
2 parents 01e52bf + 8a1a139 commit a27c080

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/basis_and_support.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@
3333
b.insert_knots(1, [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])
3434
b.insert_knots(2, [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9])
3535

36+
# get same nurbs
3637
n = b.nurbs
3738
# edit a weight so that the values aren't the same
3839
n.weights[0, 0] = 0.5 # this is a tall array
3940

4041
# queries
4142
q = [
4243
[0.01, 0.01, 0.01],
43-
# [.2, .3, .4],
44-
# [.3, .4, .5],
45-
# [.4, .5, .6],
4644
[0.51, 0.61, 0.71],
4745
]
4846

0 commit comments

Comments
 (0)