Alessandro Ranellucci
24571612c7
Some minor changes to the newly-ported Extruder class
2014-04-28 22:02:34 +02:00
Alessandro Ranellucci
4c330b6c59
Merge pull request #1968 from sapir/extrudercpp
...
Translate Extruder class to C++
2014-04-28 21:45:53 +02:00
Alessandro Ranellucci
19fdf9b184
Test triangulate2() instead of the faulty triangulate()
2014-04-28 20:19:26 +02:00
Alessandro Ranellucci
2720000a17
New get_trapezoids() implementation. Maybe heavier but it doesn't fail with some versions of GCC like the one provided by Boost.Polygon. #1965
2014-04-28 20:14:20 +02:00
Alessandro Ranellucci
d4e97d17d5
Use -O1 with GCC 4.7.0-4.7.2. #1965
2014-04-28 19:24:19 +02:00
Y. Sapir
ad03a88733
Add xsp wrapper for Pointf class.
2014-04-28 01:13:50 +03:00
Y. Sapir
e005ff32c4
Replace Extruder::config accessor with Perl wrapper, with C++ option accessors.
2014-04-28 00:49:05 +03:00
Y. Sapir
71b0b211ec
Constify ConfigOptionVector::get_at.
2014-04-28 00:19:03 +03:00
Y. Sapir
d824de6168
Keep pointer to PrintConfig instead of copying it.
2014-04-28 00:03:22 +03:00
Y. Sapir
c2b249d059
Add REGISTER_CLASS call for Extruder class.
2014-04-27 23:53:28 +03:00
Y. Sapir
2565d80679
Replace multitude of Extruder fields with querying a PrintConfig object by id.
2014-04-27 23:43:44 +03:00
Y. Sapir
b319dc9361
Correctly convert extruder_offset to Point object before passing to C++ code.
2014-04-27 23:43:43 +03:00
Y. Sapir
717d099ae1
Add XS Extruder files to manifest.
2014-04-27 23:43:43 +03:00
Y. Sapir
04fad70cbf
Make C++ gcode generator use C++ Extruder object directly.
2014-04-27 23:43:43 +03:00
Y. Sapir
66d23a2416
Convert Extruder object (mostly) to C++ with lots of fields.
2014-04-27 23:42:59 +03:00
Alessandro Ranellucci
2738a304e8
Update credits. Mention Gary Hodgson, Petr Ledvinap, Y. Sapir
2014-04-27 20:04:02 +02:00
Alessandro Ranellucci
5296867a38
Merge pull request #1983 from ledvinap/feature-xs-types-final
...
Implement type checking for XS objects
2014-04-27 19:58:34 +02:00
Petr Ledvina
115aa6885f
Implement type checking for XS objects
...
Type handling is mainly done using templates.
Template Slic3r::ClassTraits is used to store info about exported types (perl class name). Currently only perl class name and refference name is used.
Template values are initialized by REGISTER_CLASS macro. This macro is used in .cpp file of class ( it needs to be used exactly for each type).
Ref<type> class is used to return value as perl reference. Operator overloading is used to make c++ and XSpp happy, only pointer value should be possible to return.
Clone<type> class is used to return copy of value ( using new and copy constructor). Copy is created on assigment, this should be probably improved (memory leak on multiple assignments).
It is overloaded to be able to return type, type* and type&.
Typechecking in ExtrusionEntityCollection updated to check all passed types.
2014-04-27 19:38:56 +02:00
Alessandro Ranellucci
e68b6b6f4c
Merge pull request #1980 from sapir/output-dir-msg
...
Add dir --output msg to README, too.
2014-04-27 14:39:22 +02:00
Y. Sapir
85bca96982
Add dir --output msg to README, too.
2014-04-27 14:21:59 +03:00
Alessandro Ranellucci
611159ae20
Merge pull request #1979 from sapir/output-dir-msg
...
Add message about directories as parameters for --output.
2014-04-27 13:12:27 +02:00
Y. Sapir
0224e72f8c
Add message about directories as parameters for --output.
2014-04-27 13:57:36 +03:00
Alessandro Ranellucci
fa81147fee
Merge pull request #1976 from sapir/clipperperms
...
Remove execute permissions for clipper source files.
2014-04-27 12:42:38 +02:00
Y. Sapir
87eee8eea3
Remove execute permissions for clipper source files.
2014-04-27 13:19:11 +03:00
Alessandro Ranellucci
ce9cf4d964
Don't put supports under bridges and potential bridges
2014-04-26 17:19:50 +02:00
Alessandro Ranellucci
129b6651f6
More correct test description
2014-04-26 16:09:00 +02:00
Alessandro Ranellucci
148c773319
Exclude support from bridged areas
2014-04-26 16:07:43 +02:00
Alessandro Ranellucci
7e3024d6ad
Explain that infill_every_layers can be set to arbitrarily large values in the tooltip
2014-04-25 20:29:37 +02:00
Alessandro Ranellucci
073b7fca1f
One more fix after recent fix to default extrusion width
2014-04-25 20:19:02 +02:00
Alessandro Ranellucci
9ee3868f92
Removed debugging line left
2014-04-25 20:05:08 +02:00
Alessandro Ranellucci
6780e930cb
Update the [timestamp] placeholder(s) at every G-code export. #1957
2014-04-25 19:47:13 +02:00
Alessandro Ranellucci
f7ffc48397
Bump version number
2014-04-25 19:44:04 +02:00
Alessandro Ranellucci
7ac0095018
Fix regression causing default extrusion width to be ignored. #1958
2014-04-25 19:39:27 +02:00
Alessandro Ranellucci
924cb2e558
Update MANIFEST. #1969
2014-04-25 19:14:03 +02:00
Alessandro Ranellucci
f6897a346a
Fix islands not being ordered efficiently with the logic that completes each of them before moving to the next one (which is now the default behavior). #1137
2014-04-25 19:11:17 +02:00
Alessandro Ranellucci
2a2ba15665
Use a slider for the cutting GUI
2014-04-25 18:36:08 +02:00
Alessandro Ranellucci
8db4913b04
New option for rotating the lower part resulting from the cut so that the flat surface lies on the print bed
2014-04-25 17:50:03 +02:00
Alessandro Ranellucci
4f17c2b7d1
First working implementation of a GUI for cutting
2014-04-25 17:14:39 +02:00
Alessandro Ranellucci
882a98ed44
Initial work for a GUI for the cut feature
2014-04-25 14:54:08 +02:00
Alessandro Ranellucci
334bc4c581
Fix cut() test
2014-04-25 13:27:45 +02:00
Alessandro Ranellucci
4f5d9ca795
Finished --cut implementation
2014-04-25 12:40:21 +02:00
Alessandro Ranellucci
fe1691c151
New --cut feature
2014-04-25 10:20:30 +02:00
Alessandro Ranellucci
37c7b958d4
New ExPolygon::triangulate() method
2014-04-24 17:06:16 +02:00
Alessandro Ranellucci
bb0ce3cccd
New Polygon::triangulate_convex() method
2014-04-24 16:59:36 +02:00
Alessandro Ranellucci
ca4d4211c9
Refactored signatures of many C++ methods for more efficient and safer style. Includes a bugfix for Point::nearest_point() which was returning a pointer to freed memory. #1961
2014-04-24 16:40:10 +02:00
Alessandro Ranellucci
6201aacf88
New coverage detection for bridges. Includes implementation of ExPolygon::get_trapezoids()
2014-04-24 13:44:39 +02:00
Alessandro Ranellucci
d458a7c4d2
Merge pull request #1956 from ledvinap/fix-bridges
...
Fix bridges
2014-04-23 12:09:02 +02:00
Petr Ledvina
4c1ffecfc4
Fix test to check for correct direction and accept result close to 180 degrees.
2014-04-23 11:40:37 +02:00
Petr Ledvina
802ebfb0d6
Fix bridge detector
...
Test line direction is changed to reflect 0=east angle system
Test patern rotation direction is reversed - $angle represents infill direction
Angle test is changed to avoid returning negative value (this does happen otherwise - adding increments to $angle
creates ~ 1e-15 rounding error)
2014-04-23 11:35:58 +02:00
Alessandro Ranellucci
766d743b0b
Merge pull request #1954 from willmmiles/fix-arctest-1918
...
Avoid integer overflow in arc test. Fixes #1918
2014-04-23 11:18:33 +02:00