Commit Graph

41 Commits (5d31f56d9313dcaa8f2304819b7d54ff9aaaf01a)

Author SHA1 Message Date
Marius Kintel c2c67f2eac Added debug function for exporting a PolySet to STL 2012-02-03 23:06:16 +01:00
Marius Kintel eff1f7f8c9 Ported printutils away from Qt 2012-01-25 03:11:12 +01:00
Marius Kintel 16c05eb533 Temporarily removed progress output from file exporting to remove Qt dependency. When reinstating this, use another mechanism 2012-01-25 02:59:02 +01:00
Marius Kintel 761eb4f8af Another unit normal update from Xyne: Defer conversion to double until we've performed the division 2012-01-04 18:40:33 +01:00
Marius Kintel 47c51d128a Based on a patch from Xyne, this should be a slightly less verbose way of safely calculating normals. Note that CGAL does have a unit_normal() function, but since the Gmpq kernel doesn't support sqrt(), this cannot be used. 2012-01-03 21:55:44 +01:00
Marius Kintel f0817a1c16 bugfix: Reinstated normal length sanity check since at least once case slipped through; testdata/scad/misc/normal-nan.scad 2011-12-26 13:22:43 +01:00
Marius Kintel 51c28e8a5b fix for normal fix: would fail in some extreme cases (e.g. if there are
components with very different orders of magnitude, as may happen when floating point errors fail to produce a 0)
2011-12-21 22:20:27 +01:00
Marius Kintel 8c31bac6c7 Patch to fix not-unitized normal vectors due to floating point calculations. Patch by Xyne. 2011-12-21 17:06:13 +01:00
Marius Kintel f40daab2d1 fixed merge conflict 2011-09-08 03:34:13 +02:00
Marius Kintel a8d88c57fd fixed merge conflict 2011-09-08 03:34:00 +02:00
Marius Kintel 80afa32ae9 merged with master 2011-09-08 03:31:59 +02:00
Marius Kintel 838f1fb8fc Partially removed Qt dependency 2011-09-08 00:08:47 +02:00
Marius Kintel 45c2965034 Export STL as doubles, as an experiment. Seems to fix some issues with importing 2011-09-08 00:08:07 +02:00
Marius Kintel 75784844ea Implemented OFF export 2011-09-07 22:04:02 +02:00
Marius Kintel 6096f2734a De-Qt-ification continues, almost done with DxfData 2011-09-03 22:44:41 +02:00
Marius Kintel 1633fb0344 Refactoring of CGAL functionality to allow for forward-declaration of CGAL classes in header files, reducing coupling and thus compilation times 2011-09-01 04:09:06 +02:00
Marius Kintel 428d5bfc0e Refactored cgal_nef3_to_polyset() to cgal wrapper class 2011-08-22 19:31:56 +02:00
Marius Kintel 80e526880a Started on getBoundingBox functionality, refactored some vector code as part of this initiative 2011-08-05 02:11:20 +02:00
Marius Kintel 21ac6c05d1 merged in recent changes in master 2011-07-11 03:54:20 +02:00
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 d24b3cc84d Ported recent changes to master into the visitor branch 2011-04-12 20:35:44 +02:00
Marius Kintel 91c640fb5e Copyright updates 2011-01-21 02:21:09 +01:00
kintel 060a6c654d Output LWPOLYLINE objects instead of LINE for DXF export. Patch submitted by Lars Kruse
git-svn-id: http://svn.clifford.at/openscad/trunk@588 b57f626f-c46c-0410-a088-ec61d464b74c
2011-01-09 16:08:34 +00:00
Marius Kintel d0d266b83e merged with master 2010-12-26 00:12:34 +01:00
Marius Kintel 592ca6abad Output LWPOLYLINE objects instead of LINE for DXF export. Patch submitted by Lars Kruse 2010-12-25 23:55:28 +01:00
Marius Kintel c902b803e9 bugfix: copy&paste error 2010-10-31 02:42:39 +02:00
Marius Kintel 723db774f3 Export DXF to stream 2010-10-31 02:42:37 +02:00
Marius Kintel e46f9dab2f export to stream for stdout/stderr output support 2010-10-31 02:42:37 +02:00
kintel a1aa54c323 Fixed DXF export to include the necessary information to make Inkscape import our files
git-svn-id: http://svn.clifford.at/openscad/trunk@562 b57f626f-c46c-0410-a088-ec61d464b74c
2010-06-26 22:55:21 +00:00
kintel 8af73de90a Applied comma radix bugfix by jmarsden
git-svn-id: http://svn.clifford.at/openscad/trunk@560 b57f626f-c46c-0410-a088-ec61d464b74c
2010-06-26 16:17:34 +00:00
kintel 8a592d34e7 bugfix: Don't normalize zero-length normals
git-svn-id: http://svn.clifford.at/openscad/trunk@545 b57f626f-c46c-0410-a088-ec61d464b74c
2010-05-10 18:14:12 +00:00
clifford b673eb2acf Clifford Wolf:
export build fix



git-svn-id: http://svn.clifford.at/openscad/trunk@470 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-01 11:05:08 +00:00
kintel 769cfa1ddb export doesn't need MainWindow anymore
git-svn-id: http://svn.clifford.at/openscad/trunk@468 b57f626f-c46c-0410-a088-ec61d464b74c
2010-03-01 00:37:49 +00:00
kintel 7095f825eb Removed MainWindow::current_win - made this a tiny bit better, decoupled MainWindow from printutils
git-svn-id: http://svn.clifford.at/openscad/trunk@467 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-28 20:54:55 +00:00
clifford 01992ecae2 Clifford Wolf:
Added solid name to STL export



git-svn-id: http://svn.clifford.at/openscad/trunk@452 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-25 08:35:50 +00:00
kintel 64c3be3fd7 some doc
git-svn-id: http://svn.clifford.at/openscad/trunk@450 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-23 20:39:46 +00:00
clifford 07bc7dbecd Clifford Wolf:
Added CGAL exception to all copyright notes, as it is suggested on:
	http://www.cgal.org/license.html
	http://www.fsf.org/licensing/licenses/index_html



git-svn-id: http://svn.clifford.at/openscad/trunk@405 b57f626f-c46c-0410-a088-ec61d464b74c
2010-02-01 09:34:18 +00:00
clifford fc1914a43c Clifford Wolf:
Added projection() statement



git-svn-id: http://svn.clifford.at/openscad/trunk@372 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 07:41:55 +00:00
kintel 83647da87e linux build fixes
git-svn-id: http://svn.clifford.at/openscad/trunk@369 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 05:25:21 +00:00
kintel 191dc4857c header file reorg
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:26:05 +00:00
kintel 6940d17181 reorganized file structure layout. more to follow...
git-svn-id: http://svn.clifford.at/openscad/trunk@364 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:17:05 +00:00