aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cad/Makefile1
-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
5 files changed, 53 insertions, 0 deletions
diff --git a/cad/Makefile b/cad/Makefile
index c2b738bcb9a..b0b7870b125 100644
--- a/cad/Makefile
+++ b/cad/Makefile
@@ -2,6 +2,7 @@
#
SUBDIR += ziarc
+ SUBDIR += admesh
SUBDIR += astk-client
SUBDIR += astk-serveur
SUBDIR += atlc
diff --git a/cad/admesh/Makefile b/cad/admesh/Makefile
new file mode 100644
index 00000000000..33846918646
--- /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 00000000000..986460c695e
--- /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 00000000000..11bdc68ad47
--- /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 00000000000..99bdbf46707
--- /dev/null
+++ b/cad/admesh/pkg-plist
@@ -0,0 +1,3 @@
+bin/admesh
+%%PORTDOCS%%%%DOCSDIR%%/admesh.doc
+@dirrm %%PORTDOCS%%%%DOCSDIR%%