pax_global_header 0000666 0000000 0000000 00000000064 12536136620 0014516 g ustar 00root root 0000000 0000000 52 comment=5ad684b0efa2c22023fbd731b5ca77fd310c8ebe
mechanical-parts-5ad684b0efa2c22023fbd731b5ca77fd310c8ebe/ 0000775 0000000 0000000 00000000000 12536136620 0022207 5 ustar 00root root 0000000 0000000 mechanical-parts-5ad684b0efa2c22023fbd731b5ca77fd310c8ebe/LICENSE 0000664 0000000 0000000 00000001466 12536136620 0023223 0 ustar 00root root 0000000 0000000 Copyright (C) 2015 Elphel, Inc.
License: CERN OHL v.1.1 or GNU FDL v.1.3
This documentation describes Open Hardware and is licensed under the
CERN OHL v. 1.1. You may redistribute and modify this documentation
under the terms of the CERN OHL v.1.1. (http://ohwr.org/cernohl). This
documentation is distributed WITHOUT ANY EXPRESS OR IMPLIED WARRANTY,
INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS FOR A
PARTICULAR PURPOSE. Please see the CERN OHL v.1.1 for applicable
conditions
OR
Permission is granted to copy, distribute and/or modify the documents
under the terms of the GNU Free Documentation License, Version 1.3
(http://www.gnu.org/copyleft/fdl.html) or any later version published
by the Free Software Foundation; with
no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
mechanical-parts-5ad684b0efa2c22023fbd731b5ca77fd310c8ebe/README.md 0000664 0000000 0000000 00000002666 12536136620 0023500 0 ustar 00root root 0000000 0000000 # Mechanical Parts
Mechanical CAD files
#Work
* When a part is ready for manufacturing manually save it to production/ in the following formats:
* \*.stp - STEP
* \*.igs - IGES
* \*.dxf - DXF
* \*.dwb - DWB
* \*.pdf - 2D drawing
* \*.bmp - some view/screenshot from the CAD program
NOTE: DO NOT ADD THESE FILES TO REPOSITORY
* On git push a hook will upload files to the server
* The pattern for publishing on [wiki.elphel.com]:
> === PARTNUMBER - DESCRIPTION ===
> SOME OR NO INFO
> {{Cad4a\|PARTNUMBER}}
> \-\-\-\-
#Setup
##pre-push hook
###about
* Archive all \*.stp, \*.igs, \*.dxf, \*.dwb
* Add info to the meta header of all \*.pdf
* Crop all \*.bmp and convert them into jpeg.
* Back up all of the files into production/uploaded/ to prevent repeating the above actions
* Upload results to a file server ([community.elphel.com])
The hook runs at every git push even if there are no changes
###enable
* Copy githooks/pre-push into .git/hooks/
* Edit .git/hooks/pre-push - set remote_dir to a proper one.
* If the private ssh key name is not default, add -e to rsync line:
> rsync -e 'ssh -i /home/user/.ssh/key' -a -f '- /*/' . $remote_dir
* Make .git/hooks/pre-push executable
[community.elphel.com]:http://community.elphel.com/files/production/
[wiki.elphel.com]:http://wiki.elphel.com