Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"tile_centered": true has no effect #96

Open
KIC opened this issue Aug 17, 2024 · 6 comments
Open

"tile_centered": true has no effect #96

KIC opened this issue Aug 17, 2024 · 6 comments

Comments

@KIC
Copy link

KIC commented Aug 17, 2024

The python TouchTerrain_standalone.py returns the same result whether tile_centered is true or not. Since I want to postprocess the generated tiles in openSCAD I actually would like all tiles to be centered.

@ChHarding
Copy link
Owner

ChHarding commented Aug 17, 2024 via email

@KIC
Copy link
Author

KIC commented Aug 17, 2024

I just want to add some custom connectors instead of straight walls.

@ChHarding
Copy link
Owner

ChHarding commented Aug 17, 2024 via email

@KIC
Copy link
Author

KIC commented Aug 17, 2024

Hmm ... when I use this json with thepython TouchTerrain_standalone.py tenerife.json

{
"CPU_cores_to_use": 0,
"DEM_name": "JAXA/ALOS/AW3D30/V2_2",
"basethick": 1,
"bottom_image": null,
"clean_diags": false,
"fileformat": "STLb",
"fill_holes": null,
"gpxPathHeight": 100,
"gpxPathThickness": 5,
"gpxPixelsBetweenPoints": 20,
"ignore_leq": null,
"importedDEM": null,
"importedGPX": null,
"lower_leq": null,
"max_cells_for_memory_only": 1000000,
"min_elev": null,
"no_bottom": true,
"no_normals": true,
"ntilesx": 4,
"ntilesy": 4,
"offset_masks_lower": null,
"only": null,
"polyURL": null,
"poly_file": null,
"printres": 0.2,
"smooth_borders": false,
"tile_centered": true,
"tilewidth": 100,
"tilewidth_scale": null,
"trlat": 28.59611007775015,
"trlon": -16.10975691796874,
"bllat": 27.9878751235126,
"bllon": -16.932816000000003,
"unprojected": false,
"use_geo_coords": "centered",
"zip_file_name": "tenerife",
"zscale": 1.0
}

and include them in openscad:

import("/tmp/tt/V2_2_-16.52_28.29_tile_1_2.STL");
import("/tmp/tt/V2_2_-16.52_28.29_tile_1_3.STL");
import("/tmp/tt/V2_2_-16.52_28.29_tile_1_4.STL");

they are not overlapping as i would expect:

image

@ChHarding
Copy link
Owner

ChHarding commented Aug 17, 2024 via email

@KIC
Copy link
Author

KIC commented Aug 18, 2024

actually I used "use_geo_coords": "centered" because I hoped it will be a solution. but the default null settings look very similar, just the whole island is not in the center. I really only want each individual tile to be centered.

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

No branches or pull requests

2 participants