Commit Graph

757 Commits (fe5e199b79dd02e312d8f001d7faf6adb2dc9fe9)

Author SHA1 Message Date
Marius Kintel fe5e199b79 Revert "Output LWPOLYLINE objects instead of LINE for DXF export. Patch submitted by Lars Kruse"
This reverts commit 060a6c654d.
The reason is that the output DXF won't import in a number of applications due to a malformed DXF (AutoCAD, Solidworks). The correct fix is probably to use a DXF library to generate a correct DXF. This is only a case for more recent (R14+) versions of DXF, e.g. to be able to use the LWPOLYLINE entity.
2011-06-05 19:41:47 +02:00
Marius Kintel fef3210b24 more TODOs 2011-06-05 17:41:09 +02:00
Marius Kintel 33a660f173 Removed offset since it's always 0 2011-06-05 17:40:53 +02:00
Marius Kintel ef2eb6c441 Merge branch 'master' of github.com:openscad/openscad 2011-06-05 17:18:36 +02:00
Giles Bathgate 82b1216ad2 Restores rotation of cylinder to that of previous versions of openscad.
Fix for changes done in commit 8c95ac4462
2011-06-04 11:35:32 +01:00
Marius Kintel ab52524936 Non-affine matrix issue reported by Len Trigg 2011-05-19 11:47:24 +02:00
Marius Kintel 9ca6f0dedf minkowski() and hull() tests from Len 2011-04-28 17:35:28 -04:00
Marius Kintel eb16c3ea56 reset version to using date-tag 2011-04-28 10:58:19 -04:00
Marius Kintel 6b14e9a169 Minor adjustments 2011-04-28 09:53:58 -04:00
Marius Kintel 45e80489f8 Updated version to 2011.04 2011-04-26 20:58:37 -04:00
Marius Kintel 1f51e279d8 bugfix: 64-bit build of gmp was broken under Leopard, bumped to mpfr 3.0.1 2011-04-19 04:54:56 +02:00
Marius Kintel 5247962554 Added some notes/ideas on visual debugging inspired by Stuart Young 2011-04-18 13:07:54 +02:00
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