Example:
make NAME=lcdframe D=0.8 TOP=front BOTTOM=back new
- solidify/Makefile (new, run, pov, disp): test run targets can now be
configured by setting make variables on the command line
- solidify/main.pov: renamed to template.pov and changed all occurrences of
"batcvr" to "NAME"
- solidify/Makefile: generate main.pov from template.pov
- solidify/povray.c (povray_face), solidify/project.c (read_face_data): x
inclination of the z0 plane was reversed in POV-Ray output and in the
project file
- solidify/Makefile: use povray +P, to keep showing the image when done
- solidify/main.pov: moved lower light source from x- to x+ and lowered it a
bit more
- solidify/main.pov: doubled the intensity of the ambient light
- solidify/main.pov: rotate the part in xy and add a thin red plane to help
with assessing the accuracy of z0 inclination (the top of the battery
cover turned out to be very difficult to get right with solidify alone)
- solidify/main.pov: added a third view of the part
- solidify/level.c (xz, draw_xz, motion_notify_event, level): show a
projection on a xz plane at the cursor position
- solidify/level.c (zy, draw_zy, motion_notify_event, level): show a
projection on a zy plane at the cursor position
- solidify/project.h (struct project), solidify/project.c (make_project,
load_project, save_project): allow project descriptions to begin with
any numer of comment lines and preserve them across sessions
- solidify/face.h (struct face), solidify/face.c (read_file): keep the mesh's
maximum Z size in sz, similar to sx and sy
- solidify/povray.c (povray_face): use f->sz insead of calculating it
main.pov
- solidify/povray.c (povray_face): added inclination of the z0 plane
- solidify/povray.c (povray_face): added overlap transform (rotation and
shift)
- solidify/povray.c (povray_face): added comments to all the POV-Ray
commands
- solidify/batcvr.sfy: battery cover example (almost looks good)
- solidify/main.pov: added second light source slightly below the xy plane
- solidify/main.pov: use "object" instead of "union" to place the part
- solidify/main.pov: make material less transparent (50% -> 20%)
- solidify/main.pov: added second battery cover, showing edge and bottom
- solidify/overlap.c (merge_matrix): don't shrink the offset vector
- solidify/project.c (read_face_data): the value to assign to f->z_ref
needs rounding or truncation will go wrong from time to time