1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-12 10:23:58 +02:00

Updated images and readme.

This commit is contained in:
Chris Palmer
2025-02-22 12:17:07 +00:00
parent 0b8ad93dc5
commit 862357279a
4 changed files with 19 additions and 14 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1018 KiB

After

Width:  |  Height:  |  Size: 1018 KiB

View File

@@ -7220,9 +7220,9 @@ allows flexible positioning of the motors.
### Modules ### Modules
| Module | Description | | Module | Description |
|:--- |:--- | |:--- |:--- |
| `coreXY(type, size, pos, separation, x_gap = 0, plain_idler_offset = [0, 0], upper_drive_pulley_offset = [0, 0], lower_drive_pulley_offset = [0, 0], show_pulleys = false, left_lower = false)` | Wrapper module to draw both belts of a coreXY setup | | `coreXY(type, size, pos, separation, x_gap = 0, plain_idler_offset = [0, 0], upper_drive_pulley_offset = [0, 0], lower_drive_pulley_offset = [0, 0], show_pulleys = false, left_lower = false, motor_back = false)` | Wrapper module to draw both belts of a coreXY setup |
| `coreXY_belts(type, carriagePosition, coreXYPosBL, coreXYPosTR, separation, x_gap = 0, plain_idler_offset = [0, 0], upper_drive_pulley_offset = [0, 0], lower_drive_pulley_offset = [0, 0], show_pulleys = false, left_lower = false)` | Draw the coreXY belts | | `coreXY_belts(type, carriagePosition, coreXYPosBL, coreXYPosTR, separation, x_gap = 0, plain_idler_offset = [0, 0], upper_drive_pulley_offset = [0, 0], lower_drive_pulley_offset = [0, 0], show_pulleys = false, left_lower = false)` | Draw the coreXY belts |
| `coreXY_half(type, size, pos, separation_y = 0, x_gap = 0, plain_idler_offset = [0, 0], drive_pulley_offset = [0, 0], show_pulleys = false, lower_belt = false, hflip = false)` | Draw one belt of a coreXY setup | | `coreXY_half(type, size, pos, separation_y = 0, x_gap = 0, plain_idler_offset = [0, 0], drive_pulley_offset = [0, 0], show_pulleys = false, lower_belt = false, hflip = false, motor_back = false)` | Draw one belt of a coreXY setup |
![core_xy](tests/png/core_xy.png) ![core_xy](tests/png/core_xy.png)
@@ -7231,12 +7231,15 @@ allows flexible positioning of the motors.
| ---:|:--- |:---| | ---:|:--- |:---|
| 1 | `belt(GT2x6, [ ... ])` | Belt GT2 x 6mm x 728mm | | 1 | `belt(GT2x6, [ ... ])` | Belt GT2 x 6mm x 728mm |
| 1 | `belt(GT2x6, [ ... ])` | Belt GT2 x 6mm x 790mm | | 1 | `belt(GT2x6, [ ... ])` | Belt GT2 x 6mm x 790mm |
| 7 | `pulley(GT2x16_toothed_idler)` | Pulley GT2 idler 16 teeth | | 1 | `belt(GT2x6, [ ... ])` | Belt GT2 x 6mm x 826mm |
| 3 | `pulley(GT2x16_plain_idler)` | Pulley GT2 idler smooth 9.63mm | | 1 | `belt(GT2x6, [ ... ])` | Belt GT2 x 6mm x 826mm |
| 2 | `pulley(GT2x20ob_pulley)` | Pulley GT2OB 20 teeth | | 2 | `belt(GT2x6, [ ... ])` | Belt GT2 x 6mm x 836mm |
| 15 | `pulley(GT2x16_toothed_idler)` | Pulley GT2 idler 16 teeth |
| 15 | `pulley(GT2x16_plain_idler)` | Pulley GT2 idler smooth 9.63mm |
| 6 | `pulley(GT2x20ob_pulley)` | Pulley GT2OB 20 teeth |
| 8 | `screw(M3_cap_screw, 20)` | Screw M3 cap x 20mm | | 8 | `screw(M3_cap_screw, 20)` | Screw M3 cap x 20mm |
| 4 | `screw(M3_grub_screw, 6)` | Screw M3 grub x 6mm | | 12 | `screw(M3_grub_screw, 6)` | Screw M3 grub x 6mm |
| 2 | `NEMA(NEMA17_40)` | Stepper motor NEMA17 x 40mm (5x20 shaft) | | 6 | `NEMA(NEMA17_40)` | Stepper motor NEMA17 x 40mm (5x20 shaft) |
<a href="#top">Top</a> <a href="#top">Top</a>

View File

@@ -136,10 +136,10 @@ module coreXY_motor_in_back_test1() {
size = [200,200]; size = [200,200];
pos = [100,100]; pos = [100,100];
separation = [20,5,10]; separation = [20,5,10];
coreXY(coreXY_GT2_20_16, size, pos, separation, x_gap = 0, plain_idler_offset = [0, 0], upper_drive_pulley_offset = [0, 0], lower_drive_pulley_offset = [0, 0], show_pulleys = true, left_lower = false, motor_back = true); coreXY(coreXY_GT2_20_16, size, pos, separation, x_gap = 0, plain_idler_offset = [0, 0], upper_drive_pulley_offset = [0, 0], lower_drive_pulley_offset = [0, 0], show_pulleys = true, left_lower = false, motor_back = true);
rotate([180,0,0]) rotate([180,0,0])
translate ( translate (
[ separation.x/2 [ separation.x/2
@@ -159,16 +159,16 @@ module coreXY_motor_in_back_test2() {
separation = [0,5,10]; separation = [0,5,10];
upper_drive_pulley_offset = [20, 5]; upper_drive_pulley_offset = [20, 5];
lower_drive_pulley_offset = [20, 5]; lower_drive_pulley_offset = [20, 5];
coreXY(coreXY_GT2_20_16, size, pos, separation, x_gap = 0, plain_idler_offset = [20, 0], upper_drive_pulley_offset, lower_drive_pulley_offset, show_pulleys = true, left_lower = false, motor_back = true); coreXY(coreXY_GT2_20_16, size, pos, separation, x_gap = 0, plain_idler_offset = [20, 0], upper_drive_pulley_offset, lower_drive_pulley_offset, show_pulleys = true, left_lower = false, motor_back = true);
translate ( translate (
[ size.x - separation.x/2 - lower_drive_pulley_offset.x [ size.x - separation.x/2 - lower_drive_pulley_offset.x
, lower_drive_pulley_offset.y , lower_drive_pulley_offset.y
, -separation.z/2 - 15 ]) , -separation.z/2 - 15 ])
NEMA(NEMA17_40); NEMA(NEMA17_40);
translate ( translate (
[ separation.x/2 + upper_drive_pulley_offset.x [ separation.x/2 + upper_drive_pulley_offset.x
, upper_drive_pulley_offset.y , upper_drive_pulley_offset.y
@@ -177,10 +177,12 @@ module coreXY_motor_in_back_test2() {
} }
if ($preview) if ($preview) {
coreXY_belts_test(); coreXY_belts_test();
translate ([-250, 0,0]) translate ([-250, 0,0])
coreXY_motor_in_back_test1(); coreXY_motor_in_back_test1();
translate ([-250, -250,0]) translate ([-250, -250,0])
coreXY_motor_in_back_test2(); coreXY_motor_in_back_test2();
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 KiB

After

Width:  |  Height:  |  Size: 187 KiB