1
0
mirror of git://projects.qi-hardware.com/ben-scans.git synced 2024-11-25 21:09:42 +02:00
ben-scans/web/index.sh
Werner Almesberger a339d67968 Work around the problem of not being able to just put index.html into Qi, and
have the brower interpret it as HTML when browsing the repository through the
Web interface: generate a test.html by default, with local paths, and generate
the real index.html, with remote URLs, when uploading.

- web/style.sh: only set BASE if not set already in the environment
- web/Makefile: added test.html target and made it the default
- web/index.sh: ben-dispbase-back-100um is running now, switch to "in progress"
- web/index.sh: switched 100 um ben-bottom-nobat scan from "under
  consideration" to "planned". In fact, it's the next in line.
2010-08-04 22:23:57 -03:00

148 lines
4.3 KiB
Bash
Executable File

#!/bin/sh
. ./style.sh
cat <<EOF
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<TITLE>Ben NanoNote Case Scans</TITLE>
<BODY>
<H1>Ben NanoNote Case Scans</H1>
There are the following categories of scans:
<UL>
<LI> <A href="#assemblies">Assemblies</A> of multiple case parts, such
as the whole device or one part mounted on another.
<LI> Individual case <A href="#parts">parts</A>.
<LI> High-resolution scans of some <A href="#details">details</A>.
May be replaced in the future by scans of the entire area.
<LI> <A href="#drafts">Draft</A> scans that have some anomalies, e.g.,
areas occluded by other components, and will be redone later.
</UL>
Scans are stored in the following file formats:
PIJ, the binary and proprietary format of Dr.PICZA3 project files,
AutoCAD <A href="http://en.wikipedia.org/wiki/AutoCAD_DXF">DXF</A>,
<A href="http://en.wikipedia.org/wiki/STL_(file_format)">STL</A>,
and the point cloud with comma-separated values.<
PIJ is the native format of the software used to make the scans. STL can
be read by many programs, including
<A href="http://code.google.com/p/heekscad/">HeeksCAD</A> and
<A href="http://meshlab.sourceforge.net/">MeshLab</A>.<P>
High resolution scans can produce a large amount of data.
If a file is 1 MB or bigger, its size is indicated.
EOF
# -----------------------------------------------------------------------------
section assemblies "Assemblies of multiple parts"
scan_set ben-bottom "Complete device. Bottom up."
images3
texts3 "1.5 h" "10 h" "53 h"
scan_set ben-bottom-nobat "Battery and cover removed. Bottom up."
images2
planned
texts3 "4 h" "11.5 h" "53 h"
scan_set ben-top "Complete device. From the top."
planned
planned
under_consideration
texts3 "2 h" "10 h" "53 h"
scan_set ben-lcm-asmbly "LCD module on PCB. Display side."
images3
texts3 "1 h" "3 h" "34 h"
# -----------------------------------------------------------------------------
section parts "Individual parts"
scan_set ben-kbd-top "Keyboard. From the top. Left-to-right scan."
explain_set <<EOF
Note: the soft rubber sheet underneath the keyboard was sometimes bent
by the scanner's needle, leaving what appears to be a ragged edge.
EOF
images3
texts3 "1 h" "5 h" "34 h"
scan_set ben-batcvr-outside "Battery cover. Outside."
images3
texts3 "1.5 h" "3 h" "20 h"
scan_set ben-batcvr-inside "Battery cover. Inside."
images3
texts3 "1.5 h" "5 h" "33.5 h"
scan_set ben-pcb-comp "Main PCB. Component side."
images2
texts2 "2.5 h" "8.5 h"
scan_set ben-dispbase-front "Display shell, base structure. Front side."
explain_set <<EOF
Note: the solvent used to remove the adhesive tape attacked the plastic,
leaving some small dents and deformations.
EOF
images3
texts3 "4 h" "12 h" "58 h"
scan_set ben-dispbase-back "Display shell, base structure. Back side."
images2
in_progress
texts3 "1 h" "3.75 h" "50 h"
# -----------------------------------------------------------------------------
section details "Detail magnifications"
scan_group
scan_bar
scan_bar
scan_bar
scan_hdr "Main PCB. Rear of speaker."
scan_hdr "Main PCB. Crystals. Component side."
scan_hdr "Main PCB. Buzzer. Component side."
scan_img ben-spkr-rear-100um
scan_img ben-xtal-comp-100um
scan_img ben-buzz-comp-100um
scan_text ben-spkr-rear-100um "5.5 h"
scan_text ben-xtal-comp-100um "1.5 h"
scan_text ben-buzz-comp-100um "6.75 h"
scan_group
scan_bar
scan_bar
scan_hdr "Bottom shell with PCB. Front of speaker."
scan_hdr "Bottom shell with PCB. Central support."
scan_img ben-spkr-front-100um
scan_img ben-pcb-central-support-100um
scan_text ben-spkr-front-100um "11.5 h" \
"Note: I added a 1 mm wedge between the<BR>speaker and the hinge to hold the PCB down."
scan_text ben-pcb-central-support-100um "0.25 h"
# -----------------------------------------------------------------------------
section drafts "Drafts, for later rescan"
scan_set ben-bottom-inside "Bottom shell without battery cover. Inside."
explain_set <<EOF
Note: the arrow in the battery area is from the support structure.<BR>
These scans were made with the display shell attached and therefore don't
show the hinge correctly.
EOF
images2
texts2 "4 h" "14 h"
scan_set ben-bottom-pcb "Bottom shell plus PCB. Keyboard side."
explain_set <<EOF
These scans were made with the display shell attached and therefore don't
show the hinge correctly.
EOF
images2
texts2 "4 h" "11 h"
end