灵符lingfu

lingmodeler

↓ 0 downloads

LingModeler: box modeling with quads and tris, rigging + weight painting, 2D vector illustration and animation, procedural textures and game assets; .lmesh / .ling native formats, OBJ, glTF and SVG import / export

Windows · x86-64Linux · x86-64LingOS · x86-64LingOS · Pi 5 ARM64Web · WASM
Keywords 3d, modeling, vector, svg, gltf, obj, rigging, animation, textures, ling
lingfu install lingmodeler
LicenseApache-2.0 OR MIT
Authorsling-lin
READMECode / FilesVersionsDependency GraphDependentsSecurityBuildsSettings

Code / Files (67)

run.sh
#!/bin/sh
# LingModeler launcher (Linux / macOS): bundled binary, else ../ling build, else ling on PATH.
ROOT="$(cd "$(dirname "$0")" && pwd)"
cd "$ROOT" || exit 1
for b in "$ROOT/LingModeler" "$ROOT/lingmodeler"; do
  if [ -x "$b" ] && [ ! -d "$b" ]; then exec "$b" "$@"; fi
done
LING="$ROOT/../ling/target/release/ling"
[ -x "$LING" ] || LING="$ROOT/../ling/target/debug/ling"
[ -x "$LING" ] || LING="$(command -v ling)"
if [ -z "$LING" ]; then
  echo "Could not find ling. Install it: curl --proto '=https' --tlsv1.2 -sSf https://ling-lang.org/install.sh | sh"
  exit 1
fi
RUST_BACKTRACE=1 "$LING" run --interp ling/main.ling "$@" > "$ROOT/lingmodeler.log" 2>&1
status=$?
if [ $status -ne 0 ]; then
  echo "LingModeler stopped with an error ($status). Last lines of lingmodeler.log:"
  tail -n 40 "$ROOT/lingmodeler.log"
fi
exit $status

← Back to index