mirror of
https://github.com/DJSundog/NopSCADlib.git
synced 2024-11-27 09:10:02 -05:00
Added light_strip_clip_wall().
This commit is contained in:
parent
f412cb1736
commit
60659a43f8
@ -1554,9 +1554,10 @@ The `light_strip_clip()` module makes a clip to go around the light that can be
|
|||||||
| Function | Description |
|
| Function | Description |
|
||||||
|:--- |:--- |
|
|:--- |:--- |
|
||||||
| ```light_strip_clip_depth(light)``` | Depth of the clip |
|
| ```light_strip_clip_depth(light)``` | Depth of the clip |
|
||||||
| ```light_strip_clip_length(light)``` | Outside length |
|
| ```light_strip_clip_length(light)``` | Outside length of clip |
|
||||||
| ```light_strip_clip_slot(light)``` | Clip slot size |
|
| ```light_strip_clip_slot(light)``` | Clip slot size |
|
||||||
| ```light_strip_clip_width(light)``` | Outside width |
|
| ```light_strip_clip_wall()``` | Clip wall thickness |
|
||||||
|
| ```light_strip_clip_width(light)``` | Outside width of clip |
|
||||||
| ```light_strip_cut_length(type, segs)``` | Calculate cut length given segments |
|
| ```light_strip_cut_length(type, segs)``` | Calculate cut length given segments |
|
||||||
| ```light_strip_segments(type, max_length)``` | Calculate the maximum number of segments that fit in max_length |
|
| ```light_strip_segments(type, max_length)``` | Calculate the maximum number of segments that fit in max_length |
|
||||||
|
|
||||||
|
@ -137,7 +137,6 @@ module light_strip(type, segs = undef) { //! Draw specified light strip, segs ca
|
|||||||
linear_extrude(0.55 + eps)
|
linear_extrude(0.55 + eps)
|
||||||
resistor_positions()
|
resistor_positions()
|
||||||
square([2.1, 1.5 + 2 * eps], center = true);
|
square([2.1, 1.5 + 2 * eps], center = true);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(show_rays)
|
if(show_rays)
|
||||||
@ -148,8 +147,9 @@ wall = 1.8;
|
|||||||
clearance = 0.2;
|
clearance = 0.2;
|
||||||
function light_strip_clip_slot(light) = light_strip_width(light) + clearance; //! Clip slot size
|
function light_strip_clip_slot(light) = light_strip_width(light) + clearance; //! Clip slot size
|
||||||
function light_strip_clip_depth(light) = 10; //! Depth of the clip
|
function light_strip_clip_depth(light) = 10; //! Depth of the clip
|
||||||
function light_strip_clip_length(light) = light_strip_clip_slot(light) + 2 * wall; //! Outside length
|
function light_strip_clip_length(light) = light_strip_clip_slot(light) + 2 * wall; //! Outside length of clip
|
||||||
function light_strip_clip_width(light) = light_strip_depth(light) + 2 * wall; //! Outside width
|
function light_strip_clip_width(light) = light_strip_depth(light) + 2 * wall; //! Outside width of clip
|
||||||
|
function light_strip_clip_wall() = wall; //! Clip wall thickness
|
||||||
|
|
||||||
module light_strip_clip(light) { //! Make a clip to go over the strip to be incorporated into a bracket
|
module light_strip_clip(light) { //! Make a clip to go over the strip to be incorporated into a bracket
|
||||||
linear_extrude(light_strip_clip_depth(light), convexity = 2)
|
linear_extrude(light_strip_clip_depth(light), convexity = 2)
|
||||||
|
Loading…
Reference in New Issue
Block a user