Slicer Discord
3D city Map Barcelona – 3D-printbaar model van Thingiverse Thingiverse

3D city Map Barcelona

door Ryleymcc
5 Downloads
20 Likes
0 Makes
Model downloaden
Used custom mapbox script and blender to make this.

All SVG files are included as well as the blender project file.

Here is the python script used to generate high resolution png images of the roads and land. paste in your own mapbox api token (free).

```
import asyncio
import aiohttp
from PIL import Image
from io import BytesIO
from IPython.display import display

# Mapbox API details
USERNAME = "ryleymcc"
STYLE_LAND_WATER = "clnj1nkob081q01p91o6rbziw"
STYLE_ROADS = "clnj20v7q07vz01p78d6dc69m"
ACCESS_TOKEN = " "
ZOOM_LEVEL = 14 # Adjust as needed

def latlon_to_tile(lat, lon, zoom):
"""Convert latitude and longitude to tile coordinates"""
import math
lat_rad = math.radians(lat)
n = 2.0 ** zoom
xtile = int((lon + 180.0) / 360.0 * n)
ytile = int((1.0 - math.asinh(math.tan(lat_rad)) / math.pi) / 2.0 * n)
return xtile, ytile


# Input bounding box coordinates
min_lat = 41.338928
min_lon = 2.139630
max_lat = 41.400877
max_l
Bron
Thingiverse
Wat je nodig hebt om te printen: Beginner Lage betrouwbaarheid
Eendelig
Supports 1/3
Montage 0/3
Instellingen 1/3
Bedgrootte 0/3
Nabewerking 0/3
Printer
FDM / FFF
Bestandsformaat
STL
Materiaal
PLA
Software
Cura, PrusaSlicer of vergelijkbaar
Nog geen beoordelingen
Nog geen reacties – wees de eerste!

Vergelijkbare modellen

6 Suggesties
Feed Blog Slicer Kostenrekenmachine Zoeken op afbeelding Indienen Kontakt Discord ☕ Buy me a coffee
DE EN FR ES IT NL

Toevoegen aan collectie