![]() |
omdl
v0.9.7
OpenSCAD Mechanical Design Library
|
Conditional transformations and operations. More...
Collaboration diagram for Conditional Operations:Files | |
| file | operation_cs.scad |
| Conditional version of standard transformations and operations. | |
Functions | |
| 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 transformations and operations.
| Requires: |
|---|
| include <omdl-base.scad>; |
| include <tools/operation_cs.scad>; |
| 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 operation_cs.scad.
Here is the call graph for this function:
Here is the caller graph for this function:| 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 operation_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 operation_cs.scad.
Here is the call 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 operation_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 operation_cs.scad.
Here is the call graph for this function:
Here is the caller graph for this function: