Skip to content

Commit b0c01e6

Browse files
committed
external_library/java/hemesh/hec_isosurface_image.rb
1 parent c246a6f commit b0c01e6

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# HE_Mesh
22

3-
Is a 3D Geometry java library for processing by [Frederik Vanhoutte](http://www.wblut.com/) see http://www.wblut.com/he_mesh/ sketches in this folder are expected to work with version 6.0.1. The library has changed a lot over the years and not necessarily for the better (dependencies seem to be expanding exponentially, this cannot be a good thing, just look at the disaster that is ruby-on-rails). However Frederik Vanhoutte has developed some rather cool sketches, it's just that it needs a lot of imagination and persistence to create equally good ones using this library.
3+
Is a 3D Geometry java library for processing by [Frederik Vanhoutte](http://www.wblut.com/) see http://www.wblut.com/he_mesh/ sketches in this folder are expected to work with version 6.0.2. The library has changed a lot over the years and not necessarily for the better (dependencies seem to be expanding exponentially, this cannot be a good thing, just look at the disaster that is ruby-on-rails). However Frederik Vanhoutte has developed some rather cool sketches, it's just that it needs a lot of imagination and persistence to create equally good ones using this library.

external_library/java/hemesh/data/java_args.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

external_library/java/hemesh/hes_catmull_clark.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,9 @@ def settings
3939
size(1000, 1000, P3D)
4040
smooth(8)
4141
end
42+
43+
def key_pressed
44+
return unless key == 's'
45+
mesh.triangulate
46+
HET_Export.save_to_stl(mesh, data_path('STL'), 'catmull_clark')
47+
end

0 commit comments

Comments
 (0)