admesh: general cleanup

master
Mike McQuaid 2014-09-20 20:57:55 -07:00
parent 79962bad0b
commit d97b3d5ecf
1 changed files with 12 additions and 12 deletions

View File

@ -21,17 +21,17 @@ class Admesh < Formula
test do
# Test file is the beginning of block.stl from admesh's source
(testpath/"test.stl").write <<-EOF
SOLID Untitled1
FACET NORMAL 0.00000000E+00 0.00000000E+00 1.00000000E+00
OUTER LOOP
VERTEX -1.96850394E+00 1.96850394E+00 1.96850394E+00
VERTEX -1.96850394E+00 -1.96850394E+00 1.96850394E+00
VERTEX 1.96850394E+00 -1.96850394E+00 1.96850394E+00
ENDLOOP
ENDFACET
ENDSOLID Untitled1
EOF
system "admesh test.stl"
(testpath/"test.stl").write <<-EOS.undent
SOLID Untitled1
FACET NORMAL 0.00000000E+00 0.00000000E+00 1.00000000E+00
OUTER LOOP
VERTEX -1.96850394E+00 1.96850394E+00 1.96850394E+00
VERTEX -1.96850394E+00 -1.96850394E+00 1.96850394E+00
VERTEX 1.96850394E+00 -1.96850394E+00 1.96850394E+00
ENDLOOP
ENDFACET
ENDSOLID Untitled1
EOS
system "admesh", "test.stl"
end
end