Thank you Michael.
So much to learn, and play with.
Will have to look into the (XML/XSLT to HTML). (someday :-)
I did a test file, RevolveAndMirrorTest_API_DM, with the first 19 lines of the API, then a style section with your tr:nth-child(odd), and ...(even), then the revolve doc, then the mirror doc.
I changed all of the many API (tr...odd and tr ... even to just greater than, tr, less than.
The code can be saved to an .html, and viewed with the Edge browser, which shows a pretty good match with the stock API. Some () are colored black.
code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="index, follow, noodp" name="robots"/>
<meta content="Moment of Inspiration Javascript Documentation" name="description"/>
<meta content="Moment of Inspiration, MoI, 3d, nurbs, modeling" name="keywords"/>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>
<title>Moment of Inspiration Javascript Documentation</title>
<link media="screen" type="text/css" href="moi.css" rel="stylesheet">
<script type="text/javascript" src="jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="moi.js"></script>
</head>
<body>
<div id="content">
<a name="toc"></a>
<h1>Moment of Inspiration Javascript Documentation
<a href="#help"><img id="htoggle" src="images/help.png" width="34" height="17"></a>
</h1>
<style>
tr:nth-child(odd) {
background-color: #F0F0F0;
}
tr:nth-child(even) {
background-color: #E0E0E0;
}
</style>
<a name="_revolve">
<h2><a href="#gftoc">revolve</a> ( <a href="#_GeometryFactory">GeometryFactory</a> )</h2>
<div>
<p>
<table>
<tr>
<td class="caption" colspan="3"><b>Inputs</b></td>
</tr>
<tr class="title">
<td width="30">Index</td>
<td width="250">Name</td>
<td>Type</td>
</tr>
<tr>
<td>0</td>
<td>Objects</td>
<td><a href="#_ObjectList">ObjectList</a></td>
</tr>
<tr>
<td>1</td>
<td>Axis start</td>
<td><a href="#_Point">Point</a></td>
</tr>
<tr>
<td>2</td>
<td>Axis end</td>
<td><a href="#_Point">Point</a></td>
</tr>
<tr>
<td>3</td>
<td>Angle</td>
<td>float</td>
</tr>
<tr>
<td>4</td>
<td>Cap ends</td>
<td>boolean</td>
</tr>
</tr>
</table>
</p>
</div>
<a name="_mirror">
<h2><a href="#gftoc">mirror</a> ( <a href="#_GeometryFactory">GeometryFactory</a> )</h2>
<div>
<p>
<table>
<tr>
<td class="caption" colspan="3"><b>Inputs</b></td>
</tr>
<tr class="title">
<td width="30">Index</td>
<td width="250">Name</td>
<td>Type</td>
</tr>
<tr>
<td>0</td>
<td>Objects</td>
<td><a href="#_ObjectList">ObjectList</a></td>
</tr>
<tr>
<td>1</td>
<td>Base pt</td>
<td><a href="#_CoordinateFrame">CoordinateFrame</a></td>
</tr>
<tr>
<td>2</td>
<td>End pt</td>
<td><a href="#_Point">Point</a></td>
</tr>
<tr>
<td>3</td>
<td>Delete inputs</td>
<td>boolean</td>
</tr>
</tr>
</table>
</p>
</div>
- Brian
|