Chris Palmer
2d091b9d16
Added a constructor function for PCBs.
...
PCB text can now specify a colour.
Added SOT23_6, TSOT23_8 and CAP1210 SMD packages.
Added ESP-201 Wifi Module PCB.
Added ESP12F Wifi module.
Added tiny_buck converter PCB.
Made 2p54joiner a bit longer.
Fixed SOIC gullwing shape.
Added Wifi antennas.
Added Yunpen filtered IEC mains inlet.
Added power jack socket.
Added right angle option for LEDs.
Added gear_motors.
Added 686ZZ and 696ZZ ball bearings.
Added two larger box section tubes.
Added right angle option to square_buttons. Doesn't draw the frame yet.
Added multiwatt11 package for L6203.
Added ONS9143A 13A mains socket.
Added radial electrolytic capacitors.
Added LDE10_20B PSU module.
Added screw_tearsink() to make horizontal countersunk holes.
Can now have solid tracks on veroboard.
Added veroboard_base() module to make an STL for a base with spacers.
Corrected M6 spring washer thickness.
Can now specify the height of a solder meniscus.
slot() now has a center option.
Added button_6mm_7 with a taller button.
Added default fa, fs and fn constants used for drawing vitamins.
These can be set via $default_fa and $default_fs that can also be set
by environment variables: NOPSCADLIB_DEFAULT_FA and NOPSCADLIB_DEFAULT_FS.
2023-10-29 21:56:08 +00:00
Chris
74293b6c22
Added axial diodes, radial transistors, discs and modules.
...
Verboard and perboard components get solder menisci added automatically.
Radial leads now made by bezier curves rather than straights and arcs.
2023-07-28 10:39:07 +01:00
Chris
09d2ffb126
Typo in comment fixed.
2023-07-22 19:32:42 +01:00
Chris Palmer
1c5d9a8ef5
Removed utility functions used by invert() from documentation as not generally useful.
2023-03-29 13:21:26 +01:00
Chris Palmer
3f84912e55
Added rounded_top_rectangle().
2023-02-01 01:27:01 +00:00
Chris
cec8c3a107
Added printed LED bezels.
2023-01-07 10:49:45 +00:00
Chris
0f36c02b5e
Added layer_height0 global variable and updated round_to_layer() to handle it.
...
Moved functions from global_defs.scad to global.scad so they get documented.
2022-09-25 18:22:29 +01:00
Martin Budden
aec72118fa
Fixed typos.
2022-06-22 06:02:36 +01:00
Chris Palmer
28c36a4e96
rounded_polygon() now copes with the degenrate case when tangents intersect to form a sharp corner with no arc.
...
Added an offset() function with some limitations.
2022-06-21 12:29:57 +01:00
Chris Palmer
3cc3c52b54
Merge branch 'typos' of https://github.com/martinbudden/NopSCADlib into martinbudden-typos
2022-06-21 10:37:27 +01:00
Martin Budden
bcf9fb38df
Fixed typos.
2022-06-21 06:54:08 +01:00
Chris Palmer
18f3d43780
Added convexity parameter to clip().
2022-06-14 15:13:21 +01:00
Chris Palmer
2d20fb130a
Removed dead code in spiral_paths().
2022-03-01 08:12:30 +00:00
Chris Palmer
f173284709
Can now inhibit exploded lines for issue #220 .
2022-02-23 23:52:25 +00:00
Chris Palmer
42fccc1afb
Added bezier_join().
...
Moved path_length() from sweep.scad to maths.scad.
2022-02-23 11:53:02 +00:00
Chris Palmer
7ea4dbe6cb
Fixed double application of r2sides() in rounded_path().
...
Added check for radius too big for corner in rounded_path().
Spiral paths can now have 0 twists.
2022-02-15 10:44:13 +00:00
Chris Palmer
1f55097bdd
Support for twisted cables.
...
Sweep now distbutes twists in proportion to segments lengths.
Added spiral_paths(), segmented_path() and rounded_path_vertices() functions.
Added show_path(path) module.
2022-02-08 19:08:10 +00:00
Chris Palmer
225ea9b451
Added rounded_path() function to sweep.scad.
2022-02-06 23:44:23 +00:00
Chris Palmer
e696dc4718
Fixed stupid bug in euler().
2022-02-01 23:24:14 +00:00
Chris Palmer
608f0b2db0
Simplified teardrop top length calculation.
2021-12-14 21:22:29 +00:00
Chris Palmer
7f8dfb9e73
Merge branch 'teardrop_angle' of https://github.com/martinbudden/NopSCADlib into martinbudden-teardrop_angle
2021-12-14 20:50:39 +00:00
Martin Budden
cec790ec09
Fixed y-carriage plain pulley and test.
2021-12-12 10:32:18 +00:00
Martin Budden
8682d0a470
Allow configuration of teardrop angle.
2021-12-11 09:34:49 +00:00
Martin Budden
e71db80093
Improvements to core_xy
...
1. Better default parameters
2. Changed plain_idler_offset to work in x and y, to facilitate larger idler pulleys
2021-11-27 15:07:36 +00:00
Chris Palmer
f5d0bfb6c8
Fixed drill center parameter in poly_drill().
2021-10-24 13:33:51 +01:00
Chris Palmer
2ba2c2c115
Removed some unused dependencies.
2021-10-01 12:32:01 +01:00
Chris Palmer
9b5ec6af1a
Fixed new rounded_polygon to work with last OpenSCAD release.
...
Trainling commas in let().
2021-09-27 17:16:36 +01:00
Chris Palmer
4993c3e82d
Module blurb parenthesis parsing is now greedy to handle args that default to function calls.
...
This means that library modules cannot be one liners.
2021-09-27 16:17:08 +01:00
Chris Palmer
30db66034c
Rounded_polygons are now generated by a function returning a point list.
...
The module version simply passes this to polygon.
The arcs now sections of a circle4n() rather than a circle().
2021-09-26 10:54:01 +01:00
Chris Palmer
91c8c7bf4d
cnc_bit_r is now set to zero in stl(), so holes are suitable for 3D printing rather than routing.
2021-09-16 22:14:30 +01:00
Chris Palmer
f0c25d37b0
Workarounds for bugs in the OpenSCAD snapshots.
2021-09-12 18:02:43 +01:00
Chris Palmer
ef2102420b
Added NEMA8 and NEMA8BH stepper motors.
...
Steppers can now have dual shafts, hollow shafts and black end caps.
2021-08-31 22:43:37 +01:00
Chris Palmer
cf99418a19
Merge branch 'spelling_corrections' of https://github.com/martinbudden/NopSCADlib into martinbudden-spelling_corrections
2021-06-17 15:15:37 +01:00
Martin Budden
8d7c44b80d
Spelling corrections.
2021-06-15 10:01:32 +01:00
Martin Budden
dcfe4262c5
Fixed typos.
2021-06-11 20:39:01 +01:00
Chris Palmer
749a1f0648
Fixed male thread z-fighting bug.
2021-06-02 16:05:51 +01:00
Chris Palmer
5c898df217
More readable code in rounded_polygon.
2021-06-01 09:53:46 +01:00
Chris Palmer
b09efb10e0
Merge branch 'bldc_motors' of https://github.com/martinbudden/NopSCADlib into martinbudden-bldc_motors
2021-05-31 16:25:23 +01:00
Martin Budden
1e6d7f5dd6
Brushless DC motors.
2021-05-30 18:55:32 +01:00
Martin Budden
ec07d95657
Added assertion to check colour format in module thread.
2021-05-30 16:00:13 +01:00
Chris Palmer
11ebe2225d
Removed spurious convexity in difference from rounded_polygon().
2021-05-18 23:14:34 +01:00
Martin Budden
9c1a9bf357
Add facility to orient core_xy with left motor being lower or upper motor.
2021-04-25 17:56:24 +01:00
Chris Palmer
b2d712bca9
Added quadratic_real_roots() and cubic_real_roots().
2021-04-02 19:30:38 +01:00
Chris Palmer
f3376edaf1
Documented xor() function.
2021-04-02 19:28:49 +01:00
Chris Palmer
9ded315801
Removed the belt gap options and changed the tests to use open loops instead.
...
Note previous belt lengths were incorrect with negative turns.
Fixed spelling typos.
_belt_length() no longer needs belt type.
Uptated images and readme.
2021-03-14 18:53:37 +00:00
SmoothieAq
d2c795f5f5
fix nan angle (hopefully)
2021-03-14 14:18:05 +01:00
SmoothieAq
573c50774b
changes after review
2021-03-14 12:48:14 +01:00
SmoothieAq
240334784d
Extension to belt.scad
...
Can now:
- render open loops
- twist the belt
- use pulleys instead of radius in the points list
Fixes some precision a few places
Breaking change in belt_length(); now requires a type argument
2021-03-11 13:40:17 +01:00
Chris Palmer
e46e6b6e5b
Fixed markdown numbered points in core_xy.
2021-03-08 22:57:00 +00:00
Chris Palmer
94cb50f725
Merge branch 'rounded_triangle_rename' of https://github.com/martinbudden/NopSCADlib into martinbudden-rounded_triangle_rename
2021-03-06 20:17:00 +00:00