pete
/
psc
1
0
Fork 0
master
Pete Ley 3 months ago
parent 61caa4168e
commit 1595857b86

@ -1,6 +1,6 @@
(set-file-docstring "Function for modeling 3d guardrails")
(psc-include '("3d/3d-model.lsp" "rail/guard-rail.lsp"))
(psc-include '("3D/3d-model.lsp" "rail/guard-rail.lsp"))
(defun-q draw-3d_guard (dat ins / blk def 3d-p)
"Creates a 3d block of a guardrail via passed xdata and insert"

@ -19,11 +19,6 @@
<tbody>
<tr>
<td class="funcsig"><a href="3D-3d-stair.html#3dg-def">(<span class="funcname">3dg-def</span> side t/b)</a></td>
<td>generates guard def based on passed side and t/b</td>
</tr>
<tr>
<td class="funcsig"><a href="3D-3d-stair.html#3dr-add">(<span class="funcname">3dr-add</span> name def)</a></td>
<td>Creates a 3d block of a stair rail or wall rail based on passed rail definition</td>
@ -39,25 +34,11 @@
<td>Creates a 3d block of a stair via passed xdata and insert</td>
</tr>
<tr>
<td class="funcsig"><a href="3D-3d-stair.html#draw-gbtwn">(<span class="funcname">draw-gbtwn</span>)</a></td>
<td>Creates a 3d block of a guard between stairs based on xdata and insert of stair block</td>
</tr>
</tbody>
</table>
<section>
<h3 id="3dg-def" class="funcsig">(<span class="funcname">3dg-def</span> side t/b)</h3>
<pre class="fulldoc">generates guard def based on passed side and t/b
VARS:
(SIDE STR (MEMBER SIDE '("i" "o")))
(T/B STR (MEMBER T/B '("bot" "top")))</pre>
</section>
<section>
<h3 id="3dr-add" class="funcsig">(<span class="funcname">3dr-add</span> name def)</h3>
<pre class="fulldoc">Creates a 3d block of a stair rail or wall rail based on passed rail definition
@ -85,13 +66,6 @@ VARS:
(INS LIST (POINT-P INS))</pre>
</section>
<section>
<h3 id="draw-gbtwn" class="funcsig">(<span class="funcname">draw-gbtwn</span>)</h3>
<pre class="fulldoc">Creates a 3d block of a guard between stairs based on xdata and insert of stair block
WITH-DATA</pre>
</section>
</div>
</body>

@ -55,7 +55,7 @@
</tr>
<tr>
<td class="funcsig"><a href="embed-dialog.html#multi-embed-dialog">(<span class="funcname">multi-embed-dialog</span> dat)</a></td>
<td class="funcsig"><a href="embed-dialog.html#multi-embed-dialog">(<span class="funcname">multi-embed-dialog</span>)</a></td>
<td>Embed dialog functions for batch editing</td>
</tr>
@ -110,7 +110,7 @@
</section>
<section>
<h3 id="multi-embed-dialog" class="funcsig">(<span class="funcname">multi-embed-dialog</span> dat)</h3>
<h3 id="multi-embed-dialog" class="funcsig">(<span class="funcname">multi-embed-dialog</span>)</h3>
<pre class="fulldoc">Embed dialog functions for batch editing</pre>
</section>

@ -102,7 +102,7 @@ VARS:
<h3 id="fab-stringer--add-detail" class="funcsig">(<span class="funcname">fab-stringer--add-detail</span> blkins side mark)</h3>
<pre class="fulldoc">Adds a single stringer detail for SIDE at BLKINS
Adds material to STRINGER-MATERIAL an cap material to CAPS
Adds material to STRINGER-MATERIAL and cap material to CAPS
VARS:
(BLKINS LIST)

File diff suppressed because one or more lines are too long

@ -118,6 +118,11 @@
<td>Utility functions for landings</td>
</tr>
<tr>
<td><a href="./rail-guard-rail.html">rail/guard-rail.lsp</a></td>
<td></td>
</tr>
<tr>
<td><a href="./rail-rail-section.html">rail/rail-section.lsp</a></td>
<td>Functions for creating a rail section</td>
@ -193,11 +198,6 @@
<td>Functions related to basic math</td>
</tr>
<tr>
<td><a href="./util-bug.html">util/bug.lsp</a></td>
<td>Support functions for BUGREPORT and FEATUREREQ</td>
</tr>
<tr>
<td><a href="./util-comparison.html">util/comparison.lsp</a></td>
<td>Functions related to comparisons</td>
@ -436,13 +436,6 @@
<tr>
<td class="funcsig"><a href="3D-3d-stair.html#3dg-def">(<span class="funcname">3dg-def</span> side t/b)</a></td>
<td>generates guard def based on passed side and t/b</td>
</tr>
<tr>
<td class="funcsig"><a href="3D-3d-stair.html#3dr-add">(<span class="funcname">3dr-add</span> name def)</a></td>
<td>Creates a 3d block of a stair rail or wall rail based on passed rail definition</td>
@ -562,6 +555,13 @@
<tr>
<td class="funcsig"><a href="util-object.html#add-cope">(<span class="funcname">add-cope</span> vtx vec)</a></td>
<td>Called from <a href="util-object.html#add-calcd-pipe">add-calcd-pipe</a> when a cope definition is included in the points list.</td>
</tr>
<tr>
<td class="funcsig"><a href="shapes-decking.html#add-decking">(<span class="funcname">add-decking</span> add-to pt1 pt2)</a></td>
<td>adds decking to passed container between two passed points</td>
@ -908,20 +908,6 @@
<tr>
<td class="funcsig"><a href="util-bug.html#bug-get-title">(<span class="funcname">bug-get-title</span> prompt)</a></td>
<td>Gets the title of a bug report from the user, refusing nil, and calls <a href="util-string.html#escape-url">escape-url</a> on it</td>
</tr>
<tr>
<td class="funcsig"><a href="util-bug.html#bug-open-email-template">(<span class="funcname">bug-open-email-template</span> subject body)</a></td>
<td>Opens an email template in Outlook, addressed to Gitlab ticket system</td>
</tr>
<tr>
<td class="funcsig"><a href="fab-handrail-return.html#calc-aa-or-ah-return">(<span class="funcname">calc-aa-or-ah-return</span> s1 s2 aa-p)</a></td>
<td>Common function for calculating returns with a rotation</td>
@ -1106,6 +1092,13 @@
<tr>
<td class="funcsig"><a href="rail-util.html#calc-stair-rail-opcl">(<span class="funcname">calc-stair-rail-opcl</span> side)</a></td>
<td>Returns the outer post centerline length of a stair rail</td>
</tr>
@ -1669,13 +1662,6 @@
<tr>
<td class="funcsig"><a href="3D-3d-stair.html#draw-gbtwn">(<span class="funcname">draw-gbtwn</span>)</a></td>
<td>Creates a 3d block of a guard between stairs based on xdata and insert of stair block</td>
</tr>
<tr>
<td class="funcsig"><a href="land-land_supp.html#draw-land-support">(<span class="funcname">draw-land-support</span> view)</a></td>
<td>Add landing support objects to a block container</td>
@ -2016,13 +2002,6 @@
<tr>
<td class="funcsig"><a href="rail-util.html#gen-guard-btw-data">(<span class="funcname">gen-guard-btw-data</span>)</a></td>
<td>generates generic xdata for guard between stairs</td>
</tr>
<tr>
<td class="funcsig"><a href="stair-details.html#get-bot-kick-dist">(<span class="funcname">get-bot-kick-dist</span>)</a></td>
<td>Returns the bottom kick distance</td>
@ -2156,6 +2135,13 @@
<tr>
<td class="funcsig"><a href="rail-util.html#guard-con-read">(<span class="funcname">guard-con-read</span> str)</a></td>
<td>Returns intiger from guard connection string by stripping X</td>
</tr>
<tr>
<td class="funcsig"><a href="land-land_supp.html#h-rod-con">(<span class="funcname">h-rod-con</span> con ins rad lng cht tcn cfg)</a></td>
<td>Adds hanger rod connection to container</td>
@ -2652,12 +2638,19 @@
<tr>
<td class="funcsig"><a href="embed-dialog.html#multi-embed-dialog">(<span class="funcname">multi-embed-dialog</span> dat)</a></td>
<td class="funcsig"><a href="embed-dialog.html#multi-embed-dialog">(<span class="funcname">multi-embed-dialog</span>)</a></td>
<td>Embed dialog functions for batch editing</td>
</tr>
<tr>
<td class="funcsig"><a href="rail-guard-rail.html#multi-guard">(<span class="funcname">multi-guard</span> delta)</a></td>
<td>Passes data from multiple guards to single-guard process</td>
</tr>
<tr>
<td class="funcsig"><a href="embed-dialog.html#multi-tog">(<span class="funcname">multi-tog</span> key val)</a></td>
<td>Toggle handling for multi edit dialog</td>
@ -3295,6 +3288,13 @@
<tr>
<td class="funcsig"><a href="rail-guard-rail.html#single-guard">(<span class="funcname">single-guard</span>)</a></td>
<td>Processes to draw single guard</td>
</tr>
<tr>
<td class="funcsig"><a href="util-list.html#slice">(<span class="funcname">slice</span> lst start len)</a></td>
<td>Return a slice from LST of length LEN starting at START</td>

@ -0,0 +1,50 @@
<!doctype html>
<html>
<head>
<title>rail/guard-rail.lsp | PSC Code Manual</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1><a href="./index.html">PSC Code Manual</a></h1>
<div id="content">
<h2>rail/guard-rail.lsp <a href="../../rail/guard-rail.lsp">[src]</a></h2>
<pre class="fulldoc"></pre>
<table>
<thead>
<h3>Functions</h3>
<th>Function signature</th>
<th>Description</th>
</thead>
<tbody>
<tr>
<td class="funcsig"><a href="rail-guard-rail.html#multi-guard">(<span class="funcname">multi-guard</span> delta)</a></td>
<td>Passes data from multiple guards to single-guard process</td>
</tr>
<tr>
<td class="funcsig"><a href="rail-guard-rail.html#single-guard">(<span class="funcname">single-guard</span>)</a></td>
<td>Processes to draw single guard</td>
</tr>
</tbody>
</table>
<section>
<h3 id="multi-guard" class="funcsig">(<span class="funcname">multi-guard</span> delta)</h3>
<pre class="fulldoc">Passes data from multiple guards to single-guard process</pre>
</section>
<section>
<h3 id="single-guard" class="funcsig">(<span class="funcname">single-guard</span>)</h3>
<pre class="fulldoc">Processes to draw single guard</pre>
</section>
</div>
</body>
</html>

@ -19,6 +19,11 @@
<tbody>
<tr>
<td class="funcsig"><a href="rail-util.html#calc-stair-rail-opcl">(<span class="funcname">calc-stair-rail-opcl</span> side)</a></td>
<td>Returns the outer post centerline length of a stair rail</td>
</tr>
<tr>
<td class="funcsig"><a href="rail-util.html#g-fill">(<span class="funcname">g-fill</span> lst)</a></td>
<td>adds appropriate fill to rails created by topviewrails and dd-guard</td>
@ -30,8 +35,8 @@
</tr>
<tr>
<td class="funcsig"><a href="rail-util.html#gen-guard-btw-data">(<span class="funcname">gen-guard-btw-data</span>)</a></td>
<td>generates generic xdata for guard between stairs</td>
<td class="funcsig"><a href="rail-util.html#guard-con-read">(<span class="funcname">guard-con-read</span> str)</a></td>
<td>Returns intiger from guard connection string by stripping X</td>
</tr>
<tr>
@ -94,6 +99,13 @@
</table>
<section>
<h3 id="calc-stair-rail-opcl" class="funcsig">(<span class="funcname">calc-stair-rail-opcl</span> side)</h3>
<pre class="fulldoc">Returns the outer post centerline length of a stair rail
WITH-DATA</pre>
</section>
<section>
<h3 id="g-fill" class="funcsig">(<span class="funcname">g-fill</span> lst)</h3>
<pre class="fulldoc">adds appropriate fill to rails created by topviewrails and dd-guard</pre>
@ -105,10 +117,8 @@
</section>
<section>
<h3 id="gen-guard-btw-data" class="funcsig">(<span class="funcname">gen-guard-btw-data</span>)</h3>
<pre class="fulldoc">generates generic xdata for guard between stairs
WITH-DATA</pre>
<h3 id="guard-con-read" class="funcsig">(<span class="funcname">guard-con-read</span> str)</h3>
<pre class="fulldoc">Returns intiger from guard connection string by stripping X</pre>
</section>
<section>

@ -95,7 +95,7 @@
</tr>
<tr>
<td class="funcsig"><a href="stair-tread.html#calc-conc-lines--add-line-mid">(<span class="funcname">calc-conc-lines--add-line-mid</span> x1 x2-adj)</a></td>
<td class="funcsig"><a href="stair-tread.html#calc-conc-lines--add-line-mid">(<span class="funcname">calc-conc-lines--add-line-mid</span> x)</a></td>
<td>Adds a line to CONC-LINES</td>
</tr>
@ -350,14 +350,13 @@ WITH-DATA</pre>
</section>
<section>
<h3 id="calc-conc-lines--add-line-mid" class="funcsig">(<span class="funcname">calc-conc-lines--add-line-mid</span> x1 x2-adj)</h3>
<h3 id="calc-conc-lines--add-line-mid" class="funcsig">(<span class="funcname">calc-conc-lines--add-line-mid</span> x)</h3>
<pre class="fulldoc">Adds a line to CONC-LINES
x1 is relative to the nosing point. x2-adj is relative to x1+tread+kick
X is relative to the nosing point.
VARS:
(X1 REAL)
(X2-ADJ REAL)
(X REAL)
WITH-DATA</pre>
</section>

@ -221,7 +221,7 @@ flight, returns 0, indicating numbers are unnecessary.
WITH-DATA
VARS:
(LOC STR (MEMBER LOCATION '("ibot" "obot" "itop" "otop" "btwn")))</pre>
(LOC STR (MEMBER LOC '("ibot" "obot" "itop" "otop" "btwn")))</pre>
</section>

@ -34,6 +34,11 @@
<td>Adds a calculated polyline to CONTAINER</td>
</tr>
<tr>
<td class="funcsig"><a href="util-object.html#add-cope">(<span class="funcname">add-cope</span> vtx vec)</a></td>
<td>Called from <a href="util-object.html#add-calcd-pipe">add-calcd-pipe</a> when a cope definition is included in the points list.</td>
</tr>
<tr>
<td class="funcsig"><a href="util-object.html#mirror&delete">(<span class="funcname">mirror&delete</span> obj pt axis)</a></td>
<td>Mirrors OBJ over AXIS at PT, deletes the original, and returns the copy</td>
@ -103,6 +108,20 @@ polyline. If EXTRUDE-P is non-nil, the closed polyline is extruded by the value
"extrude" property.</pre>
</section>
<section>
<h3 id="add-cope" class="funcsig">(<span class="funcname">add-cope</span> vtx vec)</h3>
<pre class="fulldoc">Called from <a href="util-object.html#add-calcd-pipe">add-calcd-pipe</a> when a cope definition is included in the points list.
A cope definition is a two item list containing a point on the open polyline where
the centerlines of a coped connection would intersect and a vector representing the
direction the coped piece would extend from the intersection point.
When extrude-p is non-nil a short 3d cylinder is unioned to
the 3dsolid at each passed point representing a coped intersection
When extrude-p is nil two vertices and a bulge are added to
a polyline at each passed point representing a coped intersection</pre>
</section>
<section>
<h3 id="mirror&delete" class="funcsig">(<span class="funcname">mirror&delete</span> obj pt axis)</h3>
<pre class="fulldoc">Mirrors OBJ over AXIS at PT, deletes the original, and returns the copy

@ -5,7 +5,7 @@
<link rel="stylesheet" href="style.css" />
</head>
<body>
<h1><a href="user-manual.html">User Manual</a> - List of Commands (57)</h1>
<h1><a href="user-manual.html">User Manual</a> - List of Commands (55)</h1>
<div id="content">
<p>Commands with more than one line of documentation have the
full version included below.</p>
@ -36,11 +36,6 @@
<td>Generates rail return blocks from stair block selection</td>
</tr>
<tr>
<td>BUGREPORT</td>
<td>Opens a bug report email template in Outlook</td>
</tr>
<tr>
<td>CODEMANUAL</td>
<td>Opens the code manual in the default browser</td>
@ -48,7 +43,7 @@
<tr>
<td>DD-GUARD</td>
<td>Creates or edits a guard rail block</td>
<td>Creates or edits one or more guard rail blocks</td>
</tr>
<tr>
@ -136,11 +131,6 @@
<td>Creates a new drawing in the current folder from a built-in template</td>
</tr>
<tr>
<td>FEATUREREQ</td>
<td>Opens a feature request email template in Outlook</td>
</tr>
<tr>
<td><a href="#GUARDRAIL">GUARDRAIL</a></td>
<td>Draws a basic 2D guardrail frame</td>
@ -447,7 +437,6 @@ already built in to the template.</pre>
<section>
<h3 id="GUARDRAIL">GUARDRAIL</h3>
<pre class="fulldoc">Draws a basic 2D guardrail frame
This is a placeholder command</pre>
</section>

File diff suppressed because one or more lines are too long

@ -1,3 +1,5 @@
(set-file-docstring "")
;;; functions to draw guard rails
(psc-include
'( "shapes/line.lsp"

Loading…
Cancel
Save