-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Change to using the ezdxf package and Constructive solid geometry for mesh generation * Change to lambert conformal conic projection * Adjust pin hole size * Correct north and south faces * Add quad lookup. * File sea level drop.
- Loading branch information
Showing
10 changed files
with
1,096 additions
and
716 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[flake8] | ||
max-line-length = 99 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -161,3 +161,9 @@ cython_debug/ | |
|
||
|
||
cache | ||
*.stl | ||
junk | ||
proto | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/usr/bin/env python | ||
|
||
from landscape2stl import create_stl, STLParameters | ||
|
||
|
||
params = STLParameters( | ||
scale=250_000, | ||
magnet_spacing=0.05, | ||
exaggeration=2, | ||
magnet_holes=True, | ||
bolt_holes=False, | ||
pin_holes=False, | ||
) | ||
|
||
ee = -158.3 | ||
nn = 21.30 | ||
delta = 0.1 | ||
|
||
# Oahu | ||
for e in range(0, 7): | ||
for n in range(0, 6): | ||
name = f"oahu_250000_{e}{n}" | ||
north = nn + n * delta | ||
east = ee + e * delta | ||
print(name, north, east, north-delta, east+delta) | ||
create_stl(params, (north, east, north-delta, east+delta), name=name, verbose=True) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/usr/bin/env python | ||
|
||
from landscape2stl import create_quad_stl | ||
|
||
|
||
# Names of 7.5 minute quadrangles, north to south, blocks east to west. | ||
yosemite_quadrangles = ( | ||
"Kibbie Lake", | ||
"Tiltill Mountain", | ||
"Piute Mountain", | ||
"Matterhorn Peak", | ||
"Dunderberg Peak", | ||
"Lundy", | ||
# "Negit Island", | ||
"Lake Eleanor", | ||
"hetch_hetchy_reservoir", | ||
"ten_lakes", | ||
"falls_ridge", | ||
"tioga_pass", | ||
"mount_dana", | ||
# "lee_vining", | ||
"Ackerson Mountain", | ||
"tamarack_flat", | ||
"yosemite_falls", | ||
"tenaya_lake", | ||
"vogelsang_peak", | ||
"koip_peak", | ||
# "june_lake", | ||
"El Portal", | ||
"el_capitan", | ||
"half_dome", | ||
"merced_peak", | ||
"mount_lyell", | ||
"mount_ritter", | ||
# "mammoth_mountain", | ||
"Buckingham Mountain", | ||
"Wawona", | ||
"Mariposa grove", | ||
"Sing Peak", | ||
"Timber Knob", | ||
"Cattle Mountain", | ||
# "Crystal Crag", | ||
) | ||
|
||
|
||
for name in yosemite_quadrangles: | ||
create_quad_stl(name, "CA", verbose=True) |
Binary file not shown.
Oops, something went wrong.