From b24867305db18906864c48ffc46654a1d0717296 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Fri, 10 Oct 2003 05:16:19 +0000 Subject: NEW port CAD/admesh A tool to analyze STL (stereolitholigraphy) files. PR: ports/52997 Submitted by: Pedro F. Giffuni --- cad/admesh/Makefile | 25 +++++++++++++++++++++++++ cad/admesh/distinfo | 1 + cad/admesh/pkg-descr | 23 +++++++++++++++++++++++ cad/admesh/pkg-plist | 3 +++ 4 files changed, 52 insertions(+) create mode 100644 cad/admesh/Makefile create mode 100644 cad/admesh/distinfo create mode 100644 cad/admesh/pkg-descr create mode 100644 cad/admesh/pkg-plist (limited to 'cad/admesh') 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 +# +# $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 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%% -- cgit v1.2.3