├── .gitignore ├── images ├── ttgo-beam-case.png └── 20181105_192255.jpg ├── .travis.yml ├── code ├── partition-table.csv ├── extra_script.py ├── platformio.ini ├── lib │ └── readme.txt └── src │ ├── sleep.ino │ ├── credentials.h.sample │ ├── gps.ino │ ├── images.h │ ├── screen.ino │ ├── configuration.h │ ├── main.ino │ ├── ttn.ino │ └── fonts.h ├── README.md ├── tools └── decoder.js ├── enclosure ├── ttgo-beam.scad └── ttgo-beam-lid.stl └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | test 2 | .pio* 3 | *.gch 4 | credentials.h 5 | .vscode -------------------------------------------------------------------------------- /images/ttgo-beam-case.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoseperez/ttgo-beam-tracker/HEAD/images/ttgo-beam-case.png -------------------------------------------------------------------------------- /images/20181105_192255.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xoseperez/ttgo-beam-tracker/HEAD/images/20181105_192255.jpg -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: python 2 | python: 3 | - '2.7' 4 | sudo: false 5 | cache: 6 | directories: 7 | - "~/.platformio" 8 | install: 9 | - pip install -U platformio 10 | script: 11 | - cd code && cp src/credentials.h.sample src/credentials.h && pio run 12 | -------------------------------------------------------------------------------- /code/partition-table.csv: -------------------------------------------------------------------------------- 1 | # Name, Type, SubType, Offset, Size, Flags 2 | nvs, data, nvs, 0x9000, 0x5000, 3 | otadata, data, ota, 0xe000, 0x2000, 4 | app0, app, ota_0, 0x10000, 0x140000, 5 | app1, app, ota_1, 0x150000,0x140000, 6 | eeprom0, data, 0x99, 0x290000,0x1000, 7 | eeprom1, data, 0x99, 0x291000,0x1000, 8 | spiffs, data, spiffs, 0x292000,0x16E000, 9 | -------------------------------------------------------------------------------- /code/extra_script.py: -------------------------------------------------------------------------------- 1 | from shutil import copyfile 2 | 3 | Import("env", "projenv") 4 | 5 | # Get current environment 6 | environment = env['PIOENV'] 7 | libdeps = env['PROJECTLIBDEPS_DIR'] 8 | file = "lmic_project_config.h" 9 | source = "src/{}".format(file) 10 | destination = "{}/{}/MCCI LoRaWAN LMIC library/project_config/{}".format(libdeps, environment, file) 11 | copyfile(source, destination) 12 | -------------------------------------------------------------------------------- /code/platformio.ini: -------------------------------------------------------------------------------- 1 | [env:main] 2 | platform = espressif32 3 | board = lolin32 4 | framework = arduino 5 | lib_deps = 6 | TinyGPSPlus 7 | ESP8266 and ESP32 Oled Driver for SSD1306 displays 8 | MCCI LoRaWAN LMIC library 9 | sabas1080/CayenneLPP@^1.1.0 10 | upload_speed = 460800 11 | monitor_speed = 115200 12 | board_build.partitions = partition-table.csv 13 | #extra_scripts = extra_script.py 14 | build_flags = 15 | -DDEBUG_PORT=Serial 16 | -DLUA_COMPATIBILITY_MODE 17 | -DARDUINO_LMIC_PROJECT_CONFIG_H_SUPPRESS 18 | -DCFG_eu868=1 19 | -DCFG_sx1276_radio=1 20 | -Dhal_init=LMICHAL_init 21 | -------------------------------------------------------------------------------- /code/lib/readme.txt: -------------------------------------------------------------------------------- 1 | 2 | This directory is intended for the project specific (private) libraries. 3 | PlatformIO will compile them to static libraries and link to executable file. 4 | 5 | The source code of each library should be placed in separate directory, like 6 | "lib/private_lib/[here are source files]". 7 | 8 | For example, see how can be organized `Foo` and `Bar` libraries: 9 | 10 | |--lib 11 | | | 12 | | |--Bar 13 | | | |--docs 14 | | | |--examples 15 | | | |--src 16 | | | |- Bar.c 17 | | | |- Bar.h 18 | | | |- library.json (optional, custom build options, etc) http://docs.platformio.org/page/librarymanager/config.html 19 | | | 20 | | |--Foo 21 | | | |- Foo.c 22 | | | |- Foo.h 23 | | | 24 | | |- readme.txt --> THIS FILE 25 | | 26 | |- platformio.ini 27 | |--src 28 | |- main.c 29 | 30 | Then in `src/main.c` you should use: 31 | 32 | #include 33 | #include 34 | 35 | // rest H/C/CPP code 36 | 37 | PlatformIO will find your libraries automatically, configure preprocessor's 38 | include paths and build them. 39 | 40 | More information about PlatformIO Library Dependency Finder 41 | - http://docs.platformio.org/page/librarymanager/ldf.html 42 | -------------------------------------------------------------------------------- /code/src/sleep.ino: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Sleep module 4 | 5 | Copyright (C) 2018-2019 by Xose Pérez 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | 20 | */ 21 | 22 | #include 23 | 24 | void sleep_interrupt(uint8_t gpio, uint8_t mode) { 25 | esp_sleep_enable_ext0_wakeup((gpio_num_t) gpio, mode); 26 | } 27 | 28 | void sleep_interrupt_mask(uint64_t mask, uint8_t mode) { 29 | esp_sleep_enable_ext1_wakeup(mask, (esp_sleep_ext1_wakeup_mode_t) mode); 30 | } 31 | 32 | void sleep_millis(uint64_t ms) { 33 | esp_sleep_enable_timer_wakeup(ms * 1000); 34 | esp_deep_sleep_start(); 35 | } 36 | 37 | void sleep_seconds(uint32_t seconds) { 38 | esp_sleep_enable_timer_wakeup(seconds * 1000000); 39 | esp_deep_sleep_start(); 40 | } 41 | 42 | void sleep_forever() { 43 | esp_deep_sleep_start(); 44 | } 45 | -------------------------------------------------------------------------------- /code/src/credentials.h.sample: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Credentials file 4 | 5 | */ 6 | 7 | #pragma once 8 | 9 | // Only one of these settings must be defined at the same time 10 | #define USE_ABP 11 | //#define USE_OTAA 12 | 13 | #ifdef USE_ABP 14 | 15 | // LoRaWAN NwkSKey, network session key 16 | static const u1_t PROGMEM NWKSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; 17 | 18 | // LoRaWAN AppSKey, application session key 19 | static const u1_t PROGMEM APPSKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; 20 | 21 | // LoRaWAN end-device address (DevAddr) 22 | // This has to be unique for every node 23 | static const u4_t DEVADDR = 0x000119FF; 24 | 25 | #endif 26 | 27 | #ifdef USE_OTAA 28 | 29 | // This EUI must be in little-endian format, so least-significant-byte 30 | // first. When copying an EUI from ttnctl output, this means to reverse 31 | // the bytes. For TTN issued EUIs the last bytes should be 0x00, 0x00, 32 | // 0x00. 33 | static const u1_t PROGMEM APPEUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; 34 | 35 | // This should also be in little endian format, see above. 36 | static const u1_t PROGMEM DEVEUI[8] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; 37 | 38 | // This key should be in big endian format (or, since it is not really a 39 | // number but a block of memory, endianness does not really apply). In 40 | // practice, a key taken from ttnctl can be copied as-is. 41 | // The key shown here is the semtech default key. 42 | static const u1_t PROGMEM APPKEY[16] = { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }; 43 | 44 | #endif 45 | -------------------------------------------------------------------------------- /code/src/gps.ino: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | GPS module 4 | 5 | Copyright (C) 2018-2019 by Xose Pérez 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | 20 | */ 21 | 22 | #include 23 | 24 | TinyGPSPlus _gps; 25 | HardwareSerial _serial_gps(GPS_SERIAL_NUM); 26 | 27 | void gps_time(char * buffer, uint8_t size) { 28 | snprintf(buffer, size, "%02d:%02d:%02d", _gps.time.hour(), _gps.time.minute(), _gps.time.second()); 29 | } 30 | 31 | bool gps_lock() { 32 | return ((gps_hdop() < 50) && (gps_latitude() != 0) && (gps_longitude() != 0)); 33 | } 34 | 35 | float gps_latitude() { 36 | return _gps.location.lat(); 37 | } 38 | 39 | float gps_longitude() { 40 | return _gps.location.lng(); 41 | } 42 | 43 | float gps_altitude() { 44 | return _gps.altitude.meters(); 45 | } 46 | 47 | float gps_hdop() { 48 | return _gps.hdop.hdop(); 49 | } 50 | 51 | uint8_t gps_sats() { 52 | return _gps.satellites.value(); 53 | } 54 | 55 | void gps_setup() { 56 | _serial_gps.begin(GPS_BAUDRATE, SERIAL_8N1, GPS_RX_PIN, GPS_TX_PIN); 57 | } 58 | 59 | static void gps_loop() { 60 | while (_serial_gps.available()) { 61 | _gps.encode(_serial_gps.read()); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # TTN Tracker 2 | 3 | This is a LoRaWAN node based on the TTGO T-Beam development platform. 4 | It uses a RFM95 by HopeRF and the MCCI LoRaWAN LMIC stack. 5 | The sample code is configured to connect to The Things Network using EU frequency, but you can easily change that. 6 | 7 | [![travis](https://travis-ci.org/xoseperez/ttgo-beam-tracker.svg)](https://travis-ci.org/xoseperez/ttgo-beam-tracker) 8 | [![license](https://img.shields.io/github/license/xoseperez/ttgo-beam-tracker.svg)](LICENSE) 9 | [![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=xose%2eperez%40gmail%2ecom&lc=US&no_note=0¤cy_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_LG%2egif%3aNonHostedGuest) 10 | [![twitter](https://img.shields.io/twitter/follow/xoseperez.svg?style=social)](https://twitter.com/intent/follow?screen_name=xoseperez) 11 | 12 | This repository contains: 13 | 14 | * 3D model of the enclosure, both OpenSCAD and STL files. 15 | * Sample code that sends GPS data compatible with [TTNMapper](http://ttnmapper.org). 16 | * Javascript decoder code to decode payload 17 | 18 | ![Device](images/20181105_192255.jpg) 19 | 20 | ![Design](images/ttgo-beam-case.png) 21 | 22 | ## License 23 | 24 | Copyright (C) 2018 by Xose Pérez (@xoseperez) 25 | 26 | This program is free software: you can redistribute it and/or modify 27 | it under the terms of the GNU General Public License as published by 28 | the Free Software Foundation, either version 3 of the License, or 29 | (at your option) any later version. 30 | 31 | This program is distributed in the hope that it will be useful, 32 | but WITHOUT ANY WARRANTY; without even the implied warranty of 33 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 34 | GNU General Public License for more details. 35 | 36 | You should have received a copy of the GNU General Public License 37 | along with this program. If not, see . 38 | -------------------------------------------------------------------------------- /code/src/images.h: -------------------------------------------------------------------------------- 1 | #define SATELLITE_IMAGE_WIDTH 16 2 | #define SATELLITE_IMAGE_HEIGHT 15 3 | const uint8_t SATELLITE_IMAGE[] PROGMEM = { 4 | 0x00, 0x08, 0x00, 0x1C, 0x00, 0x0E, 0x20, 0x07, 0x70, 0x02, 0xF8, 0x00, 5 | 0xF0, 0x01, 0xE0, 0x03, 0xC8, 0x01, 0x9C, 0x54, 0x0E, 0x52, 0x07, 0x48, 6 | 0x02, 0x26, 0x00, 0x10, 0x00, 0x0E 7 | }; 8 | 9 | #define TTN_IMAGE_WIDTH 62 10 | #define TTN_IMAGE_HEIGHT 48 11 | const uint8_t TTN_IMAGE[] PROGMEM = { 12 | 0x00, 0x00, 0x00, 0xC0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF0, 13 | 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFC, 0x7F, 0x00, 0x70, 0x00, 14 | 0x00, 0x00, 0x00, 0xFC, 0xFF, 0x00, 0xF0, 0x00, 0x00, 0x00, 0x00, 0xFF, 15 | 0xFF, 0x01, 0xC0, 0x03, 0x00, 0x80, 0x1F, 0xFF, 0xFF, 0x03, 0x00, 0x07, 16 | 0x00, 0xE0, 0xBF, 0xFF, 0xFF, 0x03, 0x38, 0x0E, 0x00, 0xF0, 0xFF, 0xFF, 17 | 0xFF, 0x07, 0xF8, 0x0C, 0x00, 0xF0, 0xFF, 0xFF, 0xFF, 0xF7, 0xE3, 0x1C, 18 | 0x00, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xC7, 0x1D, 0x00, 0xFC, 0xFF, 0xFF, 19 | 0xFF, 0xFF, 0x8F, 0x19, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0x19, 20 | 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x9F, 0x19, 0xC0, 0xFF, 0xFF, 0xFF, 21 | 0xFF, 0xFF, 0xBF, 0x19, 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xBF, 0x19, 22 | 0xC0, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x3F, 0x18, 0xF8, 0xFF, 0xFF, 0xFF, 23 | 0xFF, 0xFF, 0x3F, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0x00, 24 | 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 25 | 0xFF, 0xFF, 0x7F, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 26 | 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 27 | 0xFF, 0xFF, 0xFF, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 28 | 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0xFE, 0xFF, 0xFF, 0xFF, 29 | 0xFF, 0xFF, 0x7F, 0x00, 0xFC, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x7F, 0x00, 30 | 0xF8, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x1F, 0x00, 0xE0, 0xFF, 0xFF, 0xFF, 31 | 0xFF, 0xFF, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 32 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 33 | 0x00, 0x00, 0x00, 0x00, 0xBF, 0x99, 0xC7, 0x6F, 0x36, 0x63, 0x1C, 0x1C, 34 | 0xBF, 0x99, 0xC7, 0x6F, 0x36, 0x67, 0x7E, 0x1E, 0x8C, 0x99, 0x00, 0x63, 35 | 0x36, 0x67, 0x03, 0x02, 0x8C, 0x99, 0x00, 0x63, 0x36, 0x6F, 0x03, 0x06, 36 | 0x8C, 0x9F, 0x07, 0xE3, 0x37, 0x6B, 0x73, 0x1C, 0x8C, 0x99, 0x00, 0x63, 37 | 0x36, 0x7B, 0x63, 0x30, 0x8C, 0x99, 0x00, 0x63, 0x36, 0x73, 0x76, 0x33, 38 | 0x8C, 0x99, 0x07, 0x63, 0x36, 0x73, 0x3E, 0x1F, 0x00, 0x00, 0x00, 0x00, 39 | 0x00, 0x00, 0x08, 0x0C, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 40 | 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x12, 0x18, 0x3C, 0x28, 41 | 0x81, 0x03, 0x07, 0x1A, 0x16, 0x08, 0x18, 0x68, 0x41, 0x06, 0x05, 0x0E, 42 | 0x1E, 0x18, 0x18, 0x68, 0x41, 0x06, 0x07, 0x06, 0x1A, 0x08, 0x18, 0xD0, 43 | 0x40, 0x06, 0x05, 0x0A, 0x12, 0x18, 0x18, 0xD0, 0x80, 0x01, 0x0D, 0x12, 44 | }; 45 | -------------------------------------------------------------------------------- /tools/decoder.js: -------------------------------------------------------------------------------- 1 | function toNumber(bytes) { 2 | var bits = (bytes[3] << 24) | (bytes[2] << 16) | (bytes[1] << 8) | (bytes[0]); 3 | var sign = ((bits >> 31) === 0) ? 1.0 : -1.0; 4 | var e = ((bits >> 23) & 0xff); 5 | var m = (e === 0) ? (bits & 0x7fffff) << 1 : (bits & 0x7fffff) | 0x800000; 6 | var f = sign * m * Math.pow(2, e - 150); 7 | return f; 8 | } 9 | 10 | function toInteger(bytes, len) { 11 | var out = 0; 12 | for (var i=len-1; i>=0; i--) { 13 | out = (out << 8) + bytes[i]; 14 | } 15 | return out; 16 | } 17 | 18 | function toString(bytes) { 19 | var s = ""; 20 | var i = 0; 21 | while (0 !== bytes[i]) { 22 | s = s + String.fromCharCode(bytes[i]); 23 | i++; 24 | } 25 | return s; 26 | } 27 | 28 | function toBool(bytes) { 29 | return (1 === bytes[0]); 30 | } 31 | 32 | // Types: 33 | var MESSAGE_PACK_NULL = 0; 34 | var MESSAGE_PACK_BOOLEAN = 1; 35 | var MESSAGE_PACK_SHORT = 2; 36 | var MESSAGE_PACK_INTEGER = 3; 37 | var MESSAGE_PACK_LONG = 4; 38 | var MESSAGE_PACK_FLOAT = 5; 39 | var MESSAGE_PACK_TEXT = 6; 40 | 41 | var code_types_lua = [ 42 | MESSAGE_PACK_FLOAT, MESSAGE_PACK_LONG, MESSAGE_PACK_NULL, 43 | MESSAGE_PACK_BOOLEAN, MESSAGE_PACK_TEXT, MESSAGE_PACK_SHORT, 44 | MESSAGE_PACK_INTEGER 45 | ]; 46 | 47 | function unpack(bytes, lua) { 48 | 49 | // default to normal compatibility 50 | lua = typeof lua !== 'undefined' ? lua : false; 51 | 52 | // array to hold values 53 | var data = []; 54 | 55 | // first byte holds the number of elements 56 | var size = bytes[0]; 57 | 58 | // get data types 59 | var types = []; 60 | var count = 1; 61 | do { 62 | var type = bytes[count]; 63 | types.push(type >> 4); 64 | types.push(type & 0x0F); 65 | count++; 66 | } while (types.length < size); 67 | types = types.slice(0, size); 68 | 69 | // decode data 70 | for (var i=0; i 6 | 7 | 8 | This program is free software: you can redistribute it and/or modify 9 | it under the terms of the GNU General Public License as published by 10 | the Free Software Foundation, either version 3 of the License, or 11 | (at your option) any later version. 12 | 13 | This program is distributed in the hope that it will be useful, 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16 | GNU General Public License for more details. 17 | 18 | You should have received a copy of the GNU General Public License 19 | along with this program. If not, see . 20 | 21 | */ 22 | 23 | #include 24 | #include "SSD1306Wire.h" 25 | #include "OLEDDisplay.h" 26 | #include "images.h" 27 | #include "fonts.h" 28 | 29 | #define SCREEN_HEADER_HEIGHT 14 30 | 31 | SSD1306Wire * display; 32 | uint8_t _screen_line = SCREEN_HEADER_HEIGHT - 1; 33 | 34 | void _screen_header() { 35 | 36 | char buffer[20]; 37 | 38 | // Message count 39 | snprintf(buffer, sizeof(buffer), "#%03d", get_count() % 1000); 40 | display->setTextAlignment(TEXT_ALIGN_LEFT); 41 | display->drawString(0, 2, buffer); 42 | 43 | // Datetime 44 | gps_time(buffer, sizeof(buffer)); 45 | display->setTextAlignment(TEXT_ALIGN_CENTER); 46 | display->drawString(display->getWidth()/2, 2, buffer); 47 | 48 | // Satellite count 49 | display->setTextAlignment(TEXT_ALIGN_RIGHT); 50 | display->drawString(display->getWidth() - SATELLITE_IMAGE_WIDTH - 4, 2, itoa(gps_sats(), buffer, 10)); 51 | display->drawXbm(display->getWidth() - SATELLITE_IMAGE_WIDTH, 0, SATELLITE_IMAGE_WIDTH, SATELLITE_IMAGE_HEIGHT, SATELLITE_IMAGE); 52 | 53 | } 54 | 55 | void screen_show_logo() { 56 | uint8_t x = (display->getWidth() - TTN_IMAGE_WIDTH) / 2; 57 | uint8_t y = SCREEN_HEADER_HEIGHT + (display->getHeight() - SCREEN_HEADER_HEIGHT - TTN_IMAGE_HEIGHT) / 2 + 1; 58 | display->drawXbm(x, y, TTN_IMAGE_WIDTH, TTN_IMAGE_HEIGHT, TTN_IMAGE); 59 | } 60 | 61 | void screen_off() { 62 | display->displayOff(); 63 | } 64 | 65 | void screen_on() { 66 | display->displayOn(); 67 | } 68 | 69 | void screen_clear() { 70 | display->clear(); 71 | } 72 | 73 | void screen_print(const char * text, uint8_t x, uint8_t y, uint8_t alignment) { 74 | DEBUG_MSG(text); 75 | display->setTextAlignment((OLEDDISPLAY_TEXT_ALIGNMENT) alignment); 76 | display->drawString(x, y, text); 77 | } 78 | 79 | void screen_print(const char * text, uint8_t x, uint8_t y) { 80 | screen_print(text, x, y, TEXT_ALIGN_LEFT); 81 | } 82 | 83 | void screen_print(const char * text) { 84 | display->print(text); 85 | if (_screen_line + 8 > display->getHeight()) { 86 | // scroll 87 | } 88 | _screen_line += 8; 89 | screen_loop(); 90 | } 91 | 92 | void screen_update() { 93 | display->display(); 94 | } 95 | 96 | void screen_setup() { 97 | 98 | // Display instance 99 | display = new SSD1306Wire(OLED_ADDRESS, OLED_SDA, OLED_SCL); 100 | display->init(); 101 | display->flipScreenVertically(); 102 | display->setFont(Custom_ArialMT_Plain_10); 103 | 104 | // Scroll buffer 105 | display->setLogBuffer(5, 30); 106 | 107 | } 108 | 109 | void screen_loop() { 110 | display->clear(); 111 | _screen_header(); 112 | display->drawLogBuffer(0, SCREEN_HEADER_HEIGHT); 113 | display->display(); 114 | } 115 | -------------------------------------------------------------------------------- /code/src/configuration.h: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | TTGO-BEAM based TTN Tracker 4 | 5 | Copyright (C) 2018-2019 by Xose Pérez 6 | 7 | This code requires LMIC library by Matthijs Kooijman 8 | https://github.com/matthijskooijman/arduino-lmic 9 | 10 | This program is free software: you can redistribute it and/or modify 11 | it under the terms of the GNU General Public License as published by 12 | the Free Software Foundation, either version 3 of the License, or 13 | (at your option) any later version. 14 | 15 | This program is distributed in the hope that it will be useful, 16 | but WITHOUT ANY WARRANTY; without even the implied warranty of 17 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 | GNU General Public License for more details. 19 | 20 | You should have received a copy of the GNU General Public License 21 | along with this program. If not, see . 22 | 23 | */ 24 | 25 | #pragma once 26 | 27 | #include 28 | #include 29 | 30 | void ttn_register(void (*callback)(uint8_t message)); 31 | 32 | // ----------------------------------------------------------------------------- 33 | // Version 34 | // ----------------------------------------------------------------------------- 35 | 36 | #define APP_NAME "TTN TRACKER" 37 | #define APP_VERSION "0.1.3" 38 | 39 | // ----------------------------------------------------------------------------- 40 | // Configuration 41 | // ----------------------------------------------------------------------------- 42 | 43 | #define DEBUG_PORT Serial // Serial debug port 44 | #define SERIAL_BAUD 115200 // Serial debug baud rate 45 | #define SEND_INTERVAL 15000 // Sleep for these many millis 46 | #define SLEEP_BETWEEN_MESSAGES 1 // Do sleep between messages 47 | #define MESSAGE_TO_SLEEP_DELAY 500 // Time after message before going to sleep 48 | #define LOGO_DELAY 3000 // Time to show logo on first boot 49 | #define LORAWAN_PORT 1 // Port the messages will be sent to 50 | #define LORAWAN_CONFIRMED_EVERY 0 // Send confirmed message every these many messages (0 means never) 51 | #define LORAWAN_SF DR_SF7 // Spreading factor 52 | #define LORAWAN_ADR 0 // Enable ADR 53 | #define GPS_WAIT_FOR_LOCK 10000 // Wait 5s after every boot for GPS lock 54 | 55 | // ----------------------------------------------------------------------------- 56 | // DEBUG 57 | // ----------------------------------------------------------------------------- 58 | 59 | #ifdef DEBUG_PORT 60 | #define DEBUG_MSG(...) DEBUG_PORT.printf( __VA_ARGS__ ) 61 | #else 62 | #define DEBUG_MSG(...) 63 | #endif 64 | 65 | // ----------------------------------------------------------------------------- 66 | // Custom messages 67 | // ----------------------------------------------------------------------------- 68 | 69 | #define EV_QUEUED 100 70 | #define EV_PENDING 101 71 | #define EV_ACK 102 72 | #define EV_RESPONSE 103 73 | 74 | // ----------------------------------------------------------------------------- 75 | // General 76 | // ----------------------------------------------------------------------------- 77 | 78 | #define BUTTON_PIN 39 79 | #define LED_PIN 14 80 | 81 | // ----------------------------------------------------------------------------- 82 | // OLED 83 | // ----------------------------------------------------------------------------- 84 | 85 | #define OLED_ADDRESS 0x3C 86 | #define OLED_SDA 21 87 | #define OLED_SCL 22 88 | 89 | // ----------------------------------------------------------------------------- 90 | // GPS 91 | // ----------------------------------------------------------------------------- 92 | 93 | #define GPS_SERIAL_NUM 2 94 | #define GPS_RX_PIN 12 95 | #define GPS_TX_PIN 15 96 | #define GPS_BAUDRATE 9600 97 | 98 | // ----------------------------------------------------------------------------- 99 | // LoRa SPI 100 | // ----------------------------------------------------------------------------- 101 | 102 | #define SCK_GPIO 5 103 | #define MISO_GPIO 19 104 | #define MOSI_GPIO 27 105 | #define NSS_GPIO 18 106 | #define RESET_GPIO 23 107 | #define DIO0_GPIO 26 108 | #define DIO1_GPIO 33 109 | #define DIO2_GPIO 32 110 | -------------------------------------------------------------------------------- /code/src/main.ino: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | Main module 4 | 5 | Copyright (C) 2018-2019 by Xose Pérez 6 | 7 | This program is free software: you can redistribute it and/or modify 8 | it under the terms of the GNU General Public License as published by 9 | the Free Software Foundation, either version 3 of the License, or 10 | (at your option) any later version. 11 | 12 | This program is distributed in the hope that it will be useful, 13 | but WITHOUT ANY WARRANTY; without even the implied warranty of 14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 | GNU General Public License for more details. 16 | 17 | You should have received a copy of the GNU General Public License 18 | along with this program. If not, see . 19 | 20 | */ 21 | 22 | #include "configuration.h" 23 | #include 24 | #include 25 | 26 | // Cayenne buffer 27 | CayenneLPP lpp(51); 28 | 29 | // Message counter, stored in RTC memory, survives deep sleep 30 | RTC_DATA_ATTR uint32_t count = 0; 31 | 32 | // ----------------------------------------------------------------------------- 33 | // Application 34 | // ----------------------------------------------------------------------------- 35 | 36 | void send() { 37 | 38 | /* 39 | 40 | Channel definition for trackers: 41 | 42 | CHANNEL 0: counter (digital_out_0) 43 | CHANNEL 1: gps (gps_1.altitude gps_1.latitude gps_1.longitude) 44 | CHANNEL 2: temperature (temperature_2) 45 | CHANNEL 3: accelerometer (accelerometer_3.x accelerometer_3.y accelerometer_3.z) 46 | CHANNEL 4: battery (analog_out_4) in volts 47 | CHANNEL 5: sats (digital_out_5) 48 | CHANNEL 6: hdop (analog_out_4) 49 | 50 | */ 51 | 52 | char buffer[40]; 53 | snprintf(buffer, sizeof(buffer), "Latitude: %10.6f\n", gps_latitude()); 54 | screen_print(buffer); 55 | snprintf(buffer, sizeof(buffer), "Longitude: %10.6f\n", gps_longitude()); 56 | screen_print(buffer); 57 | snprintf(buffer, sizeof(buffer), "Error: %4.2fm\n", gps_hdop()); 58 | screen_print(buffer); 59 | 60 | lpp.reset(); 61 | lpp.addDigitalOutput(0, count); 62 | if (gps_lock()) { 63 | lpp.addGPS(1, gps_latitude(), gps_longitude(), gps_altitude()); 64 | } else { 65 | screen_print("No GPS lock yet\n"); 66 | } 67 | //lpp.addAnalogOutput(4, battery()); 68 | lpp.addDigitalOutput(5, gps_sats()); 69 | lpp.addAnalogOutput(6, gps_hdop()); 70 | 71 | #if LORAWAN_CONFIRMED_EVERY > 0 72 | bool confirmed = (count % LORAWAN_CONFIRMED_EVERY == 0); 73 | #else 74 | bool confirmed = false; 75 | #endif 76 | 77 | ttn_cnt(count); 78 | ttn_send(lpp.getBuffer(), lpp.getSize(), LORAWAN_PORT, confirmed); 79 | 80 | count++; 81 | 82 | } 83 | 84 | void sleep() { 85 | 86 | #if SLEEP_BETWEEN_MESSAGES 87 | 88 | if (gps_lock()) { 89 | 90 | // Show the going to sleep message on the screen 91 | char buffer[20]; 92 | snprintf(buffer, sizeof(buffer), "Sleeping in %3.1fs\n", (MESSAGE_TO_SLEEP_DELAY / 1000.0)); 93 | screen_print(buffer); 94 | 95 | } 96 | 97 | #endif 98 | 99 | // Wait for MESSAGE_TO_SLEEP_DELAY millis to sleep 100 | delay(MESSAGE_TO_SLEEP_DELAY); 101 | 102 | #if SLEEP_BETWEEN_MESSAGES 103 | 104 | if (gps_lock()) { 105 | 106 | // Turn off screen 107 | screen_off(); 108 | 109 | // Set the user button to wake the board 110 | sleep_interrupt(BUTTON_PIN, LOW); 111 | 112 | // We sleep for the interval between messages minus the current millis 113 | // this way we distribute the messages evenly every SEND_INTERVAL millis 114 | uint32_t sleep_for = (millis() < SEND_INTERVAL) ? SEND_INTERVAL - millis() : SEND_INTERVAL; 115 | sleep_millis(sleep_for); 116 | 117 | } 118 | 119 | #endif 120 | 121 | } 122 | 123 | void callback(uint8_t message) { 124 | 125 | if (EV_JOINING == message) screen_print("Joining TTN...\n"); 126 | if (EV_JOINED == message) screen_print("TTN joined!\n"); 127 | if (EV_JOIN_FAILED == message) screen_print("TTN join failed\n"); 128 | if (EV_REJOIN_FAILED == message) screen_print("TTN rejoin failed\n"); 129 | if (EV_RESET == message) screen_print("Reset TTN connection\n"); 130 | if (EV_LINK_DEAD == message) screen_print("TTN link dead\n"); 131 | if (EV_ACK == message) screen_print("ACK received\n"); 132 | if (EV_PENDING == message) screen_print("Message discarded\n"); 133 | if (EV_QUEUED == message) screen_print("Message queued\n"); 134 | 135 | if (EV_TXCOMPLETE == message) { 136 | screen_print("Message sent\n"); 137 | sleep(); 138 | } 139 | 140 | if (EV_RESPONSE == message) { 141 | 142 | screen_print("[TTN] Response: "); 143 | 144 | size_t len = ttn_response_len(); 145 | uint8_t data[len]; 146 | ttn_response(data, len); 147 | 148 | char buffer[6]; 149 | for (uint8_t i=0; i SEND_INTERVAL) { 216 | last = millis(); 217 | send(); 218 | } 219 | 220 | } 221 | -------------------------------------------------------------------------------- /enclosure/ttgo-beam.scad: -------------------------------------------------------------------------------- 1 | // ------------------------------------------------- 2 | // Settings 3 | // ------------------------------------------------- 4 | 5 | $fn = 50; 6 | 7 | // ------------------------------------------------- 8 | // Configuration 9 | // ------------------------------------------------- 10 | 11 | device_width = 100.0; 12 | device_depth = 36.0; 13 | device_height = 34.0; 14 | wall_thickness = 3.0; 15 | board_thickness = 2.1; 16 | device_front_depth = 16.0; 17 | rack_depth = 3.0; 18 | corner_radius = 8.0; 19 | screw_length = 12.0; 20 | screw_head = 2.5; 21 | screw_offset = 3.5; // was 2.5 22 | display_left = 12.5; 23 | display_bottom = 12.5; 24 | display_width = 27.0; 25 | display_inner_width = 17.0; 26 | display_height = 15.0; 27 | display_guide = 4.0; 28 | antenna_radius = 4.0; 29 | antenna_y = -7; 30 | xamfra = 2; 31 | 32 | // ------------------------------------------------- 33 | 34 | board_y = -device_depth/2 + device_front_depth - board_thickness / 2; 35 | box_width = device_width + wall_thickness; 36 | box_depth = device_depth + wall_thickness; 37 | box_height = device_height + wall_thickness; 38 | 39 | // ------------------------------------------------- 40 | // Modules 41 | // ------------------------------------------------- 42 | 43 | module base() { 44 | linear_extrude(wall_thickness) { 45 | difference() { 46 | minkowski() { 47 | square([box_width-2*xamfra, box_depth-2*xamfra], true); 48 | circle(xamfra, true); 49 | } 50 | translate([8, board_y-3]) square([40,10], true); 51 | } 52 | } 53 | } 54 | 55 | module lid() { 56 | difference() { 57 | linear_extrude(wall_thickness-1) { 58 | difference() { 59 | square([box_width-wall_thickness/2-0.5,box_depth-wall_thickness/2-0.5], true); 60 | translate([0, board_y + antenna_y]) circle(antenna_radius, true); 61 | translate([box_width/2-screw_offset, box_depth/2-screw_offset ]) circle(screw_head/2,true); 62 | translate([box_width/2-screw_offset, -box_depth/2+screw_offset ]) circle(screw_head/2,true); 63 | translate([-box_width/2+screw_offset, box_depth/2-screw_offset ]) circle(screw_head/2,true); 64 | translate([-box_width/2+screw_offset, -box_depth/2+screw_offset ]) circle(screw_head/2,true); 65 | } 66 | } 67 | translate([0,0,1]) linear_extrude(10) { 68 | translate([box_width/2-screw_offset, box_depth/2-screw_offset ]) circle(screw_head,true); 69 | translate([box_width/2-screw_offset, -box_depth/2+screw_offset ]) circle(screw_head,true); 70 | translate([-box_width/2+screw_offset, box_depth/2-screw_offset ]) circle(screw_head,true); 71 | translate([-box_width/2+screw_offset, -box_depth/2+screw_offset ]) circle(screw_head,true); 72 | 73 | } 74 | } 75 | } 76 | 77 | module walls() { 78 | difference() { 79 | union() { 80 | linear_extrude(box_height + wall_thickness - 1) { 81 | difference() { 82 | minkowski() { 83 | square([box_width+wall_thickness/2-2*xamfra,box_depth+wall_thickness/2-2*xamfra], true); 84 | circle(xamfra, true); 85 | } 86 | square([box_width-wall_thickness/2,box_depth-wall_thickness/2], true); 87 | } 88 | } 89 | translate([ 90 | -box_width/2+wall_thickness/2+display_left+display_width/2, 91 | -(box_depth-wall_thickness)/2+display_guide 92 | ]) linear_extrude(display_bottom) { 93 | difference() { 94 | square([display_width, 2], true); 95 | square([display_inner_width, 2], true); 96 | } 97 | } 98 | } 99 | translate([ 100 | -box_width/2+wall_thickness/2+display_left+display_width/2, 101 | -(box_depth-wall_thickness)/2, 102 | display_bottom+display_height/2+wall_thickness 103 | ]) display(); 104 | } 105 | } 106 | 107 | module rack() { 108 | linear_extrude(box_height) { 109 | translate([0,board_y+board_thickness/2]) 110 | union() { 111 | translate([(box_width-wall_thickness)/2, 112 | (board_thickness+rack_depth)/2]) { 113 | square([rack_depth/2,rack_depth], true); 114 | } 115 | translate([(box_width-wall_thickness)/2, 116 | -(board_thickness+rack_depth)/2]) { 117 | square([rack_depth/2,rack_depth], true); 118 | } 119 | translate([-(box_width-wall_thickness)/2, 120 | (board_thickness+rack_depth)/2]) { 121 | square([rack_depth/2,rack_depth], true); 122 | } 123 | translate([-(box_width-wall_thickness)/2, 124 | -(board_thickness+rack_depth)/2]) { 125 | square([rack_depth/2,rack_depth], true); 126 | } 127 | } 128 | } 129 | } 130 | 131 | module corners() { 132 | union() { 133 | translate([-box_width/2,-box_depth/2,box_height]) corner(); 134 | translate([box_width/2,-box_depth/2,box_height]) rotate([0,0,90]) corner(); 135 | translate([box_width/2,box_depth/2,box_height]) rotate([0,0,180]) corner(); 136 | translate([-box_width/2,box_depth/2,box_height]) rotate([0,0,270]) corner(); 137 | } 138 | } 139 | 140 | module corner() { 141 | difference() { 142 | intersection() { 143 | sphere(corner_radius, true); 144 | translate([0,0,-corner_radius]) cube(corner_radius); 145 | } 146 | translate([screw_offset,screw_offset,-screw_length]) linear_extrude(screw_length) { 147 | circle([screw_head/2],true); 148 | } 149 | } 150 | } 151 | 152 | module display() { 153 | rotate([90,0,0]) 154 | linear_extrude(wall_thickness) 155 | square([display_width, display_height], true); 156 | } 157 | 158 | module device() { 159 | rotate([90,0,0]) linear_extrude(1.6) square([device_width, device_height], true); 160 | } 161 | 162 | // ------------------------------------------------- 163 | // Entry points 164 | // ------------------------------------------------- 165 | 166 | module full() { 167 | union() { 168 | base(); 169 | walls(); 170 | rack(); 171 | corners(); 172 | } 173 | } 174 | 175 | full(); 176 | //translate([0,0,box_height + 10]) lid(); 177 | translate([0,box_depth + 10,0]) lid(); 178 | //translate([0,board_y+wall_thickness/2,wall_thickness + device_height/2]) device(); 179 | -------------------------------------------------------------------------------- /code/src/ttn.ino: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | TTN module 4 | Wrapper to use TTN with the LMIC library 5 | 6 | Copyright (C) 2018-2019 by Xose Pérez 7 | 8 | This code requires the MCCI LoRaWAN LMIC library 9 | by IBM, Matthis Kooijman, Terry Moore, ChaeHee Won, Frank Rose 10 | https://github.com/mcci-catena/arduino-lmic 11 | 12 | This program is free software: you can redistribute it and/or modify 13 | it under the terms of the GNU General Public License as published by 14 | the Free Software Foundation, either version 3 of the License, or 15 | (at your option) any later version. 16 | 17 | This program is distributed in the hope that it will be useful, 18 | but WITHOUT ANY WARRANTY; without even the implied warranty of 19 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 | GNU General Public License for more details. 21 | 22 | You should have received a copy of the GNU General Public License 23 | along with this program. If not, see . 24 | 25 | */ 26 | 27 | #include 28 | #include 29 | #include 30 | #include "configuration.h" 31 | 32 | // Copy and rename credentials.sample.h to credentials.h 33 | // and configure it with your node settings 34 | #include "credentials.h" 35 | 36 | #ifndef CFG_eu868 37 | // Currently, this sketch only supports EU868 network, edit your 38 | // lmic_project_config.h file in the library to change the setting 39 | #error "This script is meant to connect to TTN EU network at 868MHz" 40 | #endif 41 | 42 | // ----------------------------------------------------------------------------- 43 | // Globals 44 | // ----------------------------------------------------------------------------- 45 | 46 | // LMIC GPIO configuration 47 | const lmic_pinmap lmic_pins = { 48 | .nss = NSS_GPIO, 49 | .rxtx = LMIC_UNUSED_PIN, 50 | .rst = RESET_GPIO, 51 | .dio = {DIO0_GPIO, DIO1_GPIO, DIO2_GPIO}, 52 | }; 53 | 54 | #ifdef USE_ABP 55 | // These callbacks are only used in over-the-air activation, so they are 56 | // left empty here (we cannot leave them out completely unless 57 | // DISABLE_JOIN is set in config.h, otherwise the linker will complain). 58 | void os_getArtEui (u1_t* buf) { } 59 | void os_getDevEui (u1_t* buf) { } 60 | void os_getDevKey (u1_t* buf) { } 61 | #endif 62 | 63 | #ifdef USE_OTAA 64 | void os_getArtEui (u1_t* buf) { memcpy_P(buf, APPEUI, 8); } 65 | void os_getDevEui (u1_t* buf) { memcpy_P(buf, DEVEUI, 8); } 66 | void os_getDevKey (u1_t* buf) { memcpy_P(buf, APPKEY, 16); } 67 | #endif 68 | 69 | std::vector _lmic_callbacks; 70 | 71 | // ----------------------------------------------------------------------------- 72 | // Private methods 73 | // ----------------------------------------------------------------------------- 74 | 75 | void _ttn_callback(uint8_t message) { 76 | for (uint8_t i=0; i<_lmic_callbacks.size(); i++) { 77 | (_lmic_callbacks[i])(message); 78 | } 79 | } 80 | 81 | // LMIC library will call this method when an event is fired 82 | void onEvent(ev_t event) { 83 | 84 | if (EV_TXCOMPLETE == event) { 85 | 86 | if (LMIC.txrxFlags & TXRX_ACK) { 87 | _ttn_callback(EV_ACK); 88 | } 89 | 90 | if (LMIC.dataLen) { 91 | _ttn_callback(EV_RESPONSE); 92 | } 93 | 94 | } 95 | 96 | // Send message callbacks 97 | _ttn_callback(event); 98 | 99 | } 100 | 101 | // ----------------------------------------------------------------------------- 102 | // Public methods 103 | // ----------------------------------------------------------------------------- 104 | 105 | void ttn_register(void (*callback)(uint8_t message)) { 106 | _lmic_callbacks.push_back(callback); 107 | } 108 | 109 | size_t ttn_response_len() { 110 | return LMIC.dataLen; 111 | } 112 | 113 | void ttn_response(uint8_t * buffer, size_t len) { 114 | for (uint8_t i = 0; i < LMIC.dataLen; i++) { 115 | buffer[i] = LMIC.frame[LMIC.dataBeg + i]; 116 | } 117 | } 118 | 119 | bool ttn_setup() { 120 | 121 | // SPI interface 122 | SPI.begin(SCK_GPIO, MISO_GPIO, MOSI_GPIO, NSS_GPIO); 123 | 124 | // LMIC init 125 | return ( 1 == os_init_ex( (const void *) &lmic_pins ) ); 126 | 127 | } 128 | 129 | void ttn_join() { 130 | 131 | // Reset the MAC state. Session and pending data transfers will be discarded. 132 | LMIC_reset(); 133 | 134 | #ifdef USE_ABP 135 | 136 | // Set static session parameters. Instead of dynamically establishing a session 137 | // by joining the network, precomputed session parameters are be provided. 138 | uint8_t appskey[sizeof(APPSKEY)]; 139 | uint8_t nwkskey[sizeof(NWKSKEY)]; 140 | memcpy_P(appskey, APPSKEY, sizeof(APPSKEY)); 141 | memcpy_P(nwkskey, NWKSKEY, sizeof(NWKSKEY)); 142 | LMIC_setSession(0x1, DEVADDR, nwkskey, appskey); 143 | 144 | // Set up the channels used by the Things Network, which corresponds 145 | // to the defaults of most gateways. Without this, only three base 146 | // channels from the LoRaWAN specification are used, which certainly 147 | // works, so it is good for debugging, but can overload those 148 | // frequencies, so be sure to configure the full frequency range of 149 | // your network here (unless your network autoconfigures them). 150 | // Setting up channels should happen after LMIC_setSession, as that 151 | // configures the minimal channel set. 152 | LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band 153 | LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI); // g-band 154 | LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band 155 | LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band 156 | LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band 157 | LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band 158 | LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band 159 | LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7), BAND_CENTI); // g-band 160 | LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK, DR_FSK), BAND_MILLI); // g2-band 161 | 162 | // If using a mono-channel gateway disable all channels 163 | // but the one the gateway is listening to 164 | //LMIC_disableChannel(0); 165 | //LMIC_disableChannel(1); 166 | //LMIC_disableChannel(2); 167 | //LMIC_disableChannel(3); 168 | //LMIC_disableChannel(4); 169 | //LMIC_disableChannel(5); 170 | //LMIC_disableChannel(6); 171 | //LMIC_disableChannel(7); 172 | //LMIC_disableChannel(8); 173 | 174 | // TTN defines an additional channel at 869.525Mhz using SF9 for class B 175 | // devices' ping slots. LMIC does not have an easy way to define set this 176 | // frequency and support for class B is spotty and untested, so this 177 | // frequency is not configured here. 178 | 179 | // Disable link check validation 180 | LMIC_setLinkCheckMode(0); 181 | 182 | // TTN uses a 5 seconds delay window for RX1 183 | LMIC.rx1DrOffset = 5; 184 | 185 | // TTN uses SF9 for its RX2 window. 186 | LMIC.dn2Dr = DR_SF9; 187 | 188 | // Set default rate and transmit power for uplink (note: txpow seems to be ignored by the library) 189 | LMIC_setDrTxpow(DR_SF7, 14); 190 | 191 | // Trigger a false joined 192 | _ttn_callback(EV_JOINED); 193 | 194 | #endif // USE_ABP 195 | 196 | } 197 | 198 | void ttn_sf(unsigned char sf) { 199 | LMIC_setDrTxpow(sf, 14); 200 | } 201 | 202 | void ttn_adr(bool enabled) { 203 | LMIC_setAdrMode(enabled); 204 | } 205 | 206 | void ttn_cnt(unsigned long num) { 207 | LMIC_setSeqnoUp(num); 208 | } 209 | 210 | void ttn_send(uint8_t * data, size_t len, uint8_t port, bool confirmed){ 211 | 212 | // Check if there is not a current TX/RX job running 213 | if (LMIC.opmode & OP_TXRXPEND) { 214 | _ttn_callback(EV_PENDING); 215 | return; 216 | } 217 | 218 | // Prepare upstream data transmission at the next possible time. 219 | // Parameters are port, data, length, confirmed 220 | LMIC_setTxData2(port, data, len, confirmed ? 1 : 0); 221 | 222 | _ttn_callback(EV_QUEUED); 223 | 224 | } 225 | 226 | void ttn_loop() { 227 | os_runloop_once(); 228 | } 229 | -------------------------------------------------------------------------------- /code/src/fonts.h: -------------------------------------------------------------------------------- 1 | const uint8_t Custom_ArialMT_Plain_10[] PROGMEM = { 2 | 0x0A, // Width: 10 3 | 0x0A, // Height: 10 4 | 0x20, // First Char: 32 5 | 0xE0, // Numbers of Chars: 224 6 | 7 | // Jump Table: 8 | 0xFF, 0xFF, 0x00, 0x03, // 32:65535 9 | 0x00, 0x00, 0x04, 0x03, // 33:0 10 | 0x00, 0x04, 0x05, 0x04, // 34:4 11 | 0x00, 0x09, 0x09, 0x06, // 35:9 12 | 0x00, 0x12, 0x0A, 0x06, // 36:18 13 | 0x00, 0x1C, 0x10, 0x09, // 37:28 14 | 0x00, 0x2C, 0x0E, 0x07, // 38:44 15 | 0x00, 0x3A, 0x01, 0x02, // 39:58 16 | 0x00, 0x3B, 0x06, 0x03, // 40:59 17 | 0x00, 0x41, 0x06, 0x03, // 41:65 18 | 0x00, 0x47, 0x05, 0x04, // 42:71 19 | 0x00, 0x4C, 0x09, 0x06, // 43:76 20 | 0x00, 0x55, 0x04, 0x03, // 44:85 21 | 0x00, 0x59, 0x03, 0x03, // 45:89 22 | 0x00, 0x5C, 0x04, 0x03, // 46:92 23 | 0x00, 0x60, 0x05, 0x03, // 47:96 24 | 0x00, 0x65, 0x0A, 0x06, // 48:101 25 | 0x00, 0x6F, 0x08, 0x06, // 49:111 26 | 0x00, 0x77, 0x0A, 0x06, // 50:119 27 | 0x00, 0x81, 0x0A, 0x06, // 51:129 28 | 0x00, 0x8B, 0x0B, 0x06, // 52:139 29 | 0x00, 0x96, 0x0A, 0x06, // 53:150 30 | 0x00, 0xA0, 0x0A, 0x06, // 54:160 31 | 0x00, 0xAA, 0x09, 0x06, // 55:170 32 | 0x00, 0xB3, 0x0A, 0x06, // 56:179 33 | 0x00, 0xBD, 0x0A, 0x06, // 57:189 34 | 0x00, 0xC7, 0x04, 0x03, // 58:199 35 | 0x00, 0xCB, 0x04, 0x03, // 59:203 36 | 0x00, 0xCF, 0x0A, 0x06, // 60:207 37 | 0x00, 0xD9, 0x09, 0x06, // 61:217 38 | 0x00, 0xE2, 0x09, 0x06, // 62:226 39 | 0x00, 0xEB, 0x0B, 0x06, // 63:235 40 | 0x00, 0xF6, 0x14, 0x0A, // 64:246 41 | 0x01, 0x0A, 0x0E, 0x07, // 65:266 42 | 0x01, 0x18, 0x0C, 0x07, // 66:280 43 | 0x01, 0x24, 0x0C, 0x07, // 67:292 44 | 0x01, 0x30, 0x0B, 0x07, // 68:304 45 | 0x01, 0x3B, 0x0C, 0x07, // 69:315 46 | 0x01, 0x47, 0x09, 0x06, // 70:327 47 | 0x01, 0x50, 0x0D, 0x08, // 71:336 48 | 0x01, 0x5D, 0x0C, 0x07, // 72:349 49 | 0x01, 0x69, 0x04, 0x03, // 73:361 50 | 0x01, 0x6D, 0x08, 0x05, // 74:365 51 | 0x01, 0x75, 0x0E, 0x07, // 75:373 52 | 0x01, 0x83, 0x0C, 0x06, // 76:387 53 | 0x01, 0x8F, 0x10, 0x08, // 77:399 54 | 0x01, 0x9F, 0x0C, 0x07, // 78:415 55 | 0x01, 0xAB, 0x0E, 0x08, // 79:427 56 | 0x01, 0xB9, 0x0B, 0x07, // 80:441 57 | 0x01, 0xC4, 0x0E, 0x08, // 81:452 58 | 0x01, 0xD2, 0x0C, 0x07, // 82:466 59 | 0x01, 0xDE, 0x0C, 0x07, // 83:478 60 | 0x01, 0xEA, 0x0B, 0x06, // 84:490 61 | 0x01, 0xF5, 0x0C, 0x07, // 85:501 62 | 0x02, 0x01, 0x0D, 0x07, // 86:513 63 | 0x02, 0x0E, 0x11, 0x09, // 87:526 64 | 0x02, 0x1F, 0x0E, 0x07, // 88:543 65 | 0x02, 0x2D, 0x0D, 0x07, // 89:557 66 | 0x02, 0x3A, 0x0C, 0x06, // 90:570 67 | 0x02, 0x46, 0x06, 0x03, // 91:582 68 | 0x02, 0x4C, 0x06, 0x03, // 92:588 69 | 0x02, 0x52, 0x04, 0x03, // 93:594 70 | 0x02, 0x56, 0x09, 0x05, // 94:598 71 | 0x02, 0x5F, 0x0C, 0x06, // 95:607 72 | 0x02, 0x6B, 0x03, 0x03, // 96:619 73 | 0x02, 0x6E, 0x0A, 0x06, // 97:622 74 | 0x02, 0x78, 0x0A, 0x06, // 98:632 75 | 0x02, 0x82, 0x0A, 0x05, // 99:642 76 | 0x02, 0x8C, 0x0A, 0x06, // 100:652 77 | 0x02, 0x96, 0x0A, 0x06, // 101:662 78 | 0x02, 0xA0, 0x05, 0x03, // 102:672 79 | 0x02, 0xA5, 0x0A, 0x06, // 103:677 80 | 0x02, 0xAF, 0x0A, 0x06, // 104:687 81 | 0x02, 0xB9, 0x04, 0x02, // 105:697 82 | 0x02, 0xBD, 0x04, 0x02, // 106:701 83 | 0x02, 0xC1, 0x08, 0x05, // 107:705 84 | 0x02, 0xC9, 0x04, 0x02, // 108:713 85 | 0x02, 0xCD, 0x10, 0x08, // 109:717 86 | 0x02, 0xDD, 0x0A, 0x06, // 110:733 87 | 0x02, 0xE7, 0x0A, 0x06, // 111:743 88 | 0x02, 0xF1, 0x0A, 0x06, // 112:753 89 | 0x02, 0xFB, 0x0A, 0x06, // 113:763 90 | 0x03, 0x05, 0x05, 0x03, // 114:773 91 | 0x03, 0x0A, 0x08, 0x05, // 115:778 92 | 0x03, 0x12, 0x06, 0x03, // 116:786 93 | 0x03, 0x18, 0x0A, 0x06, // 117:792 94 | 0x03, 0x22, 0x09, 0x05, // 118:802 95 | 0x03, 0x2B, 0x0E, 0x07, // 119:811 96 | 0x03, 0x39, 0x0A, 0x05, // 120:825 97 | 0x03, 0x43, 0x09, 0x05, // 121:835 98 | 0x03, 0x4C, 0x0A, 0x05, // 122:844 99 | 0x03, 0x56, 0x06, 0x03, // 123:854 100 | 0x03, 0x5C, 0x04, 0x03, // 124:860 101 | 0x03, 0x60, 0x05, 0x03, // 125:864 102 | 0x03, 0x65, 0x09, 0x06, // 126:869 103 | 0xFF, 0xFF, 0x00, 0x00, // 127:65535 104 | 0xFF, 0xFF, 0x00, 0x0A, // 128:65535 105 | 0xFF, 0xFF, 0x00, 0x0A, // 129:65535 106 | 0xFF, 0xFF, 0x00, 0x0A, // 130:65535 107 | 0xFF, 0xFF, 0x00, 0x0A, // 131:65535 108 | 0xFF, 0xFF, 0x00, 0x0A, // 132:65535 109 | 0xFF, 0xFF, 0x00, 0x0A, // 133:65535 110 | 0xFF, 0xFF, 0x00, 0x0A, // 134:65535 111 | 0xFF, 0xFF, 0x00, 0x0A, // 135:65535 112 | 0xFF, 0xFF, 0x00, 0x0A, // 136:65535 113 | 0xFF, 0xFF, 0x00, 0x0A, // 137:65535 114 | 0xFF, 0xFF, 0x00, 0x0A, // 138:65535 115 | 0xFF, 0xFF, 0x00, 0x0A, // 139:65535 116 | 0xFF, 0xFF, 0x00, 0x0A, // 140:65535 117 | 0xFF, 0xFF, 0x00, 0x0A, // 141:65535 118 | 0xFF, 0xFF, 0x00, 0x0A, // 142:65535 119 | 0xFF, 0xFF, 0x00, 0x0A, // 143:65535 120 | 0xFF, 0xFF, 0x00, 0x0A, // 144:65535 121 | 0xFF, 0xFF, 0x00, 0x0A, // 145:65535 122 | 0xFF, 0xFF, 0x00, 0x0A, // 146:65535 123 | 0xFF, 0xFF, 0x00, 0x0A, // 147:65535 124 | 0xFF, 0xFF, 0x00, 0x0A, // 148:65535 125 | 0xFF, 0xFF, 0x00, 0x0A, // 149:65535 126 | 0xFF, 0xFF, 0x00, 0x0A, // 150:65535 127 | 0xFF, 0xFF, 0x00, 0x0A, // 151:65535 128 | 0xFF, 0xFF, 0x00, 0x0A, // 152:65535 129 | 0xFF, 0xFF, 0x00, 0x0A, // 153:65535 130 | 0xFF, 0xFF, 0x00, 0x0A, // 154:65535 131 | 0xFF, 0xFF, 0x00, 0x0A, // 155:65535 132 | 0xFF, 0xFF, 0x00, 0x0A, // 156:65535 133 | 0xFF, 0xFF, 0x00, 0x0A, // 157:65535 134 | 0xFF, 0xFF, 0x00, 0x0A, // 158:65535 135 | 0xFF, 0xFF, 0x00, 0x0A, // 159:65535 136 | 0xFF, 0xFF, 0x00, 0x03, // 160:65535 137 | 0x03, 0x6E, 0x04, 0x03, // 161:878 138 | 0x03, 0x72, 0x0A, 0x06, // 162:882 139 | 0x03, 0x7C, 0x0C, 0x06, // 163:892 140 | 0x03, 0x88, 0x0A, 0x06, // 164:904 141 | 0x03, 0x92, 0x0A, 0x06, // 165:914 142 | 0x03, 0x9C, 0x04, 0x03, // 166:924 143 | 0x03, 0xA0, 0x0A, 0x06, // 167:928 144 | 0x03, 0xAA, 0x05, 0x03, // 168:938 145 | 0x03, 0xAF, 0x0D, 0x07, // 169:943 146 | 0x03, 0xBC, 0x07, 0x04, // 170:956 147 | 0x03, 0xC3, 0x0A, 0x06, // 171:963 148 | 0x03, 0xCD, 0x09, 0x06, // 172:973 149 | 0x03, 0xD6, 0x03, 0x03, // 173:982 150 | 0x03, 0xD9, 0x0D, 0x07, // 174:985 151 | 0x03, 0xE6, 0x0B, 0x06, // 175:998 152 | 0x03, 0xF1, 0x07, 0x04, // 176:1009 153 | 0x03, 0xF8, 0x0A, 0x05, // 177:1016 154 | 0x04, 0x02, 0x05, 0x03, // 178:1026 155 | 0x04, 0x07, 0x05, 0x03, // 179:1031 156 | 0x04, 0x0C, 0x05, 0x03, // 180:1036 157 | 0x04, 0x11, 0x0A, 0x06, // 181:1041 158 | 0x04, 0x1B, 0x09, 0x05, // 182:1051 159 | 0x04, 0x24, 0x03, 0x03, // 183:1060 160 | 0x04, 0x27, 0x06, 0x03, // 184:1063 161 | 0x04, 0x2D, 0x05, 0x03, // 185:1069 162 | 0x04, 0x32, 0x07, 0x04, // 186:1074 163 | 0x04, 0x39, 0x0A, 0x06, // 187:1081 164 | 0x04, 0x43, 0x10, 0x08, // 188:1091 165 | 0x04, 0x53, 0x10, 0x08, // 189:1107 166 | 0x04, 0x63, 0x10, 0x08, // 190:1123 167 | 0x04, 0x73, 0x0A, 0x06, // 191:1139 168 | 0x04, 0x7D, 0x0E, 0x07, // 192:1149 169 | 0x04, 0x8B, 0x0E, 0x07, // 193:1163 170 | 0x04, 0x99, 0x0E, 0x07, // 194:1177 171 | 0x04, 0xA7, 0x0E, 0x07, // 195:1191 172 | 0x04, 0xB5, 0x0E, 0x07, // 196:1205 173 | 0x04, 0xC3, 0x0E, 0x07, // 197:1219 174 | 0x04, 0xD1, 0x12, 0x0A, // 198:1233 175 | 0x04, 0xE3, 0x0C, 0x07, // 199:1251 176 | 0x04, 0xEF, 0x0C, 0x07, // 200:1263 177 | 0x04, 0xFB, 0x0C, 0x07, // 201:1275 178 | 0x05, 0x07, 0x0C, 0x07, // 202:1287 179 | 0x05, 0x13, 0x0C, 0x07, // 203:1299 180 | 0x05, 0x1F, 0x05, 0x03, // 204:1311 181 | 0x05, 0x24, 0x04, 0x03, // 205:1316 182 | 0x05, 0x28, 0x04, 0x03, // 206:1320 183 | 0x05, 0x2C, 0x05, 0x03, // 207:1324 184 | 0x05, 0x31, 0x0B, 0x07, // 208:1329 185 | 0x05, 0x3C, 0x0C, 0x07, // 209:1340 186 | 0x05, 0x48, 0x0E, 0x08, // 210:1352 187 | 0x05, 0x56, 0x0E, 0x08, // 211:1366 188 | 0x05, 0x64, 0x0E, 0x08, // 212:1380 189 | 0x05, 0x72, 0x0E, 0x08, // 213:1394 190 | 0x05, 0x80, 0x0E, 0x08, // 214:1408 191 | 0x05, 0x8E, 0x0A, 0x06, // 215:1422 192 | 0x05, 0x98, 0x0D, 0x08, // 216:1432 193 | 0x05, 0xA5, 0x0C, 0x07, // 217:1445 194 | 0x05, 0xB1, 0x0C, 0x07, // 218:1457 195 | 0x05, 0xBD, 0x0C, 0x07, // 219:1469 196 | 0x05, 0xC9, 0x0C, 0x07, // 220:1481 197 | 0x05, 0xD5, 0x0D, 0x07, // 221:1493 198 | 0x05, 0xE2, 0x0B, 0x07, // 222:1506 199 | 0x05, 0xED, 0x0C, 0x06, // 223:1517 200 | 0x05, 0xF9, 0x0A, 0x06, // 224:1529 201 | 0x06, 0x03, 0x0A, 0x06, // 225:1539 202 | 0x06, 0x0D, 0x0A, 0x06, // 226:1549 203 | 0x06, 0x17, 0x0A, 0x06, // 227:1559 204 | 0x06, 0x21, 0x0A, 0x06, // 228:1569 205 | 0x06, 0x2B, 0x0A, 0x06, // 229:1579 206 | 0x06, 0x35, 0x10, 0x09, // 230:1589 207 | 0x06, 0x45, 0x0A, 0x05, // 231:1605 208 | 0x06, 0x4F, 0x0A, 0x06, // 232:1615 209 | 0x06, 0x59, 0x0A, 0x06, // 233:1625 210 | 0x06, 0x63, 0x0A, 0x06, // 234:1635 211 | 0x06, 0x6D, 0x0A, 0x06, // 235:1645 212 | 0x06, 0x77, 0x05, 0x03, // 236:1655 213 | 0x06, 0x7C, 0x04, 0x03, // 237:1660 214 | 0x06, 0x80, 0x05, 0x03, // 238:1664 215 | 0x06, 0x85, 0x05, 0x03, // 239:1669 216 | 0x06, 0x8A, 0x0A, 0x06, // 240:1674 217 | 0x06, 0x94, 0x0A, 0x06, // 241:1684 218 | 0x06, 0x9E, 0x0A, 0x06, // 242:1694 219 | 0x06, 0xA8, 0x0A, 0x06, // 243:1704 220 | 0x06, 0xB2, 0x0A, 0x06, // 244:1714 221 | 0x06, 0xBC, 0x0A, 0x06, // 245:1724 222 | 0x06, 0xC6, 0x0A, 0x06, // 246:1734 223 | 0x06, 0xD0, 0x09, 0x05, // 247:1744 224 | 0x06, 0xD9, 0x0A, 0x06, // 248:1753 225 | 0x06, 0xE3, 0x0A, 0x06, // 249:1763 226 | 0x06, 0xED, 0x0A, 0x06, // 250:1773 227 | 0x06, 0xF7, 0x0A, 0x06, // 251:1783 228 | 0x07, 0x01, 0x0A, 0x06, // 252:1793 229 | 0x07, 0x0B, 0x09, 0x05, // 253:1803 230 | 0x07, 0x14, 0x0A, 0x06, // 254:1812 231 | 0x07, 0x1E, 0x09, 0x05, // 255:1822 232 | 233 | // Font Data: 234 | 0x00,0x00,0xF8,0x02, // 33 235 | 0x38,0x00,0x00,0x00,0x38, // 34 236 | 0xA0,0x03,0xE0,0x00,0xB8,0x03,0xE0,0x00,0xB8, // 35 237 | 0x30,0x01,0x28,0x02,0xF8,0x07,0x48,0x02,0x90,0x01, // 36 238 | 0x00,0x00,0x30,0x00,0x48,0x00,0x30,0x03,0xC0,0x00,0xB0,0x01,0x48,0x02,0x80,0x01, // 37 239 | 0x80,0x01,0x50,0x02,0x68,0x02,0xA8,0x02,0x18,0x01,0x80,0x03,0x80,0x02, // 38 240 | 0x38, // 39 241 | 0xE0,0x03,0x10,0x04,0x08,0x08, // 40 242 | 0x08,0x08,0x10,0x04,0xE0,0x03, // 41 243 | 0x28,0x00,0x18,0x00,0x28, // 42 244 | 0x40,0x00,0x40,0x00,0xF0,0x01,0x40,0x00,0x40, // 43 245 | 0x00,0x00,0x00,0x06, // 44 246 | 0x80,0x00,0x80, // 45 247 | 0x00,0x00,0x00,0x02, // 46 248 | 0x00,0x03,0xE0,0x00,0x18, // 47 249 | 0xF0,0x01,0x08,0x02,0x08,0x02,0x08,0x02,0xF0,0x01, // 48 250 | 0x00,0x00,0x20,0x00,0x10,0x00,0xF8,0x03, // 49 251 | 0x10,0x02,0x08,0x03,0x88,0x02,0x48,0x02,0x30,0x02, // 50 252 | 0x10,0x01,0x08,0x02,0x48,0x02,0x48,0x02,0xB0,0x01, // 51 253 | 0xC0,0x00,0xA0,0x00,0x90,0x00,0x88,0x00,0xF8,0x03,0x80, // 52 254 | 0x60,0x01,0x38,0x02,0x28,0x02,0x28,0x02,0xC8,0x01, // 53 255 | 0xF0,0x01,0x28,0x02,0x28,0x02,0x28,0x02,0xD0,0x01, // 54 256 | 0x08,0x00,0x08,0x03,0xC8,0x00,0x38,0x00,0x08, // 55 257 | 0xB0,0x01,0x48,0x02,0x48,0x02,0x48,0x02,0xB0,0x01, // 56 258 | 0x70,0x01,0x88,0x02,0x88,0x02,0x88,0x02,0xF0,0x01, // 57 259 | 0x00,0x00,0x20,0x02, // 58 260 | 0x00,0x00,0x20,0x06, // 59 261 | 0x00,0x00,0x40,0x00,0xA0,0x00,0xA0,0x00,0x10,0x01, // 60 262 | 0xA0,0x00,0xA0,0x00,0xA0,0x00,0xA0,0x00,0xA0, // 61 263 | 0x00,0x00,0x10,0x01,0xA0,0x00,0xA0,0x00,0x40, // 62 264 | 0x10,0x00,0x08,0x00,0x08,0x00,0xC8,0x02,0x48,0x00,0x30, // 63 265 | 0x00,0x00,0xC0,0x03,0x30,0x04,0xD0,0x09,0x28,0x0A,0x28,0x0A,0xC8,0x0B,0x68,0x0A,0x10,0x05,0xE0,0x04, // 64 266 | 0x00,0x02,0xC0,0x01,0xB0,0x00,0x88,0x00,0xB0,0x00,0xC0,0x01,0x00,0x02, // 65 267 | 0x00,0x00,0xF8,0x03,0x48,0x02,0x48,0x02,0x48,0x02,0xF0,0x01, // 66 268 | 0x00,0x00,0xF0,0x01,0x08,0x02,0x08,0x02,0x08,0x02,0x10,0x01, // 67 269 | 0x00,0x00,0xF8,0x03,0x08,0x02,0x08,0x02,0x10,0x01,0xE0, // 68 270 | 0x00,0x00,0xF8,0x03,0x48,0x02,0x48,0x02,0x48,0x02,0x48,0x02, // 69 271 | 0x00,0x00,0xF8,0x03,0x48,0x00,0x48,0x00,0x08, // 70 272 | 0x00,0x00,0xE0,0x00,0x10,0x01,0x08,0x02,0x48,0x02,0x50,0x01,0xC0, // 71 273 | 0x00,0x00,0xF8,0x03,0x40,0x00,0x40,0x00,0x40,0x00,0xF8,0x03, // 72 274 | 0x00,0x00,0xF8,0x03, // 73 275 | 0x00,0x03,0x00,0x02,0x00,0x02,0xF8,0x01, // 74 276 | 0x00,0x00,0xF8,0x03,0x80,0x00,0x60,0x00,0x90,0x00,0x08,0x01,0x00,0x02, // 75 277 | 0x00,0x00,0xF8,0x03,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02, // 76 278 | 0x00,0x00,0xF8,0x03,0x30,0x00,0xC0,0x01,0x00,0x02,0xC0,0x01,0x30,0x00,0xF8,0x03, // 77 279 | 0x00,0x00,0xF8,0x03,0x30,0x00,0x40,0x00,0x80,0x01,0xF8,0x03, // 78 280 | 0x00,0x00,0xF0,0x01,0x08,0x02,0x08,0x02,0x08,0x02,0x08,0x02,0xF0,0x01, // 79 281 | 0x00,0x00,0xF8,0x03,0x48,0x00,0x48,0x00,0x48,0x00,0x30, // 80 282 | 0x00,0x00,0xF0,0x01,0x08,0x02,0x08,0x02,0x08,0x03,0x08,0x03,0xF0,0x02, // 81 283 | 0x00,0x00,0xF8,0x03,0x48,0x00,0x48,0x00,0xC8,0x00,0x30,0x03, // 82 284 | 0x00,0x00,0x30,0x01,0x48,0x02,0x48,0x02,0x48,0x02,0x90,0x01, // 83 285 | 0x00,0x00,0x08,0x00,0x08,0x00,0xF8,0x03,0x08,0x00,0x08, // 84 286 | 0x00,0x00,0xF8,0x01,0x00,0x02,0x00,0x02,0x00,0x02,0xF8,0x01, // 85 287 | 0x08,0x00,0x70,0x00,0x80,0x01,0x00,0x02,0x80,0x01,0x70,0x00,0x08, // 86 288 | 0x18,0x00,0xE0,0x01,0x00,0x02,0xF0,0x01,0x08,0x00,0xF0,0x01,0x00,0x02,0xE0,0x01,0x18, // 87 289 | 0x00,0x02,0x08,0x01,0x90,0x00,0x60,0x00,0x90,0x00,0x08,0x01,0x00,0x02, // 88 290 | 0x08,0x00,0x10,0x00,0x20,0x00,0xC0,0x03,0x20,0x00,0x10,0x00,0x08, // 89 291 | 0x08,0x03,0x88,0x02,0xC8,0x02,0x68,0x02,0x38,0x02,0x18,0x02, // 90 292 | 0x00,0x00,0xF8,0x0F,0x08,0x08, // 91 293 | 0x18,0x00,0xE0,0x00,0x00,0x03, // 92 294 | 0x08,0x08,0xF8,0x0F, // 93 295 | 0x40,0x00,0x30,0x00,0x08,0x00,0x30,0x00,0x40, // 94 296 | 0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08,0x00,0x08, // 95 297 | 0x08,0x00,0x10, // 96 298 | 0x00,0x00,0x00,0x03,0xA0,0x02,0xA0,0x02,0xE0,0x03, // 97 299 | 0x00,0x00,0xF8,0x03,0x20,0x02,0x20,0x02,0xC0,0x01, // 98 300 | 0x00,0x00,0xC0,0x01,0x20,0x02,0x20,0x02,0x40,0x01, // 99 301 | 0x00,0x00,0xC0,0x01,0x20,0x02,0x20,0x02,0xF8,0x03, // 100 302 | 0x00,0x00,0xC0,0x01,0xA0,0x02,0xA0,0x02,0xC0,0x02, // 101 303 | 0x20,0x00,0xF0,0x03,0x28, // 102 304 | 0x00,0x00,0xC0,0x05,0x20,0x0A,0x20,0x0A,0xE0,0x07, // 103 305 | 0x00,0x00,0xF8,0x03,0x20,0x00,0x20,0x00,0xC0,0x03, // 104 306 | 0x00,0x00,0xE8,0x03, // 105 307 | 0x00,0x08,0xE8,0x07, // 106 308 | 0xF8,0x03,0x80,0x00,0xC0,0x01,0x20,0x02, // 107 309 | 0x00,0x00,0xF8,0x03, // 108 310 | 0x00,0x00,0xE0,0x03,0x20,0x00,0x20,0x00,0xE0,0x03,0x20,0x00,0x20,0x00,0xC0,0x03, // 109 311 | 0x00,0x00,0xE0,0x03,0x20,0x00,0x20,0x00,0xC0,0x03, // 110 312 | 0x00,0x00,0xC0,0x01,0x20,0x02,0x20,0x02,0xC0,0x01, // 111 313 | 0x00,0x00,0xE0,0x0F,0x20,0x02,0x20,0x02,0xC0,0x01, // 112 314 | 0x00,0x00,0xC0,0x01,0x20,0x02,0x20,0x02,0xE0,0x0F, // 113 315 | 0x00,0x00,0xE0,0x03,0x20, // 114 316 | 0x40,0x02,0xA0,0x02,0xA0,0x02,0x20,0x01, // 115 317 | 0x20,0x00,0xF8,0x03,0x20,0x02, // 116 318 | 0x00,0x00,0xE0,0x01,0x00,0x02,0x00,0x02,0xE0,0x03, // 117 319 | 0x20,0x00,0xC0,0x01,0x00,0x02,0xC0,0x01,0x20, // 118 320 | 0xE0,0x01,0x00,0x02,0xC0,0x01,0x20,0x00,0xC0,0x01,0x00,0x02,0xE0,0x01, // 119 321 | 0x20,0x02,0x40,0x01,0x80,0x00,0x40,0x01,0x20,0x02, // 120 322 | 0x20,0x00,0xC0,0x09,0x00,0x06,0xC0,0x01,0x20, // 121 323 | 0x20,0x02,0x20,0x03,0xA0,0x02,0x60,0x02,0x20,0x02, // 122 324 | 0x80,0x00,0x78,0x0F,0x08,0x08, // 123 325 | 0x00,0x00,0xF8,0x0F, // 124 326 | 0x08,0x08,0x78,0x0F,0x80, // 125 327 | 0xC0,0x00,0x40,0x00,0xC0,0x00,0x80,0x00,0xC0, // 126 328 | 0x00,0x00,0xA0,0x0F, // 161 329 | 0x00,0x00,0xC0,0x01,0xA0,0x0F,0x78,0x02,0x40,0x01, // 162 330 | 0x40,0x02,0x70,0x03,0xC8,0x02,0x48,0x02,0x08,0x02,0x10,0x02, // 163 331 | 0x00,0x00,0xE0,0x01,0x20,0x01,0x20,0x01,0xE0,0x01, // 164 332 | 0x48,0x01,0x70,0x01,0xC0,0x03,0x70,0x01,0x48,0x01, // 165 333 | 0x00,0x00,0x38,0x0F, // 166 334 | 0xD0,0x04,0x28,0x09,0x48,0x09,0x48,0x0A,0x90,0x05, // 167 335 | 0x08,0x00,0x00,0x00,0x08, // 168 336 | 0xE0,0x00,0x10,0x01,0x48,0x02,0xA8,0x02,0xA8,0x02,0x10,0x01,0xE0, // 169 337 | 0x68,0x00,0x68,0x00,0x68,0x00,0x78, // 170 338 | 0x00,0x00,0x80,0x01,0x40,0x02,0x80,0x01,0x40,0x02, // 171 339 | 0x20,0x00,0x20,0x00,0x20,0x00,0x20,0x00,0xE0, // 172 340 | 0x80,0x00,0x80, // 173 341 | 0xE0,0x00,0x10,0x01,0xE8,0x02,0x68,0x02,0xC8,0x02,0x10,0x01,0xE0, // 174 342 | 0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02,0x00,0x02, // 175 343 | 0x00,0x00,0x38,0x00,0x28,0x00,0x38, // 176 344 | 0x40,0x02,0x40,0x02,0xF0,0x03,0x40,0x02,0x40,0x02, // 177 345 | 0x48,0x00,0x68,0x00,0x58, // 178 346 | 0x48,0x00,0x58,0x00,0x68, // 179 347 | 0x00,0x00,0x10,0x00,0x08, // 180 348 | 0x00,0x00,0xE0,0x0F,0x00,0x02,0x00,0x02,0xE0,0x03, // 181 349 | 0x70,0x00,0xF8,0x0F,0x08,0x00,0xF8,0x0F,0x08, // 182 350 | 0x00,0x00,0x40, // 183 351 | 0x00,0x00,0x00,0x14,0x00,0x18, // 184 352 | 0x00,0x00,0x10,0x00,0x78, // 185 353 | 0x30,0x00,0x48,0x00,0x48,0x00,0x30, // 186 354 | 0x00,0x00,0x40,0x02,0x80,0x01,0x40,0x02,0x80,0x01, // 187 355 | 0x00,0x00,0x10,0x02,0x78,0x01,0xC0,0x00,0x20,0x01,0x90,0x01,0xC8,0x03,0x00,0x01, // 188 356 | 0x00,0x00,0x10,0x02,0x78,0x01,0x80,0x00,0x60,0x00,0x50,0x02,0x48,0x03,0xC0,0x02, // 189 357 | 0x48,0x00,0x58,0x00,0x68,0x03,0x80,0x00,0x60,0x01,0x90,0x01,0xC8,0x03,0x00,0x01, // 190 358 | 0x00,0x00,0x00,0x06,0x00,0x09,0xA0,0x09,0x00,0x04, // 191 359 | 0x00,0x02,0xC0,0x01,0xB0,0x00,0x89,0x00,0xB2,0x00,0xC0,0x01,0x00,0x02, // 192 360 | 0x00,0x02,0xC0,0x01,0xB0,0x00,0x8A,0x00,0xB1,0x00,0xC0,0x01,0x00,0x02, // 193 361 | 0x00,0x02,0xC0,0x01,0xB2,0x00,0x89,0x00,0xB2,0x00,0xC0,0x01,0x00,0x02, // 194 362 | 0x00,0x02,0xC2,0x01,0xB1,0x00,0x8A,0x00,0xB1,0x00,0xC0,0x01,0x00,0x02, // 195 363 | 0x00,0x02,0xC0,0x01,0xB2,0x00,0x88,0x00,0xB2,0x00,0xC0,0x01,0x00,0x02, // 196 364 | 0x00,0x02,0xC0,0x01,0xBE,0x00,0x8A,0x00,0xBE,0x00,0xC0,0x01,0x00,0x02, // 197 365 | 0x00,0x03,0xC0,0x00,0xE0,0x00,0x98,0x00,0x88,0x00,0xF8,0x03,0x48,0x02,0x48,0x02,0x48,0x02, // 198 366 | 0x00,0x00,0xF0,0x01,0x08,0x02,0x08,0x16,0x08,0x1A,0x10,0x01, // 199 367 | 0x00,0x00,0xF8,0x03,0x49,0x02,0x4A,0x02,0x48,0x02,0x48,0x02, // 200 368 | 0x00,0x00,0xF8,0x03,0x48,0x02,0x4A,0x02,0x49,0x02,0x48,0x02, // 201 369 | 0x00,0x00,0xFA,0x03,0x49,0x02,0x4A,0x02,0x48,0x02,0x48,0x02, // 202 370 | 0x00,0x00,0xF8,0x03,0x4A,0x02,0x48,0x02,0x4A,0x02,0x48,0x02, // 203 371 | 0x00,0x00,0xF9,0x03,0x02, // 204 372 | 0x02,0x00,0xF9,0x03, // 205 373 | 0x01,0x00,0xFA,0x03, // 206 374 | 0x02,0x00,0xF8,0x03,0x02, // 207 375 | 0x40,0x00,0xF8,0x03,0x48,0x02,0x48,0x02,0x10,0x01,0xE0, // 208 376 | 0x00,0x00,0xFA,0x03,0x31,0x00,0x42,0x00,0x81,0x01,0xF8,0x03, // 209 377 | 0x00,0x00,0xF0,0x01,0x08,0x02,0x09,0x02,0x0A,0x02,0x08,0x02,0xF0,0x01, // 210 378 | 0x00,0x00,0xF0,0x01,0x08,0x02,0x0A,0x02,0x09,0x02,0x08,0x02,0xF0,0x01, // 211 379 | 0x00,0x00,0xF0,0x01,0x08,0x02,0x0A,0x02,0x09,0x02,0x0A,0x02,0xF0,0x01, // 212 380 | 0x00,0x00,0xF0,0x01,0x0A,0x02,0x09,0x02,0x0A,0x02,0x09,0x02,0xF0,0x01, // 213 381 | 0x00,0x00,0xF0,0x01,0x0A,0x02,0x08,0x02,0x0A,0x02,0x08,0x02,0xF0,0x01, // 214 382 | 0x10,0x01,0xA0,0x00,0xE0,0x00,0xA0,0x00,0x10,0x01, // 215 383 | 0x00,0x00,0xF0,0x02,0x08,0x03,0xC8,0x02,0x28,0x02,0x18,0x03,0xE8, // 216 384 | 0x00,0x00,0xF8,0x01,0x01,0x02,0x02,0x02,0x00,0x02,0xF8,0x01, // 217 385 | 0x00,0x00,0xF8,0x01,0x02,0x02,0x01,0x02,0x00,0x02,0xF8,0x01, // 218 386 | 0x00,0x00,0xF8,0x01,0x02,0x02,0x01,0x02,0x02,0x02,0xF8,0x01, // 219 387 | 0x00,0x00,0xF8,0x01,0x02,0x02,0x00,0x02,0x02,0x02,0xF8,0x01, // 220 388 | 0x08,0x00,0x10,0x00,0x20,0x00,0xC2,0x03,0x21,0x00,0x10,0x00,0x08, // 221 389 | 0x00,0x00,0xF8,0x03,0x10,0x01,0x10,0x01,0x10,0x01,0xE0, // 222 390 | 0x00,0x00,0xF0,0x03,0x08,0x01,0x48,0x02,0xB0,0x02,0x80,0x01, // 223 391 | 0x00,0x00,0x00,0x03,0xA4,0x02,0xA8,0x02,0xE0,0x03, // 224 392 | 0x00,0x00,0x00,0x03,0xA8,0x02,0xA4,0x02,0xE0,0x03, // 225 393 | 0x00,0x00,0x00,0x03,0xA8,0x02,0xA4,0x02,0xE8,0x03, // 226 394 | 0x00,0x00,0x08,0x03,0xA4,0x02,0xA8,0x02,0xE4,0x03, // 227 395 | 0x00,0x00,0x00,0x03,0xA8,0x02,0xA0,0x02,0xE8,0x03, // 228 396 | 0x00,0x00,0x00,0x03,0xAE,0x02,0xAA,0x02,0xEE,0x03, // 229 397 | 0x00,0x00,0x40,0x03,0xA0,0x02,0xA0,0x02,0xC0,0x01,0xA0,0x02,0xA0,0x02,0xC0,0x02, // 230 398 | 0x00,0x00,0xC0,0x01,0x20,0x16,0x20,0x1A,0x40,0x01, // 231 399 | 0x00,0x00,0xC0,0x01,0xA4,0x02,0xA8,0x02,0xC0,0x02, // 232 400 | 0x00,0x00,0xC0,0x01,0xA8,0x02,0xA4,0x02,0xC0,0x02, // 233 401 | 0x00,0x00,0xC0,0x01,0xA8,0x02,0xA4,0x02,0xC8,0x02, // 234 402 | 0x00,0x00,0xC0,0x01,0xA8,0x02,0xA0,0x02,0xC8,0x02, // 235 403 | 0x00,0x00,0xE4,0x03,0x08, // 236 404 | 0x08,0x00,0xE4,0x03, // 237 405 | 0x08,0x00,0xE4,0x03,0x08, // 238 406 | 0x08,0x00,0xE0,0x03,0x08, // 239 407 | 0x00,0x00,0xC0,0x01,0x28,0x02,0x38,0x02,0xE0,0x01, // 240 408 | 0x00,0x00,0xE8,0x03,0x24,0x00,0x28,0x00,0xC4,0x03, // 241 409 | 0x00,0x00,0xC0,0x01,0x24,0x02,0x28,0x02,0xC0,0x01, // 242 410 | 0x00,0x00,0xC0,0x01,0x28,0x02,0x24,0x02,0xC0,0x01, // 243 411 | 0x00,0x00,0xC0,0x01,0x28,0x02,0x24,0x02,0xC8,0x01, // 244 412 | 0x00,0x00,0xC8,0x01,0x24,0x02,0x28,0x02,0xC4,0x01, // 245 413 | 0x00,0x00,0xC0,0x01,0x28,0x02,0x20,0x02,0xC8,0x01, // 246 414 | 0x40,0x00,0x40,0x00,0x50,0x01,0x40,0x00,0x40, // 247 415 | 0x00,0x00,0xC0,0x02,0xA0,0x03,0x60,0x02,0xA0,0x01, // 248 416 | 0x00,0x00,0xE0,0x01,0x04,0x02,0x08,0x02,0xE0,0x03, // 249 417 | 0x00,0x00,0xE0,0x01,0x08,0x02,0x04,0x02,0xE0,0x03, // 250 418 | 0x00,0x00,0xE8,0x01,0x04,0x02,0x08,0x02,0xE0,0x03, // 251 419 | 0x00,0x00,0xE0,0x01,0x08,0x02,0x00,0x02,0xE8,0x03, // 252 420 | 0x20,0x00,0xC0,0x09,0x08,0x06,0xC4,0x01,0x20, // 253 421 | 0x00,0x00,0xF8,0x0F,0x20,0x02,0x20,0x02,0xC0,0x01, // 254 422 | 0x20,0x00,0xC8,0x09,0x00,0x06,0xC8,0x01,0x20 // 255 423 | }; 424 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 3, 29 June 2007 3 | 4 | Copyright (C) 2007 Free Software Foundation, Inc. 5 | Everyone is permitted to copy and distribute verbatim copies 6 | of this license document, but changing it is not allowed. 7 | 8 | Preamble 9 | 10 | The GNU General Public License is a free, copyleft license for 11 | software and other kinds of works. 12 | 13 | The licenses for most software and other practical works are designed 14 | to take away your freedom to share and change the works. By contrast, 15 | the GNU General Public License is intended to guarantee your freedom to 16 | share and change all versions of a program--to make sure it remains free 17 | software for all its users. We, the Free Software Foundation, use the 18 | GNU General Public License for most of our software; it applies also to 19 | any other work released this way by its authors. You can apply it to 20 | your programs, too. 21 | 22 | When we speak of free software, we are referring to freedom, not 23 | price. Our General Public Licenses are designed to make sure that you 24 | have the freedom to distribute copies of free software (and charge for 25 | them if you wish), that you receive source code or can get it if you 26 | want it, that you can change the software or use pieces of it in new 27 | free programs, and that you know you can do these things. 28 | 29 | To protect your rights, we need to prevent others from denying you 30 | these rights or asking you to surrender the rights. Therefore, you have 31 | certain responsibilities if you distribute copies of the software, or if 32 | you modify it: responsibilities to respect the freedom of others. 33 | 34 | For example, if you distribute copies of such a program, whether 35 | gratis or for a fee, you must pass on to the recipients the same 36 | freedoms that you received. You must make sure that they, too, receive 37 | or can get the source code. And you must show them these terms so they 38 | know their rights. 39 | 40 | Developers that use the GNU GPL protect your rights with two steps: 41 | (1) assert copyright on the software, and (2) offer you this License 42 | giving you legal permission to copy, distribute and/or modify it. 43 | 44 | For the developers' and authors' protection, the GPL clearly explains 45 | that there is no warranty for this free software. For both users' and 46 | authors' sake, the GPL requires that modified versions be marked as 47 | changed, so that their problems will not be attributed erroneously to 48 | authors of previous versions. 49 | 50 | Some devices are designed to deny users access to install or run 51 | modified versions of the software inside them, although the manufacturer 52 | can do so. This is fundamentally incompatible with the aim of 53 | protecting users' freedom to change the software. The systematic 54 | pattern of such abuse occurs in the area of products for individuals to 55 | use, which is precisely where it is most unacceptable. Therefore, we 56 | have designed this version of the GPL to prohibit the practice for those 57 | products. If such problems arise substantially in other domains, we 58 | stand ready to extend this provision to those domains in future versions 59 | of the GPL, as needed to protect the freedom of users. 60 | 61 | Finally, every program is threatened constantly by software patents. 62 | States should not allow patents to restrict development and use of 63 | software on general-purpose computers, but in those that do, we wish to 64 | avoid the special danger that patents applied to a free program could 65 | make it effectively proprietary. To prevent this, the GPL assures that 66 | patents cannot be used to render the program non-free. 67 | 68 | The precise terms and conditions for copying, distribution and 69 | modification follow. 70 | 71 | TERMS AND CONDITIONS 72 | 73 | 0. Definitions. 74 | 75 | "This License" refers to version 3 of the GNU General Public License. 76 | 77 | "Copyright" also means copyright-like laws that apply to other kinds of 78 | works, such as semiconductor masks. 79 | 80 | "The Program" refers to any copyrightable work licensed under this 81 | License. Each licensee is addressed as "you". "Licensees" and 82 | "recipients" may be individuals or organizations. 83 | 84 | To "modify" a work means to copy from or adapt all or part of the work 85 | in a fashion requiring copyright permission, other than the making of an 86 | exact copy. The resulting work is called a "modified version" of the 87 | earlier work or a work "based on" the earlier work. 88 | 89 | A "covered work" means either the unmodified Program or a work based 90 | on the Program. 91 | 92 | To "propagate" a work means to do anything with it that, without 93 | permission, would make you directly or secondarily liable for 94 | infringement under applicable copyright law, except executing it on a 95 | computer or modifying a private copy. Propagation includes copying, 96 | distribution (with or without modification), making available to the 97 | public, and in some countries other activities as well. 98 | 99 | To "convey" a work means any kind of propagation that enables other 100 | parties to make or receive copies. Mere interaction with a user through 101 | a computer network, with no transfer of a copy, is not conveying. 102 | 103 | An interactive user interface displays "Appropriate Legal Notices" 104 | to the extent that it includes a convenient and prominently visible 105 | feature that (1) displays an appropriate copyright notice, and (2) 106 | tells the user that there is no warranty for the work (except to the 107 | extent that warranties are provided), that licensees may convey the 108 | work under this License, and how to view a copy of this License. If 109 | the interface presents a list of user commands or options, such as a 110 | menu, a prominent item in the list meets this criterion. 111 | 112 | 1. Source Code. 113 | 114 | The "source code" for a work means the preferred form of the work 115 | for making modifications to it. "Object code" means any non-source 116 | form of a work. 117 | 118 | A "Standard Interface" means an interface that either is an official 119 | standard defined by a recognized standards body, or, in the case of 120 | interfaces specified for a particular programming language, one that 121 | is widely used among developers working in that language. 122 | 123 | The "System Libraries" of an executable work include anything, other 124 | than the work as a whole, that (a) is included in the normal form of 125 | packaging a Major Component, but which is not part of that Major 126 | Component, and (b) serves only to enable use of the work with that 127 | Major Component, or to implement a Standard Interface for which an 128 | implementation is available to the public in source code form. A 129 | "Major Component", in this context, means a major essential component 130 | (kernel, window system, and so on) of the specific operating system 131 | (if any) on which the executable work runs, or a compiler used to 132 | produce the work, or an object code interpreter used to run it. 133 | 134 | The "Corresponding Source" for a work in object code form means all 135 | the source code needed to generate, install, and (for an executable 136 | work) run the object code and to modify the work, including scripts to 137 | control those activities. However, it does not include the work's 138 | System Libraries, or general-purpose tools or generally available free 139 | programs which are used unmodified in performing those activities but 140 | which are not part of the work. For example, Corresponding Source 141 | includes interface definition files associated with source files for 142 | the work, and the source code for shared libraries and dynamically 143 | linked subprograms that the work is specifically designed to require, 144 | such as by intimate data communication or control flow between those 145 | subprograms and other parts of the work. 146 | 147 | The Corresponding Source need not include anything that users 148 | can regenerate automatically from other parts of the Corresponding 149 | Source. 150 | 151 | The Corresponding Source for a work in source code form is that 152 | same work. 153 | 154 | 2. Basic Permissions. 155 | 156 | All rights granted under this License are granted for the term of 157 | copyright on the Program, and are irrevocable provided the stated 158 | conditions are met. This License explicitly affirms your unlimited 159 | permission to run the unmodified Program. The output from running a 160 | covered work is covered by this License only if the output, given its 161 | content, constitutes a covered work. This License acknowledges your 162 | rights of fair use or other equivalent, as provided by copyright law. 163 | 164 | You may make, run and propagate covered works that you do not 165 | convey, without conditions so long as your license otherwise remains 166 | in force. You may convey covered works to others for the sole purpose 167 | of having them make modifications exclusively for you, or provide you 168 | with facilities for running those works, provided that you comply with 169 | the terms of this License in conveying all material for which you do 170 | not control copyright. Those thus making or running the covered works 171 | for you must do so exclusively on your behalf, under your direction 172 | and control, on terms that prohibit them from making any copies of 173 | your copyrighted material outside their relationship with you. 174 | 175 | Conveying under any other circumstances is permitted solely under 176 | the conditions stated below. Sublicensing is not allowed; section 10 177 | makes it unnecessary. 178 | 179 | 3. Protecting Users' Legal Rights From Anti-Circumvention Law. 180 | 181 | No covered work shall be deemed part of an effective technological 182 | measure under any applicable law fulfilling obligations under article 183 | 11 of the WIPO copyright treaty adopted on 20 December 1996, or 184 | similar laws prohibiting or restricting circumvention of such 185 | measures. 186 | 187 | When you convey a covered work, you waive any legal power to forbid 188 | circumvention of technological measures to the extent such circumvention 189 | is effected by exercising rights under this License with respect to 190 | the covered work, and you disclaim any intention to limit operation or 191 | modification of the work as a means of enforcing, against the work's 192 | users, your or third parties' legal rights to forbid circumvention of 193 | technological measures. 194 | 195 | 4. Conveying Verbatim Copies. 196 | 197 | You may convey verbatim copies of the Program's source code as you 198 | receive it, in any medium, provided that you conspicuously and 199 | appropriately publish on each copy an appropriate copyright notice; 200 | keep intact all notices stating that this License and any 201 | non-permissive terms added in accord with section 7 apply to the code; 202 | keep intact all notices of the absence of any warranty; and give all 203 | recipients a copy of this License along with the Program. 204 | 205 | You may charge any price or no price for each copy that you convey, 206 | and you may offer support or warranty protection for a fee. 207 | 208 | 5. Conveying Modified Source Versions. 209 | 210 | You may convey a work based on the Program, or the modifications to 211 | produce it from the Program, in the form of source code under the 212 | terms of section 4, provided that you also meet all of these conditions: 213 | 214 | a) The work must carry prominent notices stating that you modified 215 | it, and giving a relevant date. 216 | 217 | b) The work must carry prominent notices stating that it is 218 | released under this License and any conditions added under section 219 | 7. This requirement modifies the requirement in section 4 to 220 | "keep intact all notices". 221 | 222 | c) You must license the entire work, as a whole, under this 223 | License to anyone who comes into possession of a copy. This 224 | License will therefore apply, along with any applicable section 7 225 | additional terms, to the whole of the work, and all its parts, 226 | regardless of how they are packaged. This License gives no 227 | permission to license the work in any other way, but it does not 228 | invalidate such permission if you have separately received it. 229 | 230 | d) If the work has interactive user interfaces, each must display 231 | Appropriate Legal Notices; however, if the Program has interactive 232 | interfaces that do not display Appropriate Legal Notices, your 233 | work need not make them do so. 234 | 235 | A compilation of a covered work with other separate and independent 236 | works, which are not by their nature extensions of the covered work, 237 | and which are not combined with it such as to form a larger program, 238 | in or on a volume of a storage or distribution medium, is called an 239 | "aggregate" if the compilation and its resulting copyright are not 240 | used to limit the access or legal rights of the compilation's users 241 | beyond what the individual works permit. Inclusion of a covered work 242 | in an aggregate does not cause this License to apply to the other 243 | parts of the aggregate. 244 | 245 | 6. Conveying Non-Source Forms. 246 | 247 | You may convey a covered work in object code form under the terms 248 | of sections 4 and 5, provided that you also convey the 249 | machine-readable Corresponding Source under the terms of this License, 250 | in one of these ways: 251 | 252 | a) Convey the object code in, or embodied in, a physical product 253 | (including a physical distribution medium), accompanied by the 254 | Corresponding Source fixed on a durable physical medium 255 | customarily used for software interchange. 256 | 257 | b) Convey the object code in, or embodied in, a physical product 258 | (including a physical distribution medium), accompanied by a 259 | written offer, valid for at least three years and valid for as 260 | long as you offer spare parts or customer support for that product 261 | model, to give anyone who possesses the object code either (1) a 262 | copy of the Corresponding Source for all the software in the 263 | product that is covered by this License, on a durable physical 264 | medium customarily used for software interchange, for a price no 265 | more than your reasonable cost of physically performing this 266 | conveying of source, or (2) access to copy the 267 | Corresponding Source from a network server at no charge. 268 | 269 | c) Convey individual copies of the object code with a copy of the 270 | written offer to provide the Corresponding Source. This 271 | alternative is allowed only occasionally and noncommercially, and 272 | only if you received the object code with such an offer, in accord 273 | with subsection 6b. 274 | 275 | d) Convey the object code by offering access from a designated 276 | place (gratis or for a charge), and offer equivalent access to the 277 | Corresponding Source in the same way through the same place at no 278 | further charge. You need not require recipients to copy the 279 | Corresponding Source along with the object code. If the place to 280 | copy the object code is a network server, the Corresponding Source 281 | may be on a different server (operated by you or a third party) 282 | that supports equivalent copying facilities, provided you maintain 283 | clear directions next to the object code saying where to find the 284 | Corresponding Source. Regardless of what server hosts the 285 | Corresponding Source, you remain obligated to ensure that it is 286 | available for as long as needed to satisfy these requirements. 287 | 288 | e) Convey the object code using peer-to-peer transmission, provided 289 | you inform other peers where the object code and Corresponding 290 | Source of the work are being offered to the general public at no 291 | charge under subsection 6d. 292 | 293 | A separable portion of the object code, whose source code is excluded 294 | from the Corresponding Source as a System Library, need not be 295 | included in conveying the object code work. 296 | 297 | A "User Product" is either (1) a "consumer product", which means any 298 | tangible personal property which is normally used for personal, family, 299 | or household purposes, or (2) anything designed or sold for incorporation 300 | into a dwelling. In determining whether a product is a consumer product, 301 | doubtful cases shall be resolved in favor of coverage. For a particular 302 | product received by a particular user, "normally used" refers to a 303 | typical or common use of that class of product, regardless of the status 304 | of the particular user or of the way in which the particular user 305 | actually uses, or expects or is expected to use, the product. A product 306 | is a consumer product regardless of whether the product has substantial 307 | commercial, industrial or non-consumer uses, unless such uses represent 308 | the only significant mode of use of the product. 309 | 310 | "Installation Information" for a User Product means any methods, 311 | procedures, authorization keys, or other information required to install 312 | and execute modified versions of a covered work in that User Product from 313 | a modified version of its Corresponding Source. The information must 314 | suffice to ensure that the continued functioning of the modified object 315 | code is in no case prevented or interfered with solely because 316 | modification has been made. 317 | 318 | If you convey an object code work under this section in, or with, or 319 | specifically for use in, a User Product, and the conveying occurs as 320 | part of a transaction in which the right of possession and use of the 321 | User Product is transferred to the recipient in perpetuity or for a 322 | fixed term (regardless of how the transaction is characterized), the 323 | Corresponding Source conveyed under this section must be accompanied 324 | by the Installation Information. But this requirement does not apply 325 | if neither you nor any third party retains the ability to install 326 | modified object code on the User Product (for example, the work has 327 | been installed in ROM). 328 | 329 | The requirement to provide Installation Information does not include a 330 | requirement to continue to provide support service, warranty, or updates 331 | for a work that has been modified or installed by the recipient, or for 332 | the User Product in which it has been modified or installed. Access to a 333 | network may be denied when the modification itself materially and 334 | adversely affects the operation of the network or violates the rules and 335 | protocols for communication across the network. 336 | 337 | Corresponding Source conveyed, and Installation Information provided, 338 | in accord with this section must be in a format that is publicly 339 | documented (and with an implementation available to the public in 340 | source code form), and must require no special password or key for 341 | unpacking, reading or copying. 342 | 343 | 7. Additional Terms. 344 | 345 | "Additional permissions" are terms that supplement the terms of this 346 | License by making exceptions from one or more of its conditions. 347 | Additional permissions that are applicable to the entire Program shall 348 | be treated as though they were included in this License, to the extent 349 | that they are valid under applicable law. If additional permissions 350 | apply only to part of the Program, that part may be used separately 351 | under those permissions, but the entire Program remains governed by 352 | this License without regard to the additional permissions. 353 | 354 | When you convey a copy of a covered work, you may at your option 355 | remove any additional permissions from that copy, or from any part of 356 | it. (Additional permissions may be written to require their own 357 | removal in certain cases when you modify the work.) You may place 358 | additional permissions on material, added by you to a covered work, 359 | for which you have or can give appropriate copyright permission. 360 | 361 | Notwithstanding any other provision of this License, for material you 362 | add to a covered work, you may (if authorized by the copyright holders of 363 | that material) supplement the terms of this License with terms: 364 | 365 | a) Disclaiming warranty or limiting liability differently from the 366 | terms of sections 15 and 16 of this License; or 367 | 368 | b) Requiring preservation of specified reasonable legal notices or 369 | author attributions in that material or in the Appropriate Legal 370 | Notices displayed by works containing it; or 371 | 372 | c) Prohibiting misrepresentation of the origin of that material, or 373 | requiring that modified versions of such material be marked in 374 | reasonable ways as different from the original version; or 375 | 376 | d) Limiting the use for publicity purposes of names of licensors or 377 | authors of the material; or 378 | 379 | e) Declining to grant rights under trademark law for use of some 380 | trade names, trademarks, or service marks; or 381 | 382 | f) Requiring indemnification of licensors and authors of that 383 | material by anyone who conveys the material (or modified versions of 384 | it) with contractual assumptions of liability to the recipient, for 385 | any liability that these contractual assumptions directly impose on 386 | those licensors and authors. 387 | 388 | All other non-permissive additional terms are considered "further 389 | restrictions" within the meaning of section 10. If the Program as you 390 | received it, or any part of it, contains a notice stating that it is 391 | governed by this License along with a term that is a further 392 | restriction, you may remove that term. If a license document contains 393 | a further restriction but permits relicensing or conveying under this 394 | License, you may add to a covered work material governed by the terms 395 | of that license document, provided that the further restriction does 396 | not survive such relicensing or conveying. 397 | 398 | If you add terms to a covered work in accord with this section, you 399 | must place, in the relevant source files, a statement of the 400 | additional terms that apply to those files, or a notice indicating 401 | where to find the applicable terms. 402 | 403 | Additional terms, permissive or non-permissive, may be stated in the 404 | form of a separately written license, or stated as exceptions; 405 | the above requirements apply either way. 406 | 407 | 8. Termination. 408 | 409 | You may not propagate or modify a covered work except as expressly 410 | provided under this License. Any attempt otherwise to propagate or 411 | modify it is void, and will automatically terminate your rights under 412 | this License (including any patent licenses granted under the third 413 | paragraph of section 11). 414 | 415 | However, if you cease all violation of this License, then your 416 | license from a particular copyright holder is reinstated (a) 417 | provisionally, unless and until the copyright holder explicitly and 418 | finally terminates your license, and (b) permanently, if the copyright 419 | holder fails to notify you of the violation by some reasonable means 420 | prior to 60 days after the cessation. 421 | 422 | Moreover, your license from a particular copyright holder is 423 | reinstated permanently if the copyright holder notifies you of the 424 | violation by some reasonable means, this is the first time you have 425 | received notice of violation of this License (for any work) from that 426 | copyright holder, and you cure the violation prior to 30 days after 427 | your receipt of the notice. 428 | 429 | Termination of your rights under this section does not terminate the 430 | licenses of parties who have received copies or rights from you under 431 | this License. If your rights have been terminated and not permanently 432 | reinstated, you do not qualify to receive new licenses for the same 433 | material under section 10. 434 | 435 | 9. Acceptance Not Required for Having Copies. 436 | 437 | You are not required to accept this License in order to receive or 438 | run a copy of the Program. Ancillary propagation of a covered work 439 | occurring solely as a consequence of using peer-to-peer transmission 440 | to receive a copy likewise does not require acceptance. However, 441 | nothing other than this License grants you permission to propagate or 442 | modify any covered work. These actions infringe copyright if you do 443 | not accept this License. Therefore, by modifying or propagating a 444 | covered work, you indicate your acceptance of this License to do so. 445 | 446 | 10. Automatic Licensing of Downstream Recipients. 447 | 448 | Each time you convey a covered work, the recipient automatically 449 | receives a license from the original licensors, to run, modify and 450 | propagate that work, subject to this License. You are not responsible 451 | for enforcing compliance by third parties with this License. 452 | 453 | An "entity transaction" is a transaction transferring control of an 454 | organization, or substantially all assets of one, or subdividing an 455 | organization, or merging organizations. If propagation of a covered 456 | work results from an entity transaction, each party to that 457 | transaction who receives a copy of the work also receives whatever 458 | licenses to the work the party's predecessor in interest had or could 459 | give under the previous paragraph, plus a right to possession of the 460 | Corresponding Source of the work from the predecessor in interest, if 461 | the predecessor has it or can get it with reasonable efforts. 462 | 463 | You may not impose any further restrictions on the exercise of the 464 | rights granted or affirmed under this License. For example, you may 465 | not impose a license fee, royalty, or other charge for exercise of 466 | rights granted under this License, and you may not initiate litigation 467 | (including a cross-claim or counterclaim in a lawsuit) alleging that 468 | any patent claim is infringed by making, using, selling, offering for 469 | sale, or importing the Program or any portion of it. 470 | 471 | 11. Patents. 472 | 473 | A "contributor" is a copyright holder who authorizes use under this 474 | License of the Program or a work on which the Program is based. The 475 | work thus licensed is called the contributor's "contributor version". 476 | 477 | A contributor's "essential patent claims" are all patent claims 478 | owned or controlled by the contributor, whether already acquired or 479 | hereafter acquired, that would be infringed by some manner, permitted 480 | by this License, of making, using, or selling its contributor version, 481 | but do not include claims that would be infringed only as a 482 | consequence of further modification of the contributor version. For 483 | purposes of this definition, "control" includes the right to grant 484 | patent sublicenses in a manner consistent with the requirements of 485 | this License. 486 | 487 | Each contributor grants you a non-exclusive, worldwide, royalty-free 488 | patent license under the contributor's essential patent claims, to 489 | make, use, sell, offer for sale, import and otherwise run, modify and 490 | propagate the contents of its contributor version. 491 | 492 | In the following three paragraphs, a "patent license" is any express 493 | agreement or commitment, however denominated, not to enforce a patent 494 | (such as an express permission to practice a patent or covenant not to 495 | sue for patent infringement). To "grant" such a patent license to a 496 | party means to make such an agreement or commitment not to enforce a 497 | patent against the party. 498 | 499 | If you convey a covered work, knowingly relying on a patent license, 500 | and the Corresponding Source of the work is not available for anyone 501 | to copy, free of charge and under the terms of this License, through a 502 | publicly available network server or other readily accessible means, 503 | then you must either (1) cause the Corresponding Source to be so 504 | available, or (2) arrange to deprive yourself of the benefit of the 505 | patent license for this particular work, or (3) arrange, in a manner 506 | consistent with the requirements of this License, to extend the patent 507 | license to downstream recipients. "Knowingly relying" means you have 508 | actual knowledge that, but for the patent license, your conveying the 509 | covered work in a country, or your recipient's use of the covered work 510 | in a country, would infringe one or more identifiable patents in that 511 | country that you have reason to believe are valid. 512 | 513 | If, pursuant to or in connection with a single transaction or 514 | arrangement, you convey, or propagate by procuring conveyance of, a 515 | covered work, and grant a patent license to some of the parties 516 | receiving the covered work authorizing them to use, propagate, modify 517 | or convey a specific copy of the covered work, then the patent license 518 | you grant is automatically extended to all recipients of the covered 519 | work and works based on it. 520 | 521 | A patent license is "discriminatory" if it does not include within 522 | the scope of its coverage, prohibits the exercise of, or is 523 | conditioned on the non-exercise of one or more of the rights that are 524 | specifically granted under this License. You may not convey a covered 525 | work if you are a party to an arrangement with a third party that is 526 | in the business of distributing software, under which you make payment 527 | to the third party based on the extent of your activity of conveying 528 | the work, and under which the third party grants, to any of the 529 | parties who would receive the covered work from you, a discriminatory 530 | patent license (a) in connection with copies of the covered work 531 | conveyed by you (or copies made from those copies), or (b) primarily 532 | for and in connection with specific products or compilations that 533 | contain the covered work, unless you entered into that arrangement, 534 | or that patent license was granted, prior to 28 March 2007. 535 | 536 | Nothing in this License shall be construed as excluding or limiting 537 | any implied license or other defenses to infringement that may 538 | otherwise be available to you under applicable patent law. 539 | 540 | 12. No Surrender of Others' Freedom. 541 | 542 | If conditions are imposed on you (whether by court order, agreement or 543 | otherwise) that contradict the conditions of this License, they do not 544 | excuse you from the conditions of this License. If you cannot convey a 545 | covered work so as to satisfy simultaneously your obligations under this 546 | License and any other pertinent obligations, then as a consequence you may 547 | not convey it at all. For example, if you agree to terms that obligate you 548 | to collect a royalty for further conveying from those to whom you convey 549 | the Program, the only way you could satisfy both those terms and this 550 | License would be to refrain entirely from conveying the Program. 551 | 552 | 13. Use with the GNU Affero General Public License. 553 | 554 | Notwithstanding any other provision of this License, you have 555 | permission to link or combine any covered work with a work licensed 556 | under version 3 of the GNU Affero General Public License into a single 557 | combined work, and to convey the resulting work. The terms of this 558 | License will continue to apply to the part which is the covered work, 559 | but the special requirements of the GNU Affero General Public License, 560 | section 13, concerning interaction through a network will apply to the 561 | combination as such. 562 | 563 | 14. Revised Versions of this License. 564 | 565 | The Free Software Foundation may publish revised and/or new versions of 566 | the GNU General Public License from time to time. Such new versions will 567 | be similar in spirit to the present version, but may differ in detail to 568 | address new problems or concerns. 569 | 570 | Each version is given a distinguishing version number. If the 571 | Program specifies that a certain numbered version of the GNU General 572 | Public License "or any later version" applies to it, you have the 573 | option of following the terms and conditions either of that numbered 574 | version or of any later version published by the Free Software 575 | Foundation. If the Program does not specify a version number of the 576 | GNU General Public License, you may choose any version ever published 577 | by the Free Software Foundation. 578 | 579 | If the Program specifies that a proxy can decide which future 580 | versions of the GNU General Public License can be used, that proxy's 581 | public statement of acceptance of a version permanently authorizes you 582 | to choose that version for the Program. 583 | 584 | Later license versions may give you additional or different 585 | permissions. However, no additional obligations are imposed on any 586 | author or copyright holder as a result of your choosing to follow a 587 | later version. 588 | 589 | 15. Disclaimer of Warranty. 590 | 591 | THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY 592 | APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT 593 | HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY 594 | OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, 595 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 596 | PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM 597 | IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF 598 | ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 599 | 600 | 16. Limitation of Liability. 601 | 602 | IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 603 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS 604 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY 605 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE 606 | USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF 607 | DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD 608 | PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), 609 | EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF 610 | SUCH DAMAGES. 611 | 612 | 17. Interpretation of Sections 15 and 16. 613 | 614 | If the disclaimer of warranty and limitation of liability provided 615 | above cannot be given local legal effect according to their terms, 616 | reviewing courts shall apply local law that most closely approximates 617 | an absolute waiver of all civil liability in connection with the 618 | Program, unless a warranty or assumption of liability accompanies a 619 | copy of the Program in return for a fee. 620 | 621 | END OF TERMS AND CONDITIONS 622 | 623 | How to Apply These Terms to Your New Programs 624 | 625 | If you develop a new program, and you want it to be of the greatest 626 | possible use to the public, the best way to achieve this is to make it 627 | free software which everyone can redistribute and change under these terms. 628 | 629 | To do so, attach the following notices to the program. It is safest 630 | to attach them to the start of each source file to most effectively 631 | state the exclusion of warranty; and each file should have at least 632 | the "copyright" line and a pointer to where the full notice is found. 633 | 634 | 635 | Copyright (C) 636 | 637 | This program is free software: you can redistribute it and/or modify 638 | it under the terms of the GNU General Public License as published by 639 | the Free Software Foundation, either version 3 of the License, or 640 | (at your option) any later version. 641 | 642 | This program is distributed in the hope that it will be useful, 643 | but WITHOUT ANY WARRANTY; without even the implied warranty of 644 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 | GNU General Public License for more details. 646 | 647 | You should have received a copy of the GNU General Public License 648 | along with this program. If not, see . 649 | 650 | Also add information on how to contact you by electronic and paper mail. 651 | 652 | If the program does terminal interaction, make it output a short 653 | notice like this when it starts in an interactive mode: 654 | 655 | Copyright (C) 656 | This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 | This is free software, and you are welcome to redistribute it 658 | under certain conditions; type `show c' for details. 659 | 660 | The hypothetical commands `show w' and `show c' should show the appropriate 661 | parts of the General Public License. Of course, your program's commands 662 | might be different; for a GUI interface, you would use an "about box". 663 | 664 | You should also get your employer (if you work as a programmer) or school, 665 | if any, to sign a "copyright disclaimer" for the program, if necessary. 666 | For more information on this, and how to apply and follow the GNU GPL, see 667 | . 668 | 669 | The GNU General Public License does not permit incorporating your program 670 | into proprietary programs. If your program is a subroutine library, you 671 | may consider it more useful to permit linking proprietary applications with 672 | the library. If this is what you want to do, use the GNU Lesser General 673 | Public License instead of this License. But first, please read 674 | . 675 | 676 | -------------------------------------------------------------------------------- /enclosure/ttgo-beam-lid.stl: -------------------------------------------------------------------------------- 1 | solid OpenSCAD_Model 2 | facet normal 0 0 -1 3 | outer loop 4 | vertex -50.5 66.45 0 5 | vertex -1.23605 42.4542 0 6 | vertex -1.70311 42.2693 0 7 | endloop 8 | endfacet 9 | facet normal 0 0 -1 10 | outer loop 11 | vertex 50.5 66.45 0 12 | vertex 1.23605 42.4542 0 13 | vertex 0.749512 42.5792 0 14 | endloop 15 | endfacet 16 | facet normal 0 0 -1 17 | outer loop 18 | vertex 50.5 30.15 0 19 | vertex 0.25116 34.6579 0 20 | vertex 0.749512 34.7209 0 21 | endloop 22 | endfacet 23 | facet normal 0 -0 -1 24 | outer loop 25 | vertex 0.25116 34.6579 0 26 | vertex 50.5 30.15 0 27 | vertex -50.5 30.15 0 28 | endloop 29 | endfacet 30 | facet normal 0 -0 -1 31 | outer loop 32 | vertex -0.25116 34.6579 0 33 | vertex 0.25116 34.6579 0 34 | vertex -50.5 30.15 0 35 | endloop 36 | endfacet 37 | facet normal 0 -0 -1 38 | outer loop 39 | vertex -0.749512 34.7209 0 40 | vertex -0.25116 34.6579 0 41 | vertex -50.5 30.15 0 42 | endloop 43 | endfacet 44 | facet normal 0 -0 -1 45 | outer loop 46 | vertex -1.23605 34.8458 0 47 | vertex -0.749512 34.7209 0 48 | vertex -50.5 30.15 0 49 | endloop 50 | endfacet 51 | facet normal 0 -0 -1 52 | outer loop 53 | vertex -1.70311 35.0307 0 54 | vertex -1.23605 34.8458 0 55 | vertex -50.5 30.15 0 56 | endloop 57 | endfacet 58 | facet normal 0 -0 -1 59 | outer loop 60 | vertex -2.54968 35.568 0 61 | vertex -2.1433 35.2727 0 62 | vertex -50.5 30.15 0 63 | endloop 64 | endfacet 65 | facet normal 0 -0 -1 66 | outer loop 67 | vertex -2.1433 35.2727 0 68 | vertex -1.70311 35.0307 0 69 | vertex -50.5 30.15 0 70 | endloop 71 | endfacet 72 | facet normal 0 -0 -1 73 | outer loop 74 | vertex -2.91586 35.9118 0 75 | vertex -2.54968 35.568 0 76 | vertex -50.5 30.15 0 77 | endloop 78 | endfacet 79 | facet normal 0 -0 -1 80 | outer loop 81 | vertex -3.23605 36.2989 0 82 | vertex -2.91586 35.9118 0 83 | vertex -50.5 30.15 0 84 | endloop 85 | endfacet 86 | facet normal 0 -0 -1 87 | outer loop 88 | vertex -3.50522 36.723 0 89 | vertex -3.23605 36.2989 0 90 | vertex -50.5 30.15 0 91 | endloop 92 | endfacet 93 | facet normal 0 -0 -1 94 | outer loop 95 | vertex -3.7191 37.1775 0 96 | vertex -3.50522 36.723 0 97 | vertex -50.5 30.15 0 98 | endloop 99 | endfacet 100 | facet normal 0 -0 -1 101 | outer loop 102 | vertex -3.87433 37.6553 0 103 | vertex -3.7191 37.1775 0 104 | vertex -50.5 30.15 0 105 | endloop 106 | endfacet 107 | facet normal 0 -0 -1 108 | outer loop 109 | vertex -3.96844 38.1487 0 110 | vertex -3.87433 37.6553 0 111 | vertex -50.5 30.15 0 112 | endloop 113 | endfacet 114 | facet normal 0 -0 -1 115 | outer loop 116 | vertex -4 38.65 0 117 | vertex -3.96844 38.1487 0 118 | vertex -50.5 30.15 0 119 | endloop 120 | endfacet 121 | facet normal 0 0 -1 122 | outer loop 123 | vertex -3.96844 39.1513 0 124 | vertex -4 38.65 0 125 | vertex -50.5 30.15 0 126 | endloop 127 | endfacet 128 | facet normal 0 0 -1 129 | outer loop 130 | vertex -3.87433 39.6448 0 131 | vertex -3.96844 39.1513 0 132 | vertex -50.5 30.15 0 133 | endloop 134 | endfacet 135 | facet normal 0 0 -1 136 | outer loop 137 | vertex -50.5 66.45 0 138 | vertex -3.87433 39.6448 0 139 | vertex -50.5 30.15 0 140 | endloop 141 | endfacet 142 | facet normal 0 0 -1 143 | outer loop 144 | vertex -50.5 66.45 0 145 | vertex -3.7191 40.1225 0 146 | vertex -3.87433 39.6448 0 147 | endloop 148 | endfacet 149 | facet normal 0 0 -1 150 | outer loop 151 | vertex -50.5 66.45 0 152 | vertex -3.50522 40.577 0 153 | vertex -3.7191 40.1225 0 154 | endloop 155 | endfacet 156 | facet normal 0 0 -1 157 | outer loop 158 | vertex -50.5 66.45 0 159 | vertex -3.23605 41.0011 0 160 | vertex -3.50522 40.577 0 161 | endloop 162 | endfacet 163 | facet normal 0 0 -1 164 | outer loop 165 | vertex -50.5 66.45 0 166 | vertex -2.91586 41.3882 0 167 | vertex -3.23605 41.0011 0 168 | endloop 169 | endfacet 170 | facet normal 0 0 -1 171 | outer loop 172 | vertex -50.5 66.45 0 173 | vertex -2.54968 41.7321 0 174 | vertex -2.91586 41.3882 0 175 | endloop 176 | endfacet 177 | facet normal 0 0 -1 178 | outer loop 179 | vertex -50.5 66.45 0 180 | vertex -2.1433 42.0273 0 181 | vertex -2.54968 41.7321 0 182 | endloop 183 | endfacet 184 | facet normal 0 0 -1 185 | outer loop 186 | vertex -50.5 66.45 0 187 | vertex -1.70311 42.2693 0 188 | vertex -2.1433 42.0273 0 189 | endloop 190 | endfacet 191 | facet normal -0 0 -1 192 | outer loop 193 | vertex -0.749512 42.5792 0 194 | vertex -1.23605 42.4542 0 195 | vertex -50.5 66.45 0 196 | endloop 197 | endfacet 198 | facet normal -0 0 -1 199 | outer loop 200 | vertex -0.25116 42.6421 0 201 | vertex -0.749512 42.5792 0 202 | vertex -50.5 66.45 0 203 | endloop 204 | endfacet 205 | facet normal 0 0 -1 206 | outer loop 207 | vertex 0.25116 42.6421 0 208 | vertex -0.25116 42.6421 0 209 | vertex -50.5 66.45 0 210 | endloop 211 | endfacet 212 | facet normal -0 0 -1 213 | outer loop 214 | vertex 50.5 66.45 0 215 | vertex 0.25116 42.6421 0 216 | vertex -50.5 66.45 0 217 | endloop 218 | endfacet 219 | facet normal 0 0 -1 220 | outer loop 221 | vertex 50.5 66.45 0 222 | vertex 0.749512 42.5792 0 223 | vertex 0.25116 42.6421 0 224 | endloop 225 | endfacet 226 | facet normal 0 0 -1 227 | outer loop 228 | vertex 1.70311 42.2693 0 229 | vertex 1.23605 42.4542 0 230 | vertex 50.5 66.45 0 231 | endloop 232 | endfacet 233 | facet normal 0 0 -1 234 | outer loop 235 | vertex 2.1433 42.0273 0 236 | vertex 1.70311 42.2693 0 237 | vertex 50.5 66.45 0 238 | endloop 239 | endfacet 240 | facet normal 0 0 -1 241 | outer loop 242 | vertex 2.54968 41.7321 0 243 | vertex 2.1433 42.0273 0 244 | vertex 50.5 66.45 0 245 | endloop 246 | endfacet 247 | facet normal 0 0 -1 248 | outer loop 249 | vertex 2.91586 41.3882 0 250 | vertex 2.54968 41.7321 0 251 | vertex 50.5 66.45 0 252 | endloop 253 | endfacet 254 | facet normal 0 0 -1 255 | outer loop 256 | vertex 3.23605 41.0011 0 257 | vertex 2.91586 41.3882 0 258 | vertex 50.5 66.45 0 259 | endloop 260 | endfacet 261 | facet normal 0 0 -1 262 | outer loop 263 | vertex 3.50522 40.577 0 264 | vertex 3.23605 41.0011 0 265 | vertex 50.5 66.45 0 266 | endloop 267 | endfacet 268 | facet normal 0 0 -1 269 | outer loop 270 | vertex 3.7191 40.1225 0 271 | vertex 3.50522 40.577 0 272 | vertex 50.5 66.45 0 273 | endloop 274 | endfacet 275 | facet normal 0 0 -1 276 | outer loop 277 | vertex 3.87433 39.6448 0 278 | vertex 3.7191 40.1225 0 279 | vertex 50.5 66.45 0 280 | endloop 281 | endfacet 282 | facet normal 0 0 -1 283 | outer loop 284 | vertex 50.5 30.15 0 285 | vertex 3.87433 39.6448 0 286 | vertex 50.5 66.45 0 287 | endloop 288 | endfacet 289 | facet normal 0 0 -1 290 | outer loop 291 | vertex 50.5 30.15 0 292 | vertex 3.96844 39.1513 0 293 | vertex 3.87433 39.6448 0 294 | endloop 295 | endfacet 296 | facet normal 0 0 -1 297 | outer loop 298 | vertex 50.5 30.15 0 299 | vertex 4 38.65 0 300 | vertex 3.96844 39.1513 0 301 | endloop 302 | endfacet 303 | facet normal 0 0 -1 304 | outer loop 305 | vertex 50.5 30.15 0 306 | vertex 3.96844 38.1487 0 307 | vertex 4 38.65 0 308 | endloop 309 | endfacet 310 | facet normal 0 0 -1 311 | outer loop 312 | vertex 50.5 30.15 0 313 | vertex 3.87433 37.6553 0 314 | vertex 3.96844 38.1487 0 315 | endloop 316 | endfacet 317 | facet normal 0 0 -1 318 | outer loop 319 | vertex 50.5 30.15 0 320 | vertex 3.7191 37.1775 0 321 | vertex 3.87433 37.6553 0 322 | endloop 323 | endfacet 324 | facet normal 0 0 -1 325 | outer loop 326 | vertex 50.5 30.15 0 327 | vertex 3.50522 36.723 0 328 | vertex 3.7191 37.1775 0 329 | endloop 330 | endfacet 331 | facet normal 0 0 -1 332 | outer loop 333 | vertex 50.5 30.15 0 334 | vertex 3.23605 36.2989 0 335 | vertex 3.50522 36.723 0 336 | endloop 337 | endfacet 338 | facet normal 0 0 -1 339 | outer loop 340 | vertex 50.5 30.15 0 341 | vertex 2.91586 35.9118 0 342 | vertex 3.23605 36.2989 0 343 | endloop 344 | endfacet 345 | facet normal 0 0 -1 346 | outer loop 347 | vertex 50.5 30.15 0 348 | vertex 2.54968 35.568 0 349 | vertex 2.91586 35.9118 0 350 | endloop 351 | endfacet 352 | facet normal 0 0 -1 353 | outer loop 354 | vertex 50.5 30.15 0 355 | vertex 2.1433 35.2727 0 356 | vertex 2.54968 35.568 0 357 | endloop 358 | endfacet 359 | facet normal 0 0 -1 360 | outer loop 361 | vertex 50.5 30.15 0 362 | vertex 1.70311 35.0307 0 363 | vertex 2.1433 35.2727 0 364 | endloop 365 | endfacet 366 | facet normal 0 0 -1 367 | outer loop 368 | vertex 50.5 30.15 0 369 | vertex 1.23605 34.8458 0 370 | vertex 1.70311 35.0307 0 371 | endloop 372 | endfacet 373 | facet normal 0 0 -1 374 | outer loop 375 | vertex 50.5 30.15 0 376 | vertex 0.749512 34.7209 0 377 | vertex 1.23605 34.8458 0 378 | endloop 379 | endfacet 380 | facet normal 0 -0 1 381 | outer loop 382 | vertex -1.70311 42.2693 2.5 383 | vertex -1.23605 42.4542 2.5 384 | vertex -50.5 66.45 2.5 385 | endloop 386 | endfacet 387 | facet normal -0 0 1 388 | outer loop 389 | vertex 0.749512 42.5792 2.5 390 | vertex 1.23605 42.4542 2.5 391 | vertex 50.5 66.45 2.5 392 | endloop 393 | endfacet 394 | facet normal 0 0 1 395 | outer loop 396 | vertex 0.749512 34.7209 2.5 397 | vertex 0.25116 34.6579 2.5 398 | vertex 50.5 30.15 2.5 399 | endloop 400 | endfacet 401 | facet normal 0 0 1 402 | outer loop 403 | vertex -50.5 30.15 2.5 404 | vertex 50.5 30.15 2.5 405 | vertex 0.25116 34.6579 2.5 406 | endloop 407 | endfacet 408 | facet normal 0 0 1 409 | outer loop 410 | vertex -50.5 30.15 2.5 411 | vertex 0.25116 34.6579 2.5 412 | vertex -0.25116 34.6579 2.5 413 | endloop 414 | endfacet 415 | facet normal 0 0 1 416 | outer loop 417 | vertex -50.5 30.15 2.5 418 | vertex -0.25116 34.6579 2.5 419 | vertex -0.749512 34.7209 2.5 420 | endloop 421 | endfacet 422 | facet normal 0 0 1 423 | outer loop 424 | vertex -50.5 30.15 2.5 425 | vertex -0.749512 34.7209 2.5 426 | vertex -1.23605 34.8458 2.5 427 | endloop 428 | endfacet 429 | facet normal 0 0 1 430 | outer loop 431 | vertex -50.5 30.15 2.5 432 | vertex -1.23605 34.8458 2.5 433 | vertex -1.70311 35.0307 2.5 434 | endloop 435 | endfacet 436 | facet normal 0 0 1 437 | outer loop 438 | vertex -50.5 30.15 2.5 439 | vertex -2.1433 35.2727 2.5 440 | vertex -2.54968 35.568 2.5 441 | endloop 442 | endfacet 443 | facet normal 0 0 1 444 | outer loop 445 | vertex -50.5 30.15 2.5 446 | vertex -1.70311 35.0307 2.5 447 | vertex -2.1433 35.2727 2.5 448 | endloop 449 | endfacet 450 | facet normal 0 0 1 451 | outer loop 452 | vertex -50.5 30.15 2.5 453 | vertex -2.54968 35.568 2.5 454 | vertex -2.91586 35.9118 2.5 455 | endloop 456 | endfacet 457 | facet normal 0 0 1 458 | outer loop 459 | vertex -50.5 30.15 2.5 460 | vertex -2.91586 35.9118 2.5 461 | vertex -3.23605 36.2989 2.5 462 | endloop 463 | endfacet 464 | facet normal 0 0 1 465 | outer loop 466 | vertex -50.5 30.15 2.5 467 | vertex -3.23605 36.2989 2.5 468 | vertex -3.50522 36.723 2.5 469 | endloop 470 | endfacet 471 | facet normal 0 0 1 472 | outer loop 473 | vertex -50.5 30.15 2.5 474 | vertex -3.50522 36.723 2.5 475 | vertex -3.7191 37.1775 2.5 476 | endloop 477 | endfacet 478 | facet normal 0 0 1 479 | outer loop 480 | vertex -50.5 30.15 2.5 481 | vertex -3.7191 37.1775 2.5 482 | vertex -3.87433 37.6553 2.5 483 | endloop 484 | endfacet 485 | facet normal 0 0 1 486 | outer loop 487 | vertex -50.5 30.15 2.5 488 | vertex -3.87433 37.6553 2.5 489 | vertex -3.96844 38.1487 2.5 490 | endloop 491 | endfacet 492 | facet normal 0 0 1 493 | outer loop 494 | vertex -50.5 30.15 2.5 495 | vertex -3.96844 38.1487 2.5 496 | vertex -4 38.65 2.5 497 | endloop 498 | endfacet 499 | facet normal 0 0 1 500 | outer loop 501 | vertex -50.5 30.15 2.5 502 | vertex -4 38.65 2.5 503 | vertex -3.96844 39.1513 2.5 504 | endloop 505 | endfacet 506 | facet normal 0 0 1 507 | outer loop 508 | vertex -50.5 30.15 2.5 509 | vertex -3.96844 39.1513 2.5 510 | vertex -3.87433 39.6448 2.5 511 | endloop 512 | endfacet 513 | facet normal 0 0 1 514 | outer loop 515 | vertex -50.5 30.15 2.5 516 | vertex -3.87433 39.6448 2.5 517 | vertex -50.5 66.45 2.5 518 | endloop 519 | endfacet 520 | facet normal 0 -0 1 521 | outer loop 522 | vertex -3.87433 39.6448 2.5 523 | vertex -3.7191 40.1225 2.5 524 | vertex -50.5 66.45 2.5 525 | endloop 526 | endfacet 527 | facet normal 0 -0 1 528 | outer loop 529 | vertex -3.7191 40.1225 2.5 530 | vertex -3.50522 40.577 2.5 531 | vertex -50.5 66.45 2.5 532 | endloop 533 | endfacet 534 | facet normal 0 -0 1 535 | outer loop 536 | vertex -3.50522 40.577 2.5 537 | vertex -3.23605 41.0011 2.5 538 | vertex -50.5 66.45 2.5 539 | endloop 540 | endfacet 541 | facet normal 0 -0 1 542 | outer loop 543 | vertex -3.23605 41.0011 2.5 544 | vertex -2.91586 41.3882 2.5 545 | vertex -50.5 66.45 2.5 546 | endloop 547 | endfacet 548 | facet normal 0 -0 1 549 | outer loop 550 | vertex -2.91586 41.3882 2.5 551 | vertex -2.54968 41.7321 2.5 552 | vertex -50.5 66.45 2.5 553 | endloop 554 | endfacet 555 | facet normal 0 -0 1 556 | outer loop 557 | vertex -2.54968 41.7321 2.5 558 | vertex -2.1433 42.0273 2.5 559 | vertex -50.5 66.45 2.5 560 | endloop 561 | endfacet 562 | facet normal 0 -0 1 563 | outer loop 564 | vertex -2.1433 42.0273 2.5 565 | vertex -1.70311 42.2693 2.5 566 | vertex -50.5 66.45 2.5 567 | endloop 568 | endfacet 569 | facet normal 0 0 1 570 | outer loop 571 | vertex -50.5 66.45 2.5 572 | vertex -1.23605 42.4542 2.5 573 | vertex -0.749512 42.5792 2.5 574 | endloop 575 | endfacet 576 | facet normal 0 0 1 577 | outer loop 578 | vertex -50.5 66.45 2.5 579 | vertex -0.749512 42.5792 2.5 580 | vertex -0.25116 42.6421 2.5 581 | endloop 582 | endfacet 583 | facet normal 0 0 1 584 | outer loop 585 | vertex -50.5 66.45 2.5 586 | vertex -0.25116 42.6421 2.5 587 | vertex 0.25116 42.6421 2.5 588 | endloop 589 | endfacet 590 | facet normal -0 0 1 591 | outer loop 592 | vertex -50.5 66.45 2.5 593 | vertex 0.25116 42.6421 2.5 594 | vertex 50.5 66.45 2.5 595 | endloop 596 | endfacet 597 | facet normal -0 0 1 598 | outer loop 599 | vertex 0.25116 42.6421 2.5 600 | vertex 0.749512 42.5792 2.5 601 | vertex 50.5 66.45 2.5 602 | endloop 603 | endfacet 604 | facet normal 0 0 1 605 | outer loop 606 | vertex 50.5 66.45 2.5 607 | vertex 1.23605 42.4542 2.5 608 | vertex 1.70311 42.2693 2.5 609 | endloop 610 | endfacet 611 | facet normal 0 0 1 612 | outer loop 613 | vertex 50.5 66.45 2.5 614 | vertex 1.70311 42.2693 2.5 615 | vertex 2.1433 42.0273 2.5 616 | endloop 617 | endfacet 618 | facet normal 0 0 1 619 | outer loop 620 | vertex 50.5 66.45 2.5 621 | vertex 2.1433 42.0273 2.5 622 | vertex 2.54968 41.7321 2.5 623 | endloop 624 | endfacet 625 | facet normal 0 0 1 626 | outer loop 627 | vertex 50.5 66.45 2.5 628 | vertex 2.54968 41.7321 2.5 629 | vertex 2.91586 41.3882 2.5 630 | endloop 631 | endfacet 632 | facet normal 0 0 1 633 | outer loop 634 | vertex 50.5 66.45 2.5 635 | vertex 2.91586 41.3882 2.5 636 | vertex 3.23605 41.0011 2.5 637 | endloop 638 | endfacet 639 | facet normal 0 0 1 640 | outer loop 641 | vertex 50.5 66.45 2.5 642 | vertex 3.23605 41.0011 2.5 643 | vertex 3.50522 40.577 2.5 644 | endloop 645 | endfacet 646 | facet normal 0 0 1 647 | outer loop 648 | vertex 50.5 66.45 2.5 649 | vertex 3.50522 40.577 2.5 650 | vertex 3.7191 40.1225 2.5 651 | endloop 652 | endfacet 653 | facet normal 0 0 1 654 | outer loop 655 | vertex 50.5 66.45 2.5 656 | vertex 3.7191 40.1225 2.5 657 | vertex 3.87433 39.6448 2.5 658 | endloop 659 | endfacet 660 | facet normal 0 0 1 661 | outer loop 662 | vertex 50.5 66.45 2.5 663 | vertex 3.87433 39.6448 2.5 664 | vertex 50.5 30.15 2.5 665 | endloop 666 | endfacet 667 | facet normal 0 0 1 668 | outer loop 669 | vertex 3.87433 39.6448 2.5 670 | vertex 3.96844 39.1513 2.5 671 | vertex 50.5 30.15 2.5 672 | endloop 673 | endfacet 674 | facet normal 0 0 1 675 | outer loop 676 | vertex 3.96844 39.1513 2.5 677 | vertex 4 38.65 2.5 678 | vertex 50.5 30.15 2.5 679 | endloop 680 | endfacet 681 | facet normal 0 0 1 682 | outer loop 683 | vertex 4 38.65 2.5 684 | vertex 3.96844 38.1487 2.5 685 | vertex 50.5 30.15 2.5 686 | endloop 687 | endfacet 688 | facet normal 0 0 1 689 | outer loop 690 | vertex 3.96844 38.1487 2.5 691 | vertex 3.87433 37.6553 2.5 692 | vertex 50.5 30.15 2.5 693 | endloop 694 | endfacet 695 | facet normal 0 0 1 696 | outer loop 697 | vertex 3.87433 37.6553 2.5 698 | vertex 3.7191 37.1775 2.5 699 | vertex 50.5 30.15 2.5 700 | endloop 701 | endfacet 702 | facet normal 0 0 1 703 | outer loop 704 | vertex 3.7191 37.1775 2.5 705 | vertex 3.50522 36.723 2.5 706 | vertex 50.5 30.15 2.5 707 | endloop 708 | endfacet 709 | facet normal 0 0 1 710 | outer loop 711 | vertex 3.50522 36.723 2.5 712 | vertex 3.23605 36.2989 2.5 713 | vertex 50.5 30.15 2.5 714 | endloop 715 | endfacet 716 | facet normal 0 0 1 717 | outer loop 718 | vertex 3.23605 36.2989 2.5 719 | vertex 2.91586 35.9118 2.5 720 | vertex 50.5 30.15 2.5 721 | endloop 722 | endfacet 723 | facet normal 0 0 1 724 | outer loop 725 | vertex 2.91586 35.9118 2.5 726 | vertex 2.54968 35.568 2.5 727 | vertex 50.5 30.15 2.5 728 | endloop 729 | endfacet 730 | facet normal 0 0 1 731 | outer loop 732 | vertex 2.54968 35.568 2.5 733 | vertex 2.1433 35.2727 2.5 734 | vertex 50.5 30.15 2.5 735 | endloop 736 | endfacet 737 | facet normal 0 0 1 738 | outer loop 739 | vertex 2.1433 35.2727 2.5 740 | vertex 1.70311 35.0307 2.5 741 | vertex 50.5 30.15 2.5 742 | endloop 743 | endfacet 744 | facet normal 0 0 1 745 | outer loop 746 | vertex 1.70311 35.0307 2.5 747 | vertex 1.23605 34.8458 2.5 748 | vertex 50.5 30.15 2.5 749 | endloop 750 | endfacet 751 | facet normal 0 0 1 752 | outer loop 753 | vertex 1.23605 34.8458 2.5 754 | vertex 0.749512 34.7209 2.5 755 | vertex 50.5 30.15 2.5 756 | endloop 757 | endfacet 758 | facet normal 0 1 0 759 | outer loop 760 | vertex -50.5 66.45 0 761 | vertex 50.5 66.45 2.5 762 | vertex 50.5 66.45 0 763 | endloop 764 | endfacet 765 | facet normal 0 1 0 766 | outer loop 767 | vertex -50.5 66.45 0 768 | vertex -50.5 66.45 2.5 769 | vertex 50.5 66.45 2.5 770 | endloop 771 | endfacet 772 | facet normal -1 0 0 773 | outer loop 774 | vertex -50.5 30.15 0 775 | vertex -50.5 66.45 2.5 776 | vertex -50.5 66.45 0 777 | endloop 778 | endfacet 779 | facet normal -1 0 0 780 | outer loop 781 | vertex -50.5 30.15 0 782 | vertex -50.5 30.15 2.5 783 | vertex -50.5 66.45 2.5 784 | endloop 785 | endfacet 786 | facet normal 0 -1 0 787 | outer loop 788 | vertex 50.5 30.15 0 789 | vertex -50.5 30.15 2.5 790 | vertex -50.5 30.15 0 791 | endloop 792 | endfacet 793 | facet normal 0 -1 0 794 | outer loop 795 | vertex 50.5 30.15 0 796 | vertex 50.5 30.15 2.5 797 | vertex -50.5 30.15 2.5 798 | endloop 799 | endfacet 800 | facet normal 1 0 0 801 | outer loop 802 | vertex 50.5 66.45 0 803 | vertex 50.5 30.15 2.5 804 | vertex 50.5 30.15 0 805 | endloop 806 | endfacet 807 | facet normal 1 0 -0 808 | outer loop 809 | vertex 50.5 66.45 0 810 | vertex 50.5 66.45 2.5 811 | vertex 50.5 30.15 2.5 812 | endloop 813 | endfacet 814 | facet normal 0.125336 0.992114 -0 815 | outer loop 816 | vertex -0.749512 34.7209 0 817 | vertex -0.749512 34.7209 2.5 818 | vertex -0.25116 34.6579 0 819 | endloop 820 | endfacet 821 | facet normal 0.125336 0.992114 0 822 | outer loop 823 | vertex -0.25116 34.6579 2.5 824 | vertex -0.25116 34.6579 0 825 | vertex -0.749512 34.7209 2.5 826 | endloop 827 | endfacet 828 | facet normal 0.248692 0.968583 -0 829 | outer loop 830 | vertex -1.23605 34.8458 0 831 | vertex -1.23605 34.8458 2.5 832 | vertex -0.749512 34.7209 0 833 | endloop 834 | endfacet 835 | facet normal 0.248692 0.968583 0 836 | outer loop 837 | vertex -0.749512 34.7209 2.5 838 | vertex -0.749512 34.7209 0 839 | vertex -1.23605 34.8458 2.5 840 | endloop 841 | endfacet 842 | facet normal 0.368126 0.929776 -0 843 | outer loop 844 | vertex -1.70311 35.0307 0 845 | vertex -1.70311 35.0307 2.5 846 | vertex -1.23605 34.8458 0 847 | endloop 848 | endfacet 849 | facet normal 0.368126 0.929776 0 850 | outer loop 851 | vertex -1.23605 34.8458 2.5 852 | vertex -1.23605 34.8458 0 853 | vertex -1.70311 35.0307 2.5 854 | endloop 855 | endfacet 856 | facet normal 0.481769 0.876298 -0 857 | outer loop 858 | vertex -2.1433 35.2727 0 859 | vertex -2.1433 35.2727 2.5 860 | vertex -1.70311 35.0307 0 861 | endloop 862 | endfacet 863 | facet normal 0.481769 0.876298 0 864 | outer loop 865 | vertex -1.70311 35.0307 2.5 866 | vertex -1.70311 35.0307 0 867 | vertex -2.1433 35.2727 2.5 868 | endloop 869 | endfacet 870 | facet normal 0.587785 0.809017 -0 871 | outer loop 872 | vertex -2.54968 35.568 0 873 | vertex -2.54968 35.568 2.5 874 | vertex -2.1433 35.2727 0 875 | endloop 876 | endfacet 877 | facet normal 0.587785 0.809017 0 878 | outer loop 879 | vertex -2.1433 35.2727 2.5 880 | vertex -2.1433 35.2727 0 881 | vertex -2.54968 35.568 2.5 882 | endloop 883 | endfacet 884 | facet normal 0.684537 0.728978 -0 885 | outer loop 886 | vertex -2.91586 35.9118 0 887 | vertex -2.91586 35.9118 2.5 888 | vertex -2.54968 35.568 0 889 | endloop 890 | endfacet 891 | facet normal 0.684537 0.728978 0 892 | outer loop 893 | vertex -2.54968 35.568 2.5 894 | vertex -2.54968 35.568 0 895 | vertex -2.91586 35.9118 2.5 896 | endloop 897 | endfacet 898 | facet normal 0.770522 0.637414 -0 899 | outer loop 900 | vertex -3.23605 36.2989 0 901 | vertex -3.23605 36.2989 2.5 902 | vertex -2.91586 35.9118 0 903 | endloop 904 | endfacet 905 | facet normal 0.770522 0.637414 0 906 | outer loop 907 | vertex -2.91586 35.9118 2.5 908 | vertex -2.91586 35.9118 0 909 | vertex -3.23605 36.2989 2.5 910 | endloop 911 | endfacet 912 | facet normal 0.844318 0.535843 -0 913 | outer loop 914 | vertex -3.50522 36.723 0 915 | vertex -3.50522 36.723 2.5 916 | vertex -3.23605 36.2989 0 917 | endloop 918 | endfacet 919 | facet normal 0.844318 0.535843 0 920 | outer loop 921 | vertex -3.23605 36.2989 2.5 922 | vertex -3.23605 36.2989 0 923 | vertex -3.50522 36.723 2.5 924 | endloop 925 | endfacet 926 | facet normal 0.904824 0.425787 -0 927 | outer loop 928 | vertex -3.7191 37.1775 0 929 | vertex -3.7191 37.1775 2.5 930 | vertex -3.50522 36.723 0 931 | endloop 932 | endfacet 933 | facet normal 0.904824 0.425787 0 934 | outer loop 935 | vertex -3.50522 36.723 2.5 936 | vertex -3.50522 36.723 0 937 | vertex -3.7191 37.1775 2.5 938 | endloop 939 | endfacet 940 | facet normal 0.951059 0.309011 -0 941 | outer loop 942 | vertex -3.87433 37.6553 0 943 | vertex -3.87433 37.6553 2.5 944 | vertex -3.7191 37.1775 0 945 | endloop 946 | endfacet 947 | facet normal 0.951059 0.309011 0 948 | outer loop 949 | vertex -3.7191 37.1775 2.5 950 | vertex -3.7191 37.1775 0 951 | vertex -3.87433 37.6553 2.5 952 | endloop 953 | endfacet 954 | facet normal 0.982291 0.187363 -0 955 | outer loop 956 | vertex -3.96844 38.1487 0 957 | vertex -3.96844 38.1487 2.5 958 | vertex -3.87433 37.6553 0 959 | endloop 960 | endfacet 961 | facet normal 0.982291 0.187363 0 962 | outer loop 963 | vertex -3.87433 37.6553 2.5 964 | vertex -3.87433 37.6553 0 965 | vertex -3.96844 38.1487 2.5 966 | endloop 967 | endfacet 968 | facet normal 0.998025 0.0628189 -0 969 | outer loop 970 | vertex -4 38.65 0 971 | vertex -4 38.65 2.5 972 | vertex -3.96844 38.1487 0 973 | endloop 974 | endfacet 975 | facet normal 0.998025 0.0628189 0 976 | outer loop 977 | vertex -3.96844 38.1487 2.5 978 | vertex -3.96844 38.1487 0 979 | vertex -4 38.65 2.5 980 | endloop 981 | endfacet 982 | facet normal 0.998025 -0.0628189 0 983 | outer loop 984 | vertex -3.96844 39.1513 0 985 | vertex -3.96844 39.1513 2.5 986 | vertex -4 38.65 0 987 | endloop 988 | endfacet 989 | facet normal 0.998025 -0.0628189 0 990 | outer loop 991 | vertex -4 38.65 2.5 992 | vertex -4 38.65 0 993 | vertex -3.96844 39.1513 2.5 994 | endloop 995 | endfacet 996 | facet normal 0.982292 -0.187358 0 997 | outer loop 998 | vertex -3.87433 39.6448 0 999 | vertex -3.87433 39.6448 2.5 1000 | vertex -3.96844 39.1513 0 1001 | endloop 1002 | endfacet 1003 | facet normal 0.982292 -0.187358 0 1004 | outer loop 1005 | vertex -3.96844 39.1513 2.5 1006 | vertex -3.96844 39.1513 0 1007 | vertex -3.87433 39.6448 2.5 1008 | endloop 1009 | endfacet 1010 | facet normal 0.951056 -0.309019 0 1011 | outer loop 1012 | vertex -3.7191 40.1225 0 1013 | vertex -3.7191 40.1225 2.5 1014 | vertex -3.87433 39.6448 0 1015 | endloop 1016 | endfacet 1017 | facet normal 0.951056 -0.309019 0 1018 | outer loop 1019 | vertex -3.87433 39.6448 2.5 1020 | vertex -3.87433 39.6448 0 1021 | vertex -3.7191 40.1225 2.5 1022 | endloop 1023 | endfacet 1024 | facet normal 0.904824 -0.425787 0 1025 | outer loop 1026 | vertex -3.50522 40.577 0 1027 | vertex -3.50522 40.577 2.5 1028 | vertex -3.7191 40.1225 0 1029 | endloop 1030 | endfacet 1031 | facet normal 0.904824 -0.425787 0 1032 | outer loop 1033 | vertex -3.7191 40.1225 2.5 1034 | vertex -3.7191 40.1225 0 1035 | vertex -3.50522 40.577 2.5 1036 | endloop 1037 | endfacet 1038 | facet normal 0.844318 -0.535843 0 1039 | outer loop 1040 | vertex -3.23605 41.0011 0 1041 | vertex -3.23605 41.0011 2.5 1042 | vertex -3.50522 40.577 0 1043 | endloop 1044 | endfacet 1045 | facet normal 0.844318 -0.535843 0 1046 | outer loop 1047 | vertex -3.50522 40.577 2.5 1048 | vertex -3.50522 40.577 0 1049 | vertex -3.23605 41.0011 2.5 1050 | endloop 1051 | endfacet 1052 | facet normal 0.770522 -0.637414 0 1053 | outer loop 1054 | vertex -2.91586 41.3882 0 1055 | vertex -2.91586 41.3882 2.5 1056 | vertex -3.23605 41.0011 0 1057 | endloop 1058 | endfacet 1059 | facet normal 0.770522 -0.637414 0 1060 | outer loop 1061 | vertex -3.23605 41.0011 2.5 1062 | vertex -3.23605 41.0011 0 1063 | vertex -2.91586 41.3882 2.5 1064 | endloop 1065 | endfacet 1066 | facet normal 0.684553 -0.728963 0 1067 | outer loop 1068 | vertex -2.54968 41.7321 0 1069 | vertex -2.54968 41.7321 2.5 1070 | vertex -2.91586 41.3882 0 1071 | endloop 1072 | endfacet 1073 | facet normal 0.684553 -0.728963 0 1074 | outer loop 1075 | vertex -2.91586 41.3882 2.5 1076 | vertex -2.91586 41.3882 0 1077 | vertex -2.54968 41.7321 2.5 1078 | endloop 1079 | endfacet 1080 | facet normal 0.587785 -0.809017 0 1081 | outer loop 1082 | vertex -2.1433 42.0273 0 1083 | vertex -2.1433 42.0273 2.5 1084 | vertex -2.54968 41.7321 0 1085 | endloop 1086 | endfacet 1087 | facet normal 0.587785 -0.809017 0 1088 | outer loop 1089 | vertex -2.54968 41.7321 2.5 1090 | vertex -2.54968 41.7321 0 1091 | vertex -2.1433 42.0273 2.5 1092 | endloop 1093 | endfacet 1094 | facet normal 0.481746 -0.876311 0 1095 | outer loop 1096 | vertex -1.70311 42.2693 0 1097 | vertex -1.70311 42.2693 2.5 1098 | vertex -2.1433 42.0273 0 1099 | endloop 1100 | endfacet 1101 | facet normal 0.481746 -0.876311 0 1102 | outer loop 1103 | vertex -2.1433 42.0273 2.5 1104 | vertex -2.1433 42.0273 0 1105 | vertex -1.70311 42.2693 2.5 1106 | endloop 1107 | endfacet 1108 | facet normal 0.368126 -0.929776 0 1109 | outer loop 1110 | vertex -1.23605 42.4542 0 1111 | vertex -1.23605 42.4542 2.5 1112 | vertex -1.70311 42.2693 0 1113 | endloop 1114 | endfacet 1115 | facet normal 0.368126 -0.929776 0 1116 | outer loop 1117 | vertex -1.70311 42.2693 2.5 1118 | vertex -1.70311 42.2693 0 1119 | vertex -1.23605 42.4542 2.5 1120 | endloop 1121 | endfacet 1122 | facet normal 0.248692 -0.968583 0 1123 | outer loop 1124 | vertex -0.749512 42.5792 0 1125 | vertex -0.749512 42.5792 2.5 1126 | vertex -1.23605 42.4542 0 1127 | endloop 1128 | endfacet 1129 | facet normal 0.248692 -0.968583 0 1130 | outer loop 1131 | vertex -1.23605 42.4542 2.5 1132 | vertex -1.23605 42.4542 0 1133 | vertex -0.749512 42.5792 2.5 1134 | endloop 1135 | endfacet 1136 | facet normal 0.125336 -0.992114 0 1137 | outer loop 1138 | vertex -0.25116 42.6421 0 1139 | vertex -0.25116 42.6421 2.5 1140 | vertex -0.749512 42.5792 0 1141 | endloop 1142 | endfacet 1143 | facet normal 0.125336 -0.992114 0 1144 | outer loop 1145 | vertex -0.749512 42.5792 2.5 1146 | vertex -0.749512 42.5792 0 1147 | vertex -0.25116 42.6421 2.5 1148 | endloop 1149 | endfacet 1150 | facet normal 0 -1 0 1151 | outer loop 1152 | vertex 0.25116 42.6421 0 1153 | vertex 0.25116 42.6421 2.5 1154 | vertex -0.25116 42.6421 0 1155 | endloop 1156 | endfacet 1157 | facet normal 0 -1 0 1158 | outer loop 1159 | vertex -0.25116 42.6421 2.5 1160 | vertex -0.25116 42.6421 0 1161 | vertex 0.25116 42.6421 2.5 1162 | endloop 1163 | endfacet 1164 | facet normal -0.125336 -0.992114 0 1165 | outer loop 1166 | vertex 0.749512 42.5792 0 1167 | vertex 0.749512 42.5792 2.5 1168 | vertex 0.25116 42.6421 0 1169 | endloop 1170 | endfacet 1171 | facet normal -0.125336 -0.992114 -0 1172 | outer loop 1173 | vertex 0.25116 42.6421 2.5 1174 | vertex 0.25116 42.6421 0 1175 | vertex 0.749512 42.5792 2.5 1176 | endloop 1177 | endfacet 1178 | facet normal -0.248692 -0.968583 0 1179 | outer loop 1180 | vertex 1.23605 42.4542 0 1181 | vertex 1.23605 42.4542 2.5 1182 | vertex 0.749512 42.5792 0 1183 | endloop 1184 | endfacet 1185 | facet normal -0.248692 -0.968583 -0 1186 | outer loop 1187 | vertex 0.749512 42.5792 2.5 1188 | vertex 0.749512 42.5792 0 1189 | vertex 1.23605 42.4542 2.5 1190 | endloop 1191 | endfacet 1192 | facet normal -0.368126 -0.929776 0 1193 | outer loop 1194 | vertex 1.70311 42.2693 0 1195 | vertex 1.70311 42.2693 2.5 1196 | vertex 1.23605 42.4542 0 1197 | endloop 1198 | endfacet 1199 | facet normal -0.368126 -0.929776 -0 1200 | outer loop 1201 | vertex 1.23605 42.4542 2.5 1202 | vertex 1.23605 42.4542 0 1203 | vertex 1.70311 42.2693 2.5 1204 | endloop 1205 | endfacet 1206 | facet normal -0.481746 -0.876311 0 1207 | outer loop 1208 | vertex 2.1433 42.0273 0 1209 | vertex 2.1433 42.0273 2.5 1210 | vertex 1.70311 42.2693 0 1211 | endloop 1212 | endfacet 1213 | facet normal -0.481746 -0.876311 -0 1214 | outer loop 1215 | vertex 1.70311 42.2693 2.5 1216 | vertex 1.70311 42.2693 0 1217 | vertex 2.1433 42.0273 2.5 1218 | endloop 1219 | endfacet 1220 | facet normal -0.587785 -0.809017 0 1221 | outer loop 1222 | vertex 2.54968 41.7321 0 1223 | vertex 2.54968 41.7321 2.5 1224 | vertex 2.1433 42.0273 0 1225 | endloop 1226 | endfacet 1227 | facet normal -0.587785 -0.809017 -0 1228 | outer loop 1229 | vertex 2.1433 42.0273 2.5 1230 | vertex 2.1433 42.0273 0 1231 | vertex 2.54968 41.7321 2.5 1232 | endloop 1233 | endfacet 1234 | facet normal -0.684553 -0.728963 0 1235 | outer loop 1236 | vertex 2.91586 41.3882 0 1237 | vertex 2.91586 41.3882 2.5 1238 | vertex 2.54968 41.7321 0 1239 | endloop 1240 | endfacet 1241 | facet normal -0.684553 -0.728963 -0 1242 | outer loop 1243 | vertex 2.54968 41.7321 2.5 1244 | vertex 2.54968 41.7321 0 1245 | vertex 2.91586 41.3882 2.5 1246 | endloop 1247 | endfacet 1248 | facet normal -0.770522 -0.637414 0 1249 | outer loop 1250 | vertex 3.23605 41.0011 0 1251 | vertex 3.23605 41.0011 2.5 1252 | vertex 2.91586 41.3882 0 1253 | endloop 1254 | endfacet 1255 | facet normal -0.770522 -0.637414 -0 1256 | outer loop 1257 | vertex 2.91586 41.3882 2.5 1258 | vertex 2.91586 41.3882 0 1259 | vertex 3.23605 41.0011 2.5 1260 | endloop 1261 | endfacet 1262 | facet normal -0.844318 -0.535843 0 1263 | outer loop 1264 | vertex 3.50522 40.577 0 1265 | vertex 3.50522 40.577 2.5 1266 | vertex 3.23605 41.0011 0 1267 | endloop 1268 | endfacet 1269 | facet normal -0.844318 -0.535843 -0 1270 | outer loop 1271 | vertex 3.23605 41.0011 2.5 1272 | vertex 3.23605 41.0011 0 1273 | vertex 3.50522 40.577 2.5 1274 | endloop 1275 | endfacet 1276 | facet normal -0.904824 -0.425787 0 1277 | outer loop 1278 | vertex 3.7191 40.1225 0 1279 | vertex 3.7191 40.1225 2.5 1280 | vertex 3.50522 40.577 0 1281 | endloop 1282 | endfacet 1283 | facet normal -0.904824 -0.425787 -0 1284 | outer loop 1285 | vertex 3.50522 40.577 2.5 1286 | vertex 3.50522 40.577 0 1287 | vertex 3.7191 40.1225 2.5 1288 | endloop 1289 | endfacet 1290 | facet normal -0.951056 -0.309019 0 1291 | outer loop 1292 | vertex 3.87433 39.6448 0 1293 | vertex 3.87433 39.6448 2.5 1294 | vertex 3.7191 40.1225 0 1295 | endloop 1296 | endfacet 1297 | facet normal -0.951056 -0.309019 -0 1298 | outer loop 1299 | vertex 3.7191 40.1225 2.5 1300 | vertex 3.7191 40.1225 0 1301 | vertex 3.87433 39.6448 2.5 1302 | endloop 1303 | endfacet 1304 | facet normal -0.982292 -0.187358 0 1305 | outer loop 1306 | vertex 3.96844 39.1513 0 1307 | vertex 3.96844 39.1513 2.5 1308 | vertex 3.87433 39.6448 0 1309 | endloop 1310 | endfacet 1311 | facet normal -0.982292 -0.187358 -0 1312 | outer loop 1313 | vertex 3.87433 39.6448 2.5 1314 | vertex 3.87433 39.6448 0 1315 | vertex 3.96844 39.1513 2.5 1316 | endloop 1317 | endfacet 1318 | facet normal -0.998025 -0.0628189 0 1319 | outer loop 1320 | vertex 4 38.65 0 1321 | vertex 4 38.65 2.5 1322 | vertex 3.96844 39.1513 0 1323 | endloop 1324 | endfacet 1325 | facet normal -0.998025 -0.0628189 -0 1326 | outer loop 1327 | vertex 3.96844 39.1513 2.5 1328 | vertex 3.96844 39.1513 0 1329 | vertex 4 38.65 2.5 1330 | endloop 1331 | endfacet 1332 | facet normal -0.998025 0.0628189 0 1333 | outer loop 1334 | vertex 3.96844 38.1487 0 1335 | vertex 3.96844 38.1487 2.5 1336 | vertex 4 38.65 0 1337 | endloop 1338 | endfacet 1339 | facet normal -0.998025 0.0628189 0 1340 | outer loop 1341 | vertex 4 38.65 2.5 1342 | vertex 4 38.65 0 1343 | vertex 3.96844 38.1487 2.5 1344 | endloop 1345 | endfacet 1346 | facet normal -0.982291 0.187363 0 1347 | outer loop 1348 | vertex 3.87433 37.6553 0 1349 | vertex 3.87433 37.6553 2.5 1350 | vertex 3.96844 38.1487 0 1351 | endloop 1352 | endfacet 1353 | facet normal -0.982291 0.187363 0 1354 | outer loop 1355 | vertex 3.96844 38.1487 2.5 1356 | vertex 3.96844 38.1487 0 1357 | vertex 3.87433 37.6553 2.5 1358 | endloop 1359 | endfacet 1360 | facet normal -0.951059 0.309011 0 1361 | outer loop 1362 | vertex 3.7191 37.1775 0 1363 | vertex 3.7191 37.1775 2.5 1364 | vertex 3.87433 37.6553 0 1365 | endloop 1366 | endfacet 1367 | facet normal -0.951059 0.309011 0 1368 | outer loop 1369 | vertex 3.87433 37.6553 2.5 1370 | vertex 3.87433 37.6553 0 1371 | vertex 3.7191 37.1775 2.5 1372 | endloop 1373 | endfacet 1374 | facet normal -0.904824 0.425787 0 1375 | outer loop 1376 | vertex 3.50522 36.723 0 1377 | vertex 3.50522 36.723 2.5 1378 | vertex 3.7191 37.1775 0 1379 | endloop 1380 | endfacet 1381 | facet normal -0.904824 0.425787 0 1382 | outer loop 1383 | vertex 3.7191 37.1775 2.5 1384 | vertex 3.7191 37.1775 0 1385 | vertex 3.50522 36.723 2.5 1386 | endloop 1387 | endfacet 1388 | facet normal -0.844318 0.535843 0 1389 | outer loop 1390 | vertex 3.23605 36.2989 0 1391 | vertex 3.23605 36.2989 2.5 1392 | vertex 3.50522 36.723 0 1393 | endloop 1394 | endfacet 1395 | facet normal -0.844318 0.535843 0 1396 | outer loop 1397 | vertex 3.50522 36.723 2.5 1398 | vertex 3.50522 36.723 0 1399 | vertex 3.23605 36.2989 2.5 1400 | endloop 1401 | endfacet 1402 | facet normal -0.770522 0.637414 0 1403 | outer loop 1404 | vertex 2.91586 35.9118 0 1405 | vertex 2.91586 35.9118 2.5 1406 | vertex 3.23605 36.2989 0 1407 | endloop 1408 | endfacet 1409 | facet normal -0.770522 0.637414 0 1410 | outer loop 1411 | vertex 3.23605 36.2989 2.5 1412 | vertex 3.23605 36.2989 0 1413 | vertex 2.91586 35.9118 2.5 1414 | endloop 1415 | endfacet 1416 | facet normal -0.684537 0.728978 0 1417 | outer loop 1418 | vertex 2.54968 35.568 0 1419 | vertex 2.54968 35.568 2.5 1420 | vertex 2.91586 35.9118 0 1421 | endloop 1422 | endfacet 1423 | facet normal -0.684537 0.728978 0 1424 | outer loop 1425 | vertex 2.91586 35.9118 2.5 1426 | vertex 2.91586 35.9118 0 1427 | vertex 2.54968 35.568 2.5 1428 | endloop 1429 | endfacet 1430 | facet normal -0.587785 0.809017 0 1431 | outer loop 1432 | vertex 2.1433 35.2727 0 1433 | vertex 2.1433 35.2727 2.5 1434 | vertex 2.54968 35.568 0 1435 | endloop 1436 | endfacet 1437 | facet normal -0.587785 0.809017 0 1438 | outer loop 1439 | vertex 2.54968 35.568 2.5 1440 | vertex 2.54968 35.568 0 1441 | vertex 2.1433 35.2727 2.5 1442 | endloop 1443 | endfacet 1444 | facet normal -0.481769 0.876298 0 1445 | outer loop 1446 | vertex 1.70311 35.0307 0 1447 | vertex 1.70311 35.0307 2.5 1448 | vertex 2.1433 35.2727 0 1449 | endloop 1450 | endfacet 1451 | facet normal -0.481769 0.876298 0 1452 | outer loop 1453 | vertex 2.1433 35.2727 2.5 1454 | vertex 2.1433 35.2727 0 1455 | vertex 1.70311 35.0307 2.5 1456 | endloop 1457 | endfacet 1458 | facet normal -0.368126 0.929776 0 1459 | outer loop 1460 | vertex 1.23605 34.8458 0 1461 | vertex 1.23605 34.8458 2.5 1462 | vertex 1.70311 35.0307 0 1463 | endloop 1464 | endfacet 1465 | facet normal -0.368126 0.929776 0 1466 | outer loop 1467 | vertex 1.70311 35.0307 2.5 1468 | vertex 1.70311 35.0307 0 1469 | vertex 1.23605 34.8458 2.5 1470 | endloop 1471 | endfacet 1472 | facet normal -0.248692 0.968583 0 1473 | outer loop 1474 | vertex 0.749512 34.7209 0 1475 | vertex 0.749512 34.7209 2.5 1476 | vertex 1.23605 34.8458 0 1477 | endloop 1478 | endfacet 1479 | facet normal -0.248692 0.968583 0 1480 | outer loop 1481 | vertex 1.23605 34.8458 2.5 1482 | vertex 1.23605 34.8458 0 1483 | vertex 0.749512 34.7209 2.5 1484 | endloop 1485 | endfacet 1486 | facet normal -0.125336 0.992114 0 1487 | outer loop 1488 | vertex 0.25116 34.6579 0 1489 | vertex 0.25116 34.6579 2.5 1490 | vertex 0.749512 34.7209 0 1491 | endloop 1492 | endfacet 1493 | facet normal -0.125336 0.992114 0 1494 | outer loop 1495 | vertex 0.749512 34.7209 2.5 1496 | vertex 0.749512 34.7209 0 1497 | vertex 0.25116 34.6579 2.5 1498 | endloop 1499 | endfacet 1500 | facet normal 0 1 0 1501 | outer loop 1502 | vertex -0.25116 34.6579 0 1503 | vertex -0.25116 34.6579 2.5 1504 | vertex 0.25116 34.6579 0 1505 | endloop 1506 | endfacet 1507 | facet normal 0 1 0 1508 | outer loop 1509 | vertex 0.25116 34.6579 2.5 1510 | vertex 0.25116 34.6579 0 1511 | vertex -0.25116 34.6579 2.5 1512 | endloop 1513 | endfacet 1514 | endsolid OpenSCAD_Model 1515 | --------------------------------------------------------------------------------