Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
086303f9b7 | ||
|
|
68513876bc | ||
|
|
35d7b1f30c | ||
|
|
1b18c3d170 | ||
|
|
e12922ad92 | ||
|
|
cf6f839ada | ||
|
|
f8fc0f6018 | ||
|
|
e4ea4f054e | ||
|
|
639ff1ba57 | ||
|
|
d81ab2acaa | ||
|
|
ab39c5103d | ||
|
|
4c9b1f8cb7 | ||
|
|
6e23391339 | ||
|
|
5760fb77b0 | ||
|
|
153ea88f4f | ||
|
|
60113ab76e |
No files matched your search
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"id": "earth-geography",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球地理",
|
|
||||||
"en": "Earth Geography"
|
|
||||||
},
|
|
||||||
"descriptionI18n": {
|
|
||||||
"zh-CN": "五带划分、七大洲四大洋轮廓、六大板块与洲界,纯线稿教学图。",
|
|
||||||
"en": "Climate zones, continent/ocean outlines, plates and borders — clean line art."
|
|
||||||
},
|
|
||||||
"assembly": "EarthGeographyModel.dll",
|
|
||||||
"type": "NeoRF.EarthModels.GeographyModelFactory",
|
|
||||||
"author": "Morris GC",
|
|
||||||
"tags": [
|
|
||||||
"geography",
|
|
||||||
"earth",
|
|
||||||
"atlas"
|
|
||||||
],
|
|
||||||
"dataDir": "earth-geography.model",
|
|
||||||
"version": "1.0",
|
|
||||||
"updatedAt": "2026-11-08T09:22:29Z",
|
|
||||||
"build": "883fdf6c57"
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
{"borders":[{"between":"亚洲-非洲","name":"苏伊士运河","lines":[[[32.6,31.3],[32.4,30.5],[32.3,29.9]]]},{"between":"亚洲-欧洲","name":"亚欧分界(乌拉尔山—乌拉尔河—里海—大高加索山—黑海—土耳其海峡)","segments":[{"name":"乌拉尔山","nameI18n":{"zh-CN":"乌拉尔山","en":"Ural Mts."},"lines":[[[66.0,68.5],[64.0,64.0],[60.5,60.0],[58.5,54.0],[57.0,51.0]]]},{"name":"乌拉尔河","nameI18n":{"zh-CN":"乌拉尔河","en":"Ural River"},"lines":[[[57.0,51.0],[55.5,49.0],[53.0,47.0],[51.5,46.5]]]},{"name":"里海","nameI18n":{"zh-CN":"里海","en":"Caspian Sea"},"lines":[[[51.5,46.5],[50.5,44.0],[49.5,41.0],[50.0,38.0],[51.0,36.5]]]},{"name":"大高加索山","nameI18n":{"zh-CN":"大高加索山","en":"Greater Caucasus"},"lines":[[[51.0,36.5],[46.0,42.5],[43.0,42.8],[41.0,43.2]]]},{"name":"黑海","nameI18n":{"zh-CN":"黑海","en":"Black Sea"},"lines":[[[41.0,43.2],[36.0,44.5],[31.0,44.0],[29.0,41.5]]]},{"name":"土耳其海峡","nameI18n":{"zh-CN":"土耳其海峡","en":"Turkish Straits"},"lines":[[[29.0,41.5],[28.0,40.5],[26.5,40.0],[26.2,39.5]]]}],"lines":[[[66.0,68.5],[64.0,64.0],[60.5,60.0],[58.5,54.0],[57.0,51.0],[57.0,51.0],[55.5,49.0],[53.0,47.0],[51.5,46.5],[51.5,46.5],[50.5,44.0],[49.5,41.0],[50.0,38.0],[51.0,36.5],[51.0,36.5],[46.0,42.5],[43.0,42.8],[41.0,43.2],[41.0,43.2],[36.0,44.5],[31.0,44.0],[29.0,41.5],[29.0,41.5],[28.0,40.5],[26.5,40.0],[26.2,39.5]]]},{"between":"亚洲-非洲","name":"红海","lines":[[[43.3,12.6],[40.0,18.0],[38.5,22.0],[35.0,27.0],[34.5,29.0]]]},{"between":"欧洲-非洲","name":"直布罗陀海峡","lines":[[[-5.6,36.0],[-4.0,36.2],[0.0,36.5]]]},{"between":"北美-南美","name":"巴拿马运河","lines":[[[-79.6,9.1],[-78.5,8.9],[-77.5,8.6]]]},{"between":"亚洲-北美","name":"白令海峡","lines":[[[-169.0,65.5],[-170.5,65.8],[-172.0,66.0]]]},{"between":"亚洲-大洋洲","name":"印尼群岛","lines":[[[120.0,-1.0],[125.0,-2.0],[130.0,-3.0]]]},{"between":"南极洲","name":"南极圈","lines":[[[-180.0,-66.5],[-170.0,-66.5],[-160.0,-66.5],[-150.0,-66.5],[-140.0,-66.5],[-130.0,-66.5],[-120.0,-66.5],[-110.0,-66.5],[-100.0,-66.5],[-90.0,-66.5],[-80.0,-66.5],[-70.0,-66.5],[-60.0,-66.5],[-50.0,-66.5],[-40.0,-66.5],[-30.0,-66.5],[-20.0,-66.5],[-10.0,-66.5],[0.0,-66.5],[10.0,-66.5],[20.0,-66.5],[30.0,-66.5],[40.0,-66.5],[50.0,-66.5],[60.0,-66.5],[70.0,-66.5],[80.0,-66.5],[90.0,-66.5],[100.0,-66.5],[110.0,-66.5],[120.0,-66.5],[130.0,-66.5],[140.0,-66.5],[150.0,-66.5],[160.0,-66.5],[170.0,-66.5],[180.0,-66.5]]]}]}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"lines":[[[179.999,-16.169],[179.564,-16.637],[179.568,-16.747],[179.93,-16.519],[179.928,-16.744],[179.419,-16.807],[179.202,-16.713],[179.007,-16.9],[178.707,-16.976],[178.604,-16.801],[178.497,-16.788],[178.584,-16.622],[178.805,-16.631],[178.961,-16.483],[179.552,-16.25],[179.999,-16.169]],[[143.179,-11.954],[143.11,-12.304],[143.402,-12.64],[143.587,-13.444],[143.548,-13.741],[143.756,-14.349],[143.962,-14.463],[144.473,-14.232],[144.648,-14.492],[145.288,-14.943],[145.272,-15.477],[145.458,-16.056],[145.426,-16.406],[145.755,-16.879],[145.912,-16.913],[146.126,-17.635],[146.032,-18.273],[146.333,-18.554],[146.297,-18.841],[146.383,-18.977],[147.139,-19.393],[147.419,-19.378],[147.742,-19.77],[148.759,-20.29],[148.885,-20.481],[148.73,-20.468],[148.684,-20.58],[149.205,-21.125],[149.329,-21.476],[149.454,-21.579],[149.704,-22.441],[149.822,-22.39],[149.974,-22.551],[149.942,-22.308],[150.021,-22.168],[150.541,-22.559],[150.623,-22.367],[150.764,-22.576],[150.843,-23.458],[151.154,-23.784],[151.832,-24.123],[152.13,-24.598],[152.456,-24.802],[152.654,-25.202],[152.913,-25.432],[152.921,-25.689],[153.165,-25.964],[153.084,-26.304],[153.117,-27.194],[153.576,-28.241],[153.617,-28.673],[153.605,-28.854],[153.348,-29.29],[153.272,-29.892],[153.031,-30.563],[152.944,-31.435],[152.559,-32.046],[152.47,-32.439],[152.137,-32.678],[152.164,-32.757],[151.813,-32.901],[151.432,-33.522],[151.292,-33.581],[151.28,-33.927],[151.125,-34.005],[151.232,-34.03],[150.871,-34.499],[150.805,-35.013],[150.567,-35.214],[150.195,-35.834],[149.96,-36.846],[149.933,-37.529],[149.481,-37.771],[148.262,-37.831],[147.877,-37.934],[146.857,-38.663],[146.217,-38.727],[146.337,-38.894],[146.467,-38.84],[146.484,-39.065],[146.4,-39.146],[146.158,-38.866],[145.935,-38.902],[145.791,-38.667],[145.397,-38.535],[145.542,-38.394],[145.476,-38.244],[145.293,-38.238],[144.96,-38.501],[144.718,-38.34],[144.911,-38.344],[145.12,-38.091],[144.891,-37.9],[144.396,-38.137],[144.665,-38.21],[143.539,-38.821],[142.456,-38.386],[141.725,-38.271],[141.594,-38.388],[141.424,-38.363],[141.011,-38.077],[140.39,-37.897],[139.784,-37.246],[139.738,-37.06],[139.857,-36.662],[139.729,-36.371],[139.466,-36.01],[138.969,-35.581],[139.178,-35.523],[139.289,-35.611],[139.283,-35.375],[138.522,-35.642],[138.184,-35.613],[138.511,-35.024],[138.49,-34.764],[138.089,-34.17],[137.692,-35.143],[136.884,-35.24],[137.014,-34.916],[137.391,-34.913],[137.494,-34.161],[137.932,-33.579],[137.852,-33.201],[137.993,-33.094],[137.783,-32.578],[137.791,-32.823],[137.442,-33.194],[137.237,-33.629],[136.431,-34.03],[135.891,-34.661],[135.97,-34.982],[135.792,-34.863],[135.648,-34.94],[135.231,-34.58],[135.123,-34.586],[135.217,-34.487],[135.45,-34.581],[135.219,-33.96],[134.889,-33.626],[134.719,-33.255],[134.301,-33.165],[134.1,-32.749],[134.227,-32.731],[134.234,-32.549],[133.665,-32.207],[133.212,-32.184],[132.757,-31.956],[132.215,-32.007],[131.721,-31.696],[131.144,-31.496],[130.783,-31.604],[130.13,-31.579],[128.946,-31.703],[127.32,-32.264],[125.917,-32.297],[124.759,-32.883],[124.244,-33.015],[123.868,-33.596],[123.507,-33.916],[123.208,-33.988],[122.778,-33.891],[122.151,-33.992],[122.061,-33.874],[121.405,-33.827],[119.854,-33.975],[119.635,-34.101],[119.451,-34.368],[118.895,-34.48],[118.136,-34.987],[117.863,-35.055],[116.517,-34.988],[115.987,-34.795],[115.565,-34.426],[115.009,-34.256],[114.994,-33.515],[115.182,-33.643],[115.359,-33.64],[115.515,-33.531],[115.683,-33.193],[115.619,-32.667],[115.725,-32.401],[115.698,-31.695],[115.078,-30.56],[114.857,-29.143],[114.165,-28.081],[114.028,-27.347],[113.185,-26.182],[113.323,-26.244],[113.356,-26.08],[113.582,-26.558],[113.734,-26.595],[113.836,-26.501],[113.853,-26.332],[113.589,-26.099],[113.395,-25.713],[113.451,-25.599],[113.713,-25.831],[113.724,-26.13],[113.854,-26.014],[113.992,-26.321],[114.09,-26.394],[114.216,-26.289],[114.214,-25.852],[113.418,-24.436],[113.49,-23.87],[113.757,-23.418],[113.795,-22.915],[113.683,-22.638],[114.023,-21.881],[114.124,-21.829],[114.142,-22.483],[114.378,-22.342],[114.709,-21.823],[115.456,-21.492],[116.011,-21.03],[116.707,-20.654],[117.406,-20.721],[118.199,-20.375],[118.751,-20.262],[119.104,-19.995],[119.586,-20.038],[120.434,-19.842],[120.998,-19.604],[121.338,-19.32],[121.834,-18.477],[122.345,-18.112],[122.147,-17.549],[122.261,-17.136],[122.72,-16.788],[122.971,-16.437],[123.563,-17.521],[123.594,-17.03],[123.831,-17.121],[123.874,-16.919],[123.49,-16.491],[123.626,-16.416],[123.607,-16.224],[123.729,-16.192],[123.859,-16.382],[124.044,-16.265],[124.3,-16.388],[124.772,-16.403],[124.405,-16.299],[124.416,-16.133],[124.577,-16.114],[124.649,-15.87],[124.648,-15.805],[124.504,-15.972],[124.382,-15.758],[124.44,-15.494],[124.562,-15.496],[124.693,-15.274],[125.063,-15.442],[125.073,-15.307],[124.909,-15.31],[124.839,-15.161],[125.038,-15.004],[125.356,-15.12],[125.384,-15.016],[125.243,-14.945],[125.179,-14.715],[125.285,-14.584],[125.58,-14.483],[125.628,-14.257],[125.705Line truncated
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"zones": "Zones",
|
|
||||||
"coast": "Continents",
|
|
||||||
"plates": "Plates",
|
|
||||||
"borders": "Borders",
|
|
||||||
"reset": "Reset"
|
|
||||||
}
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
{
|
|
||||||
"zones": "五带",
|
|
||||||
"coast": "大洲轮廓",
|
|
||||||
"plates": "板块",
|
|
||||||
"borders": "洲界",
|
|
||||||
"reset": "复位"
|
|
||||||
}
|
|
||||||
@@ -1,103 +0,0 @@
|
|||||||
{
|
|
||||||
"labels": [
|
|
||||||
{
|
|
||||||
"lat": 34,
|
|
||||||
"lon": 90,
|
|
||||||
"kind": "continent",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "亚洲",
|
|
||||||
"en": "Asia"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": 2,
|
|
||||||
"lon": 20,
|
|
||||||
"kind": "continent",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "非洲",
|
|
||||||
"en": "Africa"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": 48,
|
|
||||||
"lon": -100,
|
|
||||||
"kind": "continent",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "北美洲",
|
|
||||||
"en": "North America"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": -15,
|
|
||||||
"lon": -60,
|
|
||||||
"kind": "continent",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "南美洲",
|
|
||||||
"en": "South America"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": -78,
|
|
||||||
"lon": 20,
|
|
||||||
"kind": "continent",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "南极洲",
|
|
||||||
"en": "Antarctica"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": 52,
|
|
||||||
"lon": 18,
|
|
||||||
"kind": "continent",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "欧洲",
|
|
||||||
"en": "Europe"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": -24,
|
|
||||||
"lon": 134,
|
|
||||||
"kind": "continent",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "大洋洲",
|
|
||||||
"en": "Oceania"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": 0,
|
|
||||||
"lon": -155,
|
|
||||||
"kind": "ocean",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "太平洋",
|
|
||||||
"en": "Pacific Ocean"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": 12,
|
|
||||||
"lon": -30,
|
|
||||||
"kind": "ocean",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "大西洋",
|
|
||||||
"en": "Atlantic Ocean"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": -22,
|
|
||||||
"lon": 78,
|
|
||||||
"kind": "ocean",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "印度洋",
|
|
||||||
"en": "Indian Ocean"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"lat": 85,
|
|
||||||
"lon": 0,
|
|
||||||
"kind": "ocean",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "北冰洋",
|
|
||||||
"en": "Arctic Ocean"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
{"plates":[{"id":"pacific","lines":[[[-180,60],[-150,55],[-130,45],[-110,25],[-95,10],[-80,0],[-75,-15],[-90,-30],[-110,-45],[-130,-55],[-160,-60],[-180,-55],[-180,60]]]},{"id":"north-american","lines":[[[-168,72],[-140,70],[-120,60],[-100,50],[-80,45],[-60,42],[-52,28],[-62,12],[-82,8],[-95,16],[-110,25],[-130,45],[-150,55],[-168,72]]]},{"id":"south-american","lines":[[[-82,12],[-62,10],[-45,-2],[-35,-8],[-30,-20],[-40,-35],[-55,-42],[-70,-52],[-78,-40],[-80,-20],[-82,12]]]},{"id":"african","lines":[[[-20,35],[10,37],[32,32],[43,12],[51,10],[42,-8],[40,-25],[25,-35],[15,-30],[8,-5],[-8,5],[-17,15],[-20,35]]]},{"id":"eurasian","lines":[[[-10,36],[0,45],[15,55],[30,68],[60,72],[100,76],[140,70],[160,60],[140,42],[120,30],[100,20],[75,8],[60,22],[45,30],[30,32],[10,37],[-10,36]]]},{"id":"indo-australian","lines":[[[95,5],[115,10],[130,5],[145,-5],[150,-20],[145,-35],[130,-42],[115,-38],[105,-25],[95,-10],[95,5]]]},{"id":"antarctic","lines":[[[-180,-60],[-120,-62],[-60,-60],[0,-62],[60,-60],[120,-62],[180,-60],[180,-90],[-180,-90],[-180,-60]]]},{"id":"nazca","lines":[[[-95,-5],[-85,-10],[-75,-25],[-78,-40],[-90,-42],[-100,-30],[-95,-5]]]},{"id":"cocos","lines":[[[-105,10],[-95,12],[-90,5],[-100,2],[-105,10]]]},{"id":"caribbean","lines":[[[-88,15],[-75,18],[-62,15],[-60,8],[-72,6],[-85,8],[-88,15]]]},{"id":"philippine","lines":[[[118,20],[128,18],[130,8],[125,2],[118,8],[118,20]]]},{"id":"arabian","lines":[[[35,32],[48,30],[58,22],[55,12],[42,10],[35,20],[35,32]]]}]}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 83 KiB |
@@ -1,88 +0,0 @@
|
|||||||
{
|
|
||||||
"schemaVersion": 1,
|
|
||||||
"type": "geography",
|
|
||||||
"defaultView": "zones",
|
|
||||||
"views": [
|
|
||||||
"zones",
|
|
||||||
"coast",
|
|
||||||
"plates"
|
|
||||||
],
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球地理",
|
|
||||||
"en": "Earth Geography"
|
|
||||||
},
|
|
||||||
"descriptionI18n": {
|
|
||||||
"zh-CN": "五带划分 · 七大洲四大洋 · 六大板块与洲界",
|
|
||||||
"en": "Climate zones · continents & oceans · plates & borders"
|
|
||||||
},
|
|
||||||
"tropicDeg": 23.5,
|
|
||||||
"axialTiltDeg": 23.5,
|
|
||||||
"oceanColor": "#0E2A4A",
|
|
||||||
"zones": [
|
|
||||||
{
|
|
||||||
"id": "torrid",
|
|
||||||
"latMin": -23.5,
|
|
||||||
"latMax": 23.5,
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "热带",
|
|
||||||
"en": "Torrid zone"
|
|
||||||
},
|
|
||||||
"descI18n": {
|
|
||||||
"zh-CN": "南北回归线之间,有太阳直射,终年高温。",
|
|
||||||
"en": "Between the tropics; the Sun is overhead at some time each year."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "north-temperate",
|
|
||||||
"latMin": 23.5,
|
|
||||||
"latMax": 66.5,
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "北温带",
|
|
||||||
"en": "North temperate"
|
|
||||||
},
|
|
||||||
"descI18n": {
|
|
||||||
"zh-CN": "北回归线与北极圈之间,四季分明,无直射也无极昼极夜。",
|
|
||||||
"en": "Between Tropic of Cancer and Arctic Circle; four distinct seasons."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "south-temperate",
|
|
||||||
"latMin": -66.5,
|
|
||||||
"latMax": -23.5,
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "南温带",
|
|
||||||
"en": "South temperate"
|
|
||||||
},
|
|
||||||
"descI18n": {
|
|
||||||
"zh-CN": "南回归线与南极圈之间,四季分明。",
|
|
||||||
"en": "Between Tropic of Capricorn and Antarctic Circle; four seasons."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "north-frigid",
|
|
||||||
"latMin": 66.5,
|
|
||||||
"latMax": 90,
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "北寒带",
|
|
||||||
"en": "North frigid zone"
|
|
||||||
},
|
|
||||||
"descI18n": {
|
|
||||||
"zh-CN": "北极圈以北,有极昼极夜,终年寒冷。",
|
|
||||||
"en": "North of the Arctic Circle; polar day/night, always cold."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"id": "south-frigid",
|
|
||||||
"latMin": -90,
|
|
||||||
"latMax": -66.5,
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "南寒带",
|
|
||||||
"en": "South frigid zone"
|
|
||||||
},
|
|
||||||
"descI18n": {
|
|
||||||
"zh-CN": "南极圈以南,有极昼极夜,终年寒冷。",
|
|
||||||
"en": "South of the Antarctic Circle; polar day/night, always cold."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
{
|
|
||||||
"schemaVersion": 1,
|
|
||||||
"id": "earth-revolution",
|
|
||||||
"name": "Earth Revolution",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球公转",
|
|
||||||
"en": "Earth Revolution"
|
|
||||||
},
|
|
||||||
"author": "NeoRF",
|
|
||||||
"description": "四季更替、黄赤交角与二分二至",
|
|
||||||
"descriptionI18n": {
|
|
||||||
"zh-CN": "地球绕太阳公转一年:地轴指向不变,太阳直射点南北往返,形成四季。",
|
|
||||||
"en": "One year around the Sun: the fixed axial direction moves the subsolar point and creates the seasons."
|
|
||||||
},
|
|
||||||
"tags": [
|
|
||||||
"astronomy",
|
|
||||||
"geography",
|
|
||||||
"revolution"
|
|
||||||
],
|
|
||||||
"entry": "scene.json",
|
|
||||||
"license": "MIT",
|
|
||||||
"assembly": "EarthRevolutionModel.dll",
|
|
||||||
"type": "NeoRF.EarthModels.RevolutionModelFactory",
|
|
||||||
"preview": "preview.png",
|
|
||||||
"apiVersion": 1,
|
|
||||||
"version": "1.0",
|
|
||||||
"updatedAt": "2026-11-08T09:22:29Z",
|
|
||||||
"build": "a24be3664d"
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"title": "Earth Revolution",
|
|
||||||
"view.rotation": "Rotation",
|
|
||||||
"view.revolution": "Revolution",
|
|
||||||
"play": "Play",
|
|
||||||
"pause": "Pause",
|
|
||||||
"speed": "Speed",
|
|
||||||
"reset": "Reset",
|
|
||||||
"labels": "Labels",
|
|
||||||
"orbit": "Orbit",
|
|
||||||
"grid": "Graticule",
|
|
||||||
"tilt": "Exaggerate tilt",
|
|
||||||
"lessons": "Teaching notes",
|
|
||||||
"seasons": "Solstices & equinoxes",
|
|
||||||
"close": "Close window",
|
|
||||||
"loading": "Preparing scene…",
|
|
||||||
"subsolar": "Subsolar point",
|
|
||||||
"north": "North pole",
|
|
||||||
"south": "South pole",
|
|
||||||
"northShort": "N",
|
|
||||||
"southShort": "S",
|
|
||||||
"sun": "Sun",
|
|
||||||
"earth": "Earth",
|
|
||||||
"spinInfo": "Rotation {0}° · period {1} h",
|
|
||||||
"orbitInfo": "Orbit {0}°",
|
|
||||||
"declinationInfo": "Subsolar {0}",
|
|
||||||
"dateInfo": "Date {0}",
|
|
||||||
"season.springEquinox": "Spring equinox",
|
|
||||||
"season.summerSolstice": "Summer solstice",
|
|
||||||
"season.autumnEquinox": "Autumn equinox",
|
|
||||||
"season.winterSolstice": "Winter solstice",
|
|
||||||
"hint": "Pinch or scroll to zoom · drag to turn the Earth"
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"title": "地球自转",
|
|
||||||
"view.rotation": "自转",
|
|
||||||
"view.revolution": "公转",
|
|
||||||
"play": "播放",
|
|
||||||
"pause": "暂停",
|
|
||||||
"speed": "速度",
|
|
||||||
"reset": "重置",
|
|
||||||
"labels": "标注",
|
|
||||||
"orbit": "轨道",
|
|
||||||
"grid": "经纬网",
|
|
||||||
"tilt": "夸张倾角",
|
|
||||||
"lessons": "教学要点",
|
|
||||||
"seasons": "节气定位",
|
|
||||||
"close": "关闭窗口",
|
|
||||||
"loading": "正在准备场景…",
|
|
||||||
"subsolar": "太阳直射点",
|
|
||||||
"north": "北极",
|
|
||||||
"south": "南极",
|
|
||||||
"northShort": "N",
|
|
||||||
"southShort": "S",
|
|
||||||
"sun": "太阳",
|
|
||||||
"earth": "地球",
|
|
||||||
"spinInfo": "自转 {0}° · 周期 {1} 小时",
|
|
||||||
"orbitInfo": "公转 {0}°",
|
|
||||||
"declinationInfo": "太阳直射 {0}",
|
|
||||||
"dateInfo": "日期 {0}",
|
|
||||||
"season.springEquinox": "春分",
|
|
||||||
"season.summerSolstice": "夏至",
|
|
||||||
"season.autumnEquinox": "秋分",
|
|
||||||
"season.winterSolstice": "冬至",
|
|
||||||
"hint": "双指捏合或滚轮缩放 · 拖动可转动地球"
|
|
||||||
}
|
|
||||||
@@ -1,98 +0,0 @@
|
|||||||
{
|
|
||||||
"schema": 1,
|
|
||||||
"note": "简化大陆轮廓(经度,纬度),用于教学演示,非测绘精度",
|
|
||||||
"polygons": [
|
|
||||||
{
|
|
||||||
"name": "north-america",
|
|
||||||
"points": [[-168,66],[-164,70],[-155,71],[-145,70],[-133,69],[-120,69],[-110,68],[-100,69],[-92,68],[-85,70],[-80,73],[-72,71],[-64,66],[-60,60],[-56,52],[-60,47],[-66,45],[-70,42],[-74,40],[-76,35],[-81,31],[-80,25],[-83,29],[-88,30],[-94,29],[-97,26],[-97,21],[-92,19],[-87,21],[-88,16],[-83,9],[-78,9],[-84,14],[-90,14],[-96,16],[-105,20],[-112,25],[-117,32],[-122,37],[-124,42],[-125,48],[-131,54],[-140,59],[-150,59],[-158,56],[-165,60],[-166,64]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "greenland",
|
|
||||||
"points": [[-45,60],[-52,64],[-55,68],[-60,72],[-63,76],[-56,80],[-42,82],[-28,80],[-21,74],[-23,70],[-31,66],[-38,62]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "south-america",
|
|
||||||
"points": [[-78,8],[-72,11],[-64,10],[-60,8],[-52,5],[-50,0],[-44,-2],[-38,-5],[-35,-8],[-39,-13],[-41,-22],[-48,-25],[-53,-34],[-57,-38],[-62,-40],[-65,-45],[-68,-50],[-70,-55],[-75,-52],[-74,-45],[-73,-37],[-71,-30],[-70,-23],[-70,-18],[-76,-14],[-81,-6],[-80,-2],[-79,2],[-77,6]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "africa",
|
|
||||||
"points": [[-17,15],[-16,20],[-13,28],[-9,32],[-5,36],[10,37],[20,32],[32,31],[35,28],[39,15],[43,11],[51,12],[48,2],[41,-2],[40,-10],[35,-18],[32,-25],[27,-33],[20,-35],[15,-28],[12,-17],[9,-1],[5,4],[-4,5],[-8,4],[-13,8],[-16,12]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "europe",
|
|
||||||
"points": [[-9,38],[-9,43],[-2,44],[0,48],[2,51],[5,53],[8,54],[9,57],[12,56],[13,54],[20,54],[21,57],[24,58],[28,60],[30,60],[29,64],[25,66],[22,69],[30,70],[40,68],[46,66],[55,68],[60,70],[68,68],[62,62],[58,56],[52,50],[48,46],[40,45],[36,44],[30,45],[28,41],[24,40],[23,37],[19,40],[16,41],[12,44],[7,44],[3,42],[-2,37]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "asia",
|
|
||||||
"points": [[60,70],[75,73],[90,75],[105,77],[115,74],[130,73],[145,72],[160,70],[170,68],[180,65],[172,62],[163,58],[155,52],[143,54],[137,50],[130,43],[126,40],[122,40],[120,36],[122,31],[118,25],[110,21],[105,10],[100,13],[98,8],[95,17],[90,22],[88,21],[80,16],[77,8],[73,18],[68,23],[62,25],[57,24],[52,28],[48,30],[44,13],[43,17],[39,21],[35,28],[34,31],[36,36],[30,41],[28,41],[30,45],[34,45],[40,45],[48,46],[52,50],[58,56],[62,62],[68,68]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "australia",
|
|
||||||
"points": [[113,-22],[114,-27],[116,-35],[129,-32],[138,-35],[146,-39],[150,-37],[153,-28],[146,-19],[142,-11],[132,-11],[126,-14],[122,-18]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "antarctica",
|
|
||||||
"points": [[-180,-72],[-150,-76],[-120,-74],[-90,-73],[-60,-64],[-30,-70],[0,-70],[30,-69],[60,-67],[90,-66],[120,-66],[150,-70],[180,-72],[180,-90],[-180,-90]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "madagascar",
|
|
||||||
"points": [[43,-12],[50,-15],[50,-25],[45,-25],[43,-20]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "japan",
|
|
||||||
"points": [[130,32],[136,35],[141,40],[145,44],[142,39],[137,34],[133,33]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "britain",
|
|
||||||
"points": [[-6,50],[-2,53],[-2,58],[-5,58],[-6,54]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ireland",
|
|
||||||
"points": [[-10,52],[-6,53],[-6,55],[-10,55]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "iceland",
|
|
||||||
"points": [[-24,65],[-14,66],[-14,64],[-22,63]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "new-zealand",
|
|
||||||
"points": [[166,-46],[170,-44],[174,-41],[177,-38],[174,-35],[170,-38],[167,-42]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sumatra",
|
|
||||||
"points": [[95,5],[100,1],[105,-6],[100,-4],[96,2]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "java",
|
|
||||||
"points": [[105,-6],[114,-8],[114,-9],[106,-7]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "borneo",
|
|
||||||
"points": [[109,2],[117,4],[119,-2],[115,-4],[110,-2]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sulawesi",
|
|
||||||
"points": [[119,1],[125,1],[123,-5],[120,-3]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "new-guinea",
|
|
||||||
"points": [[131,-1],[141,-3],[150,-6],[147,-9],[140,-9],[134,-5]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sri-lanka",
|
|
||||||
"points": [[80,9],[82,7],[81,6],[79,7]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "philippines",
|
|
||||||
"points": [[120,18],[124,13],[126,8],[122,6],[120,12]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cuba",
|
|
||||||
"points": [[-85,22],[-77,20],[-74,20],[-80,23]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "taiwan",
|
|
||||||
"points": [[120,25],[122,24],[121,22],[120,23]]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 67 KiB |
@@ -1,139 +0,0 @@
|
|||||||
{
|
|
||||||
"schemaVersion": 1,
|
|
||||||
"type": "planet",
|
|
||||||
"defaultView": "revolution",
|
|
||||||
"views": [
|
|
||||||
"revolution"
|
|
||||||
],
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球公转",
|
|
||||||
"en": "Earth Revolution"
|
|
||||||
},
|
|
||||||
"descriptionI18n": {
|
|
||||||
"zh-CN": "地球绕太阳公转一年:地轴指向不变,太阳直射点南北往返,形成四季。",
|
|
||||||
"en": "One year around the Sun: the fixed axial direction moves the subsolar point and creates the seasons."
|
|
||||||
},
|
|
||||||
"star": {
|
|
||||||
"name": "Sun",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "太阳",
|
|
||||||
"en": "Sun"
|
|
||||||
},
|
|
||||||
"color": "#FFC24B",
|
|
||||||
"radiusScale": 0.5
|
|
||||||
},
|
|
||||||
"planet": {
|
|
||||||
"name": "Earth",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球",
|
|
||||||
"en": "Earth"
|
|
||||||
},
|
|
||||||
"axialTiltDeg": 23.5,
|
|
||||||
"tropicDeg": 23.5,
|
|
||||||
"rotationHours": 23.93,
|
|
||||||
"orbitDays": 365.26,
|
|
||||||
"oceanColor": "#1C5FA8",
|
|
||||||
"landColor": "#4E8C4C",
|
|
||||||
"iceColor": "#E9EFF6",
|
|
||||||
"landFile": "land.json",
|
|
||||||
"showGraticule": false
|
|
||||||
},
|
|
||||||
"orbit": {
|
|
||||||
"semiMajorAxis": 4.0,
|
|
||||||
"eccentricity": 0.0167,
|
|
||||||
"show": true,
|
|
||||||
"seasonLayout": "springTopSummerLeft",
|
|
||||||
"seasons": [
|
|
||||||
{
|
|
||||||
"angleDeg": 0,
|
|
||||||
"key": "season.springEquinox",
|
|
||||||
"date": "3/21",
|
|
||||||
"declinationDeg": 0,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳直射赤道,全球昼夜平分。此后直射点由赤道向北移动。",
|
|
||||||
"en": "The Sun is overhead at the equator and day equals night everywhere. The subsolar point now moves north."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"angleDeg": 90,
|
|
||||||
"key": "season.summerSolstice",
|
|
||||||
"date": "6/22",
|
|
||||||
"declinationDeg": 23.5,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳直射北回归线 23.5°N。北半球昼最长、夜最短,北极圈内出现极昼。",
|
|
||||||
"en": "The Sun is overhead at the Tropic of Cancer (23.5°N). The northern hemisphere has its longest day."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"angleDeg": 180,
|
|
||||||
"key": "season.autumnEquinox",
|
|
||||||
"date": "9/23",
|
|
||||||
"declinationDeg": 0,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳再次直射赤道,全球昼夜平分。此后直射点向南移动。",
|
|
||||||
"en": "The Sun is overhead at the equator again. The subsolar point now moves south."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"angleDeg": 270,
|
|
||||||
"key": "season.winterSolstice",
|
|
||||||
"date": "12/22",
|
|
||||||
"declinationDeg": -23.5,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳直射南回归线 23.5°S。北半球昼最短、夜最长,北极圈内出现极夜。",
|
|
||||||
"en": "The Sun is overhead at the Tropic of Capricorn (23.5°S). The northern hemisphere has its shortest day."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"lessons": [
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "一年绕太阳一圈",
|
|
||||||
"en": "One lap per year"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "公转方向与自转相同,周期约 365.26 天;轨道接近圆形。",
|
|
||||||
"en": "The orbit takes about 365.26 days and runs the same direction as the spin."
|
|
||||||
},
|
|
||||||
"view": "revolution",
|
|
||||||
"angleDeg": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "地轴指向不变",
|
|
||||||
"en": "The axis keeps its direction"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "公转过程中地轴始终指向北极星附近,黄赤交角 23.5° 保持不变。",
|
|
||||||
"en": "During the whole orbit the axis keeps pointing near Polaris, so the 23.5° tilt stays fixed in space."
|
|
||||||
},
|
|
||||||
"view": "revolution",
|
|
||||||
"angleDeg": 90
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "夏至与冬至",
|
|
||||||
"en": "Solstices"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "夏至太阳直射北回归线 23.5°N,北半球昼最长;冬至直射南回归线 23.5°S。",
|
|
||||||
"en": "At the June solstice the Sun is overhead at 23.5°N; at the December solstice at 23.5°S."
|
|
||||||
},
|
|
||||||
"view": "revolution",
|
|
||||||
"angleDeg": 90
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "春分与秋分",
|
|
||||||
"en": "Equinoxes"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "春分、秋分太阳直射赤道,全球昼夜平分,是四季的转折点。",
|
|
||||||
"en": "At the equinoxes the Sun is overhead at the equator and day equals night everywhere."
|
|
||||||
},
|
|
||||||
"view": "revolution",
|
|
||||||
"angleDeg": 180
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,29 +0,0 @@
|
|||||||
{
|
|
||||||
"schemaVersion": 1,
|
|
||||||
"id": "earth-rotation",
|
|
||||||
"name": "Earth Rotation",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球自转",
|
|
||||||
"en": "Earth Rotation"
|
|
||||||
},
|
|
||||||
"author": "NeoRF",
|
|
||||||
"description": "昼夜交替、晨昏线与太阳直射点",
|
|
||||||
"descriptionI18n": {
|
|
||||||
"zh-CN": "观察自转中的地球:昼夜半球、晨昏线与太阳直射点位置。",
|
|
||||||
"en": "Watch a rotating Earth: day/night hemispheres, terminator and the subsolar point."
|
|
||||||
},
|
|
||||||
"tags": [
|
|
||||||
"astronomy",
|
|
||||||
"geography",
|
|
||||||
"rotation"
|
|
||||||
],
|
|
||||||
"entry": "scene.json",
|
|
||||||
"license": "MIT",
|
|
||||||
"assembly": "EarthRotationModel.dll",
|
|
||||||
"type": "NeoRF.EarthModels.RotationModelFactory",
|
|
||||||
"preview": "preview.png",
|
|
||||||
"apiVersion": 1,
|
|
||||||
"version": "1.0",
|
|
||||||
"updatedAt": "2026-11-08T09:22:29Z",
|
|
||||||
"build": "0bd5b4507c"
|
|
||||||
}
|
|
||||||
Binary file not shown.
@@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"title": "Earth Rotation",
|
|
||||||
"view.rotation": "Rotation",
|
|
||||||
"view.revolution": "Revolution",
|
|
||||||
"play": "Play",
|
|
||||||
"pause": "Pause",
|
|
||||||
"speed": "Speed",
|
|
||||||
"reset": "Reset",
|
|
||||||
"labels": "Labels",
|
|
||||||
"orbit": "Orbit",
|
|
||||||
"grid": "Graticule",
|
|
||||||
"tilt": "Exaggerate tilt",
|
|
||||||
"lessons": "Teaching notes",
|
|
||||||
"seasons": "Solstices & equinoxes",
|
|
||||||
"close": "Close window",
|
|
||||||
"loading": "Preparing scene…",
|
|
||||||
"subsolar": "Subsolar point",
|
|
||||||
"north": "North pole",
|
|
||||||
"south": "South pole",
|
|
||||||
"northShort": "N",
|
|
||||||
"southShort": "S",
|
|
||||||
"sun": "Sun",
|
|
||||||
"earth": "Earth",
|
|
||||||
"spinInfo": "Rotation {0}° · period {1} h",
|
|
||||||
"orbitInfo": "Orbit {0}°",
|
|
||||||
"declinationInfo": "Subsolar {0}",
|
|
||||||
"dateInfo": "Date {0}",
|
|
||||||
"season.springEquinox": "Spring equinox",
|
|
||||||
"season.summerSolstice": "Summer solstice",
|
|
||||||
"season.autumnEquinox": "Autumn equinox",
|
|
||||||
"season.winterSolstice": "Winter solstice",
|
|
||||||
"hint": "Pinch or scroll to zoom · drag to turn the Earth"
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
{
|
|
||||||
"title": "地球自转",
|
|
||||||
"view.rotation": "自转",
|
|
||||||
"view.revolution": "公转",
|
|
||||||
"play": "播放",
|
|
||||||
"pause": "暂停",
|
|
||||||
"speed": "速度",
|
|
||||||
"reset": "重置",
|
|
||||||
"labels": "标注",
|
|
||||||
"orbit": "轨道",
|
|
||||||
"grid": "经纬网",
|
|
||||||
"tilt": "夸张倾角",
|
|
||||||
"lessons": "教学要点",
|
|
||||||
"seasons": "节气定位",
|
|
||||||
"close": "关闭窗口",
|
|
||||||
"loading": "正在准备场景…",
|
|
||||||
"subsolar": "太阳直射点",
|
|
||||||
"north": "北极",
|
|
||||||
"south": "南极",
|
|
||||||
"northShort": "N",
|
|
||||||
"southShort": "S",
|
|
||||||
"sun": "太阳",
|
|
||||||
"earth": "地球",
|
|
||||||
"spinInfo": "自转 {0}° · 周期 {1} 小时",
|
|
||||||
"orbitInfo": "公转 {0}°",
|
|
||||||
"declinationInfo": "太阳直射 {0}",
|
|
||||||
"dateInfo": "日期 {0}",
|
|
||||||
"season.springEquinox": "春分",
|
|
||||||
"season.summerSolstice": "夏至",
|
|
||||||
"season.autumnEquinox": "秋分",
|
|
||||||
"season.winterSolstice": "冬至",
|
|
||||||
"hint": "双指捏合或滚轮缩放 · 拖动可转动地球"
|
|
||||||
}
|
|
||||||
@@ -1,98 +0,0 @@
|
|||||||
{
|
|
||||||
"schema": 1,
|
|
||||||
"note": "简化大陆轮廓(经度,纬度),用于教学演示,非测绘精度",
|
|
||||||
"polygons": [
|
|
||||||
{
|
|
||||||
"name": "north-america",
|
|
||||||
"points": [[-168,66],[-164,70],[-155,71],[-145,70],[-133,69],[-120,69],[-110,68],[-100,69],[-92,68],[-85,70],[-80,73],[-72,71],[-64,66],[-60,60],[-56,52],[-60,47],[-66,45],[-70,42],[-74,40],[-76,35],[-81,31],[-80,25],[-83,29],[-88,30],[-94,29],[-97,26],[-97,21],[-92,19],[-87,21],[-88,16],[-83,9],[-78,9],[-84,14],[-90,14],[-96,16],[-105,20],[-112,25],[-117,32],[-122,37],[-124,42],[-125,48],[-131,54],[-140,59],[-150,59],[-158,56],[-165,60],[-166,64]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "greenland",
|
|
||||||
"points": [[-45,60],[-52,64],[-55,68],[-60,72],[-63,76],[-56,80],[-42,82],[-28,80],[-21,74],[-23,70],[-31,66],[-38,62]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "south-america",
|
|
||||||
"points": [[-78,8],[-72,11],[-64,10],[-60,8],[-52,5],[-50,0],[-44,-2],[-38,-5],[-35,-8],[-39,-13],[-41,-22],[-48,-25],[-53,-34],[-57,-38],[-62,-40],[-65,-45],[-68,-50],[-70,-55],[-75,-52],[-74,-45],[-73,-37],[-71,-30],[-70,-23],[-70,-18],[-76,-14],[-81,-6],[-80,-2],[-79,2],[-77,6]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "africa",
|
|
||||||
"points": [[-17,15],[-16,20],[-13,28],[-9,32],[-5,36],[10,37],[20,32],[32,31],[35,28],[39,15],[43,11],[51,12],[48,2],[41,-2],[40,-10],[35,-18],[32,-25],[27,-33],[20,-35],[15,-28],[12,-17],[9,-1],[5,4],[-4,5],[-8,4],[-13,8],[-16,12]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "europe",
|
|
||||||
"points": [[-9,38],[-9,43],[-2,44],[0,48],[2,51],[5,53],[8,54],[9,57],[12,56],[13,54],[20,54],[21,57],[24,58],[28,60],[30,60],[29,64],[25,66],[22,69],[30,70],[40,68],[46,66],[55,68],[60,70],[68,68],[62,62],[58,56],[52,50],[48,46],[40,45],[36,44],[30,45],[28,41],[24,40],[23,37],[19,40],[16,41],[12,44],[7,44],[3,42],[-2,37]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "asia",
|
|
||||||
"points": [[60,70],[75,73],[90,75],[105,77],[115,74],[130,73],[145,72],[160,70],[170,68],[180,65],[172,62],[163,58],[155,52],[143,54],[137,50],[130,43],[126,40],[122,40],[120,36],[122,31],[118,25],[110,21],[105,10],[100,13],[98,8],[95,17],[90,22],[88,21],[80,16],[77,8],[73,18],[68,23],[62,25],[57,24],[52,28],[48,30],[44,13],[43,17],[39,21],[35,28],[34,31],[36,36],[30,41],[28,41],[30,45],[34,45],[40,45],[48,46],[52,50],[58,56],[62,62],[68,68]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "australia",
|
|
||||||
"points": [[113,-22],[114,-27],[116,-35],[129,-32],[138,-35],[146,-39],[150,-37],[153,-28],[146,-19],[142,-11],[132,-11],[126,-14],[122,-18]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "antarctica",
|
|
||||||
"points": [[-180,-72],[-150,-76],[-120,-74],[-90,-73],[-60,-64],[-30,-70],[0,-70],[30,-69],[60,-67],[90,-66],[120,-66],[150,-70],[180,-72],[180,-90],[-180,-90]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "madagascar",
|
|
||||||
"points": [[43,-12],[50,-15],[50,-25],[45,-25],[43,-20]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "japan",
|
|
||||||
"points": [[130,32],[136,35],[141,40],[145,44],[142,39],[137,34],[133,33]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "britain",
|
|
||||||
"points": [[-6,50],[-2,53],[-2,58],[-5,58],[-6,54]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ireland",
|
|
||||||
"points": [[-10,52],[-6,53],[-6,55],[-10,55]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "iceland",
|
|
||||||
"points": [[-24,65],[-14,66],[-14,64],[-22,63]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "new-zealand",
|
|
||||||
"points": [[166,-46],[170,-44],[174,-41],[177,-38],[174,-35],[170,-38],[167,-42]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sumatra",
|
|
||||||
"points": [[95,5],[100,1],[105,-6],[100,-4],[96,2]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "java",
|
|
||||||
"points": [[105,-6],[114,-8],[114,-9],[106,-7]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "borneo",
|
|
||||||
"points": [[109,2],[117,4],[119,-2],[115,-4],[110,-2]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sulawesi",
|
|
||||||
"points": [[119,1],[125,1],[123,-5],[120,-3]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "new-guinea",
|
|
||||||
"points": [[131,-1],[141,-3],[150,-6],[147,-9],[140,-9],[134,-5]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "sri-lanka",
|
|
||||||
"points": [[80,9],[82,7],[81,6],[79,7]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "philippines",
|
|
||||||
"points": [[120,18],[124,13],[126,8],[122,6],[120,12]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "cuba",
|
|
||||||
"points": [[-85,22],[-77,20],[-74,20],[-80,23]]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "taiwan",
|
|
||||||
"points": [[120,25],[122,24],[121,22],[120,23]]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 178 KiB |
@@ -1,138 +0,0 @@
|
|||||||
{
|
|
||||||
"schemaVersion": 1,
|
|
||||||
"type": "planet",
|
|
||||||
"defaultView": "rotation",
|
|
||||||
"views": [
|
|
||||||
"rotation"
|
|
||||||
],
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球自转",
|
|
||||||
"en": "Earth Rotation"
|
|
||||||
},
|
|
||||||
"descriptionI18n": {
|
|
||||||
"zh-CN": "观察自转中的地球:昼夜半球、晨昏线与太阳直射点位置。",
|
|
||||||
"en": "Watch a rotating Earth: day/night hemispheres, terminator and the subsolar point."
|
|
||||||
},
|
|
||||||
"star": {
|
|
||||||
"name": "Sun",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "太阳",
|
|
||||||
"en": "Sun"
|
|
||||||
},
|
|
||||||
"color": "#FFC24B",
|
|
||||||
"radiusScale": 0.5
|
|
||||||
},
|
|
||||||
"planet": {
|
|
||||||
"name": "Earth",
|
|
||||||
"nameI18n": {
|
|
||||||
"zh-CN": "地球",
|
|
||||||
"en": "Earth"
|
|
||||||
},
|
|
||||||
"axialTiltDeg": 23.5,
|
|
||||||
"tropicDeg": 23.5,
|
|
||||||
"rotationHours": 23.93,
|
|
||||||
"orbitDays": 365.26,
|
|
||||||
"oceanColor": "#1C5FA8",
|
|
||||||
"landColor": "#4E8C4C",
|
|
||||||
"iceColor": "#E9EFF6",
|
|
||||||
"landFile": "land.json",
|
|
||||||
"showGraticule": true
|
|
||||||
},
|
|
||||||
"orbit": {
|
|
||||||
"semiMajorAxis": 4.0,
|
|
||||||
"eccentricity": 0.0167,
|
|
||||||
"show": true,
|
|
||||||
"seasons": [
|
|
||||||
{
|
|
||||||
"angleDeg": 0,
|
|
||||||
"key": "season.springEquinox",
|
|
||||||
"date": "3/21",
|
|
||||||
"declinationDeg": 0,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳直射赤道,全球昼夜平分。",
|
|
||||||
"en": "The Sun is overhead at the equator and day equals night everywhere."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"angleDeg": 90,
|
|
||||||
"key": "season.summerSolstice",
|
|
||||||
"date": "6/22",
|
|
||||||
"declinationDeg": 23.5,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳直射北回归线 23.5°N,北半球昼最长。",
|
|
||||||
"en": "The Sun is overhead at 23.5°N; the northern hemisphere has its longest day."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"angleDeg": 180,
|
|
||||||
"key": "season.autumnEquinox",
|
|
||||||
"date": "9/23",
|
|
||||||
"declinationDeg": 0,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳直射赤道,全球昼夜平分。",
|
|
||||||
"en": "The Sun is overhead at the equator and day equals night everywhere."
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"angleDeg": 270,
|
|
||||||
"key": "season.winterSolstice",
|
|
||||||
"date": "12/22",
|
|
||||||
"declinationDeg": -23.5,
|
|
||||||
"teachingI18n": {
|
|
||||||
"zh-CN": "太阳直射南回归线 23.5°S,北半球昼最短。",
|
|
||||||
"en": "The Sun is overhead at 23.5°S; the northern hemisphere has its shortest day."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"lessons": [
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "自西向东的自转",
|
|
||||||
"en": "Rotation from west to east"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "从北极上空看,地球逆时针转动;转一圈用 23 小时 56 分 4 秒。",
|
|
||||||
"en": "Seen from above the north pole the Earth turns counter-clockwise, once every 23 h 56 min."
|
|
||||||
},
|
|
||||||
"view": "rotation",
|
|
||||||
"angleDeg": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "昼夜交替",
|
|
||||||
"en": "Day and night"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "晨昏线(白色虚线)把地球分成昼半球与夜半球,交替周期 24 小时。",
|
|
||||||
"en": "The terminator (white dashes) splits the lit and dark hemispheres; one cycle takes 24 h."
|
|
||||||
},
|
|
||||||
"view": "rotation",
|
|
||||||
"angleDeg": 60
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "太阳直射点",
|
|
||||||
"en": "Subsolar point"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "黄色圆环标出太阳光垂直照射的位置,它随季节在南北回归线之间往返。",
|
|
||||||
"en": "The yellow ring marks where sunlight strikes vertically — it drifts between the tropics over a year."
|
|
||||||
},
|
|
||||||
"view": "rotation",
|
|
||||||
"angleDeg": 120
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"titleI18n": {
|
|
||||||
"zh-CN": "地轴倾斜 23.5°",
|
|
||||||
"en": "Axial tilt 23.5°"
|
|
||||||
},
|
|
||||||
"bodyI18n": {
|
|
||||||
"zh-CN": "地轴与黄道面法线成 23.5°,倾斜方向不变,这是四季与五带划分的根本原因。",
|
|
||||||
"en": "The axis is tilted 23.5° from the ecliptic normal and keeps its direction — the root cause of seasons."
|
|
||||||
},
|
|
||||||
"view": "rotation",
|
|
||||||
"angleDeg": 200
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
"language": "auto",
|
|
||||||
"theme": "light",
|
|
||||||
"renderFps": 120,
|
|
||||||
"memoryMb": 2048,
|
|
||||||
"memoryAuto": true,
|
|
||||||
"checkSourceOnStartup": false,
|
|
||||||
"sources": [
|
|
||||||
{
|
|
||||||
"id": "gitcode-official",
|
|
||||||
"name": "Morris GC (GitCode)",
|
|
||||||
"url": "https://gitcode.com/2509_92447106/GC",
|
|
||||||
"enabled": true,
|
|
||||||
"builtIn": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"recentModels": [],
|
|
||||||
"autoUpdateOnStartup": true,
|
|
||||||
"updateRepository": "https://gitcode.com/2509_92447106/GC",
|
|
||||||
"installedModelVersions": {}
|
|
||||||
}
|
|
||||||
+8
-3
@@ -1,15 +1,20 @@
|
|||||||
|
bin/
|
||||||
|
obj/
|
||||||
|
build/
|
||||||
|
.GC/
|
||||||
|
*.user
|
||||||
|
.DS_Store
|
||||||
|
.vs/
|
||||||
.venv/
|
.venv/
|
||||||
venv/
|
venv/
|
||||||
env/
|
env/
|
||||||
.idea/
|
.idea/
|
||||||
.vscode/
|
.vscode/
|
||||||
.DS_Store
|
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.pyc
|
*.pyc
|
||||||
*.pyo
|
*.pyo
|
||||||
*.log
|
*.log
|
||||||
node_modules/
|
node_modules/
|
||||||
dist/
|
|
||||||
build/
|
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
.mypy_cache/
|
.mypy_cache/
|
||||||
|
dist/
|
||||||
@@ -0,0 +1,40 @@
|
|||||||
|
# 2026-11-07
|
||||||
|
|
||||||
|
## Earth Model Studio(新建项目)
|
||||||
|
- 用户要求:C#/.NET8(可切10),多目录结构(曾要求 gradle 命名,后明确改为标准 .NET 命名,勿再用 gradle 字样)
|
||||||
|
- 结构:src/main/dotnet + src/test/dotnet + src/main/resources + model/ + examples/ + dist/ + Directory.Build.props + build.sh/build.ps1
|
||||||
|
- 三平台一次性编译:`./build.sh publish` → dist/{mac-arm64(.app),win-x64,win-arm64},自包含单文件 + 内置 model/ + examples/
|
||||||
|
- 技术栈:Avalonia 11.3.9 + CommunityToolkit.Mvvm 8.2.2(本地 NuGet 已缓存);纯 CPU 球面像素渲染(SphereRaster + CelestialView)
|
||||||
|
- 模型格式:model/<id>/<id>.json + <id>.model/scene.json + land.json;模型源=git 仓库根的 model/ 目录(支持 github/gitlab/gitee zip 归档、git clone、本地目录)
|
||||||
|
- 内置模型:earth-rotation(自转)、earth-revolution(公转),land.json 手绘大陆轮廓已校验
|
||||||
|
- 校验:src/test/dotnet 用 Avalonia.Headless 渲染截图到 build/screenshots(页面+场景全通过,HUD 重叠已修)
|
||||||
|
- 已知小问题:RadialGradientBrush.Radius 过时警告;发布后 mac 单文件在沙箱内需 DOTNET_BUNDLE_EXTRACT_BASE_DIR 可写
|
||||||
|
|
||||||
|
## 修改(14:10 之后)
|
||||||
|
- 模型启动改为独立窗口:新增 Views/PlayerWindow.axaml(.cs),MainViewModel 只抛 PlayerRequested 事件,MainWindow 负责 Show(owner) 并维护 PlayerWindows 列表;PlayerViewModel 去掉 MainViewModel 依赖,改 CloseRequested + IDisposable;Esc/空格/F11 快捷键
|
||||||
|
- 分层:src=启动器(无模型数据、无预置模型源),model/=模型数据。移除 examples/,SettingsService 不再种内置源,AppPaths 去掉 ExamplesRoot 并新增 EMS_MODELS
|
||||||
|
- build.sh/build.ps1:publish 只建空 model/(仅 README),新增 pack-models → dist/models-1.0.0.zip
|
||||||
|
- model/README.md 写清模型格式规范
|
||||||
|
- 验证:离屏截图 page-player.png / page-main-while-playing.png,双窗口计数 2→关一个→1→0;三平台重新发布 + 模型 zip
|
||||||
|
|
||||||
|
## 架构重构(14:30 之后):启动器不再渲染,模型自带功能代码
|
||||||
|
- 新分层:src=启动器(扫描/下载/开窗,零渲染);model-sdk=契约;model-src=模型源码+封面工具;model=模型包(数据+dll+preview.png+i18n)
|
||||||
|
- 契约:IModelFactory(ApiVersion/Create) / IModelRuntime.CreateView(IModelContext) / IModelContext(ModelId/ModelDirectory/DataDirectory/Language/MemoryBudgetMb/RequestClose/Log)
|
||||||
|
- 加载:ModelHost + 可收集 AssemblyLoadContext,Sdk/Avalonia 走默认上下文,关窗 Unload
|
||||||
|
- 迁移:CelestialView/SphereRaster/LandMask/SceneDefinition/SceneRuntime → model-src/EarthModels(命名空间 NeoRF.EarthModels);PlayerView+PlayerViewModel 换成模型内 EarthModelView(C# 构建 UI)
|
||||||
|
- 模型包新增清单字段 assembly/type/preview/apiVersion;封面由 model-src/tools/PreviewGen 用模型渲染器生成
|
||||||
|
- 自转模型 views=["rotation"] → 无节气定位/无视图切换;公转 views=["revolution"] → 有节气、封面是公转场景
|
||||||
|
- 构建:./build.sh models 编译模型 dll + 生成封面;pack-models 先编译再打包
|
||||||
|
- 验证:EMS_SELFTEST=1 自检(dev + 发布包 /tmp 部署)两个模型均 OK;离屏截图含插件加载真实窗口
|
||||||
|
|
||||||
|
## 六项改动(15:00–15:35):真实贴图 / 缩放 / 拖动 / 动画 / 代码归位 / 进度条
|
||||||
|
- 目录:删除 model-src,根目录 model-sdk -> model/_sdk;现在根目录只有 src/ 与 model/。模型源码在 model/<id>/src/,共享引擎在 model/_engine/,契约在 model/_sdk/
|
||||||
|
- 清单 assembly 改为各模型自己的 dll:EarthRotationModel.dll / EarthRevolutionModel.dll(工厂仍是 NeoRF.EarthModels.*ModelFactory)
|
||||||
|
- 贴图:PlanetTexture 烘焙 1024×512 等经纬度纹理(海洋深度、沙漠/雨林/针叶林/苔原、极地冰盖、云层模糊、夜间辉光);反照率打包 uint[] Albedo
|
||||||
|
- 性能:地形梯度 SlopeEast/SlopeNorth 预烘焙(去掉每像素 4 次 SampleHeight + 6 次三角函数);海面高光 Pow 改乘法;运动时降分辨率 460 + 按帧耗时自适应 320–460,静止补 820 高清帧。实测公转播放 6ms、自转播放 ~18ms
|
||||||
|
- 交互:滚轮/工具栏 −100%+/⟲ 缩放 0.6–6×(缓动),暂停后拖动旋转地球或沿轨道移动、松手惯性;云层播放/暂停都缓慢漂移
|
||||||
|
- 动画:模型窗口淡入、按钮悬停 BrushTransition、教学面板滑入淡出;启动器页面切换淡入、按钮/卡片悬停过渡、进度条 DoubleTransition 平滑
|
||||||
|
- 进度条:契约新增 IModelRuntime.Prepare(后台)+ IModelContext.ReportProgress;ModelHost.LoadAsync 两阶段;LoadingWindow 显示真实阶段(读场景→烘焙纹理→构建界面)
|
||||||
|
- 打包:pack-models 排除 */bin/* */obj/*,避免把 107MB SkiaSharp native 打进包;模型包 356KB(含源码+dll+封面+i18n)
|
||||||
|
- 验证:离屏截图全部正常;反射校验缩放 1.00→1.25→1.00、暂停拖动=True、交互提示=True;自转无节气;发布包复制到 /tmp 自检两个模型 OK
|
||||||
|
- 产物:dist/mac-arm64 97M、win-x64 88M、win-arm64 94M(model/ 仅 README),dist/models-1.0.0.zip 356K
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
-->
|
-->
|
||||||
<AvaloniaVersion>11.3.9</AvaloniaVersion>
|
<AvaloniaVersion>11.3.9</AvaloniaVersion>
|
||||||
<MvvmVersion>8.2.2</MvvmVersion>
|
<MvvmVersion>8.2.2</MvvmVersion>
|
||||||
<Version>1.0.3</Version>
|
<Version>1.0.2</Version>
|
||||||
<Company>NeoRF</Company>
|
<Company>NeoRF</Company>
|
||||||
<Product>Earth Model Studio</Product>
|
<Product>Earth Model Studio</Product>
|
||||||
<NeutralLanguage>zh-Hans</NeutralLanguage>
|
<NeutralLanguage>zh-Hans</NeutralLanguage>
|
||||||
|
|||||||
@@ -1,75 +1,228 @@
|
|||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Earth Model Studio 构建入口(Windows PowerShell,薄封装)
|
# Earth Model Studio 构建脚本(Windows PowerShell)
|
||||||
# 实际代码在 buildsh/ 里。Windows 上若无 sh,则走内置的最小实现。
|
#
|
||||||
# .\build.ps1 build | check | models | stamp | run | test | clean | doctor
|
# .\build.ps1 编译
|
||||||
|
# .\build.ps1 run 运行
|
||||||
|
# .\build.ps1 test 离屏渲染校验
|
||||||
|
# .\build.ps1 models 编译模型 dll + 生成封面 + 自动打版本
|
||||||
|
# .\build.ps1 stamp 只重新生成 version.json 与模型版本
|
||||||
|
# .\build.ps1 publish 编译三个平台启动器(不内置模型)+ 建立 .GC 运行目录
|
||||||
|
# .\build.ps1 pack-models 单独打包模型数据(含 version.json)
|
||||||
|
# .\build.ps1 pack-launcher 生成三个平台的启动器更新包 zip
|
||||||
|
# .\build.ps1 update-test 离线验证自动更新链路
|
||||||
|
# .\build.ps1 clean 清理
|
||||||
|
#
|
||||||
|
# 分层:src\ 只是启动器;模型全部在 model\;**发布包不内置模型**。
|
||||||
|
#
|
||||||
|
# 运行目录(发布包里就长这样):
|
||||||
|
# <安装目录>\
|
||||||
|
# EarthModelStudio.exe
|
||||||
|
# .GC\settings.json
|
||||||
|
# .GC\model\ 启动时从 gitcode 下载的模型
|
||||||
|
# .GC\cache\ 下载暂存
|
||||||
|
# .GC\update\ 待下次启动应用的启动器更新
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
param(
|
param(
|
||||||
[Parameter(Position = 0)]
|
[Parameter(Position = 0)]
|
||||||
[ValidateSet('build','check','models','stamp','pack-models','pack-launcher',
|
[ValidateSet('build', 'run', 'test', 'publish', 'models', 'stamp', 'pack-models',
|
||||||
'run','test','update-test','clean','doctor','dist')]
|
'pack-launcher', 'update-test', 'bundle', 'clean', 'doctor')]
|
||||||
[string]$Task = 'build'
|
[string]$Task = 'build'
|
||||||
)
|
)
|
||||||
|
|
||||||
$ErrorActionPreference = 'Stop'
|
$ErrorActionPreference = 'Stop'
|
||||||
$Root = $PSScriptRoot
|
$Root = $PSScriptRoot
|
||||||
Set-Location $Root
|
Set-Location $Root
|
||||||
|
|
||||||
|
# Avalonia 遥测任务在只读用户目录/CI/沙箱会因写日志失败而中断编译(MSB4018)。
|
||||||
|
# 官方 opt-out;Directory.Build.targets 里还有一层项目内的兜底。
|
||||||
$env:AVALONIA_TELEMETRY_OPTOUT = '1'
|
$env:AVALONIA_TELEMETRY_OPTOUT = '1'
|
||||||
|
|
||||||
$AppProj = 'src/main/dotnet/EarthModelStudio/EarthModelStudio.csproj'
|
$AppProj = 'src/main/dotnet/EarthModelStudio/EarthModelStudio.csproj'
|
||||||
$TestProj = 'src/test/dotnet/EarthModelStudio.Tests/EarthModelStudio.Tests.csproj'
|
$TestProj = 'src/test/dotnet/EarthModelStudio.Tests/EarthModelStudio.Tests.csproj'
|
||||||
$StampProj= 'model/_engine/VersionStamp/VersionStamp.csproj'
|
$PreviewProj = 'model/_engine/PreviewGen/PreviewGen.csproj'
|
||||||
$Sln = 'EarthModelStudio.sln'
|
$StampProj = 'model/_engine/VersionStamp/VersionStamp.csproj'
|
||||||
$Version = ([regex]::Match((Get-Content Directory.Build.props -Raw), '<Version>(.*?)</Version>')).Groups[1].Value
|
$Sln = 'EarthModelStudio.sln'
|
||||||
if (-not $Version) { $Version = '1.0.0' }
|
$Version = '1.0.2'
|
||||||
New-Item -ItemType Directory -Force -Path "$Root/build/logs" | Out-Null
|
|
||||||
|
|
||||||
# 优先复用 buildsh 的 shell 实现(Git Bash / WSL / sh 可用时)
|
function Stamp-Versions {
|
||||||
$sh = Get-Command sh -ErrorAction SilentlyContinue
|
Write-Host '==> 自动计算模型版本并生成 version.json'
|
||||||
if ($sh) {
|
dotnet run --project $StampProj -c Release -- $Root $Version
|
||||||
& $sh.Source "$Root/build.sh" $Task
|
|
||||||
exit $LASTEXITCODE
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function Stamp { dotnet run --project $StampProj -c Release -- $Root $Version }
|
|
||||||
function Build-Models {
|
function Build-Models {
|
||||||
|
Write-Host '==> 编译模型功能程序集(源码就在各模型目录的 src\ 里)'
|
||||||
Get-ChildItem "$Root/model" -Directory | ForEach-Object {
|
Get-ChildItem "$Root/model" -Directory | ForEach-Object {
|
||||||
$id = $_.Name
|
$id = $_.Name
|
||||||
$src = Join-Path $_.FullName 'src'
|
$src = Join-Path $_.FullName 'src'
|
||||||
if (-not (Test-Path $src)) { return }
|
if (-not (Test-Path $src)) { return }
|
||||||
$proj = Get-ChildItem $src -Filter *.csproj | Select-Object -First 1
|
$proj = Get-ChildItem $src -Filter *.csproj | Select-Object -First 1
|
||||||
if (-not $proj) { return }
|
if ($null -eq $proj) { return }
|
||||||
dotnet build $proj.FullName -c Release
|
dotnet build $proj.FullName -c Release
|
||||||
|
$data = Join-Path $_.FullName "$id.model"
|
||||||
|
if (Test-Path $data) {
|
||||||
|
Get-ChildItem (Join-Path $src 'bin/Release/net8.0') -Filter *.dll | ForEach-Object {
|
||||||
|
if ($_.Name -eq 'EarthModelStudio.ModelSdk.dll') { return }
|
||||||
|
Copy-Item -Force $_.FullName $data
|
||||||
|
Write-Host " -> model/$id/$id.model/$($_.Name)"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Stamp
|
Write-Host '==> 用模型自己的渲染器生成封面'
|
||||||
|
dotnet run --project $PreviewProj -c Release -- $Root
|
||||||
|
Stamp-Versions
|
||||||
|
}
|
||||||
|
|
||||||
|
# 发布目录只放启动器 + 空的 .GC 运行骨架,绝不放模型
|
||||||
|
function Prepare-RuntimeLayout([string]$RelDir) {
|
||||||
|
$dest = "$Root/$RelDir"
|
||||||
|
if (-not (Test-Path $dest)) { return }
|
||||||
|
foreach ($old in @("$dest/model", "$dest/examples")) {
|
||||||
|
if (Test-Path $old) { Remove-Item -Recurse -Force $old }
|
||||||
|
}
|
||||||
|
foreach ($dir in @("$dest/.GC/model", "$dest/.GC/cache", "$dest/.GC/update")) {
|
||||||
|
New-Item -ItemType Directory -Force -Path $dir | Out-Null
|
||||||
|
}
|
||||||
|
$readme = @'
|
||||||
|
模型库目录(.GC/model/)
|
||||||
|
启动时程序会读取 gitcode 仓库的 version.json,把最新版模型下载到这里。
|
||||||
|
离线使用也可以手动放入 <模型id>/<模型id>.json + <模型id>/<模型id>.model/。
|
||||||
|
|
||||||
|
运行目录:
|
||||||
|
<可执行文件>
|
||||||
|
.GC/settings.json
|
||||||
|
.GC/model/ 本目录(下载的模型)
|
||||||
|
.GC/cache/ 下载暂存
|
||||||
|
.GC/update/ 待下次启动应用的启动器更新
|
||||||
|
'@
|
||||||
|
Set-Content -Path "$dest/.GC/model/README.txt" -Value $readme -Encoding UTF8
|
||||||
|
|
||||||
|
$settingsPath = "$dest/.GC/settings.json"
|
||||||
|
if (-not (Test-Path $settingsPath)) {
|
||||||
|
$json = @'
|
||||||
|
{
|
||||||
|
"language": "auto",
|
||||||
|
"theme": "light",
|
||||||
|
"renderFps": 30,
|
||||||
|
"memoryMb": 2048,
|
||||||
|
"autoUpdateOnStartup": true,
|
||||||
|
"updateRepository": "https://gitcode.com/2509_92447106/GC",
|
||||||
|
"updateManifestUrl": "",
|
||||||
|
"updateLocalRoot": "",
|
||||||
|
"installedModelVersions": {},
|
||||||
|
"launcherVersion": "",
|
||||||
|
"pendingLauncherVersion": "",
|
||||||
|
"lastUpdateCheck": "",
|
||||||
|
"sources": [],
|
||||||
|
"recentModels": []
|
||||||
|
}
|
||||||
|
'@
|
||||||
|
Set-Content -Path $settingsPath -Value $json -Encoding UTF8
|
||||||
|
}
|
||||||
|
Write-Host " 运行目录 -> $RelDir/.GC (settings.json + model/ + cache/ + update/)"
|
||||||
|
}
|
||||||
|
|
||||||
|
function Publish-Rid([string]$Rid, [string]$OutDir) {
|
||||||
|
Write-Host "==> 编译 $Rid -> $OutDir"
|
||||||
|
# 先删旧产物目录,避免残留文件混进新包
|
||||||
|
if (Test-Path "$Root/$OutDir") { Remove-Item -Recurse -Force "$Root/$OutDir" }
|
||||||
|
dotnet publish $AppProj -c Release -r $Rid --self-contained true `
|
||||||
|
-p:Version=$Version -p:DebugType=none -p:PublishSingleFile=true `
|
||||||
|
-p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=false -o "$Root/$OutDir"
|
||||||
|
foreach ($old in @("$Root/$OutDir/model", "$Root/$OutDir/examples")) {
|
||||||
|
if (Test-Path $old) { Remove-Item -Recurse -Force $old }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function Pack-Models {
|
||||||
|
New-Item -ItemType Directory -Force -Path "$Root/dist" | Out-Null
|
||||||
|
$zip = "$Root/dist/models-$Version.zip"
|
||||||
|
if (Test-Path $zip) { Remove-Item -Force $zip }
|
||||||
|
Write-Host "==> 打包模型数据 -> dist/models-$Version.zip"
|
||||||
|
$stage = Join-Path $env:TEMP "ems-models-stage"
|
||||||
|
if (Test-Path $stage) { Remove-Item -Recurse -Force $stage }
|
||||||
|
New-Item -ItemType Directory -Force -Path $stage | Out-Null
|
||||||
|
Get-ChildItem "$Root/model" -Recurse -File | Where-Object {
|
||||||
|
$_.FullName -notmatch '\\(bin|obj)\\' -and $_.Extension -ne '.user'
|
||||||
|
} | ForEach-Object {
|
||||||
|
$rel = $_.FullName.Substring("$Root/model".Length + 1)
|
||||||
|
$dest = Join-Path $stage $rel
|
||||||
|
New-Item -ItemType Directory -Force -Path (Split-Path $dest) | Out-Null
|
||||||
|
Copy-Item -Force $_.FullName $dest
|
||||||
|
}
|
||||||
|
Compress-Archive -Path "$stage/*" -DestinationPath $zip -Force
|
||||||
|
Remove-Item -Recurse -Force $stage
|
||||||
|
}
|
||||||
|
|
||||||
|
# 启动器更新包:只包含程序文件,排除 .GC(否则会覆盖用户模型与设置)
|
||||||
|
function Pack-Launcher {
|
||||||
|
Write-Host '==> 生成启动器更新包(不含 .GC)'
|
||||||
|
$targets = @{
|
||||||
|
'GC-win-x64.zip' = "$Root/dist/win-x64"
|
||||||
|
'GC-win-arm64.zip' = "$Root/dist/win-arm64"
|
||||||
|
'GC-osx-arm64.zip' = "$Root/dist/mac-arm64/EarthModelStudio.app/Contents/MacOS"
|
||||||
|
}
|
||||||
|
if (-not (Test-Path $targets['GC-osx-arm64.zip'])) {
|
||||||
|
$targets['GC-osx-arm64.zip'] = "$Root/dist/mac-arm64"
|
||||||
|
}
|
||||||
|
foreach ($name in $targets.Keys) {
|
||||||
|
$src = $targets[$name]
|
||||||
|
if (-not (Test-Path $src)) { continue }
|
||||||
|
$stage = Join-Path $env:TEMP ("ems-launcher-" + [IO.Path]::GetFileNameWithoutExtension($name))
|
||||||
|
if (Test-Path $stage) { Remove-Item -Recurse -Force $stage }
|
||||||
|
New-Item -ItemType Directory -Force -Path $stage | Out-Null
|
||||||
|
Get-ChildItem $src -Recurse -File | Where-Object {
|
||||||
|
$_.FullName -notmatch '\\\.GC\\' -and $_.Name -ne '.DS_Store'
|
||||||
|
} | ForEach-Object {
|
||||||
|
$rel = $_.FullName.Substring($src.Length).TrimStart('\', '/')
|
||||||
|
$dest = Join-Path $stage $rel
|
||||||
|
New-Item -ItemType Directory -Force -Path (Split-Path $dest) | Out-Null
|
||||||
|
Copy-Item -Force $_.FullName $dest
|
||||||
|
}
|
||||||
|
$zip = "$Root/dist/$name"
|
||||||
|
if (Test-Path $zip) { Remove-Item -Force $zip }
|
||||||
|
Compress-Archive -Path "$stage/*" -DestinationPath $zip -Force
|
||||||
|
Remove-Item -Recurse -Force $stage
|
||||||
|
}
|
||||||
|
Stamp-Versions
|
||||||
|
Get-ChildItem "$Root/dist/GC-*.zip" | Select-Object Name, Length
|
||||||
}
|
}
|
||||||
|
|
||||||
switch ($Task) {
|
switch ($Task) {
|
||||||
'build' {
|
'build' {
|
||||||
Write-Host '==> 编译三平台(进度见 buildsh/lib/progress.sh,建议用 Git Bash 运行 ./build.sh build)'
|
Get-ChildItem "$Root/dist/GC-*.zip","$Root/dist/models-*.zip" -ErrorAction SilentlyContinue |
|
||||||
Remove-Item -Recurse -Force "$Root/dist" -ErrorAction SilentlyContinue
|
Remove-Item -Force
|
||||||
New-Item -ItemType Directory -Force -Path "$Root/dist" | Out-Null
|
|
||||||
Stamp
|
|
||||||
foreach ($rid in @('osx-arm64','win-x64','win-arm64')) {
|
|
||||||
dotnet publish $AppProj -c Release -r $rid --self-contained true `
|
|
||||||
-p:Version=$Version -p:DebugType=none -p:PublishSingleFile=true `
|
|
||||||
-p:IncludeNativeLibrariesForSelfExtract=true -p:PublishTrimmed=false `
|
|
||||||
-o "$Root/dist/$rid"
|
|
||||||
}
|
|
||||||
Write-Host '==> 完成(详细打包请用 ./build.sh build)'
|
|
||||||
}
|
|
||||||
'check' {
|
|
||||||
dotnet build $Sln -c Debug
|
dotnet build $Sln -c Debug
|
||||||
$env:EMS_SELFTEST = '1'; dotnet run --project $AppProj -c Debug --no-build; Remove-Item Env:\EMS_SELFTEST
|
|
||||||
dotnet run --project $TestProj -c Debug --no-build -- "$Root/build/screenshots"
|
|
||||||
}
|
}
|
||||||
'models' { Build-Models }
|
'run' { dotnet run --project $AppProj -c Debug }
|
||||||
'stamp' { Stamp }
|
'test' { dotnet run --project $TestProj -c Debug -- "$Root/build/screenshots" }
|
||||||
'pack-models' { Build-Models }
|
'publish' {
|
||||||
'pack-launcher' { Write-Host '请用 ./build.sh pack-launcher' }
|
# 先清理 dist 旧产物,再重新生成
|
||||||
'run' { dotnet run --project $AppProj -c Debug }
|
if (Test-Path "$Root/dist") { Remove-Item -Recurse -Force "$Root/dist" }
|
||||||
'test' { dotnet run --project $TestProj -c Debug -- "$Root/build/screenshots" }
|
New-Item -ItemType Directory -Force -Path "$Root/dist" | Out-Null
|
||||||
|
Stamp-Versions
|
||||||
|
Publish-Rid 'osx-arm64' 'dist/mac-arm64'
|
||||||
|
Publish-Rid 'win-x64' 'dist/win-x64'
|
||||||
|
Publish-Rid 'win-arm64' 'dist/win-arm64'
|
||||||
|
Prepare-RuntimeLayout 'dist/win-x64'
|
||||||
|
Prepare-RuntimeLayout 'dist/win-arm64'
|
||||||
|
Prepare-RuntimeLayout 'dist/mac-arm64'
|
||||||
|
Pack-Launcher
|
||||||
|
Write-Host '==> 三个平台编译完成(发布包不含模型,首次启动自动下载),见 dist\' -ForegroundColor Green
|
||||||
|
Write-Host ' 把 version.json / model/ 推送到 gitcode,启动器就会自动检查更新'
|
||||||
|
}
|
||||||
|
'models' { Build-Models }
|
||||||
|
'stamp' { Stamp-Versions }
|
||||||
|
'bundle' { Write-Host '已弃用:发布包不再内置模型。请改用 .\build.ps1 stamp 与 gitcode 自动更新。' }
|
||||||
|
'pack-models' {
|
||||||
|
Build-Models
|
||||||
|
Pack-Models
|
||||||
|
}
|
||||||
|
'pack-launcher' { Pack-Launcher }
|
||||||
'update-test' { dotnet run --project $TestProj -c Debug -- '--update-test' $Root }
|
'update-test' { dotnet run --project $TestProj -c Debug -- '--update-test' $Root }
|
||||||
'clean' { Remove-Item -Recurse -Force "$Root/build","$Root/dist" -ErrorAction SilentlyContinue; Write-Host '==> 已清理' }
|
'clean' {
|
||||||
'doctor' { dotnet --info | Select-Object -First 20 }
|
Remove-Item -Recurse -Force "$Root/build", "$Root/dist" -ErrorAction SilentlyContinue
|
||||||
'dist' { Get-ChildItem "$Root/dist" -ErrorAction SilentlyContinue }
|
Get-ChildItem "$Root/src" -Recurse -Directory -Include bin, obj |
|
||||||
|
Remove-Item -Recurse -Force -ErrorAction SilentlyContinue
|
||||||
|
}
|
||||||
|
'doctor' { dotnet --info }
|
||||||
}
|
}
|
||||||
@@ -1,21 +1,33 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# Earth Model Studio 构建入口(薄封装)
|
# Earth Model Studio 构建脚本(macOS / Linux)
|
||||||
#
|
#
|
||||||
# ./build.sh build 完整发布(原 publish),带 apt 风格进度条
|
# ./build.sh build 编译(Debug)
|
||||||
# ./build.sh check 验证:编译 + 自检 + 离屏渲染 + 产物
|
# ./build.sh run 本机运行
|
||||||
# ./build.sh models 编译模型 dll + 封面 + 版本戳
|
# ./build.sh test 离屏渲染校验,截图输出到 build/screenshots
|
||||||
# ./build.sh stamp 重新生成 version.json
|
# ./build.sh models 编译模型 dll + 生成封面 + 自动打版本
|
||||||
# ./build.sh run / test / update-test / pack-models / pack-launcher
|
# ./build.sh stamp 只重新生成 version.json 与模型版本
|
||||||
# ./build.sh clean 清理
|
# ./build.sh publish 编译三个平台启动器(不内置模型)+ 建立 .GC 运行目录
|
||||||
# ./build.sh doctor dotnet 信息
|
# ./build.sh pack-models 单独打包模型数据(含 version.json)
|
||||||
# ./build.sh dist 列出产物
|
# ./build.sh pack-launcher 生成三个平台的启动器更新包 zip
|
||||||
|
# ./build.sh update-test 离线验证自动更新链路
|
||||||
|
# ./build.sh clean 清理
|
||||||
#
|
#
|
||||||
# 实际代码都在 buildsh/ 里,本文件只负责加载模块与分发。
|
# 分层:src/ 只是启动器;模型全部在 model/;**发布包不内置模型**。
|
||||||
|
#
|
||||||
|
# 运行目录(发布包里就长这样):
|
||||||
|
# <安装目录>/
|
||||||
|
# EarthModelStudio(.exe | .app/...)
|
||||||
|
# .GC/
|
||||||
|
# settings.json 设置与已安装版本
|
||||||
|
# model/ 启动时从 gitcode 下载的模型
|
||||||
|
# cache/ 下载暂存
|
||||||
|
# update/ 待下次启动应用的启动器更新
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
set -eu
|
set -eu
|
||||||
|
|
||||||
# Avalonia 遥测任务在只读用户目录/CI/沙箱会因写日志失败中断编译(MSB4018)
|
# Avalonia 遥测任务在只读用户目录/CI/沙箱会因写日志失败而中断编译(MSB4018)。
|
||||||
|
# 官方 opt-out;Directory.Build.targets 里还有一层项目内的兜底。
|
||||||
export AVALONIA_TELEMETRY_OPTOUT=1
|
export AVALONIA_TELEMETRY_OPTOUT=1
|
||||||
|
|
||||||
ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
ROOT_DIR=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
|
||||||
@@ -26,21 +38,295 @@ PREVIEW_PROJ="model/_engine/PreviewGen/PreviewGen.csproj"
|
|||||||
STAMP_PROJ="model/_engine/VersionStamp/VersionStamp.csproj"
|
STAMP_PROJ="model/_engine/VersionStamp/VersionStamp.csproj"
|
||||||
TEST_PROJ="src/test/dotnet/EarthModelStudio.Tests/EarthModelStudio.Tests.csproj"
|
TEST_PROJ="src/test/dotnet/EarthModelStudio.Tests/EarthModelStudio.Tests.csproj"
|
||||||
SLN="EarthModelStudio.sln"
|
SLN="EarthModelStudio.sln"
|
||||||
VERSION=$(sed -n 's/.*<Version>\(.*\)<\/Version>.*/\1/p' Directory.Build.props | head -1)
|
VERSION="1.0.2"
|
||||||
[ -n "$VERSION" ] || VERSION="1.0.0"
|
|
||||||
|
|
||||||
TASK="${1:-build}"
|
TASK="${1:-build}"
|
||||||
mkdir -p "$ROOT_DIR/build/logs"
|
|
||||||
|
|
||||||
# 加载 buildsh 模块
|
# 按模型包内容指纹自动写回 <id>.json 的 version,并生成 version.json
|
||||||
. "$ROOT_DIR/buildsh/lib/progress.sh"
|
stamp_versions() {
|
||||||
. "$ROOT_DIR/buildsh/lib/build_funcs.sh"
|
echo "==> 自动计算模型版本并生成 version.json"
|
||||||
. "$ROOT_DIR/buildsh/build.sh"
|
dotnet run --project "$STAMP_PROJ" -c Release -- "$ROOT_DIR" "$VERSION"
|
||||||
. "$ROOT_DIR/buildsh/check.sh"
|
}
|
||||||
. "$ROOT_DIR/buildsh/tools.sh"
|
|
||||||
|
# 编译模型自己的功能程序集,并把 dll / 封面直接写进模型包
|
||||||
|
build_models() {
|
||||||
|
echo "==> 编译模型功能程序集(源码就在各模型目录的 src/ 里)"
|
||||||
|
for DIR in "$ROOT_DIR"/model/*/; do
|
||||||
|
ID=$(basename "$DIR")
|
||||||
|
[ -d "$DIR/src" ] || continue
|
||||||
|
PROJ=$(ls "$DIR"src/*.csproj 2>/dev/null | head -1)
|
||||||
|
[ -n "$PROJ" ] || continue
|
||||||
|
dotnet build "$PROJ" -c Release
|
||||||
|
if [ -d "$DIR$ID.model" ]; then
|
||||||
|
for DLL in "$DIR"src/bin/Release/net8.0/*.dll; do
|
||||||
|
[ -f "$DLL" ] || continue
|
||||||
|
NAME=$(basename "$DLL")
|
||||||
|
[ "$NAME" = "EarthModelStudio.ModelSdk.dll" ] && continue
|
||||||
|
cp "$DLL" "$DIR$ID.model/"
|
||||||
|
echo " -> model/$ID/$ID.model/$NAME"
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
echo "==> 用模型自己的渲染器生成封面"
|
||||||
|
dotnet run --project "$PREVIEW_PROJ" -c Release -- "$ROOT_DIR"
|
||||||
|
stamp_versions
|
||||||
|
}
|
||||||
|
|
||||||
|
# 发布目录只放启动器 + 空的 .GC 运行骨架,绝不放模型
|
||||||
|
prepare_runtime_layout() {
|
||||||
|
REL="$1"
|
||||||
|
DEST="$ROOT_DIR/$REL"
|
||||||
|
[ -d "$DEST" ] || return 0
|
||||||
|
rm -rf "$DEST/model" "$DEST/examples"
|
||||||
|
mkdir -p "$DEST/.GC/model" "$DEST/.GC/cache" "$DEST/.GC/update"
|
||||||
|
cat > "$DEST/.GC/model/README.txt" <<'TXT'
|
||||||
|
模型库目录(.GC/model/)
|
||||||
|
启动时程序会读取 gitcode 仓库的 version.json,把最新版模型下载到这里。
|
||||||
|
离线使用也可以手动放入 <模型id>/<模型id>.json + <模型id>/<模型id>.model/。
|
||||||
|
|
||||||
|
运行目录:
|
||||||
|
<可执行文件>
|
||||||
|
.GC/settings.json
|
||||||
|
.GC/model/ 本目录(下载的模型)
|
||||||
|
.GC/cache/ 下载暂存
|
||||||
|
.GC/update/ 待下次启动应用的启动器更新
|
||||||
|
TXT
|
||||||
|
if [ ! -f "$DEST/.GC/settings.json" ]; then
|
||||||
|
cat > "$DEST/.GC/settings.json" <<'JSON'
|
||||||
|
{
|
||||||
|
"language": "auto",
|
||||||
|
"theme": "light",
|
||||||
|
"renderFps": 30,
|
||||||
|
"memoryMb": 2048,
|
||||||
|
"autoUpdateOnStartup": true,
|
||||||
|
"updateRepository": "https://gitcode.com/2509_92447106/GC",
|
||||||
|
"updateManifestUrl": "",
|
||||||
|
"updateLocalRoot": "",
|
||||||
|
"installedModelVersions": {},
|
||||||
|
"launcherVersion": "",
|
||||||
|
"pendingLauncherVersion": "",
|
||||||
|
"lastUpdateCheck": "",
|
||||||
|
"sources": [],
|
||||||
|
"recentModels": []
|
||||||
|
}
|
||||||
|
JSON
|
||||||
|
fi
|
||||||
|
echo " 运行目录 -> $REL/.GC (settings.json + model/ + cache/ + update/)"
|
||||||
|
}
|
||||||
|
|
||||||
|
# $1=RID $2=输出目录 $3=singlefile(true/false)
|
||||||
|
publish_rid() {
|
||||||
|
RID="$1"; OUT="$2"; SINGLE="${3:-true}"
|
||||||
|
echo ""
|
||||||
|
echo "==> 编译 ${RID} (single-file=${SINGLE}) -> ${OUT}"
|
||||||
|
# 先删旧产物,避免上次 publish 的残留文件混进新包
|
||||||
|
rm -rf "$ROOT_DIR/$OUT"
|
||||||
|
dotnet publish "$APP_PROJ" \
|
||||||
|
-c Release \
|
||||||
|
-r "$RID" \
|
||||||
|
--self-contained true \
|
||||||
|
-p:Version="$VERSION" \
|
||||||
|
-p:DebugType=none \
|
||||||
|
-p:PublishSingleFile="$SINGLE" \
|
||||||
|
-p:IncludeNativeLibrariesForSelfExtract="$SINGLE" \
|
||||||
|
-p:PublishTrimmed=false \
|
||||||
|
-o "$ROOT_DIR/$OUT"
|
||||||
|
rm -rf "$ROOT_DIR/$OUT/model" "$ROOT_DIR/$OUT/examples"
|
||||||
|
}
|
||||||
|
|
||||||
|
# 把 model/ 里的模型数据单独打包(与启动器分开分发)
|
||||||
|
pack_models() {
|
||||||
|
mkdir -p "$ROOT_DIR/dist"
|
||||||
|
ZIP="$ROOT_DIR/dist/models-$VERSION.zip"
|
||||||
|
rm -f "$ZIP"
|
||||||
|
echo "==> 打包模型数据 -> dist/models-$VERSION.zip"
|
||||||
|
( cd "$ROOT_DIR" && zip -qr "$ZIP" model \
|
||||||
|
-x "*.DS_Store" "*/bin/*" "*/obj/*" "*.user" )
|
||||||
|
du -sh "$ZIP"
|
||||||
|
}
|
||||||
|
|
||||||
|
# 启动器更新包:只包含程序文件,排除 .GC(否则会覆盖用户已下载的模型与设置)
|
||||||
|
# 产物命名:GC-<版本>-<系统>-<架构>.exe / GC-<版本>-<系统>-<架构>.app.zip
|
||||||
|
# Windows: 单文件 exe 直接改名(本身就是可执行产物)
|
||||||
|
# macOS: .app 必须打成 zip 才能作为单文件分发;文件名用 .app.zip,
|
||||||
|
# 这样 macOS 双击会用归档工具解压出可运行的 .app。
|
||||||
|
# 若直接命名 .app,系统会把 zip 当成应用包解析 => 报「已损坏/打不开」。
|
||||||
|
pack_launcher() {
|
||||||
|
echo "==> 生成启动器产物(GC-<版本>-<系统>-<架构>)"
|
||||||
|
|
||||||
|
# --- Windows:exe 单文件 ---
|
||||||
|
for pair in "win-x64:win-amd64" "win-arm64:win-arm64"; do
|
||||||
|
RID="${pair%%:*}"; LABEL="${pair##*:}"
|
||||||
|
SRC="$ROOT_DIR/dist/$RID"
|
||||||
|
[ -d "$SRC" ] || continue
|
||||||
|
EXE=$(ls "$SRC"/*.exe 2>/dev/null | head -1)
|
||||||
|
[ -n "$EXE" ] || continue
|
||||||
|
DEST="$ROOT_DIR/dist/GC-${VERSION}-${LABEL}.exe"
|
||||||
|
cp "$EXE" "$DEST"
|
||||||
|
chmod +x "$DEST"
|
||||||
|
echo " -> $(basename "$DEST")"
|
||||||
|
done
|
||||||
|
|
||||||
|
# --- macOS:打包成 zip -> 解压回来 -> 改名 -> 删除 zip ---
|
||||||
|
# 这样 dist 里得到的是一个可直接双击运行的真实 .app 目录,
|
||||||
|
# 而 zip 只是保证权限/符号链接不丢的中间载体,用完即删。
|
||||||
|
MACAPP="$ROOT_DIR/dist/mac-arm64/EarthModelStudio.app"
|
||||||
|
if [ -d "$MACAPP" ]; then
|
||||||
|
FINAL="$ROOT_DIR/dist/GC-${VERSION}-mac-arm64.app"
|
||||||
|
TMPZIP="$ROOT_DIR/dist/.gc-mac-tmp.zip"
|
||||||
|
WORK="$ROOT_DIR/dist/.gc-mac-work"
|
||||||
|
|
||||||
|
rm -rf "$FINAL" "$WORK" "$TMPZIP"
|
||||||
|
mkdir -p "$WORK"
|
||||||
|
|
||||||
|
# 1) 打包(ditto 保留可执行权限与符号链接,比 zip -y 可靠)
|
||||||
|
if command -v ditto >/dev/null 2>&1; then
|
||||||
|
ditto -c -k --sequesterRsrc --keepParent "$MACAPP" "$TMPZIP"
|
||||||
|
else
|
||||||
|
( cd "$(dirname "$MACAPP")" && zip -qry "$TMPZIP" "$(basename "$MACAPP")" -x "*.DS_Store" )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 2) 解压到工作目录
|
||||||
|
if command -v ditto >/dev/null 2>&1; then
|
||||||
|
ditto -x -k "$TMPZIP" "$WORK"
|
||||||
|
else
|
||||||
|
( cd "$WORK" && unzip -q "$TMPZIP" )
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 3) 改名为发布名(保持 .app 是目录)
|
||||||
|
SRCAPP="$WORK/EarthModelStudio.app"
|
||||||
|
if [ -d "$SRCAPP" ]; then
|
||||||
|
mv "$SRCAPP" "$FINAL"
|
||||||
|
chmod +x "$FINAL/Contents/MacOS/EarthModelStudio" 2>/dev/null || true
|
||||||
|
# 同步 Info.plist 的显示名,避免 Finder 里显示旧名
|
||||||
|
PLIST="$FINAL/Contents/Info.plist"
|
||||||
|
if [ -f "$PLIST" ]; then
|
||||||
|
/usr/libexec/PlistBuddy -c "Set :CFBundleName Morris GC" "$PLIST" 2>/dev/null || true
|
||||||
|
/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName Morris GC" "$PLIST" 2>/dev/null || true
|
||||||
|
fi
|
||||||
|
# 去掉隔离属性,避免 Gatekeeper 误拦(本地构建产物)
|
||||||
|
xattr -cr "$FINAL" 2>/dev/null || true
|
||||||
|
echo " -> $(basename "$FINAL")/ (目录)"
|
||||||
|
else
|
||||||
|
echo " !! macOS 打包失败:解压后未找到 EarthModelStudio.app" >&2
|
||||||
|
fi
|
||||||
|
|
||||||
|
# 4) 删除 zip 与工作目录
|
||||||
|
rm -rf "$WORK" "$TMPZIP"
|
||||||
|
fi
|
||||||
|
|
||||||
|
strip_intermediate_dirs
|
||||||
|
stamp_versions
|
||||||
|
echo ""
|
||||||
|
echo "==> dist 只保留可发布的附件:"
|
||||||
|
ls -lh "$ROOT_DIR"/dist/GC-"$VERSION"-* 2>/dev/null || true
|
||||||
|
}
|
||||||
|
|
||||||
|
# 删除 publish 过程中的中间目录,dist 里只留最终附件
|
||||||
|
strip_intermediate_dirs() {
|
||||||
|
for d in win-x64 win-arm64 mac-arm64; do
|
||||||
|
[ -d "$ROOT_DIR/dist/$d" ] && rm -rf "$ROOT_DIR/dist/$d"
|
||||||
|
done
|
||||||
|
find "$ROOT_DIR/dist" -name ".DS_Store" -delete 2>/dev/null || true
|
||||||
|
}
|
||||||
|
|
||||||
|
package_mac_app() {
|
||||||
|
DIST="$ROOT_DIR/dist/mac-arm64"
|
||||||
|
APP="$DIST/EarthModelStudio.app"
|
||||||
|
rm -rf "$APP"
|
||||||
|
mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
|
||||||
|
cat > "$APP/Contents/Info.plist" <<PLIST
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||||
|
<plist version="1.0">
|
||||||
|
<dict>
|
||||||
|
<key>CFBundleName</key><string>Earth Model Studio</string>
|
||||||
|
<key>CFBundleDisplayName</key><string>Earth Model Studio</string>
|
||||||
|
<key>CFBundleIdentifier</key><string>cn.neorf.earthmodelstudio</string>
|
||||||
|
<key>CFBundleVersion</key><string>${VERSION}</string>
|
||||||
|
<key>CFBundleShortVersionString</key><string>${VERSION}</string>
|
||||||
|
<key>CFBundlePackageType</key><string>APPL</string>
|
||||||
|
<key>CFBundleExecutable</key><string>EarthModelStudio</string>
|
||||||
|
<key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
|
||||||
|
<key>LSMinimumSystemVersion</key><string>11.0</string>
|
||||||
|
<key>NSHighResolutionCapable</key><true/>
|
||||||
|
</dict>
|
||||||
|
</plist>
|
||||||
|
PLIST
|
||||||
|
for f in "$DIST"/*; do
|
||||||
|
base=$(basename "$f")
|
||||||
|
[ "$base" = "EarthModelStudio.app" ] && continue
|
||||||
|
[ "$base" = ".DS_Store" ] && continue
|
||||||
|
mv "$f" "$APP/Contents/MacOS/"
|
||||||
|
done
|
||||||
|
# 发布包不带 .GC 运行骨架(用户首次启动自行创建),避免覆盖用户数据
|
||||||
|
rm -rf "$APP/Contents/MacOS/.GC"
|
||||||
|
chmod +x "$APP/Contents/MacOS/EarthModelStudio"
|
||||||
|
echo "==> 已打包 $APP"
|
||||||
|
}
|
||||||
|
|
||||||
case "$TASK" in
|
case "$TASK" in
|
||||||
build) bs_build "$ROOT_DIR" ;;
|
build)
|
||||||
check) bs_check "$ROOT_DIR" ;;
|
# 清理上次遗留的发布包 zip,避免误用旧产物
|
||||||
*) bs_tools "$ROOT_DIR" "$TASK" ;;
|
rm -f "$ROOT_DIR"/dist/GC-*.zip "$ROOT_DIR"/dist/models-*.zip 2>/dev/null || true
|
||||||
|
dotnet build "$SLN" -c Debug
|
||||||
|
;;
|
||||||
|
run)
|
||||||
|
dotnet run --project "$APP_PROJ" -c Debug
|
||||||
|
;;
|
||||||
|
test)
|
||||||
|
dotnet run --project "$TEST_PROJ" -c Debug -- "$ROOT_DIR/build/screenshots"
|
||||||
|
;;
|
||||||
|
publish)
|
||||||
|
# 先清掉 dist 旧产物(含历史 zip / 目录),再重新生成
|
||||||
|
echo "==> 清理 dist 旧产物"
|
||||||
|
rm -rf "$ROOT_DIR/dist"
|
||||||
|
mkdir -p "$ROOT_DIR/dist"
|
||||||
|
stamp_versions
|
||||||
|
# macOS 用目录形式(非单文件):单文件包启动时需要解压缓存目录,
|
||||||
|
# 在受限/沙箱环境下创建失败会直接报「打不开」。目录形式无此依赖。
|
||||||
|
publish_rid "osx-arm64" "dist/mac-arm64" false
|
||||||
|
publish_rid "win-x64" "dist/win-x64" true
|
||||||
|
publish_rid "win-arm64" "dist/win-arm64" true
|
||||||
|
package_mac_app
|
||||||
|
prepare_runtime_layout "dist/win-x64"
|
||||||
|
prepare_runtime_layout "dist/win-arm64"
|
||||||
|
prepare_runtime_layout "dist/mac-arm64/EarthModelStudio.app/Contents/MacOS"
|
||||||
|
pack_launcher
|
||||||
|
echo ""
|
||||||
|
echo "==> 三个平台编译完成(发布包不含模型,首次启动自动下载):"
|
||||||
|
du -sh "$ROOT_DIR/dist"/* 2>/dev/null || true
|
||||||
|
echo " 把 version.json / model/ 推送到 gitcode,启动器就会自动检查更新"
|
||||||
|
;;
|
||||||
|
models)
|
||||||
|
build_models
|
||||||
|
;;
|
||||||
|
stamp)
|
||||||
|
stamp_versions
|
||||||
|
;;
|
||||||
|
bundle)
|
||||||
|
echo "已弃用:发布包不再内置模型。请改用 ./build.sh stamp 与 gitcode 自动更新。"
|
||||||
|
;;
|
||||||
|
pack-models)
|
||||||
|
build_models
|
||||||
|
pack_models
|
||||||
|
;;
|
||||||
|
pack-launcher)
|
||||||
|
pack_launcher
|
||||||
|
;;
|
||||||
|
update-test)
|
||||||
|
dotnet run --project "$TEST_PROJ" -c Debug -- --update-test "$ROOT_DIR"
|
||||||
|
;;
|
||||||
|
clean)
|
||||||
|
rm -rf "$ROOT_DIR/build" "$ROOT_DIR/dist"
|
||||||
|
find "$ROOT_DIR/src" -type d \( -name bin -o -name obj \) -prune -exec rm -rf {} + 2>/dev/null || true
|
||||||
|
echo "==> 已清理"
|
||||||
|
;;
|
||||||
|
doctor)
|
||||||
|
dotnet --info | head -20
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "未知任务: $TASK"
|
||||||
|
echo "可用: build | run | test | publish | models | stamp | pack-models | pack-launcher | update-test | clean | doctor"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
@@ -1,57 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# buildsh/build.sh —— 完整发布(原 publish)
|
|
||||||
# 步骤及权重按实测耗时设定,供进度条估算总进度与剩余时间:
|
|
||||||
# 清理(2) 版本(3) Mac(35) WinX64(25) WinArm(25) 骨架(3) 打包(5) 收尾(2) = 100
|
|
||||||
|
|
||||||
bs_build() {
|
|
||||||
ROOT_DIR="$1"
|
|
||||||
: "${APP_PROJ:?}" "${SLN:?}" "${VERSION:?}"
|
|
||||||
|
|
||||||
progress_init 100 2 3 35 25 25 3 5 2
|
|
||||||
|
|
||||||
progress_step "清理旧产物"; progress_tick 100
|
|
||||||
rm -rf "$ROOT_DIR/dist"; mkdir -p "$ROOT_DIR/dist"
|
|
||||||
|
|
||||||
progress_step "版本戳"; progress_tick 100
|
|
||||||
stamp_versions
|
|
||||||
|
|
||||||
# 每个 publish 用后台任务包裹,边跑边按「已用时/预估用时」推进当前步骤进度
|
|
||||||
_run_publish() {
|
|
||||||
_label="$1"; _est="$2"; shift 2
|
|
||||||
( "$@" >"$ROOT_DIR/build/logs/publish-$_label.log" 2>&1 ) &
|
|
||||||
_pid=$!
|
|
||||||
_t0=$(date +%s)
|
|
||||||
while kill -0 "$_pid" 2>/dev/null; do
|
|
||||||
_elapsed=$(( $(date +%s) - _t0 ))
|
|
||||||
_p=$(( _elapsed * 100 / _est ))
|
|
||||||
[ "$_p" -gt 96 ] && _p=96
|
|
||||||
progress_tick "$_p"
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
wait "$_pid" || { echo; echo "!! $_label 编译失败,见 build/logs/publish-$_label.log"; return 1; }
|
|
||||||
progress_tick 100
|
|
||||||
}
|
|
||||||
|
|
||||||
progress_step "编译 Mac"
|
|
||||||
_run_publish mac 90 publish_rid "osx-arm64" "dist/mac-arm64" false || return 1
|
|
||||||
|
|
||||||
progress_step "编译 Win-x64"
|
|
||||||
_run_publish winx64 70 publish_rid "win-x64" "dist/win-x64" true || return 1
|
|
||||||
|
|
||||||
progress_step "编译 Win-arm64"
|
|
||||||
_run_publish winarm 70 publish_rid "win-arm64" "dist/win-arm64" true || return 1
|
|
||||||
|
|
||||||
progress_step "运行骨架"; progress_tick 100
|
|
||||||
package_mac_app
|
|
||||||
prepare_runtime_layout "dist/win-x64"
|
|
||||||
prepare_runtime_layout "dist/win-arm64"
|
|
||||||
prepare_runtime_layout "dist/mac-arm64/EarthModelStudio.app/Contents/MacOS"
|
|
||||||
|
|
||||||
progress_step "打包 zip"; progress_tick 100
|
|
||||||
pack_launcher
|
|
||||||
|
|
||||||
progress_step "收尾"; progress_tick 100
|
|
||||||
progress_done
|
|
||||||
echo "==> 完成,产物:"
|
|
||||||
ls -lh "$ROOT_DIR"/dist/GC-"$VERSION"-*.zip 2>/dev/null || true
|
|
||||||
}
|
|
||||||
@@ -1,46 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# buildsh/check.sh —— 验证:编译 + 自检 + 离屏测试 + 产物完整性
|
|
||||||
# 步骤权重:编译(40) 自检(15) 离屏(25) 产物(20)
|
|
||||||
|
|
||||||
bs_check() {
|
|
||||||
ROOT_DIR="$1"
|
|
||||||
progress_init 100 40 15 25 20
|
|
||||||
_fail=0
|
|
||||||
|
|
||||||
progress_step "编译检查"
|
|
||||||
if dotnet build "$SLN" -c Debug -v quiet >"$ROOT_DIR/build/logs/check-build.log" 2>&1; then
|
|
||||||
progress_tick 100
|
|
||||||
else
|
|
||||||
progress_tick 100; _fail=1
|
|
||||||
echo; echo "!! 编译失败,见 build/logs/check-build.log"
|
|
||||||
fi
|
|
||||||
|
|
||||||
progress_step "模型自检"
|
|
||||||
if EMS_SELFTEST=1 dotnet run --project "$APP_PROJ" -c Debug --no-build \
|
|
||||||
>"$ROOT_DIR/build/logs/check-selftest.log" 2>&1; then
|
|
||||||
grep -q "FAIL" "$ROOT_DIR/build/logs/check-selftest.log" && { _fail=1; echo; echo "!! 自检有失败项"; }
|
|
||||||
else
|
|
||||||
_fail=1; echo; echo "!! 自检异常"
|
|
||||||
fi
|
|
||||||
progress_tick 100
|
|
||||||
|
|
||||||
progress_step "离屏渲染"
|
|
||||||
if dotnet run --project "$TEST_PROJ" -c Debug --no-build -- \
|
|
||||||
"$ROOT_DIR/build/screenshots" >"$ROOT_DIR/build/logs/check-render.log" 2>&1; then
|
|
||||||
progress_tick 100
|
|
||||||
else
|
|
||||||
_fail=1; progress_tick 100; echo; echo "!! 离屏渲染失败"
|
|
||||||
fi
|
|
||||||
|
|
||||||
progress_step "产物检查"
|
|
||||||
_n=$(ls "$ROOT_DIR"/dist/GC-"$VERSION"-*.zip 2>/dev/null | wc -l | tr -d ' ')
|
|
||||||
if [ "$_n" -ge 3 ]; then
|
|
||||||
progress_tick 100
|
|
||||||
else
|
|
||||||
_fail=1; progress_tick 100; echo; echo "!! 产物不足 3 个(当前 $_n)"
|
|
||||||
fi
|
|
||||||
|
|
||||||
progress_done
|
|
||||||
[ "$_fail" -eq 0 ] && echo "==> 全部通过" || echo "==> 有失败项"
|
|
||||||
return "$_fail"
|
|
||||||
}
|
|
||||||
@@ -1,227 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# buildsh/lib/build_funcs.sh —— 构建函数库(由入口脚本 source)
|
|
||||||
# 依赖调用方提供:ROOT_DIR, APP_PROJ, PREVIEW_PROJ, STAMP_PROJ, TEST_PROJ, SLN, VERSION
|
|
||||||
# 以及任务进度上报函数 step / progress(由进度条引擎提供,未定义时降级为 echo)
|
|
||||||
|
|
||||||
if ! type step >/dev/null 2>&1; then step() { echo "==> $1"; }; fi
|
|
||||||
if ! type progress >/dev/null 2>&1; then progress() { :; }; fi
|
|
||||||
|
|
||||||
stamp_versions() {
|
|
||||||
echo "==> 自动计算模型版本并生成 version.json"
|
|
||||||
dotnet run --project "$STAMP_PROJ" -c Release -- "$ROOT_DIR" "$VERSION"
|
|
||||||
}
|
|
||||||
|
|
||||||
# 编译模型自己的功能程序集,并把 dll / 封面直接写进模型包
|
|
||||||
build_models() {
|
|
||||||
echo "==> 编译模型功能程序集(源码就在各模型目录的 src/ 里)"
|
|
||||||
for DIR in "$ROOT_DIR"/model/*/; do
|
|
||||||
ID=$(basename "$DIR")
|
|
||||||
[ -d "$DIR/src" ] || continue
|
|
||||||
PROJ=$(ls "$DIR"src/*.csproj 2>/dev/null | head -1)
|
|
||||||
[ -n "$PROJ" ] || continue
|
|
||||||
dotnet build "$PROJ" -c Release
|
|
||||||
if [ -d "$DIR$ID.model" ]; then
|
|
||||||
for DLL in "$DIR"src/bin/Release/net8.0/*.dll; do
|
|
||||||
[ -f "$DLL" ] || continue
|
|
||||||
NAME=$(basename "$DLL")
|
|
||||||
[ "$NAME" = "EarthModelStudio.ModelSdk.dll" ] && continue
|
|
||||||
cp "$DLL" "$DIR$ID.model/"
|
|
||||||
echo " -> model/$ID/$ID.model/$NAME"
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
echo "==> 用模型自己的渲染器生成封面"
|
|
||||||
dotnet run --project "$PREVIEW_PROJ" -c Release -- "$ROOT_DIR"
|
|
||||||
stamp_versions
|
|
||||||
}
|
|
||||||
|
|
||||||
# 发布目录只放启动器 + 空的 .GC 运行骨架,绝不放模型
|
|
||||||
prepare_runtime_layout() {
|
|
||||||
REL="$1"
|
|
||||||
DEST="$ROOT_DIR/$REL"
|
|
||||||
[ -d "$DEST" ] || return 0
|
|
||||||
rm -rf "$DEST/model" "$DEST/examples"
|
|
||||||
mkdir -p "$DEST/.GC/model" "$DEST/.GC/cache" "$DEST/.GC/update"
|
|
||||||
cat > "$DEST/.GC/model/README.txt" <<'TXT'
|
|
||||||
模型库目录(.GC/model/)
|
|
||||||
启动时程序会读取 gitcode 仓库的 version.json,把最新版模型下载到这里。
|
|
||||||
离线使用也可以手动放入 <模型id>/<模型id>.json + <模型id>/<模型id>.model/。
|
|
||||||
|
|
||||||
运行目录:
|
|
||||||
<可执行文件>
|
|
||||||
.GC/settings.json
|
|
||||||
.GC/model/ 本目录(下载的模型)
|
|
||||||
.GC/cache/ 下载暂存
|
|
||||||
.GC/update/ 待下次启动应用的启动器更新
|
|
||||||
TXT
|
|
||||||
if [ ! -f "$DEST/.GC/settings.json" ]; then
|
|
||||||
cat > "$DEST/.GC/settings.json" <<'JSON'
|
|
||||||
{
|
|
||||||
"language": "auto",
|
|
||||||
"theme": "light",
|
|
||||||
"renderFps": 30,
|
|
||||||
"memoryMb": 2048,
|
|
||||||
"autoUpdateOnStartup": true,
|
|
||||||
"updateRepository": "https://gitcode.com/2509_92447106/GC",
|
|
||||||
"updateManifestUrl": "",
|
|
||||||
"updateLocalRoot": "",
|
|
||||||
"installedModelVersions": {},
|
|
||||||
"launcherVersion": "",
|
|
||||||
"pendingLauncherVersion": "",
|
|
||||||
"lastUpdateCheck": "",
|
|
||||||
"sources": [],
|
|
||||||
"recentModels": []
|
|
||||||
}
|
|
||||||
JSON
|
|
||||||
fi
|
|
||||||
echo " 运行目录 -> $REL/.GC (settings.json + model/ + cache/ + update/)"
|
|
||||||
}
|
|
||||||
|
|
||||||
# $1=RID $2=输出目录 $3=singlefile(true/false)
|
|
||||||
publish_rid() {
|
|
||||||
RID="$1"; OUT="$2"; SINGLE="${3:-true}"
|
|
||||||
echo ""
|
|
||||||
echo "==> 编译 ${RID} (single-file=${SINGLE}) -> ${OUT}"
|
|
||||||
# 先删旧产物,避免上次 publish 的残留文件混进新包
|
|
||||||
rm -rf "$ROOT_DIR/$OUT"
|
|
||||||
dotnet publish "$APP_PROJ" \
|
|
||||||
-c Release \
|
|
||||||
-r "$RID" \
|
|
||||||
--self-contained true \
|
|
||||||
-p:Version="$VERSION" \
|
|
||||||
-p:DebugType=none \
|
|
||||||
-p:PublishSingleFile="$SINGLE" \
|
|
||||||
-p:IncludeNativeLibrariesForSelfExtract="$SINGLE" \
|
|
||||||
-p:PublishTrimmed=false \
|
|
||||||
-o "$ROOT_DIR/$OUT"
|
|
||||||
rm -rf "$ROOT_DIR/$OUT/model" "$ROOT_DIR/$OUT/examples"
|
|
||||||
}
|
|
||||||
|
|
||||||
# 把 model/ 里的模型数据单独打包(与启动器分开分发)
|
|
||||||
pack_models() {
|
|
||||||
mkdir -p "$ROOT_DIR/dist"
|
|
||||||
ZIP="$ROOT_DIR/dist/models-$VERSION.zip"
|
|
||||||
rm -f "$ZIP"
|
|
||||||
echo "==> 打包模型数据 -> dist/models-$VERSION.zip"
|
|
||||||
( cd "$ROOT_DIR" && zip -qr "$ZIP" model \
|
|
||||||
-x "*.DS_Store" "*/bin/*" "*/obj/*" "*.user" )
|
|
||||||
du -sh "$ZIP"
|
|
||||||
}
|
|
||||||
|
|
||||||
# 启动器更新包:只包含程序文件,排除 .GC(否则会覆盖用户已下载的模型与设置)
|
|
||||||
# 产物命名:GC-<版本>-<系统>-<架构>.exe / GC-<版本>-<系统>-<架构>.app.zip
|
|
||||||
# Windows: 单文件 exe 直接改名(本身就是可执行产物)
|
|
||||||
# macOS: .app 必须打成 zip 才能作为单文件分发;文件名用 .app.zip,
|
|
||||||
# 这样 macOS 双击会用归档工具解压出可运行的 .app。
|
|
||||||
# 若直接命名 .app,系统会把 zip 当成应用包解析 => 报「已损坏/打不开」。
|
|
||||||
pack_launcher() {
|
|
||||||
echo "==> 生成启动器产物(GC-<版本>-<系统>-<架构>)"
|
|
||||||
|
|
||||||
# --- Windows:exe 单文件 ---
|
|
||||||
for pair in "win-x64:win-amd64" "win-arm64:win-arm64"; do
|
|
||||||
RID="${pair%%:*}"; LABEL="${pair##*:}"
|
|
||||||
SRC="$ROOT_DIR/dist/$RID"
|
|
||||||
[ -d "$SRC" ] || continue
|
|
||||||
EXE=$(ls "$SRC"/*.exe 2>/dev/null | head -1)
|
|
||||||
[ -n "$EXE" ] || continue
|
|
||||||
DEST="$ROOT_DIR/dist/GC-${VERSION}-${LABEL}.exe"
|
|
||||||
cp "$EXE" "$DEST"
|
|
||||||
chmod +x "$DEST"
|
|
||||||
echo " -> $(basename "$DEST")"
|
|
||||||
done
|
|
||||||
|
|
||||||
# --- macOS:先得到真实 .app 目录(改名 + 同步 Info.plist)---
|
|
||||||
MACAPP="$ROOT_DIR/dist/mac-arm64/EarthModelStudio.app"
|
|
||||||
if [ -d "$MACAPP" ]; then
|
|
||||||
FINAL="$ROOT_DIR/dist/GC-${VERSION}-mac-arm64.app"
|
|
||||||
rm -rf "$FINAL"
|
|
||||||
mv "$MACAPP" "$FINAL"
|
|
||||||
chmod +x "$FINAL/Contents/MacOS/EarthModelStudio" 2>/dev/null || true
|
|
||||||
PLIST="$FINAL/Contents/Info.plist"
|
|
||||||
if [ -f "$PLIST" ]; then
|
|
||||||
/usr/libexec/PlistBuddy -c "Set :CFBundleName Morris GC" "$PLIST" 2>/dev/null || true
|
|
||||||
/usr/libexec/PlistBuddy -c "Set :CFBundleDisplayName Morris GC" "$PLIST" 2>/dev/null || true
|
|
||||||
fi
|
|
||||||
xattr -cr "$FINAL" 2>/dev/null || true
|
|
||||||
echo " -> $(basename "$FINAL")/"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# --- 统一压缩:每个产物都打成同名 .zip ---
|
|
||||||
# GC-1.0.3-win-amd64.exe -> GC-1.0.3-win-amd64.zip
|
|
||||||
# GC-1.0.3-win-arm64.exe -> GC-1.0.3-win-arm64.zip
|
|
||||||
# GC-1.0.3-mac-arm64.app -> GC-1.0.3-mac-arm64.zip
|
|
||||||
# 客户端下载时按「原名去掉扩展名 + .zip」取包,再解压回原名。
|
|
||||||
echo "==> 压缩为 zip"
|
|
||||||
for art in "$ROOT_DIR"/dist/GC-"$VERSION"-*.exe "$ROOT_DIR"/dist/GC-"$VERSION"-*.app; do
|
|
||||||
[ -e "$art" ] || continue
|
|
||||||
base=$(basename "$art")
|
|
||||||
name="${base%.*}" # 去掉 .exe / .app
|
|
||||||
ZIP="$ROOT_DIR/dist/${name}.zip"
|
|
||||||
rm -f "$ZIP"
|
|
||||||
if [ -d "$art" ]; then
|
|
||||||
# 目录(.app):保留权限与符号链接
|
|
||||||
if command -v ditto >/dev/null 2>&1; then
|
|
||||||
ditto -c -k --sequesterRsrc --keepParent "$art" "$ZIP"
|
|
||||||
else
|
|
||||||
( cd "$(dirname "$art")" && zip -qry "$ZIP" "$base" -x "*.DS_Store" )
|
|
||||||
fi
|
|
||||||
else
|
|
||||||
( cd "$(dirname "$art")" && zip -q "$ZIP" "$base" )
|
|
||||||
fi
|
|
||||||
echo " -> ${name}.zip"
|
|
||||||
done
|
|
||||||
|
|
||||||
# 原始产物(.exe / .app 目录)不再保留:只发布 zip
|
|
||||||
rm -f "$ROOT_DIR"/dist/GC-"$VERSION"-*.exe
|
|
||||||
rm -rf "$ROOT_DIR"/dist/GC-"$VERSION"-*.app
|
|
||||||
|
|
||||||
strip_intermediate_dirs
|
|
||||||
stamp_versions
|
|
||||||
echo ""
|
|
||||||
echo "==> dist 只保留可发布的 zip:"
|
|
||||||
ls -lh "$ROOT_DIR"/dist/GC-"$VERSION"-*.zip 2>/dev/null || true
|
|
||||||
}
|
|
||||||
|
|
||||||
# 删除 publish 过程中的中间目录,dist 里只留最终附件
|
|
||||||
strip_intermediate_dirs() {
|
|
||||||
for d in win-x64 win-arm64 mac-arm64; do
|
|
||||||
[ -d "$ROOT_DIR/dist/$d" ] && rm -rf "$ROOT_DIR/dist/$d"
|
|
||||||
done
|
|
||||||
find "$ROOT_DIR/dist" -name ".DS_Store" -delete 2>/dev/null || true
|
|
||||||
}
|
|
||||||
|
|
||||||
package_mac_app() {
|
|
||||||
DIST="$ROOT_DIR/dist/mac-arm64"
|
|
||||||
APP="$DIST/EarthModelStudio.app"
|
|
||||||
rm -rf "$APP"
|
|
||||||
mkdir -p "$APP/Contents/MacOS" "$APP/Contents/Resources"
|
|
||||||
cat > "$APP/Contents/Info.plist" <<PLIST
|
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>CFBundleName</key><string>Earth Model Studio</string>
|
|
||||||
<key>CFBundleDisplayName</key><string>Earth Model Studio</string>
|
|
||||||
<key>CFBundleIdentifier</key><string>cn.neorf.earthmodelstudio</string>
|
|
||||||
<key>CFBundleVersion</key><string>${VERSION}</string>
|
|
||||||
<key>CFBundleShortVersionString</key><string>${VERSION}</string>
|
|
||||||
<key>CFBundlePackageType</key><string>APPL</string>
|
|
||||||
<key>CFBundleExecutable</key><string>EarthModelStudio</string>
|
|
||||||
<key>CFBundleInfoDictionaryVersion</key><string>6.0</string>
|
|
||||||
<key>LSMinimumSystemVersion</key><string>11.0</string>
|
|
||||||
<key>NSHighResolutionCapable</key><true/>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
||||||
PLIST
|
|
||||||
for f in "$DIST"/*; do
|
|
||||||
base=$(basename "$f")
|
|
||||||
[ "$base" = "EarthModelStudio.app" ] && continue
|
|
||||||
[ "$base" = ".DS_Store" ] && continue
|
|
||||||
mv "$f" "$APP/Contents/MacOS/"
|
|
||||||
done
|
|
||||||
# 发布包不带 .GC 运行骨架(用户首次启动自行创建),避免覆盖用户数据
|
|
||||||
rm -rf "$APP/Contents/MacOS/.GC"
|
|
||||||
chmod +x "$APP/Contents/MacOS/EarthModelStudio"
|
|
||||||
echo "==> 已打包 $APP"
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,100 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# buildsh/lib/progress.sh —— apt 风格底部实时进度条
|
|
||||||
#
|
|
||||||
# 底部一行:任务 当前任务进度 总进度 剩余时间
|
|
||||||
# 编译MacOS 95% 30% 10s
|
|
||||||
#
|
|
||||||
# 用法:
|
|
||||||
# progress_init <总步骤数> <每步权重...>
|
|
||||||
# progress_step <步骤名> # 开始某步骤
|
|
||||||
# progress_tick <0-100> # 更新当前步骤完成度
|
|
||||||
# progress_done # 结束
|
|
||||||
|
|
||||||
PROGRESS_TOTAL=1
|
|
||||||
PROGRESS_WEIGHTS=""
|
|
||||||
PROGRESS_IDX=0
|
|
||||||
PROGRESS_CUR=0
|
|
||||||
PROGRESS_STARTED=0
|
|
||||||
PROGRESS_LAST=0
|
|
||||||
PROGRESS_HISTORY=""
|
|
||||||
|
|
||||||
_now() { date +%s; }
|
|
||||||
|
|
||||||
# 加权总进度:前序步骤权重之和 + 当前步骤权重*完成度
|
|
||||||
_progress_overall() {
|
|
||||||
_sum=0; _i=1
|
|
||||||
for _w in $PROGRESS_WEIGHTS; do
|
|
||||||
if [ "$_i" -lt "$PROGRESS_IDX" ]; then
|
|
||||||
_sum=$((_sum + _w)) # 已完成的步骤:全额
|
|
||||||
elif [ "$_i" -eq "$PROGRESS_IDX" ]; then
|
|
||||||
_sum=$((_sum + _w * PROGRESS_CUR / 100)) # 当前步骤:按完成度
|
|
||||||
fi
|
|
||||||
_i=$((_i + 1))
|
|
||||||
done
|
|
||||||
_p=$((_sum * 100 / PROGRESS_TOTAL))
|
|
||||||
[ "$_p" -gt 100 ] && _p=100
|
|
||||||
echo "$_p"
|
|
||||||
}
|
|
||||||
|
|
||||||
# 剩余时间:基于「已完成总进度 / 已用时间」线性外推
|
|
||||||
_progress_eta() {
|
|
||||||
_p=$(_progress_overall)
|
|
||||||
_t=$(( $(_now) - PROGRESS_STARTED ))
|
|
||||||
# 前期用「预估总时长」估算(按各步骤经验权重),后期用实测速率外推,更稳
|
|
||||||
if [ "$_p" -le 3 ] || [ "$_t" -le 0 ]; then
|
|
||||||
_eta=$(( PROGRESS_TOTAL * 8 / 100 )) # 粗估:每 1% 约 8 秒 -> 总约 800s? 见下
|
|
||||||
_eta=$(( 240 )) # 默认预估 4 分钟
|
|
||||||
else
|
|
||||||
_eta=$(( _t * (100 - _p) / _p ))
|
|
||||||
fi
|
|
||||||
if [ "$_eta" -ge 60 ]; then echo "$(( _eta / 60 ))m$((_eta % 60))s"; else echo "${_eta}s"; fi
|
|
||||||
}
|
|
||||||
|
|
||||||
progress_draw() {
|
|
||||||
_task="$PROGRESS_TASK"
|
|
||||||
_cur=$PROGRESS_CUR
|
|
||||||
_overall=$(_progress_overall)
|
|
||||||
_eta=$(_progress_eta)
|
|
||||||
|
|
||||||
# 进度条(20 格)
|
|
||||||
_filled=$((_overall * 20 / 100))
|
|
||||||
_bar=""
|
|
||||||
_i=0
|
|
||||||
while [ "$_i" -lt 20 ]; do
|
|
||||||
if [ "$_i" -lt "$_filled" ]; then _bar="${_bar}#"; else _bar="${_bar}."; fi
|
|
||||||
_i=$((_i + 1))
|
|
||||||
done
|
|
||||||
|
|
||||||
# 底部一行:任务 当前任务进度 总进度 剩余时间
|
|
||||||
printf '\r\033[K[%s] %-14s %3d%% %3d%% %s' \
|
|
||||||
"$_bar" "$_task" "$_cur" "$_overall" "$_eta"
|
|
||||||
}
|
|
||||||
|
|
||||||
progress_init() {
|
|
||||||
PROGRESS_TOTAL=$1
|
|
||||||
shift
|
|
||||||
PROGRESS_WEIGHTS="$*"
|
|
||||||
PROGRESS_IDX=0
|
|
||||||
PROGRESS_CUR=0
|
|
||||||
PROGRESS_STARTED=$(_now)
|
|
||||||
PROGRESS_TASK="准备"
|
|
||||||
progress_draw
|
|
||||||
}
|
|
||||||
|
|
||||||
progress_step() {
|
|
||||||
PROGRESS_TASK="$1"
|
|
||||||
PROGRESS_CUR=0
|
|
||||||
PROGRESS_IDX=$((PROGRESS_IDX + 1))
|
|
||||||
progress_draw
|
|
||||||
}
|
|
||||||
|
|
||||||
progress_tick() {
|
|
||||||
PROGRESS_CUR=$1
|
|
||||||
progress_draw
|
|
||||||
}
|
|
||||||
|
|
||||||
progress_done() {
|
|
||||||
PROGRESS_CUR=100
|
|
||||||
progress_tick 100
|
|
||||||
printf '\n'
|
|
||||||
}
|
|
||||||
@@ -1,33 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# buildsh/tools.sh —— 实用工具:模型、版本戳、清理、运行、医生、打开目录
|
|
||||||
|
|
||||||
bs_tools() {
|
|
||||||
ROOT_DIR="$1"; TASK="$2"
|
|
||||||
case "$TASK" in
|
|
||||||
models)
|
|
||||||
build_models ;;
|
|
||||||
stamp)
|
|
||||||
stamp_versions ;;
|
|
||||||
pack-models)
|
|
||||||
build_models; pack_models ;;
|
|
||||||
pack-launcher)
|
|
||||||
pack_launcher ;;
|
|
||||||
run)
|
|
||||||
dotnet run --project "$APP_PROJ" -c Debug ;;
|
|
||||||
test)
|
|
||||||
dotnet run --project "$TEST_PROJ" -c Debug -- "$ROOT_DIR/build/screenshots" ;;
|
|
||||||
update-test)
|
|
||||||
dotnet run --project "$TEST_PROJ" -c Debug -- --update-test "$ROOT_DIR" ;;
|
|
||||||
clean)
|
|
||||||
rm -rf "$ROOT_DIR/build" "$ROOT_DIR/dist"
|
|
||||||
find "$ROOT_DIR/src" -type d \( -name bin -o -name obj \) -prune -exec rm -rf {} + 2>/dev/null || true
|
|
||||||
echo "==> 已清理" ;;
|
|
||||||
doctor)
|
|
||||||
dotnet --info | head -20 ;;
|
|
||||||
dist)
|
|
||||||
echo "==> dist 产物:"
|
|
||||||
ls -lh "$ROOT_DIR"/dist 2>/dev/null || true ;;
|
|
||||||
*)
|
|
||||||
echo "未知工具: $TASK"; return 1 ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
@@ -65,14 +65,11 @@ foreach (var dir in Directory.GetDirectories(modelRoot)
|
|||||||
var manifest = JsonNode.Parse(File.ReadAllText(manifestPath))?.AsObject();
|
var manifest = JsonNode.Parse(File.ReadAllText(manifestPath))?.AsObject();
|
||||||
if (manifest == null) continue;
|
if (manifest == null) continue;
|
||||||
|
|
||||||
// 版本号由模型清单里手写的 version 决定(作者手动升到 1.0 / 1.1 …),
|
// 版本号只由「清单内容 + 模型包数据」决定,重复构建结果稳定
|
||||||
// 不再用内容指纹覆盖:指纹形式(1.0-393cb2b7d4)对用户不可读、也没有语义。
|
manifest.Remove("version");
|
||||||
var declared = manifest["version"]?.GetValue<string>();
|
manifest.Remove("updatedAt");
|
||||||
var version = string.IsNullOrWhiteSpace(declared) ? "1.0" : declared!.Trim();
|
|
||||||
|
|
||||||
// 内容指纹保留在 build 字段,仅用于构建溯源,不参与版本比较
|
|
||||||
manifest.Remove("build");
|
|
||||||
var canonical = manifest.ToJsonString(new JsonSerializerOptions { WriteIndented = false });
|
var canonical = manifest.ToJsonString(new JsonSerializerOptions { WriteIndented = false });
|
||||||
|
|
||||||
var chunks = new List<byte[]> { Encoding.UTF8.GetBytes(canonical) };
|
var chunks = new List<byte[]> { Encoding.UTF8.GetBytes(canonical) };
|
||||||
foreach (var file in Directory.GetFiles(dataDir, "*", SearchOption.AllDirectories)
|
foreach (var file in Directory.GetFiles(dataDir, "*", SearchOption.AllDirectories)
|
||||||
.Where(Distributable)
|
.Where(Distributable)
|
||||||
@@ -81,10 +78,9 @@ foreach (var dir in Directory.GetDirectories(modelRoot)
|
|||||||
chunks.Add(Encoding.UTF8.GetBytes("\n" + Rel(dataDir, file) + "\n"));
|
chunks.Add(Encoding.UTF8.GetBytes("\n" + Rel(dataDir, file) + "\n"));
|
||||||
chunks.Add(File.ReadAllBytes(file));
|
chunks.Add(File.ReadAllBytes(file));
|
||||||
}
|
}
|
||||||
var fingerprint = Fingerprint(chunks)[..10];
|
|
||||||
|
|
||||||
|
var version = "1.0-" + Fingerprint(chunks)[..10];
|
||||||
manifest["version"] = version;
|
manifest["version"] = version;
|
||||||
manifest["build"] = fingerprint;
|
|
||||||
manifest["updatedAt"] = DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ssZ");
|
manifest["updatedAt"] = DateTime.UtcNow.ToString("yyyy-MM-ddTHH:mm:ssZ");
|
||||||
File.WriteAllText(manifestPath, manifest.ToJsonString(relaxed) + "\n");
|
File.WriteAllText(manifestPath, manifest.ToJsonString(relaxed) + "\n");
|
||||||
|
|
||||||
@@ -92,10 +88,9 @@ foreach (var dir in Directory.GetDirectories(modelRoot)
|
|||||||
{
|
{
|
||||||
["id"] = id,
|
["id"] = id,
|
||||||
["version"] = version,
|
["version"] = version,
|
||||||
["build"] = fingerprint,
|
|
||||||
["dir"] = "model/" + id
|
["dir"] = "model/" + id
|
||||||
});
|
});
|
||||||
Console.WriteLine($" {id,-20} {version,-8} (build {fingerprint})");
|
Console.WriteLine($" {id,-20} {version}");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 启动器源码指纹(只展示,不触发升级;升级看 launcher.version)
|
// 启动器源码指纹(只展示,不触发升级;升级看 launcher.version)
|
||||||
|
|||||||
Binary file not shown.
@@ -1,23 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeTarget": {
|
|
||||||
"name": ".NETCoreApp,Version=v8.0",
|
|
||||||
"signature": ""
|
|
||||||
},
|
|
||||||
"compilationOptions": {},
|
|
||||||
"targets": {
|
|
||||||
".NETCoreApp,Version=v8.0": {
|
|
||||||
"VersionStamp/1.0.3": {
|
|
||||||
"runtime": {
|
|
||||||
"VersionStamp.dll": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libraries": {
|
|
||||||
"VersionStamp/1.0.3": {
|
|
||||||
"type": "project",
|
|
||||||
"serviceable": false,
|
|
||||||
"sha512": ""
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
@@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeOptions": {
|
|
||||||
"tfm": "net8.0",
|
|
||||||
"framework": {
|
|
||||||
"name": "Microsoft.NETCore.App",
|
|
||||||
"version": "8.0.0"
|
|
||||||
},
|
|
||||||
"configProperties": {
|
|
||||||
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false,
|
|
||||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-4
@@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
|
||||||
@@ -1,23 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </auto-generated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("NeoRF")]
|
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.3.0")]
|
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.3")]
|
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Earth Model Studio")]
|
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("VersionStamp")]
|
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.3.0")]
|
|
||||||
[assembly: System.Resources.NeutralResourcesLanguageAttribute("zh-Hans")]
|
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
|
||||||
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
74f99e4d9cbf91b981ea8bb9ca826e7a8f5f09eeb43c6922e054b3d03a9b8acf
|
|
||||||
-18
@@ -1,18 +0,0 @@
|
|||||||
is_global = true
|
|
||||||
build_property.TargetFramework = net8.0
|
|
||||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
|
||||||
build_property.TargetFrameworkVersion = v8.0
|
|
||||||
build_property.TargetPlatformMinVersion =
|
|
||||||
build_property.UsingMicrosoftNETSdkWeb =
|
|
||||||
build_property.ProjectTypeGuids =
|
|
||||||
build_property.InvariantGlobalization =
|
|
||||||
build_property.PlatformNeutralAssembly =
|
|
||||||
build_property.EnforceExtendedAnalyzerRules =
|
|
||||||
build_property.EntryPointFilePath =
|
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
|
||||||
build_property.RootNamespace = VersionStamp
|
|
||||||
build_property.ProjectDir = /Users/morris/Downloads/GC#/model/_engine/VersionStamp/
|
|
||||||
build_property.EnableComHosting =
|
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
|
||||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
|
||||||
build_property.EnableCodeStyleSeverity =
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
// <auto-generated/>
|
|
||||||
global using System;
|
|
||||||
global using System.Collections.Generic;
|
|
||||||
global using System.IO;
|
|
||||||
global using System.Linq;
|
|
||||||
global using System.Net.Http;
|
|
||||||
global using System.Threading;
|
|
||||||
global using System.Threading.Tasks;
|
|
||||||
Binary file not shown.
-1
@@ -1 +0,0 @@
|
|||||||
85742ef80cf2152cf4a4430f83d458331bf993698b5083cd8b3b2fcfbf3691ce
|
|
||||||
-14
@@ -1,14 +0,0 @@
|
|||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/bin/Release/net8.0/VersionStamp
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/bin/Release/net8.0/VersionStamp.deps.json
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/bin/Release/net8.0/VersionStamp.runtimeconfig.json
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/bin/Release/net8.0/VersionStamp.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/bin/Release/net8.0/VersionStamp.pdb
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/VersionStamp.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/VersionStamp.AssemblyInfoInputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/VersionStamp.AssemblyInfo.cs
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/VersionStamp.csproj.CoreCompileInputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/VersionStamp.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/refint/VersionStamp.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/VersionStamp.pdb
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/VersionStamp.genruntimeconfig.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/Release/net8.0/ref/VersionStamp.dll
|
|
||||||
Binary file not shown.
@@ -1 +0,0 @@
|
|||||||
d0976149c15255acc8dcb9e033721a42927c784807f5fd87fba864a81ecce360
|
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,69 +0,0 @@
|
|||||||
{
|
|
||||||
"format": 1,
|
|
||||||
"restore": {
|
|
||||||
"/Users/morris/Downloads/GC#/model/_engine/VersionStamp/VersionStamp.csproj": {}
|
|
||||||
},
|
|
||||||
"projects": {
|
|
||||||
"/Users/morris/Downloads/GC#/model/_engine/VersionStamp/VersionStamp.csproj": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"restore": {
|
|
||||||
"projectUniqueName": "/Users/morris/Downloads/GC#/model/_engine/VersionStamp/VersionStamp.csproj",
|
|
||||||
"projectName": "VersionStamp",
|
|
||||||
"projectPath": "/Users/morris/Downloads/GC#/model/_engine/VersionStamp/VersionStamp.csproj",
|
|
||||||
"packagesPath": "/Users/morris/.nuget/packages/",
|
|
||||||
"outputPath": "/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/",
|
|
||||||
"projectStyle": "PackageReference",
|
|
||||||
"configFilePaths": [
|
|
||||||
"/Users/morris/.nuget/NuGet/NuGet.Config"
|
|
||||||
],
|
|
||||||
"originalTargetFrameworks": [
|
|
||||||
"net8.0"
|
|
||||||
],
|
|
||||||
"sources": {
|
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"projectReferences": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"warningProperties": {
|
|
||||||
"warnAsError": [
|
|
||||||
"NU1605"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"restoreAuditProperties": {
|
|
||||||
"enableAudit": "true",
|
|
||||||
"auditLevel": "low",
|
|
||||||
"auditMode": "direct"
|
|
||||||
},
|
|
||||||
"SdkAnalysisLevel": "10.0.400"
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"imports": [
|
|
||||||
"net461",
|
|
||||||
"net462",
|
|
||||||
"net47",
|
|
||||||
"net471",
|
|
||||||
"net472",
|
|
||||||
"net48",
|
|
||||||
"net481"
|
|
||||||
],
|
|
||||||
"assetTargetFallback": true,
|
|
||||||
"warn": true,
|
|
||||||
"frameworkReferences": {
|
|
||||||
"Microsoft.NETCore.App": {
|
|
||||||
"privateAssets": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/10.0.401/PortableRuntimeIdentifierGraph.json"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,15 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
|
||||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
|
||||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
|
||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/morris/.nuget/packages/</NuGetPackageRoot>
|
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/morris/.nuget/packages/</NuGetPackageFolders>
|
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<SourceRoot Include="/Users/morris/.nuget/packages/" />
|
|
||||||
</ItemGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -1,2 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
||||||
@@ -1,74 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 4,
|
|
||||||
"targets": {
|
|
||||||
"net8.0": {}
|
|
||||||
},
|
|
||||||
"libraries": {},
|
|
||||||
"projectFileDependencyGroups": {
|
|
||||||
"net8.0": []
|
|
||||||
},
|
|
||||||
"packageFolders": {
|
|
||||||
"/Users/morris/.nuget/packages/": {}
|
|
||||||
},
|
|
||||||
"project": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"restore": {
|
|
||||||
"projectUniqueName": "/Users/morris/Downloads/GC#/model/_engine/VersionStamp/VersionStamp.csproj",
|
|
||||||
"projectName": "VersionStamp",
|
|
||||||
"projectPath": "/Users/morris/Downloads/GC#/model/_engine/VersionStamp/VersionStamp.csproj",
|
|
||||||
"packagesPath": "/Users/morris/.nuget/packages/",
|
|
||||||
"outputPath": "/Users/morris/Downloads/GC#/model/_engine/VersionStamp/obj/",
|
|
||||||
"projectStyle": "PackageReference",
|
|
||||||
"configFilePaths": [
|
|
||||||
"/Users/morris/.nuget/NuGet/NuGet.Config"
|
|
||||||
],
|
|
||||||
"originalTargetFrameworks": [
|
|
||||||
"net8.0"
|
|
||||||
],
|
|
||||||
"sources": {
|
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"projectReferences": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"warningProperties": {
|
|
||||||
"warnAsError": [
|
|
||||||
"NU1605"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"restoreAuditProperties": {
|
|
||||||
"enableAudit": "true",
|
|
||||||
"auditLevel": "low",
|
|
||||||
"auditMode": "direct"
|
|
||||||
},
|
|
||||||
"SdkAnalysisLevel": "10.0.400"
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"imports": [
|
|
||||||
"net461",
|
|
||||||
"net462",
|
|
||||||
"net47",
|
|
||||||
"net471",
|
|
||||||
"net472",
|
|
||||||
"net48",
|
|
||||||
"net481"
|
|
||||||
],
|
|
||||||
"assetTargetFallback": true,
|
|
||||||
"warn": true,
|
|
||||||
"frameworkReferences": {
|
|
||||||
"Microsoft.NETCore.App": {
|
|
||||||
"privateAssets": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/10.0.401/PortableRuntimeIdentifierGraph.json"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"dgSpecHash": "tJZIToOhfvc=",
|
|
||||||
"success": true,
|
|
||||||
"projectFilePath": "/Users/morris/Downloads/GC#/model/_engine/VersionStamp/VersionStamp.csproj",
|
|
||||||
"expectedPackageFiles": [],
|
|
||||||
"logs": []
|
|
||||||
}
|
|
||||||
-115
@@ -1,115 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeTarget": {
|
|
||||||
"name": ".NETCoreApp,Version=v8.0",
|
|
||||||
"signature": ""
|
|
||||||
},
|
|
||||||
"compilationOptions": {},
|
|
||||||
"targets": {
|
|
||||||
".NETCoreApp,Version=v8.0": {
|
|
||||||
"EarthModelStudio.ModelSdk/1.0.3": {
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia": "11.3.9"
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"EarthModelStudio.ModelSdk.dll": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia/11.3.9": {
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia.Remote.Protocol": "11.3.9",
|
|
||||||
"MicroCom.Runtime": "0.11.0"
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Base.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Controls.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.DesignerSupport.dll": {
|
|
||||||
"assemblyVersion": "0.7.0.0",
|
|
||||||
"fileVersion": "0.7.0.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Dialogs.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.Xaml.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Metal.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.MicroCom.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.OpenGL.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Vulkan.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia.Remote.Protocol/11.3.9": {
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MicroCom.Runtime/0.11.0": {
|
|
||||||
"runtime": {
|
|
||||||
"lib/net5.0/MicroCom.Runtime.dll": {
|
|
||||||
"assemblyVersion": "0.11.0.0",
|
|
||||||
"fileVersion": "0.11.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libraries": {
|
|
||||||
"EarthModelStudio.ModelSdk/1.0.3": {
|
|
||||||
"type": "project",
|
|
||||||
"serviceable": false,
|
|
||||||
"sha512": ""
|
|
||||||
},
|
|
||||||
"Avalonia/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"serviceable": true,
|
|
||||||
"sha512": "sha512-YfaTrUxcmVTsGOw2YqdZyunHqZArK16m1pYfNIBvyvAgX89Pzd3A1PgoMkf64u7scL23IN6HkfqhZeFcbYWLoA==",
|
|
||||||
"path": "avalonia/11.3.9",
|
|
||||||
"hashPath": "avalonia.11.3.9.nupkg.sha512"
|
|
||||||
},
|
|
||||||
"Avalonia.Remote.Protocol/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"serviceable": true,
|
|
||||||
"sha512": "sha512-2XVLTSNa+Nvwu4D8NqqdudhllTaCRA9ZKlLZZvYLZeuLlzg7OcAV+df/biHQc6AqOv7iMFR9K5Zt3wG0EF4KfQ==",
|
|
||||||
"path": "avalonia.remote.protocol/11.3.9",
|
|
||||||
"hashPath": "avalonia.remote.protocol.11.3.9.nupkg.sha512"
|
|
||||||
},
|
|
||||||
"MicroCom.Runtime/0.11.0": {
|
|
||||||
"type": "package",
|
|
||||||
"serviceable": true,
|
|
||||||
"sha512": "sha512-MEnrZ3UIiH40hjzMDsxrTyi8dtqB5ziv3iBeeU4bXsL/7NLSal9F1lZKpK+tfBRnUoDSdtcW3KufE4yhATOMCA==",
|
|
||||||
"path": "microcom.runtime/0.11.0",
|
|
||||||
"hashPath": "microcom.runtime.0.11.0.nupkg.sha512"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
Binary file not shown.
-115
@@ -1,115 +0,0 @@
|
|||||||
{
|
|
||||||
"runtimeTarget": {
|
|
||||||
"name": ".NETCoreApp,Version=v8.0",
|
|
||||||
"signature": ""
|
|
||||||
},
|
|
||||||
"compilationOptions": {},
|
|
||||||
"targets": {
|
|
||||||
".NETCoreApp,Version=v8.0": {
|
|
||||||
"EarthModelStudio.ModelSdk/1.0.3": {
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia": "11.3.9"
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"EarthModelStudio.ModelSdk.dll": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia/11.3.9": {
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia.Remote.Protocol": "11.3.9",
|
|
||||||
"MicroCom.Runtime": "0.11.0"
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Base.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Controls.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.DesignerSupport.dll": {
|
|
||||||
"assemblyVersion": "0.7.0.0",
|
|
||||||
"fileVersion": "0.7.0.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Dialogs.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.Xaml.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Metal.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.MicroCom.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.OpenGL.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Vulkan.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia.Remote.Protocol/11.3.9": {
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.dll": {
|
|
||||||
"assemblyVersion": "11.3.9.0",
|
|
||||||
"fileVersion": "11.3.9.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MicroCom.Runtime/0.11.0": {
|
|
||||||
"runtime": {
|
|
||||||
"lib/net5.0/MicroCom.Runtime.dll": {
|
|
||||||
"assemblyVersion": "0.11.0.0",
|
|
||||||
"fileVersion": "0.11.0.0"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libraries": {
|
|
||||||
"EarthModelStudio.ModelSdk/1.0.3": {
|
|
||||||
"type": "project",
|
|
||||||
"serviceable": false,
|
|
||||||
"sha512": ""
|
|
||||||
},
|
|
||||||
"Avalonia/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"serviceable": true,
|
|
||||||
"sha512": "sha512-YfaTrUxcmVTsGOw2YqdZyunHqZArK16m1pYfNIBvyvAgX89Pzd3A1PgoMkf64u7scL23IN6HkfqhZeFcbYWLoA==",
|
|
||||||
"path": "avalonia/11.3.9",
|
|
||||||
"hashPath": "avalonia.11.3.9.nupkg.sha512"
|
|
||||||
},
|
|
||||||
"Avalonia.Remote.Protocol/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"serviceable": true,
|
|
||||||
"sha512": "sha512-2XVLTSNa+Nvwu4D8NqqdudhllTaCRA9ZKlLZZvYLZeuLlzg7OcAV+df/biHQc6AqOv7iMFR9K5Zt3wG0EF4KfQ==",
|
|
||||||
"path": "avalonia.remote.protocol/11.3.9",
|
|
||||||
"hashPath": "avalonia.remote.protocol.11.3.9.nupkg.sha512"
|
|
||||||
},
|
|
||||||
"MicroCom.Runtime/0.11.0": {
|
|
||||||
"type": "package",
|
|
||||||
"serviceable": true,
|
|
||||||
"sha512": "sha512-MEnrZ3UIiH40hjzMDsxrTyi8dtqB5ziv3iBeeU4bXsL/7NLSal9F1lZKpK+tfBRnUoDSdtcW3KufE4yhATOMCA==",
|
|
||||||
"path": "microcom.runtime/0.11.0",
|
|
||||||
"hashPath": "microcom.runtime.0.11.0.nupkg.sha512"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Binary file not shown.
-4
@@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
|
||||||
@@ -1 +0,0 @@
|
|||||||
19347f0fd9099e96da933911861c08405b49d004b7b88b97423c17bee0eb100f
|
|
||||||
-24
@@ -1,24 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </auto-generated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("NeoRF")]
|
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
|
||||||
[assembly: System.Reflection.AssemblyDescriptionAttribute("Earth Model 模型契约:启动器与模型之间唯一的编译期依赖。")]
|
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.3.0")]
|
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.3")]
|
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Earth Model Studio")]
|
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("EarthModelStudio.ModelSdk")]
|
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.3.0")]
|
|
||||||
[assembly: System.Resources.NeutralResourcesLanguageAttribute("zh-Hans")]
|
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
|
||||||
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
b335d297927ccf5a0daf4e3ae36efd34dab2da4d5a059ac53a2e5ec720bc9741
|
|
||||||
-25
@@ -1,25 +0,0 @@
|
|||||||
is_global = true
|
|
||||||
build_property.AvaloniaNameGeneratorIsEnabled = true
|
|
||||||
build_property.AvaloniaNameGeneratorBehavior = InitializeComponent
|
|
||||||
build_property.AvaloniaNameGeneratorDefaultFieldModifier = internal
|
|
||||||
build_property.AvaloniaNameGeneratorFilterByPath = *
|
|
||||||
build_property.AvaloniaNameGeneratorFilterByNamespace = *
|
|
||||||
build_property.AvaloniaNameGeneratorViewFileNamingStrategy = NamespaceAndClassName
|
|
||||||
build_property.AvaloniaNameGeneratorAttachDevTools = true
|
|
||||||
build_property.TargetFramework = net8.0
|
|
||||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
|
||||||
build_property.TargetFrameworkVersion = v8.0
|
|
||||||
build_property.TargetPlatformMinVersion =
|
|
||||||
build_property.UsingMicrosoftNETSdkWeb =
|
|
||||||
build_property.ProjectTypeGuids =
|
|
||||||
build_property.InvariantGlobalization =
|
|
||||||
build_property.PlatformNeutralAssembly =
|
|
||||||
build_property.EnforceExtendedAnalyzerRules =
|
|
||||||
build_property.EntryPointFilePath =
|
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
|
||||||
build_property.RootNamespace = EarthModelStudio.ModelSdk
|
|
||||||
build_property.ProjectDir = /Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/
|
|
||||||
build_property.EnableComHosting =
|
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
|
||||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
|
||||||
build_property.EnableCodeStyleSeverity =
|
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
|||||||
700a4b41f184bc7a11bf82dedb3429528bb388b5fb0ec5c68baea6f472087bef
|
|
||||||
-13
@@ -1,13 +0,0 @@
|
|||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/bin/Debug/net8.0/EarthModelStudio.ModelSdk.deps.json
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/bin/Debug/net8.0/EarthModelStudio.ModelSdk.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/bin/Debug/net8.0/EarthModelStudio.ModelSdk.pdb
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/EarthModelStudio.ModelSdk.csproj.AssemblyReference.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/Avalonia/Resources.Inputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/EarthModelStudio.ModelSdk.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/EarthModelStudio.ModelSdk.AssemblyInfoInputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/EarthModelStudio.ModelSdk.AssemblyInfo.cs
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/EarthModelStudio.ModelSdk.csproj.CoreCompileInputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/EarthModelStudio.ModelSdk.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/refint/EarthModelStudio.ModelSdk.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/EarthModelStudio.ModelSdk.pdb
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Debug/net8.0/ref/EarthModelStudio.ModelSdk.dll
|
|
||||||
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
-96
@@ -1,96 +0,0 @@
|
|||||||
{
|
|
||||||
"format": 1,
|
|
||||||
"restore": {
|
|
||||||
"/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/EarthModelStudio.ModelSdk.csproj": {}
|
|
||||||
},
|
|
||||||
"projects": {
|
|
||||||
"/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/EarthModelStudio.ModelSdk.csproj": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"restore": {
|
|
||||||
"projectUniqueName": "/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/EarthModelStudio.ModelSdk.csproj",
|
|
||||||
"projectName": "EarthModelStudio.ModelSdk",
|
|
||||||
"projectPath": "/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/EarthModelStudio.ModelSdk.csproj",
|
|
||||||
"packagesPath": "/Users/morris/.nuget/packages/",
|
|
||||||
"outputPath": "/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/",
|
|
||||||
"projectStyle": "PackageReference",
|
|
||||||
"configFilePaths": [
|
|
||||||
"/Users/morris/.nuget/NuGet/NuGet.Config"
|
|
||||||
],
|
|
||||||
"originalTargetFrameworks": [
|
|
||||||
"net8.0"
|
|
||||||
],
|
|
||||||
"sources": {
|
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"projectReferences": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"warningProperties": {
|
|
||||||
"warnAsError": [
|
|
||||||
"NU1605"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"restoreAuditProperties": {
|
|
||||||
"enableAudit": "true",
|
|
||||||
"auditLevel": "low",
|
|
||||||
"auditMode": "direct"
|
|
||||||
},
|
|
||||||
"SdkAnalysisLevel": "10.0.400"
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia": {
|
|
||||||
"target": "Package",
|
|
||||||
"version": "[11.3.9, )"
|
|
||||||
},
|
|
||||||
"Microsoft.NET.ILLink.Tasks": {
|
|
||||||
"suppressParent": "All",
|
|
||||||
"target": "Package",
|
|
||||||
"version": "[8.0.31, )",
|
|
||||||
"autoReferenced": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"imports": [
|
|
||||||
"net461",
|
|
||||||
"net462",
|
|
||||||
"net47",
|
|
||||||
"net471",
|
|
||||||
"net472",
|
|
||||||
"net48",
|
|
||||||
"net481"
|
|
||||||
],
|
|
||||||
"assetTargetFallback": true,
|
|
||||||
"warn": true,
|
|
||||||
"downloadDependencies": [
|
|
||||||
{
|
|
||||||
"name": "Microsoft.AspNetCore.App.Runtime.win-arm64",
|
|
||||||
"version": "[8.0.31, 8.0.31]"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Microsoft.NETCore.App.Runtime.win-arm64",
|
|
||||||
"version": "[8.0.31, 8.0.31]"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"frameworkReferences": {
|
|
||||||
"Microsoft.NETCore.App": {
|
|
||||||
"privateAssets": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/10.0.401/PortableRuntimeIdentifierGraph.json"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtimes": {
|
|
||||||
"win-arm64": {
|
|
||||||
"#import": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
-24
@@ -1,24 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
|
||||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
|
||||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
|
||||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/Users/morris/.nuget/packages/</NuGetPackageRoot>
|
|
||||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/morris/.nuget/packages/</NuGetPackageFolders>
|
|
||||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
|
||||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">7.0.0</NuGetToolVersion>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<SourceRoot Include="/Users/morris/.nuget/packages/" />
|
|
||||||
</ItemGroup>
|
|
||||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<Import Project="$(NuGetPackageRoot)microsoft.net.illink.tasks/8.0.31/build/Microsoft.NET.ILLink.Tasks.props" Condition="Exists('$(NuGetPackageRoot)microsoft.net.illink.tasks/8.0.31/build/Microsoft.NET.ILLink.Tasks.props')" />
|
|
||||||
<Import Project="$(NuGetPackageRoot)avalonia/11.3.9/buildTransitive/Avalonia.props" Condition="Exists('$(NuGetPackageRoot)avalonia/11.3.9/buildTransitive/Avalonia.props')" />
|
|
||||||
</ImportGroup>
|
|
||||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<PkgMicrosoft_NET_ILLink_Tasks Condition=" '$(PkgMicrosoft_NET_ILLink_Tasks)' == '' ">/Users/morris/.nuget/packages/microsoft.net.illink.tasks/8.0.31</PkgMicrosoft_NET_ILLink_Tasks>
|
|
||||||
<PkgAvalonia_BuildServices Condition=" '$(PkgAvalonia_BuildServices)' == '' ">/Users/morris/.nuget/packages/avalonia.buildservices/11.3.2</PkgAvalonia_BuildServices>
|
|
||||||
<PkgAvalonia Condition=" '$(PkgAvalonia)' == '' ">/Users/morris/.nuget/packages/avalonia/11.3.9</PkgAvalonia>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
-7
@@ -1,7 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
|
||||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
|
||||||
<Import Project="$(NuGetPackageRoot)avalonia.buildservices/11.3.2/buildTransitive/Avalonia.BuildServices.targets" Condition="Exists('$(NuGetPackageRoot)avalonia.buildservices/11.3.2/buildTransitive/Avalonia.BuildServices.targets')" />
|
|
||||||
<Import Project="$(NuGetPackageRoot)avalonia/11.3.9/buildTransitive/Avalonia.targets" Condition="Exists('$(NuGetPackageRoot)avalonia/11.3.9/buildTransitive/Avalonia.targets')" />
|
|
||||||
</ImportGroup>
|
|
||||||
</Project>
|
|
||||||
-4
@@ -1,4 +0,0 @@
|
|||||||
// <autogenerated />
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
19347f0fd9099e96da933911861c08405b49d004b7b88b97423c17bee0eb100f
|
|
||||||
-24
@@ -1,24 +0,0 @@
|
|||||||
//------------------------------------------------------------------------------
|
|
||||||
// <auto-generated>
|
|
||||||
// This code was generated by a tool.
|
|
||||||
//
|
|
||||||
// Changes to this file may cause incorrect behavior and will be lost if
|
|
||||||
// the code is regenerated.
|
|
||||||
// </auto-generated>
|
|
||||||
//------------------------------------------------------------------------------
|
|
||||||
|
|
||||||
using System;
|
|
||||||
using System.Reflection;
|
|
||||||
|
|
||||||
[assembly: System.Reflection.AssemblyCompanyAttribute("NeoRF")]
|
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
|
||||||
[assembly: System.Reflection.AssemblyDescriptionAttribute("Earth Model 模型契约:启动器与模型之间唯一的编译期依赖。")]
|
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.3.0")]
|
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.3")]
|
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("Earth Model Studio")]
|
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("EarthModelStudio.ModelSdk")]
|
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.3.0")]
|
|
||||||
[assembly: System.Resources.NeutralResourcesLanguageAttribute("zh-Hans")]
|
|
||||||
|
|
||||||
// Generated by the MSBuild WriteCodeFragment class.
|
|
||||||
|
|
||||||
-1
@@ -1 +0,0 @@
|
|||||||
336916da7664ce932095ba041eac38a72bfaee332d45c8339c55e418ea5f5a20
|
|
||||||
-29
@@ -1,29 +0,0 @@
|
|||||||
is_global = true
|
|
||||||
build_property.EnableAotAnalyzer =
|
|
||||||
build_property.EnableSingleFileAnalyzer = true
|
|
||||||
build_property.EnableTrimAnalyzer =
|
|
||||||
build_property.IncludeAllContentForSelfExtract =
|
|
||||||
build_property.AvaloniaNameGeneratorIsEnabled = true
|
|
||||||
build_property.AvaloniaNameGeneratorBehavior = InitializeComponent
|
|
||||||
build_property.AvaloniaNameGeneratorDefaultFieldModifier = internal
|
|
||||||
build_property.AvaloniaNameGeneratorFilterByPath = *
|
|
||||||
build_property.AvaloniaNameGeneratorFilterByNamespace = *
|
|
||||||
build_property.AvaloniaNameGeneratorViewFileNamingStrategy = NamespaceAndClassName
|
|
||||||
build_property.AvaloniaNameGeneratorAttachDevTools = true
|
|
||||||
build_property.TargetFramework = net8.0
|
|
||||||
build_property.TargetFrameworkIdentifier = .NETCoreApp
|
|
||||||
build_property.TargetFrameworkVersion = v8.0
|
|
||||||
build_property.TargetPlatformMinVersion =
|
|
||||||
build_property.UsingMicrosoftNETSdkWeb =
|
|
||||||
build_property.ProjectTypeGuids =
|
|
||||||
build_property.InvariantGlobalization =
|
|
||||||
build_property.PlatformNeutralAssembly =
|
|
||||||
build_property.EnforceExtendedAnalyzerRules =
|
|
||||||
build_property.EntryPointFilePath =
|
|
||||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
|
||||||
build_property.RootNamespace = EarthModelStudio.ModelSdk
|
|
||||||
build_property.ProjectDir = /Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/
|
|
||||||
build_property.EnableComHosting =
|
|
||||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
|
||||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
|
||||||
build_property.EnableCodeStyleSeverity =
|
|
||||||
BIN
Binary file not shown.
BIN
Binary file not shown.
-1
@@ -1 +0,0 @@
|
|||||||
1ab491e560668f97a7c06bde5290baec8ff1947cd02855cf82f1f7a392fd58bf
|
|
||||||
-11
@@ -1,11 +0,0 @@
|
|||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/bin/Release/net8.0/EarthModelStudio.ModelSdk.deps.json
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/bin/Release/net8.0/EarthModelStudio.ModelSdk.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/EarthModelStudio.ModelSdk.csproj.AssemblyReference.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/Avalonia/Resources.Inputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/EarthModelStudio.ModelSdk.GeneratedMSBuildEditorConfig.editorconfig
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/EarthModelStudio.ModelSdk.AssemblyInfoInputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/EarthModelStudio.ModelSdk.AssemblyInfo.cs
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/EarthModelStudio.ModelSdk.csproj.CoreCompileInputs.cache
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/EarthModelStudio.ModelSdk.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/refint/EarthModelStudio.ModelSdk.dll
|
|
||||||
/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/Release/net8.0/ref/EarthModelStudio.ModelSdk.dll
|
|
||||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -1,610 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 4,
|
|
||||||
"targets": {
|
|
||||||
"net8.0": {
|
|
||||||
"Avalonia/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia.BuildServices": "11.3.2",
|
|
||||||
"Avalonia.Remote.Protocol": "11.3.9",
|
|
||||||
"MicroCom.Runtime": "0.11.0"
|
|
||||||
},
|
|
||||||
"compile": {
|
|
||||||
"ref/net8.0/Avalonia.Base.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Controls.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.DesignerSupport.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Dialogs.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Markup.Xaml.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Markup.dll": {
|
|
||||||
"related": ".Xaml.xml;.xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Metal.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.MicroCom.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.OpenGL.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Vulkan.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.dll": {
|
|
||||||
"related": ".Base.xml;.Controls.xml;.DesignerSupport.xml;.Dialogs.xml;.Markup.Xaml.xml;.Markup.xml;.Metal.xml;.MicroCom.xml;.OpenGL.xml;.Vulkan.xml;.xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Base.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Controls.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.DesignerSupport.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Dialogs.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.Xaml.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.dll": {
|
|
||||||
"related": ".Xaml.xml;.xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Metal.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.MicroCom.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.OpenGL.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Vulkan.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.dll": {
|
|
||||||
"related": ".Base.xml;.Controls.xml;.DesignerSupport.xml;.Dialogs.xml;.Markup.Xaml.xml;.Markup.xml;.Metal.xml;.MicroCom.xml;.OpenGL.xml;.Vulkan.xml;.xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"buildTransitive/Avalonia.props": {},
|
|
||||||
"buildTransitive/Avalonia.targets": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia.BuildServices/11.3.2": {
|
|
||||||
"type": "package",
|
|
||||||
"build": {
|
|
||||||
"buildTransitive/Avalonia.BuildServices.targets": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia.Remote.Protocol/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"compile": {
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MicroCom.Runtime/0.11.0": {
|
|
||||||
"type": "package",
|
|
||||||
"compile": {
|
|
||||||
"lib/net5.0/MicroCom.Runtime.dll": {}
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net5.0/MicroCom.Runtime.dll": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Microsoft.NET.ILLink.Tasks/8.0.31": {
|
|
||||||
"type": "package",
|
|
||||||
"build": {
|
|
||||||
"build/Microsoft.NET.ILLink.Tasks.props": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"net8.0/win-arm64": {
|
|
||||||
"Avalonia/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia.BuildServices": "11.3.2",
|
|
||||||
"Avalonia.Remote.Protocol": "11.3.9",
|
|
||||||
"MicroCom.Runtime": "0.11.0"
|
|
||||||
},
|
|
||||||
"compile": {
|
|
||||||
"ref/net8.0/Avalonia.Base.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Controls.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.DesignerSupport.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Dialogs.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Markup.Xaml.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Markup.dll": {
|
|
||||||
"related": ".Xaml.xml;.xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Metal.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.MicroCom.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.OpenGL.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.Vulkan.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"ref/net8.0/Avalonia.dll": {
|
|
||||||
"related": ".Base.xml;.Controls.xml;.DesignerSupport.xml;.Dialogs.xml;.Markup.Xaml.xml;.Markup.xml;.Metal.xml;.MicroCom.xml;.OpenGL.xml;.Vulkan.xml;.xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Base.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Controls.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.DesignerSupport.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Dialogs.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.Xaml.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Markup.dll": {
|
|
||||||
"related": ".Xaml.xml;.xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Metal.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.MicroCom.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.OpenGL.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.Vulkan.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
},
|
|
||||||
"lib/net8.0/Avalonia.dll": {
|
|
||||||
"related": ".Base.xml;.Controls.xml;.DesignerSupport.xml;.Dialogs.xml;.Markup.Xaml.xml;.Markup.xml;.Metal.xml;.MicroCom.xml;.OpenGL.xml;.Vulkan.xml;.xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"build": {
|
|
||||||
"buildTransitive/Avalonia.props": {},
|
|
||||||
"buildTransitive/Avalonia.targets": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia.BuildServices/11.3.2": {
|
|
||||||
"type": "package",
|
|
||||||
"build": {
|
|
||||||
"buildTransitive/Avalonia.BuildServices.targets": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Avalonia.Remote.Protocol/11.3.9": {
|
|
||||||
"type": "package",
|
|
||||||
"compile": {
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.dll": {
|
|
||||||
"related": ".xml"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"MicroCom.Runtime/0.11.0": {
|
|
||||||
"type": "package",
|
|
||||||
"compile": {
|
|
||||||
"lib/net5.0/MicroCom.Runtime.dll": {}
|
|
||||||
},
|
|
||||||
"runtime": {
|
|
||||||
"lib/net5.0/MicroCom.Runtime.dll": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Microsoft.NET.ILLink.Tasks/8.0.31": {
|
|
||||||
"type": "package",
|
|
||||||
"build": {
|
|
||||||
"build/Microsoft.NET.ILLink.Tasks.props": {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"libraries": {
|
|
||||||
"Avalonia/11.3.9": {
|
|
||||||
"sha512": "YfaTrUxcmVTsGOw2YqdZyunHqZArK16m1pYfNIBvyvAgX89Pzd3A1PgoMkf64u7scL23IN6HkfqhZeFcbYWLoA==",
|
|
||||||
"type": "package",
|
|
||||||
"path": "avalonia/11.3.9",
|
|
||||||
"hasTools": true,
|
|
||||||
"files": [
|
|
||||||
".nupkg.metadata",
|
|
||||||
".signature.p7s",
|
|
||||||
"Icon.png",
|
|
||||||
"analyzers/dotnet/cs/Avalonia.Analyzers.dll",
|
|
||||||
"analyzers/dotnet/cs/Avalonia.Generators.dll",
|
|
||||||
"avalonia.11.3.9.nupkg.sha512",
|
|
||||||
"avalonia.nuspec",
|
|
||||||
"build/Avalonia.Generators.props",
|
|
||||||
"build/Avalonia.props",
|
|
||||||
"build/Avalonia.targets",
|
|
||||||
"build/AvaloniaBuildTasks.props",
|
|
||||||
"build/AvaloniaBuildTasks.targets",
|
|
||||||
"build/AvaloniaItemSchema.xaml",
|
|
||||||
"build/AvaloniaPrivateApis.targets",
|
|
||||||
"build/AvaloniaRules.Project.xml",
|
|
||||||
"build/AvaloniaSingleProject.targets",
|
|
||||||
"build/AvaloniaVersion.props",
|
|
||||||
"buildTransitive/Avalonia.Generators.props",
|
|
||||||
"buildTransitive/Avalonia.props",
|
|
||||||
"buildTransitive/Avalonia.targets",
|
|
||||||
"buildTransitive/AvaloniaBuildTasks.props",
|
|
||||||
"buildTransitive/AvaloniaBuildTasks.targets",
|
|
||||||
"buildTransitive/AvaloniaItemSchema.xaml",
|
|
||||||
"buildTransitive/AvaloniaPrivateApis.targets",
|
|
||||||
"buildTransitive/AvaloniaRules.Project.xml",
|
|
||||||
"buildTransitive/AvaloniaSingleProject.targets",
|
|
||||||
"lib/net6.0/Avalonia.Base.dll",
|
|
||||||
"lib/net6.0/Avalonia.Base.xml",
|
|
||||||
"lib/net6.0/Avalonia.Controls.dll",
|
|
||||||
"lib/net6.0/Avalonia.Controls.xml",
|
|
||||||
"lib/net6.0/Avalonia.DesignerSupport.dll",
|
|
||||||
"lib/net6.0/Avalonia.DesignerSupport.xml",
|
|
||||||
"lib/net6.0/Avalonia.Dialogs.dll",
|
|
||||||
"lib/net6.0/Avalonia.Dialogs.xml",
|
|
||||||
"lib/net6.0/Avalonia.Markup.Xaml.dll",
|
|
||||||
"lib/net6.0/Avalonia.Markup.Xaml.xml",
|
|
||||||
"lib/net6.0/Avalonia.Markup.dll",
|
|
||||||
"lib/net6.0/Avalonia.Markup.xml",
|
|
||||||
"lib/net6.0/Avalonia.Metal.dll",
|
|
||||||
"lib/net6.0/Avalonia.Metal.xml",
|
|
||||||
"lib/net6.0/Avalonia.MicroCom.dll",
|
|
||||||
"lib/net6.0/Avalonia.MicroCom.xml",
|
|
||||||
"lib/net6.0/Avalonia.OpenGL.dll",
|
|
||||||
"lib/net6.0/Avalonia.OpenGL.xml",
|
|
||||||
"lib/net6.0/Avalonia.Vulkan.dll",
|
|
||||||
"lib/net6.0/Avalonia.Vulkan.xml",
|
|
||||||
"lib/net6.0/Avalonia.dll",
|
|
||||||
"lib/net6.0/Avalonia.xml",
|
|
||||||
"lib/net8.0/Avalonia.Base.dll",
|
|
||||||
"lib/net8.0/Avalonia.Base.xml",
|
|
||||||
"lib/net8.0/Avalonia.Controls.dll",
|
|
||||||
"lib/net8.0/Avalonia.Controls.xml",
|
|
||||||
"lib/net8.0/Avalonia.DesignerSupport.dll",
|
|
||||||
"lib/net8.0/Avalonia.DesignerSupport.xml",
|
|
||||||
"lib/net8.0/Avalonia.Dialogs.dll",
|
|
||||||
"lib/net8.0/Avalonia.Dialogs.xml",
|
|
||||||
"lib/net8.0/Avalonia.Markup.Xaml.dll",
|
|
||||||
"lib/net8.0/Avalonia.Markup.Xaml.xml",
|
|
||||||
"lib/net8.0/Avalonia.Markup.dll",
|
|
||||||
"lib/net8.0/Avalonia.Markup.xml",
|
|
||||||
"lib/net8.0/Avalonia.Metal.dll",
|
|
||||||
"lib/net8.0/Avalonia.Metal.xml",
|
|
||||||
"lib/net8.0/Avalonia.MicroCom.dll",
|
|
||||||
"lib/net8.0/Avalonia.MicroCom.xml",
|
|
||||||
"lib/net8.0/Avalonia.OpenGL.dll",
|
|
||||||
"lib/net8.0/Avalonia.OpenGL.xml",
|
|
||||||
"lib/net8.0/Avalonia.Vulkan.dll",
|
|
||||||
"lib/net8.0/Avalonia.Vulkan.xml",
|
|
||||||
"lib/net8.0/Avalonia.dll",
|
|
||||||
"lib/net8.0/Avalonia.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Base.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Base.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Controls.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Controls.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.DesignerSupport.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.DesignerSupport.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Dialogs.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Dialogs.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Markup.Xaml.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Markup.Xaml.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Markup.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Markup.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Metal.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Metal.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.MicroCom.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.MicroCom.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.OpenGL.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.OpenGL.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Vulkan.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Vulkan.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.xml",
|
|
||||||
"ref/net6.0/Avalonia.Base.dll",
|
|
||||||
"ref/net6.0/Avalonia.Base.xml",
|
|
||||||
"ref/net6.0/Avalonia.Controls.dll",
|
|
||||||
"ref/net6.0/Avalonia.Controls.xml",
|
|
||||||
"ref/net6.0/Avalonia.DesignerSupport.dll",
|
|
||||||
"ref/net6.0/Avalonia.DesignerSupport.xml",
|
|
||||||
"ref/net6.0/Avalonia.Dialogs.dll",
|
|
||||||
"ref/net6.0/Avalonia.Dialogs.xml",
|
|
||||||
"ref/net6.0/Avalonia.Markup.Xaml.dll",
|
|
||||||
"ref/net6.0/Avalonia.Markup.Xaml.xml",
|
|
||||||
"ref/net6.0/Avalonia.Markup.dll",
|
|
||||||
"ref/net6.0/Avalonia.Markup.xml",
|
|
||||||
"ref/net6.0/Avalonia.Metal.dll",
|
|
||||||
"ref/net6.0/Avalonia.Metal.xml",
|
|
||||||
"ref/net6.0/Avalonia.MicroCom.dll",
|
|
||||||
"ref/net6.0/Avalonia.MicroCom.xml",
|
|
||||||
"ref/net6.0/Avalonia.OpenGL.dll",
|
|
||||||
"ref/net6.0/Avalonia.OpenGL.xml",
|
|
||||||
"ref/net6.0/Avalonia.Vulkan.dll",
|
|
||||||
"ref/net6.0/Avalonia.Vulkan.xml",
|
|
||||||
"ref/net6.0/Avalonia.dll",
|
|
||||||
"ref/net6.0/Avalonia.xml",
|
|
||||||
"ref/net8.0/Avalonia.Base.dll",
|
|
||||||
"ref/net8.0/Avalonia.Base.xml",
|
|
||||||
"ref/net8.0/Avalonia.Controls.dll",
|
|
||||||
"ref/net8.0/Avalonia.Controls.xml",
|
|
||||||
"ref/net8.0/Avalonia.DesignerSupport.dll",
|
|
||||||
"ref/net8.0/Avalonia.DesignerSupport.xml",
|
|
||||||
"ref/net8.0/Avalonia.Dialogs.dll",
|
|
||||||
"ref/net8.0/Avalonia.Dialogs.xml",
|
|
||||||
"ref/net8.0/Avalonia.Markup.Xaml.dll",
|
|
||||||
"ref/net8.0/Avalonia.Markup.Xaml.xml",
|
|
||||||
"ref/net8.0/Avalonia.Markup.dll",
|
|
||||||
"ref/net8.0/Avalonia.Markup.xml",
|
|
||||||
"ref/net8.0/Avalonia.Metal.dll",
|
|
||||||
"ref/net8.0/Avalonia.Metal.xml",
|
|
||||||
"ref/net8.0/Avalonia.MicroCom.dll",
|
|
||||||
"ref/net8.0/Avalonia.MicroCom.xml",
|
|
||||||
"ref/net8.0/Avalonia.OpenGL.dll",
|
|
||||||
"ref/net8.0/Avalonia.OpenGL.xml",
|
|
||||||
"ref/net8.0/Avalonia.Vulkan.dll",
|
|
||||||
"ref/net8.0/Avalonia.Vulkan.xml",
|
|
||||||
"ref/net8.0/Avalonia.dll",
|
|
||||||
"ref/net8.0/Avalonia.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.Base.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.Base.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.Controls.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.Controls.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.DesignerSupport.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.DesignerSupport.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.Dialogs.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.Dialogs.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.Markup.Xaml.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.Markup.Xaml.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.Markup.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.Markup.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.Metal.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.Metal.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.MicroCom.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.MicroCom.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.OpenGL.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.OpenGL.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.Vulkan.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.Vulkan.xml",
|
|
||||||
"ref/netstandard2.0/Avalonia.dll",
|
|
||||||
"ref/netstandard2.0/Avalonia.xml",
|
|
||||||
"tools/net461/designer/Avalonia.Designer.HostApp.exe",
|
|
||||||
"tools/netstandard2.0/Avalonia.Build.Tasks.dll",
|
|
||||||
"tools/netstandard2.0/designer/Avalonia.Designer.HostApp.dll"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Avalonia.BuildServices/11.3.2": {
|
|
||||||
"sha512": "qHDToxto1e3hci5YqbG9n0Ty8mlp3zBUN5wT66wKqaDVzXyQ0do3EnRILd4Ke9jpvsktaPpgE0YjEk7hornryQ==",
|
|
||||||
"type": "package",
|
|
||||||
"path": "avalonia.buildservices/11.3.2",
|
|
||||||
"hasTools": true,
|
|
||||||
"files": [
|
|
||||||
".nupkg.metadata",
|
|
||||||
".signature.p7s",
|
|
||||||
"Icon.png",
|
|
||||||
"README.md",
|
|
||||||
"avalonia.buildservices.11.3.2.nupkg.sha512",
|
|
||||||
"avalonia.buildservices.nuspec",
|
|
||||||
"build/Avalonia.BuildServices.targets",
|
|
||||||
"buildTransitive/Avalonia.BuildServices.targets",
|
|
||||||
"tools/netstandard2.0/Avalonia.BuildServices.Collector.dll",
|
|
||||||
"tools/netstandard2.0/Avalonia.BuildServices.dll",
|
|
||||||
"tools/netstandard2.0/runtimeconfig.json"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Avalonia.Remote.Protocol/11.3.9": {
|
|
||||||
"sha512": "2XVLTSNa+Nvwu4D8NqqdudhllTaCRA9ZKlLZZvYLZeuLlzg7OcAV+df/biHQc6AqOv7iMFR9K5Zt3wG0EF4KfQ==",
|
|
||||||
"type": "package",
|
|
||||||
"path": "avalonia.remote.protocol/11.3.9",
|
|
||||||
"files": [
|
|
||||||
".nupkg.metadata",
|
|
||||||
".signature.p7s",
|
|
||||||
"Icon.png",
|
|
||||||
"avalonia.remote.protocol.11.3.9.nupkg.sha512",
|
|
||||||
"avalonia.remote.protocol.nuspec",
|
|
||||||
"lib/net6.0/Avalonia.Remote.Protocol.dll",
|
|
||||||
"lib/net6.0/Avalonia.Remote.Protocol.xml",
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.dll",
|
|
||||||
"lib/net8.0/Avalonia.Remote.Protocol.xml",
|
|
||||||
"lib/netstandard2.0/Avalonia.Remote.Protocol.dll",
|
|
||||||
"lib/netstandard2.0/Avalonia.Remote.Protocol.xml"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"MicroCom.Runtime/0.11.0": {
|
|
||||||
"sha512": "MEnrZ3UIiH40hjzMDsxrTyi8dtqB5ziv3iBeeU4bXsL/7NLSal9F1lZKpK+tfBRnUoDSdtcW3KufE4yhATOMCA==",
|
|
||||||
"type": "package",
|
|
||||||
"path": "microcom.runtime/0.11.0",
|
|
||||||
"files": [
|
|
||||||
".nupkg.metadata",
|
|
||||||
".signature.p7s",
|
|
||||||
"lib/net5.0/MicroCom.Runtime.dll",
|
|
||||||
"lib/netstandard2.0/MicroCom.Runtime.dll",
|
|
||||||
"microcom.runtime.0.11.0.nupkg.sha512",
|
|
||||||
"microcom.runtime.nuspec"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"Microsoft.NET.ILLink.Tasks/8.0.31": {
|
|
||||||
"sha512": "OJdAGATV2QoVWL11zlDLEluA06q8rK+cgZR47ohrO8V+Qj5z9dlvN7bG9/0e5t0IOe+yD8tREC0bpsEgDGrzIQ==",
|
|
||||||
"type": "package",
|
|
||||||
"path": "microsoft.net.illink.tasks/8.0.31",
|
|
||||||
"hasTools": true,
|
|
||||||
"files": [
|
|
||||||
".nupkg.metadata",
|
|
||||||
".signature.p7s",
|
|
||||||
"Icon.png",
|
|
||||||
"LICENSE.TXT",
|
|
||||||
"Sdk/Sdk.props",
|
|
||||||
"THIRD-PARTY-NOTICES.TXT",
|
|
||||||
"analyzers/dotnet/cs/ILLink.CodeFixProvider.dll",
|
|
||||||
"analyzers/dotnet/cs/ILLink.RoslynAnalyzer.dll",
|
|
||||||
"build/Microsoft.NET.ILLink.Analyzers.props",
|
|
||||||
"build/Microsoft.NET.ILLink.Tasks.props",
|
|
||||||
"build/Microsoft.NET.ILLink.targets",
|
|
||||||
"microsoft.net.illink.tasks.8.0.31.nupkg.sha512",
|
|
||||||
"microsoft.net.illink.tasks.nuspec",
|
|
||||||
"tools/net472/ILLink.Tasks.dll",
|
|
||||||
"tools/net472/ILLink.Tasks.dll.config",
|
|
||||||
"tools/net472/Mono.Cecil.Mdb.dll",
|
|
||||||
"tools/net472/Mono.Cecil.Pdb.dll",
|
|
||||||
"tools/net472/Mono.Cecil.Rocks.dll",
|
|
||||||
"tools/net472/Mono.Cecil.dll",
|
|
||||||
"tools/net472/Sdk/Sdk.props",
|
|
||||||
"tools/net472/System.Buffers.dll",
|
|
||||||
"tools/net472/System.Collections.Immutable.dll",
|
|
||||||
"tools/net472/System.Memory.dll",
|
|
||||||
"tools/net472/System.Numerics.Vectors.dll",
|
|
||||||
"tools/net472/System.Reflection.Metadata.dll",
|
|
||||||
"tools/net472/System.Runtime.CompilerServices.Unsafe.dll",
|
|
||||||
"tools/net472/build/Microsoft.NET.ILLink.Analyzers.props",
|
|
||||||
"tools/net472/build/Microsoft.NET.ILLink.Tasks.props",
|
|
||||||
"tools/net472/build/Microsoft.NET.ILLink.targets",
|
|
||||||
"tools/net8.0/ILLink.Tasks.deps.json",
|
|
||||||
"tools/net8.0/ILLink.Tasks.dll",
|
|
||||||
"tools/net8.0/Mono.Cecil.Mdb.dll",
|
|
||||||
"tools/net8.0/Mono.Cecil.Pdb.dll",
|
|
||||||
"tools/net8.0/Mono.Cecil.Rocks.dll",
|
|
||||||
"tools/net8.0/Mono.Cecil.dll",
|
|
||||||
"tools/net8.0/Sdk/Sdk.props",
|
|
||||||
"tools/net8.0/build/Microsoft.NET.ILLink.Analyzers.props",
|
|
||||||
"tools/net8.0/build/Microsoft.NET.ILLink.Tasks.props",
|
|
||||||
"tools/net8.0/build/Microsoft.NET.ILLink.targets",
|
|
||||||
"tools/net8.0/illink.deps.json",
|
|
||||||
"tools/net8.0/illink.dll",
|
|
||||||
"tools/net8.0/illink.runtimeconfig.json",
|
|
||||||
"useSharedDesignerContext.txt"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"projectFileDependencyGroups": {
|
|
||||||
"net8.0": [
|
|
||||||
"Avalonia >= 11.3.9",
|
|
||||||
"Microsoft.NET.ILLink.Tasks >= 8.0.31"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"packageFolders": {
|
|
||||||
"/Users/morris/.nuget/packages/": {}
|
|
||||||
},
|
|
||||||
"project": {
|
|
||||||
"version": "1.0.3",
|
|
||||||
"restore": {
|
|
||||||
"projectUniqueName": "/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/EarthModelStudio.ModelSdk.csproj",
|
|
||||||
"projectName": "EarthModelStudio.ModelSdk",
|
|
||||||
"projectPath": "/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/EarthModelStudio.ModelSdk.csproj",
|
|
||||||
"packagesPath": "/Users/morris/.nuget/packages/",
|
|
||||||
"outputPath": "/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/obj/",
|
|
||||||
"projectStyle": "PackageReference",
|
|
||||||
"configFilePaths": [
|
|
||||||
"/Users/morris/.nuget/NuGet/NuGet.Config"
|
|
||||||
],
|
|
||||||
"originalTargetFrameworks": [
|
|
||||||
"net8.0"
|
|
||||||
],
|
|
||||||
"sources": {
|
|
||||||
"https://api.nuget.org/v3/index.json": {}
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"projectReferences": {}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"warningProperties": {
|
|
||||||
"warnAsError": [
|
|
||||||
"NU1605"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
"restoreAuditProperties": {
|
|
||||||
"enableAudit": "true",
|
|
||||||
"auditLevel": "low",
|
|
||||||
"auditMode": "direct"
|
|
||||||
},
|
|
||||||
"SdkAnalysisLevel": "10.0.400"
|
|
||||||
},
|
|
||||||
"frameworks": {
|
|
||||||
"net8.0": {
|
|
||||||
"framework": "net8.0",
|
|
||||||
"targetAlias": "net8.0",
|
|
||||||
"dependencies": {
|
|
||||||
"Avalonia": {
|
|
||||||
"target": "Package",
|
|
||||||
"version": "[11.3.9, )"
|
|
||||||
},
|
|
||||||
"Microsoft.NET.ILLink.Tasks": {
|
|
||||||
"suppressParent": "All",
|
|
||||||
"target": "Package",
|
|
||||||
"version": "[8.0.31, )",
|
|
||||||
"autoReferenced": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"imports": [
|
|
||||||
"net461",
|
|
||||||
"net462",
|
|
||||||
"net47",
|
|
||||||
"net471",
|
|
||||||
"net472",
|
|
||||||
"net48",
|
|
||||||
"net481"
|
|
||||||
],
|
|
||||||
"assetTargetFallback": true,
|
|
||||||
"warn": true,
|
|
||||||
"downloadDependencies": [
|
|
||||||
{
|
|
||||||
"name": "Microsoft.AspNetCore.App.Runtime.win-arm64",
|
|
||||||
"version": "[8.0.31, 8.0.31]"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Microsoft.NETCore.App.Runtime.win-arm64",
|
|
||||||
"version": "[8.0.31, 8.0.31]"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"frameworkReferences": {
|
|
||||||
"Microsoft.NETCore.App": {
|
|
||||||
"privateAssets": "all"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/10.0.401/PortableRuntimeIdentifierGraph.json"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"runtimes": {
|
|
||||||
"win-arm64": {
|
|
||||||
"#import": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
{
|
|
||||||
"version": 2,
|
|
||||||
"dgSpecHash": "2wEgD3WME1E=",
|
|
||||||
"success": true,
|
|
||||||
"projectFilePath": "/Users/morris/Downloads/GC#/model/_sdk/EarthModelStudio.ModelSdk/EarthModelStudio.ModelSdk.csproj",
|
|
||||||
"expectedPackageFiles": [
|
|
||||||
"/Users/morris/.nuget/packages/avalonia/11.3.9/avalonia.11.3.9.nupkg.sha512",
|
|
||||||
"/Users/morris/.nuget/packages/avalonia.buildservices/11.3.2/avalonia.buildservices.11.3.2.nupkg.sha512",
|
|
||||||
"/Users/morris/.nuget/packages/avalonia.remote.protocol/11.3.9/avalonia.remote.protocol.11.3.9.nupkg.sha512",
|
|
||||||
"/Users/morris/.nuget/packages/microcom.runtime/0.11.0/microcom.runtime.0.11.0.nupkg.sha512",
|
|
||||||
"/Users/morris/.nuget/packages/microsoft.net.illink.tasks/8.0.31/microsoft.net.illink.tasks.8.0.31.nupkg.sha512",
|
|
||||||
"/Users/morris/.nuget/packages/microsoft.netcore.app.runtime.win-arm64/8.0.31/microsoft.netcore.app.runtime.win-arm64.8.0.31.nupkg.sha512",
|
|
||||||
"/Users/morris/.nuget/packages/microsoft.aspnetcore.app.runtime.win-arm64/8.0.31/microsoft.aspnetcore.app.runtime.win-arm64.8.0.31.nupkg.sha512"
|
|
||||||
],
|
|
||||||
"logs": []
|
|
||||||
}
|
|
||||||
@@ -17,7 +17,6 @@
|
|||||||
"atlas"
|
"atlas"
|
||||||
],
|
],
|
||||||
"dataDir": "earth-geography.model",
|
"dataDir": "earth-geography.model",
|
||||||
"version": "1.0",
|
"version": "1.0-dd67f83d0c",
|
||||||
"updatedAt": "2026-11-08T09:22:29Z",
|
"updatedAt": "2026-11-08T01:29:16Z"
|
||||||
"build": "883fdf6c57"
|
|
||||||
}
|
}
|
||||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 83 KiB |
@@ -60,22 +60,8 @@ public sealed class GeographyView : Control
|
|||||||
public bool ShowLabels { get => _showLabels; set { _showLabels = value; Redraw(); } }
|
public bool ShowLabels { get => _showLabels; set { _showLabels = value; Redraw(); } }
|
||||||
public GeoMode Mode { get => _mode; set { _mode = value; InvalidateVisual(); StateChanged?.Invoke(); } }
|
public GeoMode Mode { get => _mode; set { _mode = value; InvalidateVisual(); StateChanged?.Invoke(); } }
|
||||||
|
|
||||||
/// <summary>缩放倍数(0.55–4.0)。文字大小跟随缩放变化。</summary>
|
|
||||||
public double Zoom
|
|
||||||
{
|
|
||||||
get => _zoom;
|
|
||||||
set
|
|
||||||
{
|
|
||||||
_zoom = Math.Clamp(value, 0.55, 4.0);
|
|
||||||
Redraw();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
private void Redraw() { InvalidateVisual(); StateChanged?.Invoke(); }
|
private void Redraw() { InvalidateVisual(); StateChanged?.Invoke(); }
|
||||||
|
|
||||||
/// <summary>文字缩放系数:跟随缩放一起放大/缩小,放大地球时标签也变大。</summary>
|
|
||||||
private double TextScale => Math.Clamp(_zoom, 0.85, 2.4);
|
|
||||||
|
|
||||||
public void ResetView()
|
public void ResetView()
|
||||||
{
|
{
|
||||||
_yawDeg = 10;
|
_yawDeg = 10;
|
||||||
@@ -152,7 +138,7 @@ public sealed class GeographyView : Control
|
|||||||
{
|
{
|
||||||
var cx = (float)(size.Width * 0.5);
|
var cx = (float)(size.Width * 0.5);
|
||||||
var cy = (float)(size.Height * 0.52);
|
var cy = (float)(size.Height * 0.52);
|
||||||
var r = (float)(Math.Min(size.Width, size.Height) * 0.40 * Math.Min(_zoom, 1.6));
|
var r = (float)(Math.Min(size.Width, size.Height) * 0.44 * _zoom);
|
||||||
if (r < 12) return;
|
if (r < 12) return;
|
||||||
|
|
||||||
var cam = Matrix4x4.CreateRotationX((float)(-_pitchDeg * Math.PI / 180.0));
|
var cam = Matrix4x4.CreateRotationX((float)(-_pitchDeg * Math.PI / 180.0));
|
||||||
@@ -278,7 +264,7 @@ public sealed class GeographyView : Control
|
|||||||
var cam = Geometry.ToCamera(Geometry.LatLonToUnit(center[1], center[0]), Matrix4x4.Identity, m);
|
var cam = Geometry.ToCamera(Geometry.LatLonToUnit(center[1], center[0]), Matrix4x4.Identity, m);
|
||||||
if (cam.Z <= 0.2f) continue;
|
if (cam.Z <= 0.2f) continue;
|
||||||
var pos = Geometry.Project(cam, r, cx, cy);
|
var pos = Geometry.Project(cam, r, cx, cy);
|
||||||
DrawText(ctx, Pick(p.NameI18n, p.Id), pos.X, pos.Y, 10.5 * TextScale,
|
DrawText(ctx, Pick(p.NameI18n, p.Id), pos.X, pos.Y, 10.5,
|
||||||
PlateBrushFor(p.Id), TextAlignment.Center);
|
PlateBrushFor(p.Id), TextAlignment.Center);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -308,7 +294,7 @@ public sealed class GeographyView : Control
|
|||||||
var pos = Geometry.Project(cam, r, cx, cy);
|
var pos = Geometry.Project(cam, r, cx, cy);
|
||||||
ctx.DrawEllipse(segPen.DotBrush, null, Pt(pos), 3.0, 3.0);
|
ctx.DrawEllipse(segPen.DotBrush, null, Pt(pos), 3.0, 3.0);
|
||||||
if (_showLabels)
|
if (_showLabels)
|
||||||
DrawText(ctx, Pick(seg.NameI18n, seg.Name), pos.X + 8, pos.Y - 5, 10 * TextScale,
|
DrawText(ctx, Pick(seg.NameI18n, seg.Name), pos.X + 8, pos.Y - 5, 10,
|
||||||
segPen.DotBrush, TextAlignment.Left);
|
segPen.DotBrush, TextAlignment.Left);
|
||||||
}
|
}
|
||||||
continue;
|
continue;
|
||||||
@@ -328,7 +314,7 @@ public sealed class GeographyView : Control
|
|||||||
if (_showLabels)
|
if (_showLabels)
|
||||||
{
|
{
|
||||||
var text = $"{Pick(b.NameI18n, b.Name)}({b.Between})";
|
var text = $"{Pick(b.NameI18n, b.Name)}({b.Between})";
|
||||||
DrawText(ctx, text, pos2.X + 9, pos2.Y - 6, 10.5 * TextScale, pen.DotBrush, TextAlignment.Left);
|
DrawText(ctx, text, pos2.X + 9, pos2.Y - 6, 10.5, pen.DotBrush, TextAlignment.Left);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -346,7 +332,7 @@ public sealed class GeographyView : Control
|
|||||||
if (cam.Z <= 0.12f) continue;
|
if (cam.Z <= 0.12f) continue;
|
||||||
var pos = Geometry.Project(cam, r, cx, cy);
|
var pos = Geometry.Project(cam, r, cx, cy);
|
||||||
var ocean = lb.Kind == "ocean";
|
var ocean = lb.Kind == "ocean";
|
||||||
DrawText(ctx, Pick(lb.NameI18n, ""), pos.X, pos.Y, (ocean ? 11 : 12.5) * TextScale,
|
DrawText(ctx, Pick(lb.NameI18n, ""), pos.X, pos.Y, ocean ? 11 : 12.5,
|
||||||
ocean ? OceanBrush : ContinentBrush, TextAlignment.Center,
|
ocean ? OceanBrush : ContinentBrush, TextAlignment.Center,
|
||||||
ocean ? FontStyle.Italic : FontStyle.Normal);
|
ocean ? FontStyle.Italic : FontStyle.Normal);
|
||||||
}
|
}
|
||||||
@@ -446,7 +432,7 @@ public sealed class GeographyView : Control
|
|||||||
var c = Centroid(pl.Lines);
|
var c = Centroid(pl.Lines);
|
||||||
if (c == null) continue;
|
if (c == null) continue;
|
||||||
var at = P(c[0], c[1]);
|
var at = P(c[0], c[1]);
|
||||||
DrawText(ctx, Pick(pl.NameI18n, pl.Id), at.X, at.Y, 10.5 * TextScale,
|
DrawText(ctx, Pick(pl.NameI18n, pl.Id), at.X, at.Y, 10.5,
|
||||||
PlateBrushFor(pl.Id), TextAlignment.Center);
|
PlateBrushFor(pl.Id), TextAlignment.Center);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -467,7 +453,7 @@ public sealed class GeographyView : Control
|
|||||||
ctx.DrawEllipse(pen.DotBrush, null, at, 3.4, 3.4);
|
ctx.DrawEllipse(pen.DotBrush, null, at, 3.4, 3.4);
|
||||||
if (_showLabels)
|
if (_showLabels)
|
||||||
DrawText(ctx, $"{Pick(b.NameI18n, b.Name)}({b.Between})",
|
DrawText(ctx, $"{Pick(b.NameI18n, b.Name)}({b.Between})",
|
||||||
at.X + 9, at.Y - 6, 10.5 * TextScale, pen.DotBrush, TextAlignment.Left);
|
at.X + 9, at.Y - 6, 10.5, pen.DotBrush, TextAlignment.Left);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -478,7 +464,7 @@ public sealed class GeographyView : Control
|
|||||||
{
|
{
|
||||||
var at = P(lb.Lon, lb.Lat);
|
var at = P(lb.Lon, lb.Lat);
|
||||||
var ocean = lb.Kind == "ocean";
|
var ocean = lb.Kind == "ocean";
|
||||||
DrawText(ctx, Pick(lb.NameI18n, ""), at.X, at.Y, (ocean ? 11 : 12.5) * TextScale,
|
DrawText(ctx, Pick(lb.NameI18n, ""), at.X, at.Y, ocean ? 11 : 12.5,
|
||||||
ocean ? OceanBrush : ContinentBrush, TextAlignment.Center,
|
ocean ? OceanBrush : ContinentBrush, TextAlignment.Center,
|
||||||
ocean ? FontStyle.Italic : FontStyle.Normal);
|
ocean ? FontStyle.Italic : FontStyle.Normal);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -23,7 +23,6 @@
|
|||||||
"type": "NeoRF.EarthModels.RevolutionModelFactory",
|
"type": "NeoRF.EarthModels.RevolutionModelFactory",
|
||||||
"preview": "preview.png",
|
"preview": "preview.png",
|
||||||
"apiVersion": 1,
|
"apiVersion": 1,
|
||||||
"version": "1.0",
|
"version": "1.0-7380e0cff3",
|
||||||
"updatedAt": "2026-11-08T09:22:29Z",
|
"updatedAt": "2026-11-08T01:29:16Z"
|
||||||
"build": "a24be3664d"
|
|
||||||
}
|
}
|
||||||
Loaded 100 of 1049 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user