1537 Commits

Author SHA1 Message Date
Joseph Lenox
7c0b807518 stubbing in functions. 2018-07-18 22:30:09 -05:00
Joseph Lenox
eab034434a Added a () operator overload to treat ConfigOptionSingle like functions and return their value (accessor) 2018-07-18 22:29:39 -05:00
Joseph Lenox
84826ae5ee Added inequality operator for Point 2018-07-18 22:28:29 -05:00
Joseph Lenox
6676368a34 Added an accessor to get a const reference to the underlying model object. 2018-07-18 22:27:34 -05:00
Joseph Lenox
1742b64ce7 stubbed in make brim and make skirt (port from perl) 2018-07-18 22:27:06 -05:00
Joseph Lenox
f21148e0d4 Just detect support layer via virtual function instead of relying on typeid to save the day. 2018-07-18 22:26:13 -05:00
Joseph Lenox
82f227d718 Code/syntax sugar: let Collection types be treated more like a STL container with begin/end iterators. 2018-07-18 22:25:37 -05:00
Joseph Lenox
ccb8204fae Copied some useful methods from prusa3d/slic3r. 2018-07-18 22:24:41 -05:00
Joseph Lenox
f1616ee295 Implemented more of process_layer through skirt generation 2018-07-17 22:58:46 -05:00
Joseph Lenox
a9b3b0ab7f Merge remote-tracking branch 'thethirdone/Scene3D' into test-merge-thethirdone-3d-plater
# Conflicts:
#	.gitignore
#	.travis.yml
#	README.md
#	package/linux/travis-setup.sh
#	src/CMakeLists.txt
#	src/GUI/ColorScheme/Default.hpp
#	src/GUI/Plater.cpp
#	src/GUI/Plater/Plate2D.cpp
#	src/GUI/Plater/Plate3D.hpp
#	src/GUI/Plater/Preview3D.hpp
#	src/GUI/Preset.hpp
#	src/GUI/misc_ui.cpp
#	src/GUI/misc_ui.hpp
#	src/slic3r.cpp
#	src/test/GUI/test_field_checkbox.cpp
#	xs/src/libslic3r/Config.cpp
#	xs/src/libslic3r/Config.hpp
#	xs/src/libslic3r/ConfigBase.cpp
#	xs/src/libslic3r/ConfigBase.hpp
#	xs/src/libslic3r/Log.hpp
2018-07-17 17:35:05 -05:00
Joseph Lenox
38cc8e2d6d Walled off generate_support_material() 2018-07-17 15:26:45 -05:00
Joseph Lenox
a034aba0d8 Allow for copy elision in TriangleMesh 2018-07-17 10:45:01 -05:00
Joseph Lenox
4bc352ae60 Marked override functions as override 2018-07-17 10:43:30 -05:00
Joseph Lenox
e6203c0f0a Fixed verification
Also started stubbing out process_layer (applying configs, etc)
2018-07-16 22:28:20 -05:00
Joseph Lenox
080c930a3a Implemented more of output()
basic routine should be implemented (sans complete objects), need
process_layer next.
2018-07-16 21:55:36 -05:00
Joseph Lenox
f739eb11af fix the config ref to be const 2018-07-16 21:54:12 -05:00
Joseph Lenox
2b741bc8a1 Forgot to remove std::cerr output 2018-07-16 17:14:55 -05:00
Joseph Lenox
eedf81e871 Stubbed out/implemented Print::process and generate_support_material.
(w/o unit tests)
2018-07-16 17:12:32 -05:00
Joseph Lenox
321b5893b8 Moved constructor to cpp file 2018-07-16 17:11:15 -05:00
Joseph Lenox
11bb5c3117 factor out set_extruders() to an STL-style template function. Added set<T> method as well. 2018-07-16 17:10:37 -05:00
Joseph Lenox
5b71940e60 Initial commit of gcode export toolchain (incomplete).
Passes tests so far as written, gcode output through test interface expects an ostream.
2018-07-15 14:48:56 -05:00
Joseph Lenox
575faf3231 Merge remote-tracking branch 'samir/Samir55-support_porting' into test_merge_samir
# Conflicts:
#	src/CMakeLists.txt
2018-07-15 12:02:11 -05:00
Joseph Lenox
65676215cc added getBool() to Slic3r::Config interface. 2018-07-15 10:24:57 -05:00
Joseph Lenox
846e46a130 Added apply() callthrough method to allow Slic3r::ConfigBase configs to be added to the local DynamicPrintConfig. 2018-07-15 10:18:20 -05:00
Joseph Lenox
9585a3e564 Default to pulling from defaults with get() functions. 2018-07-15 10:12:28 -05:00
Joseph Lenox
28504f9658 added getString() methods to ConfigOptionFloat and ConfigOptionInt 2018-07-15 10:11:02 -05:00
Joseph Lenox
49f123ca20 Moved trim_zeroes to libslic3r utils. 2018-07-15 10:10:42 -05:00
Joseph Lenox
54d8760159 Add build commit macro for non-XS usage. 2018-07-15 00:12:44 -05:00
Joseph Lenox
70cd35af31 Refactored Slic3r::Config to a composition style instead of direct inheritance of Slic3r::DynamicPrintConfig. 2018-07-14 21:48:22 -05:00
Samir55
737353a85b Refactoring. 2018-07-15 04:34:49 +02:00
Samir55
99c7c2c8bf Refactoring. 2018-07-15 03:46:51 +02:00
Samir55
49fbe98910 Fixing bugs. 2018-07-15 03:42:50 +02:00
Joseph Lenox
1bf8ca7a59 Refactor to provide an istream prototype for parse() 2018-07-14 20:19:28 -05:00
Samir55
4931e4025e Some fixes to SupportMaterial memver functions. 2018-07-14 23:09:22 +02:00
Joseph Lenox
34e633a1c0 Code cleanup: Ensure that a floats remain floats all the way through expressions. 2018-07-14 15:06:26 -05:00
Joseph Lenox
2f8c88cb96 Don't use the new methods on perl side (avoid test failure in tmf) 2018-07-13 19:41:44 -05:00
Joseph Lenox
3f3de067f8 Added epsilon to Slic3r::Geometry; added _equiv for comparing two items that have operator- overloaded. 2018-07-13 19:36:01 -05:00
Joseph Lenox
8255dc321b Added move constructor and move-assignment operator for TriangleMesh, factored out
the copy construtor and copy-assignment to a private clone() method.

copy-and-swap had a conflict in the selection of signatures in some existing methods.
2018-07-13 19:18:50 -05:00
Joseph Lenox
238e32666a Replaced redundant constructor and pushed the raw pointer constructor into private scope. 2018-07-12 23:48:53 -05:00
Joseph Lenox
f0ba8a2340 Replaced iterator-based constructor with one that takes either vector or array.
Refactored TriangleMesh constructor to use raw pointer (C-style semantics) and pointer vector/array.
2018-07-12 23:26:07 -05:00
Joseph Lenox
ee208ddc73 Added templated iterator-based constructor for TriangleMesh and tests for it. 2018-07-12 23:13:44 -05:00
Joseph Lenox
05c900a283 Tagged constructors for Point, Point3, Pointf, Pointf3 as constexpr to extend their use 2018-07-12 23:13:02 -05:00
Joseph Lenox
932a238328 Add test to set string options. 2018-07-12 22:02:09 -05:00
Joseph Lenox
7861037556 Wrote accessor tests and accompanying implementation. 2018-07-12 21:54:10 -05:00
Joseph Lenox
40cedc350c Basic validation for generic numeric types and its test. 2018-07-12 20:21:07 -05:00
Joseph Lenox
5991bf8833 Add set functions to avoid going through deserialize in ConfigOptionFloat and its descendants. 2018-07-12 20:20:16 -05:00
Joseph Lenox
2aa97855c8 Fixed some paths and stubbed new_from_ini 2018-07-12 17:32:05 -05:00
Joseph Lenox
62aeb5be85 Forgot to add Config:: to methods in Config.cpp 2018-07-12 17:05:19 -05:00
Joseph Lenox
c3ff41b0c2 Moved read_ini and write_ini to cpp file, added more comments 2018-07-12 12:08:46 -05:00
Samir55
93b0cd436a Porting test 1. 2018-07-12 09:34:47 +02:00