aboutsummaryrefslogtreecommitdiffstats
path: root/cad/admesh
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-10-10 13:16:19 +0800
committeredwin <edwin@FreeBSD.org>2003-10-10 13:16:19 +0800
commitff22b2523e6114424ca52ee957f0a153b517589c (patch)
tree281ee314d644a865e84981a3525c11f4f2b3c311 /cad/admesh
parentdbd9bae8abe972cd5e656434a385417df2bc2723 (diff)
downloadfreebsd-ports-graphics-ff22b2523e6114424ca52ee957f0a153b517589c.tar.gz
freebsd-ports-graphics-ff22b2523e6114424ca52ee957f0a153b517589c.tar.zst
freebsd-ports-graphics-ff22b2523e6114424ca52ee957f0a153b517589c.zip
NEW port CAD/admesh
A tool to analyze STL (stereolitholigraphy) files. PR: ports/52997 Submitted by: Pedro F. Giffuni <giffunip@yahoo.com>
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 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%%