Skip to content

Commit fa3dc87

Browse files
committed
update hemesh examples
1 parent 6f1bb1d commit fa3dc87

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed
32.9 KB
Binary file not shown.

external_library/java/hemesh/hes_catmull_clark.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,11 @@ def settings
4646
size(1000, 1000, P3D)
4747
smooth(8)
4848
end
49+
50+
def key_pressed
51+
return unless key == 's'
52+
HET_Export.save_to_stl(mesh, data_path('STL'), 'catmull_clark')
53+
end
4954
end
5055

5156
HES_CatmullClarkExample.new

0 commit comments

Comments
 (0)