![]() |
omdl
v1.0
OpenSCAD Mechanical Design Library
|
Conditional version of base transformations. More...
Collaboration diagram for Base cs:Files | |
| file | base_cs.scad |
| Conditional version of base transformations. | |
Functions and/or Modules | |
| module | hull_cs (c=true, s) |
| Conditionally apply the convex hull transformation. More... | |
| module | minkowski_cs (c=true, s, convexity) |
| Conditionally apply the minkowski sum transformation. More... | |
| module | union_cs (c=true, s) |
| Conditionally apply the union boolean operation. More... | |
| module | difference_cs (c=true, s) |
| Conditionally apply the difference boolean operation. More... | |
| module | intersection_cs (c=true, s) |
| Conditionally apply the difference intersection operation. More... | |
Conditional version of base transformations.
| Requires: |
|---|
| include <omdl-base.scad>; |
| include <transforms/base_cs.scad>; |
| module hull_cs | ( | c | = true, |
| s | |||
| ) |
Conditionally apply the convex hull transformation.
| c | <boolean> conditional. |
| s | <integer | integer-list | range> child object selection(s). |
When c is true, apply the transformation to the children objects, otherwise return the children unmodified. When a child object selection is specified, only the selected children are returned irrespective of c.
Definition at line 168 of file base_cs.scad.
Here is the call graph for this function:
Here is the caller graph for this function:| module minkowski_cs | ( | c | = true, |
| s | , | ||
| convexity | |||
| ) |
Conditionally apply the minkowski sum transformation.
| c | <boolean> conditional. |
| s | <integer | integer-list | range> child object selection(s). |
| convexity | <integer> The maximum number of front sides (or back sides) a ray intersection the object might penetrate.. |
When c is true, apply the transformation to the children objects, otherwise return the children unmodified. When a child object selection is specified, only the selected children are returned irrespective of c.
Definition at line 199 of file base_cs.scad.
Here is the call graph for this function:| module union_cs | ( | c | = true, |
| s | |||
| ) |
Conditionally apply the union boolean operation.
| c | <boolean> conditional. |
| s | <integer | integer-list | range> child object selection(s). |
When c is true, apply the operation on the children objects, otherwise return the children unmodified. When a child object selection is specified, only the selected children are returned irrespective of c.
Definition at line 234 of file base_cs.scad.
Here is the call graph for this function:
Here is the caller graph for this function:| module difference_cs | ( | c | = true, |
| s | |||
| ) |
Conditionally apply the difference boolean operation.
| c | <boolean> conditional. |
| s | <integer | integer-list | range> child object selection(s). |
When c is true, apply the operation on the children objects, otherwise return the children unmodified. When a child object selection is specified, only the selected children are returned irrespective of c.
Definition at line 263 of file base_cs.scad.
Here is the call graph for this function:
Here is the caller graph for this function:| module intersection_cs | ( | c | = true, |
| s | |||
| ) |
Conditionally apply the difference intersection operation.
| c | <boolean> conditional. |
| s | <integer | integer-list | range> child object selection(s). |
When c is true, apply the operation on the children objects, otherwise return the children unmodified. When a child object selection is specified, only the selected children are returned irrespective of c.
Definition at line 293 of file base_cs.scad.
Here is the call graph for this function:
Here is the caller graph for this function: