NEW port CAD/admesh

A tool to analyze STL (stereolitholigraphy) files.

PR:		ports/52997
Submitted by:	Pedro F. Giffuni <giffunip@yahoo.com>
This commit is contained in:
Edwin Groothuis 2003-10-10 05:16:19 +00:00
parent 15d234b2db
commit b24867305d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=90740
5 changed files with 53 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#
SUBDIR += ziarc
SUBDIR += admesh
SUBDIR += astk-client
SUBDIR += astk-serveur
SUBDIR += atlc

25
cad/admesh/Makefile Normal file
View File

@ -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>

1
cad/admesh/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (admesh-0.95.tar.gz) = c21d198c547685f43efd2cf11536d7d4

23
cad/admesh/pkg-descr Normal file
View File

@ -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/

3
cad/admesh/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
bin/admesh
%%PORTDOCS%%%%DOCSDIR%%/admesh.doc
@dirrm %%PORTDOCS%%%%DOCSDIR%%