4075 Commits

Author SHA1 Message Date
bubnikv
832773e310 Perl OpenGL 0.7 package causes crashes on many platforms.
Constrain compilation to Perl OpenGL version lower than 0.7.
897ca52654
2016-11-24 16:36:17 +01:00
bubnikv
cc7d2c1aa2 Let's hope to fix compilation on gcc. 2016-11-24 16:34:21 +01:00
bubnikv
12961d5212 Fix of https://github.com/prusa3d/Slic3r/issues/13
The BoundingBox::defined flag was not set in constructor,
if initialized from min/max corners.

Conflicts:

	xs/src/libslic3r/BoundingBox.hpp
2016-11-24 16:34:06 +01:00
bubnikv
a5135f4369 Hopefully a fix of https://github.com/prusa3d/Slic3r/issues/11
Replaced eval { die } construct with a bool return value indicating
success or failure of an automatic arrangement of parts on the print bed.

Don't know exactly what is happening here, but throwing a "die" inside
a XS function and then catching it inside an eval {} block is suspcious.

Conflicts:

	xs/src/libslic3r/Geometry.cpp
	xs/src/libslic3r/Geometry.hpp
2016-11-24 16:33:13 +01:00
Alessandro Ranellucci
954e2d3e5c ExtrusionEntity and derived classes: Documented, short methods made
inline for efficiency and readability
2016-11-24 16:22:14 +01:00
Alessandro Ranellucci
9c7e4871db Fix conflict in recent merges 2016-11-24 16:20:04 +01:00
bubnikv
cc01e6565d Fixed a return value in the Config multi-string parser. 2016-11-24 15:59:19 +01:00
bubnikv
c93ac84f5e Missing include for memcpy for Linux.
Conflicts:

	xs/src/libslic3r/Config.cpp
2016-11-24 15:59:04 +01:00
bubnikv
4773987b0f Added "Notes" page to the filament configuration.
Added "filament_max_volumetric_speed", a cap on the maximum volumetric
extrusion role, filament specific. This is very useful when mixing
rigid filament with a soft filament.

Extended the import / export of multi-string values into configuration
values, including the test cases. Multi-line strings will be enclosed
into quotes, quotes escaped using a C-style escape sequences. Single
word strings could still be stored without quotes.

Conflicts:

	xs/src/libslic3r/Config.hpp
2016-11-24 15:58:06 +01:00
bubnikv
736e2cc4e6 On Windows use the Slic3r.ico instead of the PNG file
for the application icon.

Conflicts:

	lib/Slic3r/GUI/MainFrame.pm
2016-11-24 15:54:22 +01:00
bubnikv
8c315ff467 Select standard camera views (left / right / top / bottom / front / rear / default)
by menu.
2016-11-24 15:48:29 +01:00
bubnikv
476839e077 Documented the bridge detector. 2016-11-24 15:46:15 +01:00
bubnikv
56d281c720 Bugfix: use Lift-z option for 2. extruder #3385
Thanks to https://github.com/platsch
https://github.com/alexrj/Slic3r/pull/3392
2016-11-24 15:44:38 +01:00
bubnikv
893d92273d Documented MultiPoint. 2016-11-24 15:43:38 +01:00
bubnikv
a0da2c4990 Fix of a spiral vase with realtive extruder distances enabled.
The clone function is used by the SpiralVase.pm only, so the change
is safe.
2016-11-24 15:42:38 +01:00
bubnikv
c353eef626 Generate multiple vertex lists rather than requesting a single huge
memory block.
2016-11-24 15:42:02 +01:00
bubnikv
9f0523cb53 Documented the purpose of various perl modules.
Conflicts:

	lib/Slic3r/GUI/3DScene.pm
	lib/Slic3r/GUI/Plater/2DToolpaths.pm
2016-11-24 15:41:19 +01:00
bubnikv
335638a614 Documented perl modules.
Conflicts:

	lib/Slic3r.pm
	lib/Slic3r/Config.pm
2016-11-24 15:38:59 +01:00
Alessandro Ranellucci
103ec05774 Ported infill to XS/C++. Credits and many thanks go to @bubnikv for this work 2016-11-24 15:32:32 +01:00
bubnikv
d98b7cf863 The chaining and leftmost_point methods were rewritten as static methods, so they may be called on Polylines without having to convert to PolylineCollection first. 2016-11-23 21:33:20 +01:00
bubnikv
47337a3a5e Fixed a typo when SLIC3R_DEBUG is active. 2016-11-23 21:33:07 +01:00
bubnikv
80a962b838 Added a macro SLIC3R_CPPVER to indicate the C++ language version supported by the compiler. 2016-11-23 21:32:22 +01:00
bubnikv
9a91704b8d New constructors for the bounding box with min/max points were added.
empty(bbox) function template was added.
2016-11-23 21:30:55 +01:00
bubnikv
f3e0efa4fe Debugging visualization of the gap fills into a SVG format, if SLIC3R_DEBUG is set. 2016-11-23 21:30:11 +01:00
bubnikv
08287e76e5 Fixed a crash in a constructor of FullPrintConfig due to an incorrect use
of virtual inheritance. Note that an invocation of ConfigBase::optptr()
is routed to FullPrintConfig::optptr() for all classes of the FullPrintConfig
hierarchy. FullPrintConfig::optptr() in turn invokes optptr()
of PrintObjectConfig, PrintRegionConfig, PrintConfig and HostConfig.
Due to the use of virtual inheritance, this all happens, when
PrintObjectConfig gets constructed as part of FullPrintConfig, but
at that time PrintRegionConfig, PrintConfig and HostConfig are not
constructed yet. Accessing them at that time leads to crashes,
when compiled with Visual Studio 2013 compiler. For some reason
the code generated by gcc does not crash, but I believe the behavior
is undefined and it is better to be fixed anyway.

The patch solves the problem by calling set_defaults() by the topmost
object, which not only fixes the crashes, but also avoids repeated
initialization.

Conflicts:

	xs/src/libslic3r/PrintConfig.hpp
2016-11-23 21:28:47 +01:00
bubnikv
96dd99c1f8 Documented the build process 2016-11-23 21:27:29 +01:00
bubnikv
c8f2e55d43 Revert "Documented the build process"
This reverts commit 5e7aee217e6accdca305ed7108dd44142aed64db.
2016-11-23 21:27:20 +01:00
bubnikv
febf2b06c0 Documented the build process 2016-11-23 21:27:05 +01:00
bubnikv
9bcb467eb1 Moved the Bonjour discovery to Tab.pm,
when no Bonjour devices found, a simple message box is shown.
Otherwise the Bonjour selection dialog with an empty list crashes on windows.
2016-11-23 21:24:19 +01:00
Alessandro Ranellucci
c87659fdc2 Update MANIFEST and rename t/22_config to t/23_config because we already have a 22 2016-11-23 21:12:01 +01:00
Alessandro Ranellucci
e8331f066d Include layer-height as sttribute in SLA SVG output 2016-11-23 18:58:40 +01:00
Alessandro Ranellucci
a4a68cb9fb Material estimate in DLP projector 2016-11-23 18:56:02 +01:00
Alessandro Ranellucci
bda4ae0b57 Use SLAPrint in DLP Projector 2016-11-23 18:38:33 +01:00
Alessandro Ranellucci
4ac7f6e8f1 Refactoring: rename SVGExport to SLAPrint 2016-11-23 15:51:12 +01:00
Alessandro Ranellucci
893fc2343f Fixed regression in Build.PL after recent merged changes 2016-11-22 22:29:47 +01:00
Alessandro Ranellucci
dcdb5056fe Fixed regression causing slowdown_below_layer_time to be ignored. #3515 #3443 2016-11-22 22:29:47 +01:00
Alessandro Ranellucci
ad9b985772 Merge pull request #3427 from lordofhyphens/repetier-flavor
Added Repetier FW flavor, fixed accel gcode generation for it.
2016-11-22 18:59:50 +01:00
Alessandro Ranellucci
74c6df028e Merge pull request #3576 from lordofhyphens/3571-auto-enable-bridgedetect
New feature: Propose to enable "detect bridging perimeters"
2016-11-22 18:58:07 +01:00
Alessandro Ranellucci
98bf102f99 Merge pull request #3392 from platsch/lift-z-fix
Bugfix: use Lift-z option for 2. extruder #3385
2016-11-22 18:57:17 +01:00
Alessandro Ranellucci
32ba66c48f Don't grey out the retract_speed option when using firmware retraction because it's still used by auto-speed pressure regulator. #3283 2016-11-22 18:47:19 +01:00
Alessandro Ranellucci
52c68955d2 Merge pull request #3410 from lordofhyphens/fix-combine-infill
Calculate actual flow for later inclusion as a ExtrusionPath for internal flow.
2016-11-22 18:36:09 +01:00
Alessandro Ranellucci
3ac194ba5e Merge pull request #3518 from NVBots/aligned_rectilinear_infill
Aligned rectilinear infill
2016-11-22 18:30:01 +01:00
Alessandro Ranellucci
5800371fdc Merge pull request #3494 from lordofhyphens/feature-3493-absolute-cli
New command line option: --dont-arrange #3493
2016-11-22 18:26:52 +01:00
Alessandro Ranellucci
e52c67bb7c Merge pull request #3504 from lordofhyphens/prusa3d-loop-split
Fix in splitting the loop at a new point.
2016-11-22 18:25:52 +01:00
Alessandro Ranellucci
092bec103a Merge pull request #3565 from lordofhyphens/makerbot-m109
Pair of fixes for temperature standby on MB-derived FW
2016-11-22 18:24:04 +01:00
Alessandro Ranellucci
9ef37b93c5 List @lordofhyphens and @bubnikv among the contributors 2016-11-22 18:22:29 +01:00
Alessandro Ranellucci
2004a7cbc2 Merge pull request #3575 from lordofhyphens/opengl-fix-bed-draw
Fix for OpenGL.pm 0.70 segfault
2016-11-22 18:13:50 +01:00
Alessandro Ranellucci
0a15af5488 Better support material in SVG export with conic tips 2016-11-22 18:08:30 +01:00
Alessandro Ranellucci
bca95a98c8 Merge pull request #3475 from lordofhyphens/fix-3473-boost-autodetect-vs2012
Updated xs/Build.PL to support Visual Studio compiler suite.
2016-11-21 18:51:59 +01:00
Alessandro Ranellucci
0eb20004b3 Merge pull request #3556 from uclaros/gl_messing
3D Navigation improvement features
2016-11-21 18:50:17 +01:00