Commit Graph

1264 Commits (31592577d3ce36c3651b7158c871e13d59fa0f1c)

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 d24b3cc84d Ported recent changes to master into the visitor branch 2011-04-12 20:35:44 +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 d3c9e3ad84 Whoops accidentally removed the code that initialised the colors array. 2011-04-09 07:14:04 +01:00
Giles Bathgate a262be69f7 A bit of encapsulation can't hurt. 2011-04-09 06:59:23 +01:00
Giles Bathgate ae8cda73a8 Removed the remaining crud. 2011-04-09 06:47:24 +01:00
Giles Bathgate 1d510e0870 Removed a huge whitespace preceeding a lines of code. 2011-04-09 06:46:22 +01:00
Giles Bathgate e02eb751b1 Move setColor into Polyhedron class which is a much more sensible place. 2011-04-09 06:42:00 +01:00
Giles Bathgate 2ddbc3f1bc Format the code nicely using astyle. 2011-04-09 06:33:47 +01:00
Giles Bathgate 40d7f26628 Remove all the crud from CGAL_Renderer.h, and subclass of the differences. 2011-04-09 06:30:25 +01:00
Giles Bathgate 6d315b5921 Lightweight refactoring of OGL_helper to make it extensible. 2011-04-09 06:28:12 +01:00
Giles Bathgate 2066a440d0 Restored the original OGL_helper.h from CGAL. 2011-04-09 05:51:58 +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