Commit Graph

47 Commits

Author SHA1 Message Date
Chris Palmer 2b3908b6fd Merge branch 'polyholes' of https://github.com/martinbudden/NopSCADlib into martinbudden-polyholes 2021-02-11 09:11:42 +00:00
Chris Palmer ca153c971d Fixed platters and panels not working in the GUI, a regression.
set_config() now puts $cwd in target.scad.
use_stl() and use_dxf() included again instead of used.
2021-02-10 10:17:03 +00:00
Martin Budden 0199587907 Allow poly_shapes to collapse to non-poly form. 2021-02-10 08:29:15 +00:00
Chris Palmer d75aff2ccd rounded_retangle() centre now defaults to false. 2021-02-08 09:24:00 +00:00
Chris Palmer 1915dae034 Merge branch 'rounded_cubes' of https://github.com/martinbudden/NopSCADlib into martinbudden-rounded_cubes 2021-02-07 22:17:22 +00:00
Martin Budden c4fe1d1098 Added assertion to check r value. Used extrud_if. 2021-02-07 07:29:02 +00:00
Chris Palmer 5bac2bf46d stl() and dxf() can now have the code to make the STL or DXF as a child.
This allows them to be replaced by the STL or DXF when making assembly views.

use_dxf() and use_stl() make use of $cwd and $target, so can be in bom.scad
and be documented.

Corrected the spelling of widget in BOM test.
2021-02-06 15:23:10 +00:00
Chris Palmer 36521cf0b9 Set ngb parameter of assembly() to remove it from the global BOM and merge
its parts into it parent's global BOM column.
2021-02-03 06:21:17 +00:00
Martin Budden 22b7aa956c Renamed rounded_rectangle_* to rounded_cube_*. 2021-02-02 17:32:44 +00:00
Martin Budden 1a2e04367d Added option to chamfer only one end of a teardrop. 2021-01-09 12:59:01 +00:00
Chris Palmer 4cac382581 Single backtick now used for all code quotes. 2020-12-24 16:04:59 +00:00
Chris Palmer 0261362794 Merge branch 'render_if' of https://github.com/martinbudden/NopSCADlib into martinbudden-render_if 2020-12-20 17:25:39 +00:00
Chris Palmer 77ffdcb1ac Merge branch 'rounded_rectangle_xyz' of https://github.com/martinbudden/NopSCADlib into martinbudden-rounded_rectangle_xyz 2020-12-20 16:50:51 +00:00
Chris Palmer 6ab4bad97a Polyhole no longer adds an extra twist when layers is small. 2020-12-20 10:37:41 +00:00
Martin Budden 14c6219733 Added rounded_rectangles in the XZ and YZ planes. 2020-12-20 09:16:40 +00:00
Martin Budden b21b7b9de0 Added render_if module. 2020-12-20 08:53:42 +00:00
Chris Palmer 73d814d2fe poly_cylinder() now has a twist parameter. 2020-12-18 09:22:39 +00:00
Martin Budden 25dceee20a Made hflip and vflip conditional. 2020-11-20 08:46:17 +00:00
Chris Palmer df43fe7dc6 Added list and string slicing. 2020-11-04 21:44:07 +00:00
Chris Palmer 479207fd4f Spelling 2020-11-04 10:52:57 +00:00
Chris Palmer 6b0132c32e Added chamfer option to poly_cylinder(). 2020-09-11 12:36:37 +01:00
Chris Palmer 04f2499a9e Moved no_point(str) from belt.scad to global.scad 2020-09-06 11:51:33 +01:00
Chris Palmer cb4fa40643 Reimplemented teardrop_plus() again. 2020-07-20 16:55:55 +01:00
Chris Palmer 6a26903514 Added blog links for horiholes. 2020-07-18 23:53:15 +01:00
Chris Palmer d08d949887 Corrected teardrop_plus() shape to be an accurate compensation for slicer
staircasing and added a plus option to tearslot(), etc.

Added horiholes.scad to depict staircase holes.
2020-07-18 19:28:26 +01:00
Chris Palmer 1f1a360b7c Mods to allow panels and platters to be target specific or not. 2020-06-21 12:53:14 +01:00
Chris Palmer bb7dd51270 Added poly_drill() and used it for LED and trimpot cutouts.
Uses drill if cnc_bit_r is non-zero else poly_cylinder.
2020-04-23 23:13:10 +01:00
Chris Palmer 48293b9abd Poly_ring now can have specified number of sides. 2020-04-23 10:52:34 +01:00
Chris Palmer 52011fd6f7 Renders of dxfs now use the sheet colour. 2020-04-07 22:07:28 +01:00
Chris Palmer 147ff9b24f Added alpha parameter to stl_colour() 2020-04-07 17:02:10 +01:00
Chris Palmer 7e0c5fdb6e Renders of STLs are now the correct colour. Fixes #71 2020-04-05 16:18:24 +01:00
Chris Palmer bc4e18d788 The assembly module now has a big parameter to force large or small views. 2020-04-04 12:06:14 +01:00
Chris Palmer e8abcde52f Removed the height parameter from linear_extrude 2020-03-29 20:18:57 +01:00
Chris Palmer ab592e049c Screws.scad is now included in core.scad, so doesn't need to be included
anywhere else. utils/core/core.scad is the old version without fasteners to
be used internally in the library.
2020-02-29 17:52:36 +00:00
Martin Budden 7a6210f442 Add optional chamfer to teardrops. Defaults to no chamfer. 2020-02-25 07:46:57 +00:00
Chris Palmer d703ae4997 Added male screw threads. 2020-01-10 10:26:12 +00:00
Chris Palmer 8583f5472d Would help to include the code! 2019-07-29 20:43:03 +01:00
Chris Palmer b4cc6f6c37 Added semi_teardrop.
mouse_grommets now teardropped.
2019-07-19 11:10:44 +01:00
Chris Palmer 6238f82bf0 Added poly_tube(), an extruded poly_ring().
Added missing hinge image.
2019-07-19 11:03:26 +01:00
Chris Palmer 886319a6e4 Added pose_vflip() and pose_hflip() to make posing assembly views easier. 2019-07-19 10:37:10 +01:00
Chris Palmer e386ce7927 Added more imperial and metric units as requested. 2019-06-27 11:10:37 +01:00
Chris Palmer 757e88ed0c Fixed bugs in poly_ring() and insert_boss().
IEC screw length fixed at 10 if inserts used.
2019-06-16 17:07:02 +01:00
Chris Palmer 7eaace0194 Added degree symbols 2019-06-15 08:43:42 +01:00
Chris Palmer 7c9c6805f7 Typo 2019-06-15 08:18:33 +01:00
Chris Palmer 4a55e8eb6c Added hflip(). 2019-06-14 21:38:12 +01:00
Chris Palmer 85e1985f1a Restored explode lines to yellow.
Now keeps track of STL bounds and uses them to force a large assembly view when large.
2019-06-11 12:38:00 +01:00
Chris Palmer 34a9b0e87b Added source code 2019-06-08 22:10:47 +01:00