Skip to content

Commit 66ce2af

Browse files
committed
catmull clark
1 parent 6e37bc4 commit 66ce2af

File tree

3 files changed

+2
-0
lines changed

3 files changed

+2
-0
lines changed

data/STL/catmull_clark.stl

65.7 KB
Binary file not shown.

external_library/gem/toxiclibs/povmesh/tentacle.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ def key_pressed
7070
pm.end_save
7171
exit
7272
when 't', 'T'
73+
mesh.compute_face_normals
7374
mesh.saveAsSTL(data_path('tentacle.stl'))
7475
when 's', 'S'
7576
save_frame('Tentacle.png')

external_library/java/hemesh/hes_catmull_clark.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ def settings
4949

5050
def key_pressed
5151
return unless key == 's'
52+
mesh.triangulate
5253
HET_Export.save_to_stl(mesh, data_path('STL'), 'catmull_clark')
5354
end
5455
end

0 commit comments

Comments
 (0)