Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sjkelly/hardware-dimensions
Common hardware dimensions used in mechanical design.
https://github.com/sjkelly/hardware-dimensions
Last synced: about 2 months ago
JSON representation
Common hardware dimensions used in mechanical design.
- Host: GitHub
- URL: https://github.com/sjkelly/hardware-dimensions
- Owner: sjkelly
- License: mit
- Created: 2013-07-15T19:00:16.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-03-16T19:14:36.000Z (almost 8 years ago)
- Last Synced: 2024-10-13T19:37:32.740Z (3 months ago)
- Language: Python
- Homepage:
- Size: 146 KB
- Stars: 1
- Watchers: 4
- Forks: 25
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
#Hardware-Dimensions
Hardware dimensions usable in mechanical design.##Function
Dimensions are stored in Open Document Spreadsheets (ods). CSV and JSON files generated by the build.sh script are available. LibreOffice is used to generate the CSV files.The CSV is parsed by the `csv_to_json.py` Python script which creates a JSON file with the following format...
```JSON
{
"filename" : [
{
"Row1, Col1" : "Row2, Col1",
"Row1, Col2" : "Row2, Col2",
},
{
"Row1, Col1" : "Row3, Col1",
"Row1, Col2" : "Row3, Col2",
}
]
}
```
The keys are pulled from the first row and applied to each row below as a group.
Numeric values will be stored as such, removing the quotation marks around the value.##License
MIT. See LICENSE.txt for details.