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.1.1.tar.gz (1.6 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.1.1-py3-none-any.whl (1.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for foundry_map_tool-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bfb817dd3a0219b0ba0023a5977fa36f1a741a25f464ba6f9af1eb555290b681
MD5 bb78afee78f396148682d60e790c6b49
BLAKE2b-256 8bf368938aac61aa02ae53d8f25aa16ea26032298d1fabb8cd20e523cbe354cb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for foundry_map_tool-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 62f272f8dff3677c87b838592d9414ef176e470b01aeb92639476b7578b8c1bb
MD5 b86b0950f225041302e9bfa3cb20931d
BLAKE2b-256 50f55f620e7ea44f9ef89beebeda8b2ee11e29f3b7a42e2c28a1a8cd0ebb49c3

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