灵符lingfu

lingmodeler

↓ 0 下载

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
关键词 3d, modeling, vector, svg, gltf, obj, rigging, animation, textures, ling
lingfu install lingmodeler
许可证Apache-2.0 OR MIT
作者ling-lin
README代码 / 文件版本依赖关系图依赖此包的项目安全构建设置

代码 / 文件 (67)

run.bat
@echo off
rem LingModeler launcher (Windows): uses the bundled exe when present, else ling from ..\ling (release, then debug), else ling on PATH.
rem Output goes to lingmodeler.log; if the program stops with an error the last lines are shown here.
setlocal
set ROOT=%~dp0
cd /d "%ROOT%"
if exist "%ROOT%LingModeler.exe" (
  start "" "%ROOT%LingModeler.exe" %*
  exit /b 0
)
set LING=%ROOT%..\ling\target\release\ling.exe
if not exist "%LING%" set LING=%ROOT%..\ling\target\debug\ling.exe
if not exist "%LING%" (
  where ling >nul 2>nul
  if errorlevel 1 (
    echo Could not find ling. Build it:  cd ..\ling ^&^& cargo build --release --bin ling
    echo or install it:  irm https://ling-lang.org/install.ps1 ^| iex
    pause
    exit /b 1
  )
  set LING=ling
)
set RUST_BACKTRACE=1
"%LING%" run --interp ling\main.ling %* > "%ROOT%lingmodeler.log" 2>&1
if errorlevel 1 (
  echo LingModeler stopped with an error ^(exit code %errorlevel%^). Last lines of lingmodeler.log:
  powershell -NoProfile -Command "Get-Content -Tail 40 '%ROOT%lingmodeler.log'"
  pause
)

← 返回索引