GoYuwei.Com建站一周年
The First Anniversary of GoYuwei.Com
(English version follows Chinese Part)
自从小学以来就没有再接触舰船模型,这次想起来要做一个战列舰模型,是因为Wargaming出品的‘战舰世界’游戏上线了,玩起来还不错,觉得可以做一个真实的模型放在房间里。况且,战列舰这种钢铁力量的象征,大部分男孩都会喜欢吧。
Since last ship model finished in my primary school, I have not touch them again until recent month. I did have fun in playing WOWS a internet game from Wargaming. So why not have a real model in my bedroom? After all, most boys will get passion in battleship, a symbol of power and steel.
因为很久没有制作过舰船模型,所以觉得1/700比例的小规模船模会比较适合,况且这样可以在较短的工期内完成,大小也适合摆在桌面或书柜里。因此,购买的是田宫77502套件,1/700比例的英国皇家海军‘纳尔逊’级二号舰‘罗德尼’号战列舰,以及改造蚀刻片和金属炮管,总共约花费100人民币。零件全家福如图1。
As I said, I did not get close to ship model for decade. A small one of 1/700 scale will suit me and I can spend less time on it. A tiny ship can also have a place in my bookcase. I choose No.77502 ‘HMS Rodney’ pack produced by TAMIYA with PE and metal gun barrels. They cost me about CNY100 (≈USD15). They are listed in fig.1.
图.1(Fig.1)
由于是1/700比例的廉价套件,细节并不算很丰富,所以就完全按照说明书直接组装了,唯一不同的是在一些部位换成了金属蚀刻片,以期增加效果。当然,战列舰的灵魂就是主炮,所以必须要通过更换金属炮管体现细节,如图2。
You can’t expect for too much details of a cheap model pack. So I set up the ship just by following the manual. Exchange some parts into PE at most. Of course, the soul of a battleship is the gun. Replacing the plastic parts by metal barrels makes it handsome! Check fig.2.
图.2(Fig.2)
另外一个重点就是战舰甲板。很长的一段时间内,战舰甲板都是木质拼接的,所以涂装上要特别处理。1/200、1/350等大比例船模主要通过更换木片、遮盖喷涂分色等方法来实现木甲板的色彩效果,我在网络上也找到了1/700小比例船模进行遮盖喷涂分色的例子,大多是精益求精的高级作品,然而我这次是‘练习作’的定位,就不太适合这种较为繁复的手法。因此我决定喷涂底色,再手涂杂色的方法实现效果。如图3。
Another key is the deck. For a long period, deck of battleships are stitching woods. Special steps must be done during painting. Usually, replace the deck with real wooden board or cover-spray painting will work well on big scale model such as 1/200 or 1/350. But only a little examples I can find on the internet for 1/700 model. Besides, what I plan to finish is a “practice work” of ship model, which will not require too much effect. At the end, I spray painted the deck and drew the wooden texture by hand as fig.3.
图.3(Fig.3)
按照说明书一步步组装、涂装,最后效果还不错,如图4。
Assembling and painting. Look nice! Check fig.4.
图.4(Fig.4)
另一个重头戏是制作场景地台。海洋场景的地台一般有两种材质,一种是玻璃胶或树脂,另一种是石膏。水纹制作也有两种方法,一种是手工模仿,另一种是利用锡箔纸做模具。正如前文所说,‘练习作’的定位让我选择了难度最低的方法,锡箔纸模具浇筑石膏成型。
Sorry, there’s one point I have to express. The platform of the model, an “ocean” platform. People use two main materials to build the model platform: glass glue/silicone or gypsum. Waves also have two method to present: molding or forming by hand. The easiest and cheapest way I choose is gypsum molding. With tinfoil.
锡箔纸怎么做成水纹模具呢?很简单,家里的厨用锡箔纸取合适大小,揉成团,然后再展平,就变成水波纹的样子了!如图5,6。
How can tinfoil form gypsum into water waves? Simple. Fetch proper piece of tinfoil you need, crumple it, and unbend it. Check fig.5 and fig.6.
图.5(Fig.5)
图.6(Fig.6)
再用轻木片组合围成模具侧边,如图7。
Woods are used to set up the rest parts of the mold as fig.7.
图.7(Fig.7)
就可以浇筑了。仿照网上的多种说法,我配置的石膏比例是:
Start casting! My formula is learned from internet:
石膏粉:白乳胶:水 = 5杯:3/4杯:2杯
Gypsum powder : white latex(glue) : water = 5 cups : 3/4 cups : 2 cups
另外特别注意的是,为了增加石膏筑型的强度,我分两次浇筑石膏,两次之间铺了一块浸湿的纱布作为骨架。浇筑完成以后如图8。
Additionally, I poured the mixture in two steps. I placed a piece of wet gauze between them. The gauze can work as the frame of the platform and strengthen it. Fig.8 shows the situation after casting.
图.8(Fig.8)
石膏大约30分钟就硬化了,但是为了干透,我还是让它在阴凉处晾了一天才进入下一步。脱模以后发现水纹效果不错!(图9)
The gypsum solidify in about half hour, but I waited for a day until it dry out. It look like real water surface when I demold the tinfoil! (Fig.9)
图.9(Fig.9)
下一步就是按照船型挖出安放槽,挖出来的石膏碎块不要扔掉哦!后面还有用处。海洋地台表现船舶航行动态的细节就是船身周围激起的浪花,这个也有很多材料、方法来制作,但无外乎通过手工模仿,基本不能通过模具实现。一开始我想通过玻璃胶来成型,但需要额外购置,看到网络上有人通过专门的模型AB补土来制作,就想到家里还有许多装修时剩下的AB胶(环氧树脂型),但AB胶有个问题,太稀,不容易制作成立体形状。我就突发奇想,将AB胶和之前挖下来的石膏碎屑混合制成‘补土’怎样?立刻付诸实践,均匀碾碎石膏碎屑,混入等量AB胶。虽然流动性还是有点高,但至少能够堆叠起来,所以不能着急,一层固化再叠一层,最后修刮成型,效果竟然意外地好!因为石膏碎屑大小形状不均匀,甚至还额外凸显出了海浪中浪花气泡的效果。未上色时的效果如图10。
The next step is digging a groove for the ship. Remember, don’t waste the gypsum fragment you dig out, its useful later. An “ocean” platform can not leave neither waves nor spindrift. Most articles in the internet talk about using model AB putty, but I realized that I shall fix the normal AB glue(epoxide resin) with gypsum fragment. Shape it into spindrift layer by layer. Well, the result is much far from surprise I think. Ragged gypsum fragment appears as the bubble and white water of waves! Fig.10 shows the appearance before painting.
图.10(Fig.9)
最后用丙烯颜料(事实上,我制作所有模型的地点都是在卧室,为了安全起见,包括模型本身在内的部件,所有上色都用的是无毒的丙烯颜料)给水面上色。‘罗德尼’号隶属英国皇家海军,英国地处北大西洋,水面颜色自然以北大西洋为蓝本,所以搜索了一些北大西洋的洋面图片作为配色参照。如图11。
I use acrylic color to paint the “ocean” surface of the platform (Actually I paint all of my models by acrylic color because of its safety and nontoxic feature). HMS Rodney sever in UK located in North Atlantic. So I search for some North Atlantic ocean pictures as my sample. As fig.11.
图.11(Fig.11)
最后再通过蓝渐变色、白色干扫的方法给浪花上色,整个地台在阴处静止了两天至石膏和颜色彻底干透,用白乳胶将船模彻底固定在地台上,大功告成!
A little decoration with light blue and white by dry sweeping. Drying the platform at a cool shade corner for three days, and finally glue the ship onto the platform. JOB DONE!
Enjoy following photos!
>Astronomical Weather Forecast Dev Log – 天文天气预报开发日志<
1.0版本由IP获取经纬度没多大问题,但是百度地图API只能提供东亚地区城市的经纬度信息,然而晴天钟可以提供全球绝大部分地区的预报信息,所以不太匹配。按照晴天钟介绍中,其本身所使用的经纬度信息主要取自谷歌和GeoIP。我决定将经纬度信息引擎换成GeoIP。
Version 1.0 worked well, but it can provide forecast of East Asian cities due to the Baidu Map API area limit. It was a little wasteful for 7Timer!’s global forecast. Reading from 7Timer!’s introduction, coordinate resources what it is using are Google and GeoIP. I decided to changed into GeoIP as well.
调用方法也不复杂,就是需要前往MaxMind下载开源的全球城市地理信息包,然后上传到网站目录中进行调用。
It was not complicated, all I should do is downloading open source global cities geography data pack and uploading to my website directory.
具体调用语句比较简单
The data pack function is called by
[php]
$gi = geoip_open("GeoLiteCity.dat",GEOIP_STANDARD);
$record = geoip_record_by_addr($gi,$ip);
[/php]
其中的$ip即已经获取到的访问者IP地址。调用后,需要的地址、经纬度、时区等信息从$record中提取即可。
$ip is the IP address fetched from visitor. The address, coordinate and time zone information can be picked out after the function is called.
其他内容并没有什么修改。
The other parts of the forecast core code has not been changed.
不过为了符合GoYuwei.Com的『双语』特征,多弄了个英文版界面。不过由于并非专业,还只能是中、英双语分为两个页面,这也提供了契机,下次可以学习php的多语种页面实现方法。
Pages are in Chinese&English and GoYuwei.Com is called ‘bilingual website’. I created a English version of the forecast. However, they are in two page files. There will be chance I can learn more about PHP and present the bilingual page in one web file.
前期规划日志 Previous Development Plan :
后续开发日志 Development Update:
>前往中文预报页面< >Go to the English forecast page<
以下为主要开发内容 The following is the main content:
由于公差查询器核心已经比较稳定,剩下的主要工作就是利用零碎时间完成公差数据的输入,所以开始着手完成天文天气预报。在研究清楚晴天钟天气图表API的调用方法后,开始着手研究根据访问者IP获取经纬度信息的办法。与公差查询器一样,由于我建站的空间仅支持php语言,所以天气预报页面也使用php来编写。
The core of the tolerance checker has been stable, the rest work is typing the tolerance data which can be done in spare time. I can turn to develop the astronomical weather forecast now. It’s not time-consuming to understand how to use 7Timer!’s API, then the method of obtaining coordinate by visitors’IP address must be figured out. The same reason as the tolerance checker, I choose PHP to set up the page due to my website server’s PHP environment.
为了降低初期的学习难度和开发难度,当然也考虑到测试网络环境,地理信息(IP-经纬度转换和地图)的API选用了百度而没有选用谷歌。
For decreasing the study and develop difficulties, and considering about testing web environment, Baidu Map was selected as geography API instead of Google.
首先通过
First, by using
[php]
$_SERVER["REMOTE_ADDR"]
[/php]
来获得访问者IP地址(这也造成一个问题,获取的是设备接入网络服务商时的IP,造成移动设备通过蜂窝网络接入或透过VPN访问的用户提供的IP是不准确的,造成定位错误,不能实现“本地”天气预报)
to obtain visitor’s IP (There’s problem here. Wrong IP will be fetched if the visitor is using mobile devices through cellular network or visiting the web through VPN, because the code can read the Internet service providers’ IP only)
接着将IP提交给百度地理API(可免费申请有限次数的应用,调用方法请参照百度地图API的相关手册),获取json格式的地理信息,包括地址、经纬度等。
Then hand up the IP to Baidu Map API for returning geography data including address and coordinate in json format. Baidu Map API application can be applied for free.
解码返回的地理信息并提取经纬度信息,分别提交给晴天钟的API(调用方法参见晴天钟的手册)和百度地图API,获取天气预报图表和访问者位置地图。
Decode the json and pick out the coordinate, exchange the weather chart and map image by 7Timer!’s API and Baidu Map API.
再给页面稍微美化一下,成品如图1。
Beautify the page, it works! (As Fig.1)
图.1(Fig.1)
最后,再次声明利用的资源并鸣谢:
预报图表来源: 晴天钟 – 地理信息引擎: MaxMind GeoIP & 百度地图
Resources used by weather forecast and acknowledgements
– Weather Chart Resource: 7Timer! –
– Geography Resource & API: MaxMind GeoIP & Baidu Map –
>Tolerance Checker Development Log – 极限偏差查询器开发日志<
最近的主要工作室录入极限偏差数据库,一直都进展的比较顺利,但是今天录入到JS/js公差带的时候遇到了一点问题,JS/js带的极限偏差是±值,一般比较便捷的记法就是±x,但是我以此格式录入的数据库最后查询出来发生了错误,显示如图1。
What I am doing recently is recording data, there was no problem until plus-minus notation display failure came out. When I met the JS/js tolerance zone, numbers are displayed with ‘±’ ahead, which is like ±x. But the plus-minus notation became ‘?’ as Fig.1.
图.1(Fig.1)
目前我猜测的可能是在查询的某个环节出了问题:
I think it must be an error at following stage:
由于这个问题无伤大雅,我暂时用比较简单的办法略过这个问题:用+/-来代替±。
Nevertheless, it is not a serious error and I decide to replace the ‘±’ with ‘+/-‘ temporarily.