Commit Graph

93 Commits

Author SHA1 Message Date
Chris Palmer 03a0c2fe98 Fixed typo. 2021-02-20 20:13:36 +00:00
Chris Palmer 7c2df8d36d The pose module can now specify the camera distance supressing viewall and
autocentre.
2021-02-20 19:28:52 +00:00
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 f573a91a09 Removed redundant rounded_rectangle center = false. 2021-02-08 09:41:07 +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
Chris Palmer c9e9942070 Fixed some paths that used NopSCADlib instead of .. 2021-01-23 21:15:00 +00:00
Chris Palmer 6b2f8d282b Updated readme and images. 2021-01-18 12:52:41 +00:00
Martin Budden bd2ea3f284 Added a rectangular tube. 2021-01-17 16:34:09 +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 16c1eeef27 Documented circle_tangent() and simplified it. 2021-01-06 10:54:21 +00:00
Chris Palmer 4cac382581 Single backtick now used for all code quotes. 2020-12-24 16:04:59 +00:00
Chris Palmer 15b3b3a8c2 Merge branch 'rounded_right_triangle' of https://github.com/martinbudden/NopSCADlib into martinbudden-rounded_right_triangle 2020-12-22 12:39:17 +00:00
Martin Budden 782deccf6b Simplified dogbone rectangles. 2020-12-22 10:34:45 +00:00
Martin Budden 69da4c1c23 Added offset parameters to dogbone_square. 2020-12-22 10:09:43 +00:00
Martin Budden dad2bccbaa Added a rounded right triangle. 2020-12-22 00:02:00 +00:00
Martin Budden 0a00f244e4 Added dogbones with circles offset in x and y directions. 2020-12-21 23:28:39 +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 cbd3cf29af Fixed rounding error in hangin_hole assert. 2020-12-16 19:27:03 +00:00
Chris Palmer f18044915d Fixed nan length for rounded_polygon with zero radius corners. 2020-11-30 21:52:42 +00:00
Chris Palmer 2eecce819c Removed comment about sweep path restriction that is no longer relevant. 2020-11-29 10:22:49 +00:00
Martin Budden 25dceee20a Made hflip and vflip conditional. 2020-11-20 08:46:17 +00:00
Martin Budden 1810160103 Added carbon fiber tubing with woven pattern. 2020-11-13 09:35:56 +00:00
Chris Palmer 34b58e3b64 Added convexity parameter to sweep. 2020-11-04 22:27:31 +00:00
Chris Palmer df43fe7dc6 Added list and string slicing. 2020-11-04 21:44:07 +00:00
Chris Palmer 1658f6f0b4 Sweep can now cope with the start having colinear points. 2020-11-04 19:56:51 +00:00
Chris Palmer 479207fd4f Spelling 2020-11-04 10:52:57 +00:00
Chris Palmer 3ee55981f9 Comment spelling. 2020-10-05 12:02:54 +01:00
Chris Palmer 8c2b4a20fe Added tesrdrop_minus() and horicylinder(). 2020-10-05 10:59:50 +01:00
Chris Palmer 90e7f1a315 Added circle_intersect() calculation to maths.scad. 2020-10-04 22:01:08 +01:00
Chris Palmer 933fea687c Removed debug code 2020-09-20 09:07:01 +01:00
Chris Palmer a7803b1efb Improved numerical accuarcy of catenary calculations. 2020-09-19 23:52:57 +01:00
Chris Palmer 1255e71271 Added catenary curves. 2020-09-19 12:11:54 +01:00
Chris Palmer b11c5914b3 Added hyperbolic maths functions 2020-09-15 20:58:39 +01: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 699385342f quadrant can now have different height and width if passed a vector. 2020-08-22 14:27:01 +01:00
Chris Palmer 547a418cea Hanging hole now works when the hole has only four sides. 2020-08-22 13:52:25 +01:00
Chris Palmer fb41f218fe Added involute_gear_od() function. 2020-07-28 21:24:01 +01:00