Commit Graph

745 Commits (6839bc42ebd9ef27aa3f5fd5eb56b30f6081ce41)

Author SHA1 Message Date
Marius Kintel 6839bc42eb package mpfr and gmp with binaries - thanks Giles 2011-04-13 20:20:53 +02:00
Marius Kintel 8c95ac4462 Changed circle calculation to match sphere tessellation; makes example022 look better 2011-04-13 14:30:55 +02:00
Marius Kintel 95c2fdcabf Merge branch 'master' into sphere-cyl 2011-04-12 22:44:26 +02:00
Marius Kintel c8dd96b76f Must specify both long and short options 2011-04-12 22:37:49 +02:00
Marius Kintel 0545f0ef81 Run some tests 2011-04-12 22:37:36 +02:00
Marius Kintel df5b742169 bugfix: Pass short options to boost program_options 2011-04-12 21:51:45 +02:00
Marius Kintel 4853111f82 Added bug 2011-04-12 20:43:57 +02:00
Marius Kintel 1754a970a7 Merge branch 'master' of github.com:openscad/openscad 2011-04-12 17:51:45 +02:00
Marius Kintel a3cfe9e6d7 Added note about 2D only for hull() 2011-04-12 17:48:57 +02:00
Marius Kintel 46c3ef4ed4 Added hull() and 2D minkowski 2011-04-11 01:52:26 +02:00
Marius Kintel b6e9179e48 misc. fixes: Now supports hull() in OpenCSG mode, dump supports hull(), convexity not needed for hull() 2011-04-11 01:51:16 +02:00
Marius Kintel 3fbadddeac Added warning about missing 3D version of hull() 2011-04-11 01:48:09 +02:00
Marius Kintel 06cc8b1d58 indentation 2011-04-11 01:47:06 +02:00
Giles Bathgate 6cce430eed Merge branch 'master' into convex-hull
Conflicts:
	src/cgaladv_minkowski2.cc
2011-04-11 00:18:17 +01:00
Marius Kintel 0c1b1f4e22 Removed excessive debug output 2011-04-10 17:41:54 +02:00
Marius Kintel 5739d33cd5 Bugfix: Handling of input-file was not working 2011-04-10 17:41:32 +02:00
Giles Bathgate cdc4574a9c Updated test, you no longer need to union the ojects passed to hull. 2011-04-10 10:10:42 +01:00
Giles Bathgate ded6d3b1b4 Convex hull now works properly with multiple children that do not neccecerily need to be touching. 2011-04-09 20:27:08 +01:00
Giles Bathgate 5d5c745fde Slight improvement. You no longer need an arbitary shape in the script for it to work.
See changes in testdata/scad/convex_hull.scad The square(2) was never
rendered it was just there because the hull is calculated when it
itterates onto the second child. I also removed the unneeded parameter.
2011-04-09 17:53:19 +01:00
Giles Bathgate 5ef540054c Added test script for convex hull. 2011-04-09 17:52:12 +01:00
Giles Bathgate 9cc441025c Basic implementation of convex hull for 2d polyhedra.
The code was provided to me by Len Trigg via email.
2011-04-09 10:27:50 +01:00
Giles Bathgate 18a11b5c3c Merge branch 'minkowski2' into convex-hull 2011-04-09 08:55:04 +01:00
Len Trigg fe5d735964 2d Minkowski mostly working
When the 2d minkowski was enabled the nef2p2 was bailing out too early.

I added a simple p2nef2 based on what projection.cc was doing, and
applied it to the outer_boundary of the polygon_with_holes_2. It now
seems to work for simple scad code such as:

minkowski() {
        translate([25,0,0])  square(20);
    circle(r=3);
}
2011-04-09 07:42:10 +01:00
Giles Bathgate 9aa7b94459 WIP adding support for convex hull operations. 2011-04-08 22:19:06 +01:00
Marius Kintel c9093c0ad5 Merge remote branch 'gitorious/sphere-cylinder-optimisation' into sphere-cyl 2011-04-08 00:43:08 +02:00
Marius Kintel 7b3a8a990f sync 2011-04-08 00:40:15 +02:00
Marius Kintel 496cc66cf2 Bugfix: Clamp and to 0.01 to fix a crash 2011-04-08 00:36:13 +02:00
Giles Bathgate 9d94eaddc8 Fixed for when rings <= 0. 2011-04-07 23:34:57 +01:00
Marius Kintel 53d0b59470 bugfix: no bounds checking on program_options in non-MDI mode 2011-04-07 00:51:29 +02:00
Marius Kintel 36e970bc79 forgot install name of boost_program_options 2011-04-06 18:05:42 +02:00
Marius Kintel fffb399fa4 Merge branch 'master' into windows 2011-04-06 17:18:59 +02:00
Marius Kintel d0f2d5ead9 gdb: use our own libraries 2011-04-06 17:18:34 +02:00
Marius Kintel 4a00f2ddb2 bugfix: check size of program options before indexing 2011-04-06 17:18:09 +02:00
Marius Kintel 69a9311faf Readded -lmpfr for Unix 2011-04-06 17:17:12 +02:00
Marius Kintel b59ec0cbac gcc compile fix 2011-04-06 15:27:51 +02:00
Marius Kintel 9103d2235c Updated to latest version of 3rd party libs 2011-04-06 15:16:59 +02:00
Marius Kintel 4ed0748e3a Update from upstream 2011-04-06 15:16:35 +02:00
Marius Kintel 4ebf146769 Some wishes from Adrian 2011-04-06 15:16:06 +02:00
Marius Kintel 3c77e2a8b6 Small steps towards making this buildable on VS2008 2011-04-06 15:04:08 +02:00
unknown 32abad175d Windows compile fix 2011-04-06 15:01:49 +02:00
Giles Bathgate 9357469cce Optimised sphere generation.
Simply use the same number of fragments for each ring, and use
half the number of fragments to determine the number of rings
This results in a sphere that has the same projection when
viewed from above or from the front.
2011-03-22 20:38:48 +00:00
Giles Bathgate 5eed043d53 Optimised cylinder generation.
When the sides are vertical we can use 4 sided polygons instead of
triangles to define the sides, this reduces the facet count for the
sides of the cylinder by half.
2011-03-22 19:50:59 +00:00
Marius Kintel 07ec4e43b8 clarify boolean wishes 2011-02-05 17:06:34 +01:00
Marius Kintel 420c36603b suggestions for constants 2011-02-04 14:07:22 +01:00
meta 9f1c837e15 update build files 2011-01-25 00:21:36 +01:00
meta 4ac3af2f92 compile fixes for parser and lexer under MSVC 2011-01-24 23:58:19 +01:00
Marius Kintel 26879007ae filenames are case sensitive on some filesystems 2011-01-22 18:14:30 +01:00
meta 18a303ac5b change C99 vla to heap allocated array 2011-01-22 02:22:17 +01:00
meta 46f8a1508c convert from getopt to boost::program_options 2011-01-22 02:02:45 +01:00
Marius Kintel 76af8c45ef Initial version of release checklist 2011-01-22 01:28:01 +01:00