tudelft3d/3dfier — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me an open source command line tool that turns 2D map data into simple 3D city models using a LiDAR point cloud for height.

I want to give it a YAML config file that points to my polygon layers and LAS or LAZ point cloud, then have it lift each polygon based on what it represents. Buildings should become blocky LOD1 buildings, water should stay flat, roads should become smooth surfaces, and terrain, forest, bridges, walls, and fences should be handled as their own classes. The output should be a clean connected 3D surface with no obvious holes or intersecting triangles.

Please include support for exporting common formats like OBJ, CityGML, CityJSON, STL, PostGIS, and a simple building height CSV. Preserve the original polygon IDs so I can match the 3D output back to the input data.

Also include example data, an example config file, clear install and run instructions for Windows, Mac, Linux, and Docker. Look up current GIS and LiDAR library docs online if you need to.

Want more depth? Deep Reverse