Commit Graph
16 Commits
Author SHA1 Message Date
Mark Hindess 4d1551c305 Reduce memory usage during gcode output by discarding processed layers.
As each layer is processed, it increases in size by a factor of two
or three so by the end the layer list gets quite big.  So this removes
the list entry after it's been processed.
2012-06-29 12:33:30 +01:00
Mark Hindess 2e1649e6b5 Comment out code that builds @vertices_facets data structure.
Saves memory and speeds up reading large models.
2012-06-28 19:58:21 +01:00
Mark Hindess cc330932d6 Revert "Simple remote interface to slic3r using plack."
This reverts commit a3af688173.
2012-06-27 17:58:27 +01:00
Mark Hindess a3af688173 Simple remote interface to slic3r using plack.
Only supports a single stl model but supporting other file formats and
merge would be quite simple.  Speed might mean requests timeout if
slicing takes too long.  Just a proof-of-concept really but I might
use it to slice on my server from my laptop.
2012-06-27 17:42:34 +01:00
Mark Hindess a49827f5ab Revert "Fix license to match README."
This reverts commit 7d858338fa.

At least xnaron's perl doesn't like 'agpl3'.
2012-06-27 07:15:30 +01:00
Mark Hindess 840752194f Speed up encloses_point calls from medial_axis code.
The points shouldn't be on hole borders so we can make the check
much quicker.  Gives over 50% speed up slicing reprap shot glass
(thing:11944) with default settings and 0.3 layer height.
2012-06-26 23:11:46 +01:00
Mark Hindess 7d858338fa Fix license to match README. 2012-06-25 23:00:50 +01:00
Mark Hindess 1d3f7e0b1c Trivia: Remove duplicate word "speed". 2012-06-25 22:57:05 +01:00
Mark Hindess f61a1f5a07 Create *::Geometry::nearest_point_index to speed up shortest_path method.
This fix gives a further 10% speedup on simcop2387's coaster.
2012-06-22 23:12:39 +01:00
Mark Hindess 62eb41b967 Manage flattened endpoint list rather than creating it at every iteration.
Gives an 8% speedup on simcop2387's coaster for me.
2012-06-22 23:12:39 +01:00
Mark Hindess 2ef565fc4d Simplify creation of $n, @x and @y in point_in_polygon test.
Gives 30% speed up on simcop2387's coaster on my laptop and it cuts the
maximum resident set size too.  I know this is going to be replaced but
thought this might be useful in the meantime.
2012-06-16 08:28:37 +01:00
Mark Hindess 2689f49ef8 Remove grep that is effectively repeated. 2012-05-31 18:15:40 +01:00
Mark Hindess b0303c1e3b Allow cli options to use '_' instead of '-'.
This makes it easier to copy and paste options from config files.
2012-05-20 17:01:40 +01:00
Mark Hindess 5a16756aac Avoid undef errors while keeping the debug so root cause can be found. 2012-05-10 22:23:24 +01:00
Mark Hindess 9d85a19b9d Rework fix to use undef correctly. 2012-05-10 19:07:20 +01:00
Mark Hindess 5ebf6a71cd Add FE_NONE with value 0 and increment FE_TOP and FE_BOTTOM to simplify
and correct logic.
2012-05-09 19:57:00 +01:00