Commit Graph

3901 Commits (71f6abda24fb040a877ff667fe10a3a0f7f711f4)

Author SHA1 Message Date
Oskar Linde 4f5882566c Editor: Implemented simple Find functionality
Conflicts:
	src/MainWindow.h
2014-02-06 00:46:06 -05:00
Marius Kintel 55192e46a4 Backported 2e3729ab22 to master; redo assemblePath for Win. redo openscad.com to handle spaces in filenames 2014-02-06 00:44:03 -05:00
Marius Kintel 3787049f5a Merge pull request #638 from OskarLinde/hull_speedup
Speed up 3d convex hull()
2014-02-05 23:54:13 -05:00
Marius Kintel 92017ded7a Merge pull request #637 from OskarLinde/projection_bug
Projection bug
2014-02-05 23:42:31 -05:00
Marius Kintel daf5a169dc Refactored Nef_nary_union optimization 2014-02-05 23:27:04 -05:00
Marius Kintel ca510bdb1a Merge branch 'unstable' into OskarLinde-nary_union_speedup 2014-02-05 19:39:38 -05:00
Oskar Linde 2e6196761a Performance: Speed up CGAL n-ary union
By utilizing CGAL::Nef_nary_union_3, n-ary union of many objects becomes significantly
faster (more than twice as fast in a test of 20 objects).

A further optimization potential lies in sorting the unioned objects based on proximity.
2014-02-05 17:31:35 +01:00
Oskar Linde b7d9abd4f7 Speed up 3d convex hull()
Speed up hull() significantly by removing duplicate points prior to calling CGAL::convex_hull_3.
Most computation now lies in converting the resulting CGAL::Polyhedron -> CGAL::Nef_polyhedron_3.
Also, enables convex hulls to be computed on non-manifold geometry.
2014-02-05 14:23:24 +01:00
Oskar Linde 4a0896d349 Bugfix: projection(cut=true) generated polygon holes with incorrect winding order 2014-02-05 14:08:22 +01:00
Oskar Linde 013d2722da Test: verify winding order of holes with projection(cut=true) 2014-02-05 14:08:22 +01:00
Marius Kintel 34333941d3 Merge branch 'master' into unstable 2014-02-05 01:08:44 -05:00
Marius Kintel 57e2ecd7b5 ifdef Qt5 method 2014-02-05 01:01:51 -05:00
Marius Kintel 2315524505 Scale axis display on high-DPI displays 2014-02-05 00:54:39 -05:00
Marius Kintel 0f3de6ca8a Qt5: Ported Q_WS usage to Q_OS 2014-02-05 00:27:05 -05:00
Marius Kintel cf1fa4b57b Moved % modifier handling from node to nodedumper. This makes nodes with % operators use the existing cache instead of recalculating the object 2014-02-04 23:49:10 -05:00
Marius Kintel 8cece20ced minor: No need to evaluate csg terms of null geometry 2014-02-04 23:47:39 -05:00
Marius Kintel 00d20bb5ac Fix issue with boost and Apple namespace pollution 2014-02-04 01:22:02 -05:00
Marius Kintel b80c6c7bf4 Qt5 qmake needs explicit includpath 2014-02-04 01:21:35 -05:00
Marius Kintel c7530012be Build qt5 2014-02-04 01:21:13 -05:00
Marius Kintel 17dc062904 csgtermtest output has changed after refactoring 2014-02-03 23:33:14 -05:00
Marius Kintel 360622109a We changed how we interpret intersections in dxf. This is a marginal use-case, so we dropped backwards compatibility 2014-02-03 23:10:29 -05:00
Marius Kintel 528ef22104 Merge branch 'master' into unstable
Conflicts:
	src/openscad.cc
2014-02-03 22:55:58 -05:00
Marius Kintel 23023bfaf4 Merge branch 'master' of github.com:openscad/openscad 2014-02-03 22:53:57 -05:00
Marius Kintel c4e41d76e1 Added --csglimit parameter 2014-02-03 22:53:54 -05:00
Marius Kintel 887754e2ff Increased the default csg limit to 100K 2014-02-03 22:53:42 -05:00
Marius Kintel a6b3b21c3a Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-03 21:10:52 -05:00
Marius Kintel 5e45feafca Merge pull request #635 from OskarLinde/skip_validity_check
Remove automatic validity check at end of render
2014-02-03 18:10:41 -08:00
Tim V. Shaporev 8e7902867d cmd buffer overflow test simplified 2014-02-03 22:58:03 +04:00
Marius Kintel 042f8c4d65 Merge pull request #636 from openscad/issue634
Fix positional arguments for polyhedron (fixes #634).
2014-02-03 07:27:22 -08:00
Torsten Paul 84c6d23d87 Fix positional arguments for polyhedron (fixes #634). 2014-02-03 15:51:32 +01:00
Oskar Linde 1c64a95020 Remove automatic validity check at end of render
In more complex cases, the final Nef_Polyhedron is_valid check() took up to 30 % of the total rendering time just to be able to say Valid: YES. In the case of cached geometry, the validity check was totally dominating the execution time when doing a render. This patch removes the automatic validity check, instead adding a menu command "Check Validity".
2014-02-03 15:23:22 +01:00
Marius Kintel bc197049b9 Merge branch 'master' of github.com:openscad/openscad 2014-02-02 17:55:59 -05:00
Marius Kintel 85bdca5c81 Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-02 14:44:16 -05:00
Marius Kintel 9639e1c043 Merge pull request #625 from openscad/piliko0
small speedup of CGAL (according to CGAL tests)
2014-02-02 11:44:09 -08:00
Marius Kintel b5a6443b36 Merge pull request #628 from OskarLinde/ui_find
Editor: Fix bug where replaceAll could enter an infinite loop
2014-02-02 11:42:04 -08:00
Tim V. Shaporev 74c5094cb0 fixup issues 440 441 479 2014-02-02 21:51:56 +04:00
Don Bright 1280ab8c4e fix issue 629 - dont run sudo automatically as it can harm some systems 2014-02-02 09:57:53 -06:00
Marius Kintel cf7c24232e Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-02 01:01:20 -05:00
Marius Kintel c59fa49693 Merge pull request #611 from OskarLinde/minkowski2_bug
Minkowski2 bug
2014-02-01 18:48:54 -08:00
Oskar Linde d3f736d873 Editor: Fix bug where replaceAll could enter an infinite loop 2014-02-02 02:09:09 +01:00
Marius Kintel 56a2d0fff6 Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-01 17:55:17 -05:00
Marius Kintel 072c3a3059 Simplified and renamed test related to #612 2014-02-01 17:53:47 -05:00
Marius Kintel b33ab943ff Merge branch 'poly2_bug' of git://github.com/OskarLinde/openscad into OskarLinde-poly2_bug 2014-02-01 17:30:54 -05:00
Oskar Linde 1942205585 toPolygon2D() now use Clipper's cleaning algorithm
The old polygon simplification algorithm in toPolygon2D() was broken.
It could create self-intersecting paths which made CGAL barf and
resulted in non-manifold meshes. It has been replaced with the one
built into Clipper. I am not sure Clipper's is guaranteed to be
correct either, but it at least seems to have fewer fail cases.
2014-02-01 20:53:10 +01:00
Marius Kintel fa398e1501 Merge branch 'master' into unstable 2014-02-01 14:14:02 -05:00
Marius Kintel 90b9667103 Merge pull request #626 from OskarLinde/ui_find
Editor: Implemented simple Find functionality
2014-02-01 11:13:05 -08:00
Marius Kintel d076c73a4d Merge pull request #577 from hroncok/patch-5
Link to Travis builds from README
2014-02-01 10:48:31 -08:00
Marius Kintel f97aa9c0e0 Merge pull request #608 from tim-caper/issue593
fixup issue 593
2014-02-01 10:48:04 -08:00
Marius Kintel cd1d5cf2f3 Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-01 13:46:49 -05:00
Marius Kintel 9b83ed6029 Merge branch 'unstable' of github.com:openscad/openscad into unstable 2014-02-01 13:44:11 -05:00