This means that you cannot claim original authorship of these files or the intellectual capital that they contain. Neither can you apply a copyright or conditions that would imply that others are not free to use the original files or the intellectual capital that they contain.
If you wish to retain ownership of changes that you make to the supplied files or of files that you add into POV-Stairs you should explicitly identify your contribution within the files. You are authorised to use images that are generated using these files and you are not required to give any credit to the original author for the contribution that the POV-Stairs files made to your work, although it is generally polite to do so where practicable.
POV-Stairs also includes HTML documentation describing the utility and its use. This documentation, the CSS (Cascading Style Sheets) and the JS (Javascript) files have also been written with the intention of making them freely available for future re-use in original or modified form. The original author retains copyright over the original work, but grants you a license to re-use the work in original or modified form. That license permits you to use the POV-Stairs documentation files for recreational or commercial purposes, with or without credit being given to the author, provided that such re-use does not in any way prevent anybody else from using or modifying the original work and re-using the original work or the original work with their own modifications.
When you include the StairCase.inc file in your POV-Ray scene file it declares a number of objects, sets a number of variables and defines a couple of macros. The objects are the default components that will be used to create a staircase when you invoke the StairCase macro. When you invoke the StairCase macro it checks for the existence of various object definitions, texture definitions and control settings and sets default values for any variables it does not find. This includes default object definitions for any objects that you have not explicitly defined.
At each of the positions that you specify in the SCPostPositions array, the macro 'logically' positions a newel post. Based upon the newel post positions and the width of the stairs specified in the SCStairWidth variable it then add stairs and a banister rail on the opposite side of those stairs.
If more than two newel post positions are specified, the macro will repeat the process, creating the corresponding flights of stairs (2 flights for 3 newel posts, 3 flights for 4 newel posts). To fill any gaps between these flights of stairs the macro defines a prism object to represent a landing, calculating a shape based upon the three newel posts that define the ends of the two flights of stairs. If the angle between the two flights of stairs is above the threshold specified in the SCLandingThreshold variable then it adds a fourth newel post to help the landing to turn the corner.
Additional bannister rails are added around the edge of the landing.
Updating this documentation is best accomplished using a standard text editor, taking care to respect the standards used. For example, the header level 2 tags are usually included in the table of contents (defined in the 'scdoc.js' file). The section numbers are generated as the contents of an 'A' tag, therefore the 'A' tag used to give a name to the heading should be empty, because any contents will be overwritten when the page loads and the section number is written into the tag.
The graphics for this document are all defined in the 'StairCaseDoc.pov' scene file to facilitate their regeneration. This scene file contains a scene for each image wrapped by an '#if () #end' statement. The following example shows the SDL for generating the image of the default newel post:
The 'ImageNumber' variable is declared at the top of the file and can either be specified as a particular number to regenerate a single image: