BSD Ports

cad/admesh 0.98.5_3 MidnightBSD

Program for processing STL triangulated solid meshes

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
c4755ec7cd
License
gpl2+
Categories
cad

Description

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

In the other systems

SystemPortVersion
MidnightBSDcad/admesh0.98.5_3
FreeBSDcad/admesh0.98.5_1
NetBSDmath/admesh0.98.5nb1
DragonFlycad/admesh0.98.5_1
HardenedBSDcad/admesh0.98.5_1
GhostBSDcad/admesh0.98.5_1

Install

Binary package:

mport install admesh

From mports:

cd /usr/mports/cad/admesh && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	admesh>0:cad/admesh

Dependencies

No port depends on this one.

Configuration

Options name: cad_admesh

OptionDefaultDescription
DOCSoff
USES
autoreconf libtool cpe
Service scripts
none

Files

distinfo 1
FileSizeSHA256
admesh-admesh-v0.98.5_GH0.tar.gz41122b832bf055beeaee63edf55ab43a42610287502af13136b9cf0e972d16893bd96

Commit history 2

DateCommitCreditsLog message
c4755ec7cd Lucas Holt cad/admesh: fix the staging path in the option install targets
The option helper targets (post-install-DOCS-on and friends) are entries in _FAKE_SEQ and run in the main make, not in the sub-make that fake-post-install starts with FAKE_SETUP. There PREFIX is not stage-prefixed and STAGEDIR is empty, so ${STAGEDIR}${DOCSDIR} resolved to the live /usr/local: the build wrote outside the stage directory and the file was then reported missing, e.g. install ... README.rst /usr/local/share/doc/py312-webcolors /usr/local/share/doc/py312-webcolors/README.rst not installed. Fake failed. Use ${FAKE_DESTDIR} in these targets, as x11-wm/icewm already does. AI-Assisted-by: Claude Opus 5 (1M context) <[email protected]> Signed-off-by: Lucas Holt <[email protected]>
22173208f1 Lucas Holt */*: add CPE identifiers from the matching FreeBSD ports
mport audit matches installed packages against sec.midnightbsd.org by CPE, so a port without one is invisible to it regardless of how vulnerable it is. These 126 ports had no CPE while the corresponding FreeBSD port did, so the vendor and product were copied from there rather than guessed. Sampled against the audit API to confirm the identifiers resolve, e.g. cad/gtkwave tonybybell:gtkwave 82 CVEs archivers/libunrar rarlab:unrar 12 audio/espeak-ng espeak-ng:espeak-ng 5 archivers/minizip-ng zlib-ng:minizip-ng 3 audio/faust grame:faust 3 cad/admesh admesh_project:admesh 3 Three ports were deliberately skipped: archivers/p5-Archive-Tar, …