Update Readme.md
This commit is contained in:
parent
c7a0fb7b2d
commit
07aff71e1e
76
Readme.md
76
Readme.md
@ -1,38 +1,38 @@
|
|||||||
# Metalib
|
# Metalib
|
||||||
|
|
||||||
Libraries for Metal makers
|
Libraries for Metal makers
|
||||||
|
|
||||||
|
|
||||||
## Miter tubes module
|
## Miter tubes module
|
||||||
|
|
||||||
|
|
||||||
This module generates a sequence of mitered tubes based on the provided section lengths, with options for customizing their dimensions and unfolding their arrangement.
|
This module generates a sequence of mitered tubes based on the provided section lengths, with options for customizing their dimensions and unfolding their arrangement.
|
||||||
|
|
||||||
Parameters:
|
Parameters:
|
||||||
- `sections` (array): An array of section lengths, each specifying the length of an individual tube.
|
- `sections` (array): An array of section lengths, each specifying the length of an individual tube.
|
||||||
Example: `[10, 20, 30]` will create three tubes of lengths 10, 20, and 30 units respectively.
|
Example: `[10, 20, 30]` will create three tubes of lengths 10, 20, and 30 units respectively.
|
||||||
|
|
||||||
- `height` (number): The height of each tube. This value defines the dimension perpendicular
|
- `height` (number): The height of each tube. This value defines the dimension perpendicular
|
||||||
to the tube's length and depth.
|
to the tube's length and depth.
|
||||||
|
|
||||||
- `depth` (number): The depth of each tube. This value defines the dimension perpendicular
|
- `depth` (number): The depth of each tube. This value defines the dimension perpendicular
|
||||||
to the tube's length and height.
|
to the tube's length and height.
|
||||||
|
|
||||||
- `unfold` (boolean, optional): Determines whether the sequence of tubes should be unfolded
|
- `unfold` (boolean, optional): Determines whether the sequence of tubes should be unfolded
|
||||||
for easier visualization or fabrication. When `true`, the tubes are laid out in a flat arrangement.
|
for easier visualization or fabrication. When `true`, the tubes are laid out in a flat arrangement.
|
||||||
Defaults to `false`.
|
Defaults to `false`.
|
||||||
|
|
||||||
As an example let's create metalon arch :
|
As an example let's create metalon arch :
|
||||||
```python
|
```python
|
||||||
include <BOSL2/std.scad>;
|
include <BOSL2/std.scad>;
|
||||||
include <Metalib/metalib.scad>;
|
include <Metalib/metalib.scad>;
|
||||||
|
|
||||||
yrot(-90)
|
yrot(-90)
|
||||||
miter_tubes([400,500,400],30,20,start=false,end=false);
|
miter_tubes([400,500,400],30,20,start=false,end=false);
|
||||||
``
|
```
|
||||||
|
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user