summaryrefslogtreecommitdiff
path: root/cad/admesh
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:16:19 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-10 05:16:19 +0000
commitb24867305db18906864c48ffc46654a1d0717296 (patch)
tree497a0278f239ecd620964f54a4eb1af9b85395b3 /cad/admesh
parentfix for "user stats" function in tkseti (diff)
NEW port CAD/admesh
A tool to analyze STL (stereolitholigraphy) files. PR: ports/52997 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
Notes
Notes: svn path=/head/; revision=90740
Diffstat (limited to 'cad/admesh')
-rw-r--r--cad/admesh/Makefile25
-rw-r--r--cad/admesh/distinfo1
-rw-r--r--cad/admesh/pkg-descr23
-rw-r--r--cad/admesh/pkg-plist3
4 files changed, 52 insertions, 0 deletions
diff --git a/cad/admesh/Makefile b/cad/admesh/Makefile
new file mode 100644
index 000000000000..33846918646e
--- /dev/null
+++ b/cad/admesh/Makefile
@@ -0,0 +1,25 @@
+# New ports collection makefile for: admesh
+# Date created: 25 June 2003
+# Whom: Pedro F. Giffuni <giffunip@asme.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= admesh
+PORTVERSION= 0.95
+CATEGORIES= cad
+MASTER_SITES= http://www.varlog.com//products/admesh/files/
+
+MAINTAINER= giffunip@asme.org
+COMMENT= Program for processing STL triangulated solid meshes
+
+GNU_CONFIGURE= yes
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/admesh ${PREFIX}/bin/
+.ifndef NOPORTDOCS
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/ADMESH.DOC ${DOCSDIR}/admesh.doc
+.endif
+
+.include <bsd.port.mk>
diff --git a/cad/admesh/distinfo b/cad/admesh/distinfo
new file mode 100644
index 000000000000..986460c695e7
--- /dev/null
+++ b/cad/admesh/distinfo
@@ -0,0 +1 @@
+MD5 (admesh-0.95.tar.gz) = c21d198c547685f43efd2cf11536d7d4
diff --git a/cad/admesh/pkg-descr b/cad/admesh/pkg-descr
new file mode 100644
index 000000000000..11bdc68ad475
--- /dev/null
+++ b/cad/admesh/pkg-descr
@@ -0,0 +1,23 @@
+ADMesh is a program for processing triangulated solid meshes. Currently,
+ADMesh only reads the STL file format that is used for rapid prototyping
+applications, although it can write STL, VRML, OFF, and DXF files.
+
+Features
+* Read and write binary and ASCII STL files
+* Check STL files for flaws (i.e. unconnected facets, bad normals)
+* Repair facets by connecting nearby facets that are within a given tolerance
+* Fill holes in the mesh by adding facets.
+* Repair normal directions (i.e. facets should be CCW)
+* Repair normal values (i.e. should be perpendicular to facet with length=1)
+* Remove degenerate facets (i.e. facets with 2 or more vertices equal)
+* Translate in x, y, and z directions
+* Rotate about the x, y, and z axes
+* Mirror about the xy, yz, and xz planes
+* Scale the part by a factor
+* Merge 2 STL files into one
+* Write an OFF file
+* Write a VRML file
+* Write a DXF file
+* Calculate the volume of a part
+
+WWW: http://www.varlog.com/products/admesh/
diff --git a/cad/admesh/pkg-plist b/cad/admesh/pkg-plist
new file mode 100644
index 000000000000..99bdbf467070
--- /dev/null
+++ b/cad/admesh/pkg-plist
@@ -0,0 +1,3 @@
+bin/admesh
+%%PORTDOCS%%%%DOCSDIR%%/admesh.doc
+@dirrm %%PORTDOCS%%%%DOCSDIR%%