Skip to main content

A tool to adjust the scale of maps in JSON files for Foundry VTT.

Project description

Foundry Map Tool

This utility takes the JSON from either a DA map export or from a Foundry VTT map export JSON. It scales it down so that all walls, tokens, lights, drawings, notes, and tiles stay in place but there are 4 grid squares for every original.

Installation

pip install foundry-map-tool

Usage

from foundry_map_tool import adjust_map

adjust_map()

Before

image

After

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

foundry_map_tool-0.2.0.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

foundry_map_tool-0.2.0-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file foundry_map_tool-0.2.0.tar.gz.

File metadata

  • Download URL: foundry_map_tool-0.2.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.4

File hashes

Hashes for foundry_map_tool-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5a34e03311b56cceaf973f1d7b243b811801b44b246adc2bad694d452f8e4e8b
MD5 f6bfdf1ed3cf1e4ed5b48a5717a4281a
BLAKE2b-256 ac5ddba0da2ad72febfa234bfc6c26cb8d16b724fa83932fa013f773aba0db41

See more details on using hashes here.

File details

Details for the file foundry_map_tool-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for foundry_map_tool-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0e1f77ba61c146a65acddd51e7730f70ebcc994dce46531b80efb52d4d8df7b
MD5 6d73f043811ead95ce973044966d0384
BLAKE2b-256 c95956560844244bad62fe996630f91987c86ad101f12ec02712e23f961c1f62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page