Skip to content

Add terrain STL generators for 32mm fantasy dioramas, like chests, crates, chairs, weapon racks#1

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/create-terrain-stls-for-dioramas
Draft

Add terrain STL generators for 32mm fantasy dioramas, like chests, crates, chairs, weapon racks#1
Copilot wants to merge 2 commits intomainfrom
copilot/create-terrain-stls-for-dioramas

Conversation

Copy link
Contributor

Copilot AI commented Feb 28, 2026

Adds programmatic STL generation for fantasy-themed diorama terrain (dungeons, towns, gaols, necromancer lairs) scaled for 32mm miniatures.

New primitives

  • box(width, depth, height, center) — rectangular box primitive; foundation for all terrain geometry

New stl_generator.terrain module

Three terrain tile generators, all centred at origin and fully parameterised:

Function Default size Detail
dungeon_floor_tile() 50 × 50 × 5 mm Regular flagstone grid with raised stones and mortar gaps
dungeon_wall_section() 50 × 40 × 8 mm Solid wall with staggered ashlar courses embossed on the front face
cobblestone_street_tile() 50 × 50 × 5 mm Staggered-row cobblestone pattern for town/street scenes

Stones are clipped to tile boundaries and all gap/relief/size parameters are exposed.

from stl_generator.terrain import dungeon_floor_tile, dungeon_wall_section, cobblestone_street_tile

dungeon_floor_tile().save("floor.stl")
dungeon_wall_section(width=80.0, height=60.0).save("wall.stl")
cobblestone_street_tile(stone_size=6.0).save("street.stl")

Tiles compose freely — lay a grid of dungeon_floor_tile instances with matching width/depth, back them with dungeon_wall_section walls, and place 32mm bases directly on top.

Original prompt

make STLs for terrain to go in small dioramas. there will be a fantasy theme, with dungeons, fantasy towns, gaols, necromancer lairs and so on. the scenery should be scaled for 32mm miniatures


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…bblestone)

Co-authored-by: srfraser <5933384+srfraser@users.noreply.github.com>
Copilot AI changed the title [WIP] Add STL files for fantasy terrain dioramas Add terrain STL generators for 32mm fantasy dioramas Feb 28, 2026
@srfraser
Copy link
Owner

The floor tiles are great but can we have more scatter terrain like chests, chairs, crates, floor torches

@srfraser srfraser changed the title Add terrain STL generators for 32mm fantasy dioramas Add terrain STL generators for 32mm fantasy dioramas, like chests, crates, chairs, weapon racks Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants