项目作者: radj307

项目描述 :
Simple commandline tool to convert between Gamebryo Engine units, meters, and feet.
高级语言: C++
项目地址: git://github.com/radj307/Gamebryo-Engine-Unit-Converter.git
创建时间: 2020-09-25T07:46:50Z
项目社区:https://github.com/radj307/Gamebryo-Engine-Unit-Converter

开源协议:

下载


:warning: Project Migrated to New Repository :warning:

Bethesda Engine Unit Converter




GitHub tag (latest by date) GitHub all releases

This is a commandline utility that converts between common length measurement units & Bethesda’s arbitrary Unit

Features

  • Context-Sensitive Notation
    • Can be overridden:
      • Force standard notation with --standard or --fixed.
      • Force scientific notation with --scientific or --sci.
  • Supports these measurement units:
    • Metric
      • Includes all metric prefixes from pico- to tera-
    • Imperial
      • Includes all Imperial length units listed on wikipedia.
    • Gamebryo / CreationKit Units
      • Includes all metric prefixes from pico- to tera- because who doesn’t want to use kilounits
  • Cross-Platform:
    • Windows
    • Linux
    • macOS

If you’re new to using CLI programs, see the beginners guide.

Installation

No formal installation is required, simply place the executable somewhere and call it from your preferred shell.

If you want to be able to use the program no matter your shell’s current working directory, you’ll need to place the executable in a location found in your PATH environment variable.

The program is small enough to embed within another executable, for an example see this synthesis patcher.

Adding to your PATH variable

Linux

Place the executable in /usr/local/bin to add to your path, or add export PATH='$PATH;<PATH_TO_DIRECTORY>' to the end of ~/.bashrc

Windows

See Here

macOS

I genuinely have no idea as I have never owned or used a mac, but I assume it’s similar to Linux.

Usage

Use ckconv -h or ckconv --help to see a usage guide, and documentation on all of the available options.

Use ckconv --units to see a list of all recognized units.
When specifying units, you can use the values in the Symbol or Name columns.

Examples

Simple conversions, and pipe operators:




Multiple conversions at once:


Converting 5 picometers to units in standard notation, and response-only mode: