Commit Graph

3514 Commits

Author SHA1 Message Date
Joseph Lenox
4f428fae40 Added UI options to make a slab, defaulting to the model object's bounding box * 1.5 2017-02-21 16:29:42 +01:00
Joseph Lenox
6aecae3121 UI: fixed naming sphere is not a cylinder. 2017-02-21 16:29:32 +01:00
Joseph Lenox
2971235299 UI code to generate a generic sphere. 2017-02-21 16:29:21 +01:00
Joseph Lenox
716dc2e650 Made cube and cylinder static functions of the package, not some specific TriangleMesh object. 2017-02-21 16:11:52 +01:00
Joseph Lenox
26b6e4c619 Disable sliders if a volume is not selected. 2017-02-21 16:11:41 +01:00
Joseph Lenox
2eea139731 UI now changes its options based on the object type selected. 2017-02-21 16:11:22 +01:00
Joseph Lenox
3ee32ef153 Menu now works to select cylinders (reusing the gui options) 2017-02-21 16:11:09 +01:00
Joseph Lenox
b91b98b21e Added prototype make_cylinder() 2017-02-21 16:10:38 +01:00
Joseph Lenox
ff33fbbb9a Use LambdaObjectDialog in GUI.pm to avoid crash on Windows. 2017-02-21 16:09:51 +01:00
Joseph Lenox
107c89d37b Removed commented code. 2017-02-21 16:04:45 +01:00
Joseph Lenox
a0548898f3 Added a cancel button, and rewrote initial option code to reuse OptionGroup. 2017-02-21 16:04:02 +01:00
Joseph Lenox
3109a9bc1f Update main plater view after moving mesh 2017-02-21 16:03:46 +01:00
Joseph Lenox
33f489bba9 Anonymous object supports. Initial implementation provides for a box of arbitrary size. 2017-02-21 16:03:19 +01:00
Joseph Lenox
e93cc13698 Permit sliding modifer meshes around in the Settings dialog. 2017-02-21 16:02:56 +01:00
Alessandro Ranellucci
a65c9ba083 Ported CoolingBuffer to C++/XS 2017-02-21 14:02:47 +01:00
Alessandro Ranellucci
c517b0d8f1 Bugfix: object disappeared from 2D plater when reloaded from disk. #3634 2017-02-21 13:57:40 +01:00
Sebastianv650
b8ece2af06 Pressure advance overrides print speeds patch (#3287)
* Fix PressureRegulation.pm

Check if a pressure advance is needed even if speed is unchanged, but a discharge happened before. Restore print speed after advance / discharge. Solves #3282
2017-02-21 13:09:12 +01:00
Joseph Lenox
27a1a6609f Fixed input to bed shape dialog to catch everything that resolves to 0. Fixes #3681 (#3683) 2017-02-21 13:07:15 +01:00
Joseph Lenox
b022e51d94 Don't reset speed on flush moves (avoid use of uninitialized variable). 2017-02-21 13:02:16 +01:00
bubnikv
8aae5bdb28 The variable layer editing shader was made OpenGL 2.0 compatible.
Fixed a bug in the scaling of colors for the variable layer editing.
2017-02-21 09:39:28 +01:00
bubnikv
8cfdc28f2b Implemented a level of detail on the variable layer height editing tool. 2017-02-20 21:54:53 +01:00
bubnikv
6e19921f98 Fix a warning on Linux / OSX. 2017-02-19 19:44:05 +01:00
bubnikv
a8eb217e4a System Info dialog made nicer.
Fixed a bug in reporting a software renderer on Windows.
2017-02-19 19:08:58 +01:00
bubnikv
898deb48c4 Error reporting on initialization of the Layer Editing OpenGL shaders.
The shaders are initialized when the layer editing button is pressed
for the first time. If the initialization fails, a message box
is shown and the layer editing will stay disabled.
2017-02-19 18:01:03 +01:00
bubnikv
70229be9bc Added SystemInfo dialog,
a new SLIC3R_BUILD define to be replaced by the build script,
a menu item to open the "New Issue" github page.
2017-02-19 16:04:57 +01:00
bubnikv
89702a5b4e Fixing an update of the "Export G-code, Send to printer" and similar buttons.
It is a bug, which was lingering around for a long time, only now
the buggy function is called at a time point, where it really hurts.
https://github.com/prusa3d/Slic3r/issues/137
2017-02-17 15:11:59 +01:00
bubnikv
31f213d6ca Hopefully fixes "Export G-Code" Disabled After First Export"
https://github.com/prusa3d/Slic3r/issues/137
2017-02-17 15:00:01 +01:00
bubnikv
2ddabe5fa8 Show the print statistics only if it has valid information to show.
The old behavior was confusing, leading to questions like the following:
https://github.com/prusa3d/Slic3r/issues/130
2017-02-15 16:02:54 +01:00
bubnikv
35490216a7 Fixes the order of a skirt, raft, support & object on the 1st layer. 2017-02-15 12:31:14 +01:00
bubnikv
3d11d1aebf make_skirt ported to C++ 2017-02-15 11:05:52 +01:00
bubnikv
420e387055 new feature: Clip multi-part objects one by the other.
This works the same way as if the XY compensation was set to a tiny value
before, but without the overhead of an offset.
2017-02-14 12:36:04 +01:00
bubnikv
ce8973b33a Fixed a bug in renaming a G-code at the end of a G-code export
from .tmp suffix to a non .tmp file on localized Windows.
2017-02-13 15:45:31 +01:00
bubnikv
fd54956d70 Hopefuly a fix of https://github.com/prusa3d/Slic3r/issues/116
Enabling / disabling of the layer editing button on OSX & linux did not work.
2017-02-13 12:40:12 +01:00
bubnikv
e2f8ea2809 When renaming the exported G-code (removing the .tmp suffix),
some other application (thank you, Windows Explorer) may keep the file locked.
Try to wait a bit and then rename the file again.
2017-02-13 12:36:46 +01:00
bubnikv
61f9414b09 Fixed a bug in manipulation of multi-component bodies. 2017-02-10 11:24:54 +01:00
bubnikv
152026fa08 Disable variable layer height editing on the UI when a printer
profile is switched to one with the layer height editing disabled.
2017-02-10 10:21:50 +01:00
bubnikv
43757df016 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2017-02-10 09:41:16 +01:00
Joseph Lenox
abda054720 Cherry-picked Repetier acceleration fixes, thanks to @lordofhyphens
e0d8101627
885f27b8ae

Added a printer settings to enable / disable variable layer height editing.
2017-02-10 09:39:19 +01:00
Klim
98edb4f854 fix for issue #57 (#63) 2017-02-09 21:59:57 +01:00
bubnikv
db30cee6a9 Fixed the 'iso' camera orientation. 2017-02-09 21:40:07 +01:00
bubnikv
adb218e605 Changed layer leight limits label on the UI. 2017-02-09 16:21:48 +01:00
bubnikv
88e34ff5de Store / retrieve layer height profile from the AMF file.
Reset the layer height profile when changing a print profile to an incompatible one.
Reset button on the layer height bar.
Fixed an update issue on zooming by a scroll wheel.
Fixed an issue when loading an AMF file: Object names are now retained.
2017-02-09 14:56:13 +01:00
Joseph Lenox
61c0ae4e94 Changed filament density to use g/cm^3. Extended tooltip to indicate calculation methods. 2017-02-08 11:40:52 +01:00
Joseph Lenox
90d3535520 Added second information box that populates after exporting gcode for sliced statistics. 2017-02-08 11:40:36 +01:00
Joseph Lenox
203a965b3d added total cost/weight to Extruder statistics, mocked up addendum to status bar change. 2017-02-08 11:40:01 +01:00
Joseph Lenox
3846d9e734 Add weight/cost output to gcode. On the way to #647 2017-02-08 11:39:45 +01:00
Alessandro Ranellucci
bbd63616b1 Write to a temporary file before renaming with the final name. #1844 2017-02-08 11:27:15 +01:00
bubnikv
6b1a72aac9 Fix of Post processing scripst not working:
https://github.com/alexrj/Slic3r/issues/3698

This is really a patch as it does not let the user to use the semicolon
inside a script invocation line.
2017-02-08 10:35:21 +01:00
bubnikv
e7718b385f Added a "variable layer height" icon, active on OSX initially. 2017-02-07 19:01:58 +01:00
bubnikv
957803e60c Added min_layer_height, max_layer_height per nozzle settings
for controlling the support layer height & variable layer height.
Added an experimental "rear" seam option.
2017-02-07 18:46:02 +01:00
bubnikv
64c752ff9d Extended the Slic3r::GUI::Tab::XXX::_update mechanism to deliver
a set of updated config keys.
2017-02-07 18:41:09 +01:00
bubnikv
e386a2bf72 Documentation of the UI config update functions,
documented missing AMF support for the variable layer thickness.
2017-02-07 18:28:53 +01:00
bubnikv
43ac693900 Added a tooltip overlay for the variable layer height edit tool.
Short methods of PrintState made inline.
Added layer height profile to a Model class.
2017-02-07 18:17:12 +01:00
bubnikv
aceb87d188 Change of defaults. Background processing disabled by default,
default mode set to expert.
2017-02-07 13:21:09 +01:00
bubnikv
8474f77db4 Enabled the variable layer height in the builds by default. 2017-02-03 15:53:31 +01:00
bubnikv
c2ddf537c6 Fixed a newly introduced bug in the multi material UI dialog. 2017-01-31 11:38:07 +01:00
bubnikv
4ab972b87a When the support extruders are set to 0, support is printed with the current material without a tool change.
A fix of support path generator.
2017-01-30 19:56:46 +01:00
bubnikv
081c1d681c Fixed preview of ExtrusionMultiPath instances. 2017-01-20 20:20:41 +01:00
bubnikv
c0b3de6248 Hopefully fixes https://github.com/prusa3d/Slic3r/issues/90
Latest master segfaults with perl 5.24.1 #90
The fix achives similar goal to https://github.com/alexrj/Slic3r/pull/3575
but it is simpler.
2017-01-20 16:56:37 +01:00
bubnikv
08351b5e48 Fix of ExtrusionMultiPath binding to Perl & G-code generator. 2017-01-20 15:17:32 +01:00
bubnikv
e016c4e423 New extrusion class: ExtrusionMultiPath
This is similar to an ExtrusionLoop, but it is open.
It may contain multiple chained paths with differing parameters.
This allows one to have a hierarchy of paths, where the ExtrusionEntityCollection
will be chained by the G-code generator, but ExtrusionMultiPath will not.
2017-01-19 13:35:55 +01:00
slicer-builder
bb22f1dc8a prototyping tweakable XY supports;
option should be present now in advanced support menu.
Can't figure out what's going on atm; support should be moving but isn't
2017-01-03 11:46:52 +01:00
Joseph Lenox
f63c21f0f3 Added a feature to increase gap between object in XY and generated supports.
Advanced feature, may not generate supports that are printable.
2017-01-03 11:43:18 +01:00
Joseph Lenox
4b2bc29b14 set support spacing option if support is off 2017-01-03 11:40:45 +01:00
bubnikv
07dd06c53c Merge remote-tracking branch 'origin/supports-synchronize-layers' 2017-01-03 10:51:23 +01:00
bubnikv
479f716625 Improvements in the manual layer width editor. 2016-12-21 16:00:41 +01:00
bubnikv
955bc957ba New supports now do rafts at least to the extent the test cases run through.
New supports enabled, old supports will go away soon.
2016-12-20 12:19:13 +01:00
bubnikv
ff0a8956ee Fixed previous checkin. 2016-12-14 15:42:38 +01:00
bubnikv
c79e1cc89b Fixed UI bug on OSX, experimental features made switchable through
environment.
2016-12-14 15:36:18 +01:00
bubnikv
79ff013ea7 Fixed crashes on shader destruction on OSX. 2016-12-14 15:09:12 +01:00
bubnikv
6582182e0c Adapted to the new ClipperUtils.hpp interface by @alexrj 2016-12-13 19:22:23 +01:00
bubnikv
46b44fc141 User interface of the variable layer thickness. Certainly not finished yet,
but sufficient for evaluation of the prints.
2016-12-12 18:02:24 +01:00
bubnikv
2d030f3a3c Most of the slicing code rewritten to C++. 2016-12-12 17:56:37 +01:00
Alessandro Ranellucci
9c0c05631c Ignore failure to call SetAutoPop when not available. #3596 @alexrj 2e82fb01a65deb4e0872de9219f47e58b7000ebf 2016-12-08 14:55:48 +01:00
Alessandro Ranellucci
5dc8a0808e Maybe the Travis CI server has more than 16 cores? 2016-12-08 14:52:42 +01:00
Alessandro Ranellucci
d8082b9db4 Try to fix compilation error about the new threads default 2016-12-08 14:52:15 +01:00
Alessandro Ranellucci
9e8dae817d Fixes and improvements to the view selection menu, cherry picked from @alexrj a7693c4719c0e0e0129aea7461706d2ed53a52cc 2016-12-08 14:51:35 +01:00
Alessandro Ranellucci
86c8207d31 Ported make_perimeters() and infill() to C++/XS, use pure C++ threads, cherry picked from @alexrj 66591bcc556c01572ec7519b1f8cb4ee2d430685 2016-12-08 14:24:40 +01:00
bubnikv
330ffed87e Adjusted copyright header of the Perl GLShader module. 2016-12-02 11:19:27 +01:00
bubnikv
7e1af658b6 Initial experiments with vertex / fragment shaders,
prototype to visualize layer thickness.
2016-12-02 11:14:24 +01:00
bubnikv
bd618569e1 Print the supports before the object layer at the same height. 2016-11-30 18:54:19 +01:00
bubnikv
26a8017e99 Made the support interface contact loops configurable. 2016-11-30 17:33:55 +01:00
bubnikv
38cb2842ac support_material_synchronize_layers implementation 2016-11-30 16:06:12 +01:00
bubnikv
556204fddc support_material_synchronize_layers configuration value
for synchronization of object layers with print layers.
2016-11-30 16:04:15 +01:00
bubnikv
695c92fb00 CLIPPER_OFFSET_SCALE was made a power of two, the scaling functions
inside ClipperUtils are now using bit shifts instead of multiplication
by doubles, which makes the scaling precise.

Removed the scale parameter from all offset functions.

Modified the safety offset to calculate offset per polygon instead
of over all polygons at once. The old way was not safe and very slow,
sometimes this meant a kiss of death for supports for example.
2016-11-28 17:33:17 +01:00
bubnikv
0d20a81354 Log support through boost::log 2016-11-24 13:44:51 +01:00
bubnikv
a069c41b20 On Windows, load the icon either from the exe, or fron the ico file. 2016-11-20 14:22:26 +01:00
bubnikv
79f5a16536 Reverted the perimeter generator to not save the perimeter areas.
These could be calculated from the fill areas if needed.
On the other side, the non-classified (non-split) fill areas are stored
now for use in the "ensure vertical wall thickness" feature,
also the non-split fill areas are re-used when recalculating the infills.
This is safer than trying to stitch the fill region together from the
classified fragments.

Modified the "ensure vertical wall thickness" feature to use the non-split
fill areas instead of perimeter areas for the calculation
of non-supported regions. This is cheaper as the fill areas contain
roughly half the edges.
2016-11-17 23:22:59 +01:00
bubnikv
50f06a0fe8 Increased the gimbal lock threshold to 170 degrees from 150 degrees.
This makes it possible to look at the bottom of an object.
2016-11-16 09:24:27 +01:00
bubnikv
7f1704b2ac Disabled live preview by default as it is not stable and/or the calculation takes too long for interactive usage. 2016-11-13 23:35:56 +01:00
bubnikv
1070f0c0af New feature: Propose to enable "detect bridging perimeters"
when the supports are first enabled. Don't check keep asking,
if the user does not want the bridging perimeters to be enabled.
2016-11-11 15:05:39 +01:00
bubnikv
f4ee87ba24 Fixed https://github.com/prusa3d/Slic3r/issues/27 2016-11-11 12:00:40 +01:00
bubnikv
4460b5ce50 re-wrote PrintObject::detect_surfaces_type() to C++,
Fixed some cracks in the fill surfaces created by rounding all surfaces inside detect_surface_type().

Fixed https://github.com/prusa3d/Slic3r/issues/12
Bridging-Angle not optimal

Extended the "Ensure veritcal wall thickness" mode (merged with the original discover_horizontal_shells function), but this a work in progress. Already Slic3r with "ensure vertical wall thickness" produces less spurious infills inside solids.
2016-11-10 19:23:01 +01:00
bubnikv
eb0ab38618 Fixes https://github.com/prusa3d/Slic3r/issues/26
Strange behavior of Extra perimeters and ensure wall thickness
Old behavior is re-enabled when ensure vertical wall thickness is off.
2016-11-09 10:24:45 +01:00
bubnikv
e15b5f4587 Fix of https://github.com/prusa3d/Slic3r/issues/16
Crashes while switching in preview through layers with arrow keys

Also added a check box to visualize a single layer only
in the 3D path view. The check box may be toggled with a 'S' key.

Added shift+U / shift+D buttons in the 3D path view to show a single
layer only.
2016-11-08 17:13:16 +01:00
bubnikv
b8590180d8 Fix of https://github.com/prusa3d/Slic3r/issues/20
Slicing preview incorrect in terms of visible solid layers
2016-11-08 15:33:13 +01:00
bubnikv
bfb336df0c Refactored Print::validate() method to not throw an exception, but
to return a string with an error message instead. This was necessary
to avoid a hang-up on some Strawberry Perl distributions, when
a perl "croak" function is called after a C++ exception is caught.
2016-11-05 02:23:46 +01:00
bubnikv
6217622865 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.
2016-11-04 15:03:51 +01:00
bubnikv
12b7818caa Only call wxWidgets method wxApp::SetAppDisplayName for wxWidgets 3.0
and newer.
2016-11-03 09:15:30 +01:00
bubnikv
95ede7c4b8 Rewrote Fill2.pm to C++, deleted Perl infills for good.
Removed dependency on Perl Math::PlanePath module.
Fixed compilation with Visual Studio and SLIC3R_DEBUG: Visual Studio older than 2015 does not support the prinf type specifier %zu. Use %Iu instead.
C++11 move semantics enabled.
2016-11-02 10:47:00 +01:00
bubnikv
3d3654707b 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.
2016-11-01 13:41:24 +01:00
bubnikv
34fab1566f "Background slice now" function, initial implementation by @lordofhyphens
https://github.com/alexrj/Slic3r/pull/3501
2016-10-25 13:24:42 +02:00
bubnikv
34248c2fbf On Windows use the Slic3r.ico instead of the PNG file
for the application icon.
2016-10-24 18:05:26 +02:00
bubnikv
51c8d73b11 Fixed a division by zero in 3D scene, if there is nothing to show.
Improved Prusa3D icon.
2016-10-24 17:32:22 +02:00
bubnikv
741a85187c Suppress the '- default -' selection of Print/Filament/Printer settings
if there is any valid option available. This feature has been asked for
by the Prusa3D customers as the '- default -' option has nothing to do
with the actual printer and when selected accidentally, it could even
lead to a printer damage.
2016-10-24 16:07:36 +02:00
bubnikv
250ff451ba by alexrj: Fixes in GCodeSender to reset the connection after it breaks.
by alexrj: Fix in mouse handling of 2DBed.
by alexrj: ClipperUtils for ExPolygon vs. ExPolygon
2016-10-24 14:07:38 +02:00
bubnikv
1fb57e439e Defined the +-* operators on Pointf.
Removed the deprecated VibrationLimit feature.
Added triangle infill.
The Prusa3D fork of Slic3r has been marked as "Slic3r Prusa Edition"
with menus pointing to the prusa3d/slic3r github release page
and Prusa3D drivers downloads page.
2016-10-21 16:53:42 +02:00
bubnikv
15d3e94a66 Unified the creation of paths of debugging output files
pointing to a predefined output directory.
2016-10-21 10:18:01 +02:00
bubnikv
9e4edcd8ec Enabled the C++ fillers for all infills, not just the supports.
Made sure the C++ fillers are instantiated at the worker threads,
where there are being released.
Extended the FillRectilinear2 to calculate the contour / line intersection
with exact arithmetics, improved robustness and added error handling
and error reporting, if the contours to be filled are not correct.
2016-10-20 17:44:46 +02:00
bubnikv
53907a9cfe Fix of a crash when setting a viewport over an empty platter.
Exported bounding box 'empty' method to perl.
2016-10-18 16:44:05 +02:00
bubnikv
c0956dbd34 Disable debugging output from the Filler2.pm 2016-10-17 17:16:02 +02:00
bubnikv
47cc9687a0 Added a new switch: ensure_vertical_shell_thickness
This enables a zig-zag infill similar to Cura or Simplify3D
on overhangs.
2016-10-16 22:11:19 +02:00
bubnikv
7d7f093120 C++ supports sketched, but not finalized yet. Slic3r is still using
the old Perl supports, but this time with the C++ fillers.
2016-10-16 16:30:56 +02:00
bubnikv
ee4b9ab82f Select standard camera views (left / right / top / bottom / front / rear / default)
by menu.
2016-10-05 14:13:07 +02:00
bubnikv
5268574ade Made the sheath around the base support configurable. Without the sheath
it is easier to remove the support, but the support is more fragile.
2016-10-04 14:38:13 +02:00
bubnikv
5bb37ad2c4 A new feature "support_material_buildplate_only" implemented.
Also a bug has been fixed for zero interface layers. Before
slic3r would put infinite number of interface layers over top surfaces,
if the number of interface layers was set to zero.
2016-10-04 13:54:10 +02:00
bubnikv
ae2bae137a Added a low layer slider into the 3D preview window.
This is to limit the preview to a span of layers.
2016-10-03 17:01:29 +02:00
bubnikv
b7af7276c9 Instantiate the new C++ filler. It will be used for the supports first. 2016-10-03 16:59:00 +02:00
bubnikv
403329db49 Misc bugfixes. 2016-09-26 13:58:47 +02:00
bubnikv
790b640521 Visualization of fill surfaces. 2016-09-26 13:56:24 +02:00
bubnikv
8f04f5d5f6 Don't adjust width of infill. It produces dangerously wide fills.
If the infill flow adjustment is enabled, report cases,
where the infill flow grows over the limits.
Make the internal bridging infill 50% sparse.
2016-09-26 13:38:37 +02:00
bubnikv
6950ce3bcf Report when the threading is disabled and when the debugging output
is enabled.

Two new environment variables are respected:
SLIC3R_SINGLETHREADED and SLIC3R_DEBUGOUT.
2016-09-26 12:57:15 +02:00
bubnikv
a506030082 Draft of a 3D toolpaths preview. 2016-09-26 12:38:29 +02:00
bubnikv
565146d9d1 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-09-23 12:59:20 +02:00
bubnikv
6e97b9bb73 Optimization of the layer offsets in 3D visualization. 2016-09-15 12:26:53 +02:00
bubnikv
a53bd3dfe9 Generate multiple vertex lists rather than requesting a single huge
memory block.
2016-09-15 00:06:42 +02:00
bubnikv
2a5095a1ea OpenGL support through GLEW. Only active if compiled with SLIC3R_GUI=1. 2016-09-14 16:31:26 +02:00
bubnikv
4c67230436 Documented the purpose of various perl modules. 2016-09-14 11:22:41 +02:00
bubnikv
55218c8c4d Documented.
Fixed rough Z buffer quantization issues with ortographic camera.
Initial implementation of a perspective camera.
2016-09-14 09:38:59 +02:00
bubnikv
15c1edd552 Configurable volumetric extrusion rate slope. 2016-09-13 15:02:28 +02:00
bubnikv
b2a6f43923 Documented perl modules. 2016-09-13 11:24:55 +02:00
bubnikv
6dfe4c0b96 Debugging code: Storing the test STLs inlined in the Perl code into a file. 2016-09-13 09:48:29 +02:00
bubnikv
f518e0675c Initial commit of the new Pressure Equalizer, the EdgeGrid
signed distance field structure.
The EdgeGrid is used to avoid placing the seams on overhangs.
2016-09-12 16:25:15 +02:00
bubnikv
9a83d4e8d5 Reverted some now unnecessary changes. Reverted the infill to the original perl implementation. 2016-09-12 13:26:17 +02:00
bubnikv
9fcc8fe9ae Meged with release_candidate_1_3 2016-09-12 11:29:39 +02:00
bubnikv
ca98e2655a New command line option: --dont-arrange
Don't arrange the objects on the build plate. The model coordinates
define the absolute positions on the build plate.
The option --print-center will be ignored.

Also there is a fix in the command line invocation of --duplicate-grid
so it will run, but still there is something broken there and the results
are not correct.
2016-09-05 11:32:58 +02:00
Vojtech Bubnik
7649a1df41 Merge branch 'master' of https://github.com/alexrj/Slic3r into release_candidate_1_3 2016-06-03 17:45:05 +02:00
bubnikv
e0b9865386 Fix of a crash when the Print Bed dialog is reopened after the bed shape
was defined with an STL.
Fix of rendering on Windows, refresh on resize.
2016-06-03 17:21:47 +02:00
bubnikv
ef0d22be30 2D platter rendering fixed on Windows, and the background color fixed
on Linux/GTK.
2016-06-03 15:23:03 +02:00
bubnikv
62b440ff6c Fixes a performance issues on Windows, where the cut is being
refreshed many times for a single move of the Z plane.

Fixes a problem on Windows, where the new wxWidgets always returned
Cancel, even if the window was closed with the "Cut" button.

Improved performance if the live preview is disabled or not needed,
because both top and bottom parts shall be displayed.
2016-06-03 10:35:39 +02:00
bubnikv
5573faec6b 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-06-03 09:36:23 +02:00
bubnikv
bb9c3dd9ce Fix of git #3293: More efficient GCode export
This fixes two problems of repeatedly copying data from the C++ layer
to perl, by factoring the copying out of an inner loop.
2016-06-01 20:58:05 +02:00
Alessandro Ranellucci
2a8c139ca4 Add XYZ homing button to printer manual control 2016-05-31 15:02:56 +02:00
Alessandro Ranellucci
30f6e4b16f Bugfix: homing was not correctly saved 2016-05-31 15:02:55 +02:00
bubnikv
ab9e3b718c Support multi sampled anti-aliasing with wxWidgets 3.0.3. 2016-05-27 23:38:45 +02:00
Joseph Lenox
f2e8c6f3bd Merge pull request #3262 from hyperair/fix-autospeed-F0-moves
Don't use equality comparisons for floats
2016-05-18 22:07:34 -05:00
bubnikv
d8be976356 The "controller" tab and the settings of the USB/serial connection was
made configurable. Now one may hide the "controller" tab and the USB/serial
connection configuration from the preferences. This is useful for someone,
who never connects his printer to the computer by a cable.
2016-05-16 23:57:53 +02:00
Vojtech Bubnik
d022493297 Merge remote-tracking branch 'upstream/master' 2016-05-03 22:05:31 +02:00
bubnikv
3a0172888a Adapted to the new infills. 2016-04-15 17:54:47 +02:00
bubnikv
ab5e01d114 Adapted to the new infills.
New infills process a not yet shrunk expolygon.
2016-04-15 17:51:11 +02:00
bubnikv
f767ce816b Optimized and improved rectilinear fill. 2016-04-13 20:45:44 +02:00
bubnikv
3ba625da22 Revert incorrect checkins. 2016-04-11 17:34:15 +02:00
bubnikv
7da68c91a5 Vojtech likes to use Sublime on Windows to get the wheels rolling. 2016-04-11 17:05:58 +02:00
Chow Loong Jin
2e2e4e68d3 Fix layer time slowdown
The recent GCode writer changes which put the speed changes on a line of
their own have caused the layer time slowdown to be ignored by the regex
in CoolingBuffer.pm.

Fixes: #3134
2016-04-10 16:10:18 +08:00
Alessandro Ranellucci
82b07a02fa One more year 2016-04-09 19:11:50 +02:00
Alessandro Ranellucci
f006e66549 Refactored calls to Wx::Bitmap->new 2016-04-09 19:10:57 +02:00
Alessandro Ranellucci
412a862677 Fixed dragging in 3D plater having some glitches with multipart objects 2016-03-19 22:31:07 +01:00
Alessandro Ranellucci
dd879c3ef2 When loading an AMF file having multiple objects that look like multiple parts of a single object, prompt user and ask how to consider it. #2970
Conflicts:

	lib/Slic3r/Model.pm
2016-03-19 22:24:20 +01:00
Alessandro Ranellucci
5ff7511a14 Fixed regression in bridging caused by error in porting. Includes regression test. #3175 2016-03-18 22:40:29 +01:00
Alessandro Ranellucci
e2aae39f15 Bugfix: crash when input to bed shape options was '-'. #3254 2016-03-18 01:15:52 +01:00
Alessandro Ranellucci
1a09ae81db Merge pull request #3166 from hippich/pk-fix-about-screen
Fix Slic3r crash when opening About dialog
2016-03-14 00:17:13 +01:00
Alessandro Ranellucci
0964700e6d Merge pull request #3209 from hyperair/fix-3046
Don't toggle support_material_enforce_layers field
2016-03-13 18:30:22 +01:00
Alessandro Ranellucci
4fad87e438 Fixed float comparison in combine_infill 2016-03-13 12:24:03 +01:00
Chow Loong Jin
5f8eea9adf Don't use equality comparisons for floats
This fixes an issue where F0 moves arise from 0-width (or 0 layer
height?) support material segments when using autospeed.

Fixes: #3261
2016-03-08 08:28:30 +08:00
Alessandro Ranellucci
a32937cef2 Refactoring: new Layer::make_fill() method 2016-02-20 20:51:07 +01:00
Alessandro Ranellucci
e72a89ec23 New icon for Infill (credits: Carlo Mariella) 2016-02-20 16:18:48 +01:00
Chow Loong Jin
a9c5874db3 Don't toggle support_material_enforce_layers field
support_material_enforce_layers works independently of the support_material ||
raft options, so we should not disable the field when support material
generation is disabled.

Fixes: #3046
2016-01-17 17:12:47 +08:00
Pavel Karoukin
571b406bd6 @farhaven: There's one more wxCLOSE in lib/Slic3r/GUI/Projector.pm, that one should probably be changed as well. 2015-12-27 11:26:11 -06:00
Alessandro Ranellucci
f5326c393a Revert "Implement resizable left column in preset editor. #3151"
This reverts commit 4b30d67e54.
2015-12-25 17:52:10 +01:00
Alessandro Ranellucci
7c8b71012c Force the 'nearest' strategy for starting skirt loops 2015-12-21 15:02:39 +01:00
Alessandro Ranellucci
1a286fc906 Fixes and improvements to MotionPlanner, much smarter now 2015-12-21 14:46:35 +01:00
Alessandro Ranellucci
f7e97f7e9b Refactor cutting logic, don't slice in 3DScene 2015-12-19 23:15:37 +01:00
Alessandro Ranellucci
025a508de2 Ignore cut result if user didn't click the cut button 2015-12-19 20:41:47 +01:00
Alessandro Ranellucci
6e231a8cae Editable text control for specifying the cut Z in cut dialog 2015-12-19 20:38:50 +01:00
Alessandro Ranellucci
70e8db8a0a Minor code cleanup here and there 2015-12-19 20:27:04 +01:00
Pavel Karoukin
4f32a1cf9d Fix Slic3r crash when opening About dialog 2015-12-19 10:47:15 -06:00
Alessandro Ranellucci
9dc0514844 Use bridge flow and speed for solid_infill_every_layers 2015-12-19 12:48:48 +01:00
Alessandro Ranellucci
4b30d67e54 Implement resizable left column in preset editor. #3151 2015-12-18 20:00:22 +01:00
Alessandro Ranellucci
8138fbf349 New --retract-lift-above and --retract-lift-below options. #763 #3057 2015-12-18 18:36:39 +01:00
Alessandro Ranellucci
44825d91af Some changes to DLP projector 2015-12-18 00:56:56 +01:00
Alessandro Ranellucci
d0ad57b64d Don't show any dialog if 0 configs were imported 2015-12-17 18:48:50 +01:00
Alessandro Ranellucci
3c862836f2 Refactored the Config XS bindings 2015-12-16 12:33:19 +01:00
Alessandro Ranellucci
c73378744f Prevent flickering 2015-12-15 17:10:10 +01:00
Alessandro Ranellucci
7ecfe195f7 Live preview in the cut dialog 2015-12-14 00:15:26 +01:00
Alessandro Ranellucci
37d0558873 Move the position_screen method to the Screen class 2015-12-11 01:18:02 +01:00
Alessandro Ranellucci
9bd10b3b5e Updates to GUI projector: fix buttons not updating when print finished; ring a bell at that time; disable screensaver not just when printing but until the DLP projector window gets closed 2015-12-11 01:13:47 +01:00
Alessandro Ranellucci
32a333f16a Import config bundle automatically if found in application directory 2015-12-07 12:17:06 +01:00
Alessandro Ranellucci
c16cdb9d85 Preserve the current layer when refreshing the 3D preview 2015-12-05 23:22:50 +01:00
Alessandro Ranellucci
a8091e41a0 Fix a minor glitch with scrollbars in OverrideSettingsPanel 2015-12-05 23:14:13 +01:00
Alessandro Ranellucci
50b52367a2 New "Scale to size" command(s). #2711 2015-12-05 19:37:57 +01:00
Alessandro Ranellucci
abff77cf04 Add color icons to menu items about axes. #3121 2015-12-05 19:01:17 +01:00
Alessandro Ranellucci
e2b203ba8d Disable screensaver while projecting (untested on Windows) 2015-12-04 21:25:45 +01:00
Alessandro Ranellucci
366b364996 Improvements to DLP projector: disable all options while printing; apply config changes to the printer preset so that user can save them; show total and remaining print time 2015-12-04 18:52:53 +01:00
Alessandro Ranellucci
4f8a18bbad Ported Layer::maker_perimeters() to XS 2015-12-02 19:32:57 +01:00
Alessandro Ranellucci
3a9cf91f83 Ported a couple more methods to XS 2015-12-02 18:29:33 +01:00
Alessandro Ranellucci
ed75219215 Ported mode Model methods to XS 2015-12-02 18:06:18 +01:00
Alessandro Ranellucci
dfce3a3138 Ported _arrange() and arrange_object() to XS 2015-12-01 21:51:16 +01:00
Alessandro Ranellucci
5655f786f4 Change order in DLP projection 2015-12-01 20:54:06 +01:00
Alessandro Ranellucci
5844b956be Bugfix: prevent crash when setting a Choice field to a non-indexed value 2015-12-01 20:53:29 +01:00
Alessandro Ranellucci
017ed05911 Removed debugging comment 2015-11-22 10:13:58 +01:00
Alessandro Ranellucci
ad4940a1d6 New option for inverting the Y axis in projection 2015-11-20 10:30:56 +01:00
Alessandro Ranellucci
f9d1ca8373 Project grid 2015-11-20 10:04:17 +01:00
Alessandro Ranellucci
bd00e7c584 Fix projection of slices with holes because wxDC is not honoring the fill rule 2015-11-20 09:57:51 +01:00
Alessandro Ranellucci
78d2240d71 Limit slider to number of layers 2015-11-20 09:41:13 +01:00
Alessandro Ranellucci
4a65671f64 Prevent absolute movement if user hasn't homed both X and Y 2015-11-20 09:36:17 +01:00
Alessandro Ranellucci
cc57432be4 Let user configure travel speed in manual control dialog 2015-11-20 09:32:48 +01:00
Alessandro Ranellucci
0af289ed78 Added manual projection control 2015-11-20 09:18:41 +01:00
Alessandro Ranellucci
2efc759a74 Add manual control to DLP projector too 2015-11-19 17:31:47 +01:00
Alessandro Ranellucci
624c5e78db Changed default settings for DLP projector and changed time options from integer to decimal 2015-11-19 15:04:50 +01:00
Alessandro Ranellucci
73b6400129 Merge branch 'master' into sender-dlp 2015-11-19 13:19:04 +01:00
Alessandro Ranellucci
21a5d6e137 Several fixes to GCodeSender, including compilation on older OS X and DTR reset 2015-11-19 13:17:52 +01:00
Alessandro Ranellucci
870cb3ccc4 Merge branch 'sender' into sender-dlp 2015-11-16 12:50:41 +01:00
Alessandro Ranellucci
e50bbc0245 Don't crash when no serial ports are available on Windows 2015-11-16 12:50:16 +01:00
Alessandro Ranellucci
c1f95ac173 Slice objects even if background processing is disabled 2015-11-15 23:16:14 +01:00
Alessandro Ranellucci
5ba2f72324 More customizable options for DLP projector 2015-11-15 22:42:56 +01:00
Alessandro Ranellucci
be0ba4d5a2 Re-enable serial connection for DLP projector 2015-11-15 21:08:47 +01:00
Alessandro Ranellucci
6bfa2cfaec Projector for DLP 2015-11-15 21:08:14 +01:00
Alessandro Ranellucci
80620a5e94 Some fixes and improvements to controller 2015-11-08 11:17:55 +01:00
Alessandro Ranellucci
3c43fb8081 Fix rendering on Windows 2015-11-08 10:20:47 +01:00
Alessandro Ranellucci
9febb10bd7 Smoother manual control movements 2015-11-08 10:20:47 +01:00
Alessandro Ranellucci
37ecc61d06 Two fixes for --debug 2015-11-08 09:12:59 +01:00
Alessandro Ranellucci
25a358cd20 Prevent double connection check 2015-11-06 16:34:54 +01:00
Alessandro Ranellucci
3cbc35143b More fixes for serial port detection on Windows 2015-11-06 16:33:54 +01:00
Alessandro Ranellucci
5d69e732d8 Fix serial port detection on Windows 2015-11-06 16:25:51 +01:00
Alessandro Ranellucci
9f9b5afedb Merge branch 'master' into sender 2015-11-05 11:04:01 +01:00
Alessandro Ranellucci
61f0a9e4da Replace the flip word with mirror. #3060 2015-11-04 23:11:30 +01:00
Alessandro Ranellucci
bce3d98d9d Bugfix: error when setting per-region percent perimeter_extrusion_width. #2983
Conflicts:

	lib/Slic3r/Layer.pm
2015-11-04 20:10:52 +01:00
Alessandro Ranellucci
b8e95f40a6 Prompt user when setting wipe + use_firmware_retraction. #3056 2015-11-04 19:43:50 +01:00
Alessandro Ranellucci
810d7ee1c0 Fixed one more memory leak 2015-11-04 19:29:59 +01:00
Alessandro Ranellucci
198dc7d3bd When background processing fails because of an error, display it in an explicit dialog 2015-11-04 19:28:25 +01:00
Alessandro Ranellucci
a25757a66d Fixed regression causing empty prints to hang. #3107 2015-11-04 19:20:34 +01:00
Alessandro Ranellucci
69a71db25b Bugfix: wrong default in extruder_offset tooltip. #3051 2015-11-04 19:13:56 +01:00
Alessandro Ranellucci
8f7e820a01 Display a warning when no USB/serial printers were configured 2015-11-03 23:00:59 +01:00
Alessandro Ranellucci
e8ae2d6ec2 Try to fix broken wx scrolling 2015-11-03 22:46:31 +01:00
Alessandro Ranellucci
d8a94c3936 Smarter logic for displaying printer panels 2015-11-03 21:55:17 +01:00
Alessandro Ranellucci
16c38315f7 Fixed manual control buttons 2015-11-02 20:42:40 +01:00
Alessandro Ranellucci
9ee6829ebc Implemented connection timeout in C++ 2015-11-02 20:36:36 +01:00
Alessandro Ranellucci
4295d65115 Manual control 2015-11-02 20:16:37 +01:00
Alessandro Ranellucci
cb8f8a24b0 Keep print job order 2015-11-02 16:54:02 +01:00
Alessandro Ranellucci
01a2a07ecd More memory leaks fixed
Conflicts:

	lib/Slic3r/GUI/Plater.pm
2015-11-02 01:45:46 +01:00
Alessandro Ranellucci
4e3784a2a9 More memory leaks fixed 2015-11-02 01:44:19 +01:00
Alessandro Ranellucci
3685f5031d Fixed memory leak 2015-11-02 01:36:49 +01:00
Alessandro Ranellucci
05812a0a60 Fixed memory leak 2015-11-02 01:36:35 +01:00
Alessandro Ranellucci
b309c61de3 Test button for serial connection 2015-11-02 01:35:28 +01:00
Alessandro Ranellucci
fc1a7471cf Several improvements to the print job queue 2015-11-02 01:18:05 +01:00
Alessandro Ranellucci
9b21ac877a Merge branch 'master' into sender
Conflicts:
	Build.PL
	lib/Slic3r.pm
	xs/MANIFEST
	xs/src/libslic3r/PrintConfig.hpp
2015-11-01 19:12:13 +01:00
Alessandro Ranellucci
2811af349a Added a new grid infill pattern 2015-11-01 19:03:11 +01:00
Alessandro Ranellucci
9fcec10737 Finished porting LayerRegion to C++ 2015-10-26 23:24:46 +01:00
Alessandro Ranellucci
6ac79e3ed6 Ported make_perimeters() to C++ 2015-07-23 16:27:21 +02:00
Alessandro Ranellucci
15d2522f3d Merge branch 'xs-perimetergenerator' 2015-07-23 15:53:19 +02:00
Alessandro Ranellucci
b4515cf695 Finished porting PerimeterGenerator to C++ 2015-07-23 15:53:02 +02:00
Alessandro Ranellucci
0e18b094d1 More work for porting PerimeterGenerator to XS 2015-07-07 01:17:31 +02:00
Alessandro Ranellucci
c65c9d876e Bugfix: zooming in empty layers preview (because of disabled background processing) crashed 2015-07-04 15:26:11 +02:00
Alessandro Ranellucci
e84ead5291 Bugfix: changing range-based layer heigths didn't trigger background processing. #2958 2015-07-04 15:26:04 +02:00
Alessandro Ranellucci
440af2c81c Bugfix: bridge anchors were shortened under rare circumstances 2015-07-03 23:38:41 +02:00
Alessandro Ranellucci
b8aecbd56c Initial work for porting PerimeterGenerator to XS 2015-07-03 22:58:29 +02:00
Alessandro Ranellucci
3e739b87da Finished porting Slic3r::GCode to XS (speed boost!) 2015-07-02 20:24:16 +02:00
Alessandro Ranellucci
0ad4296aaf Ported GCode::set_extruders() and GCode::change_layer() to XS 2015-07-02 19:33:08 +02:00
Alessandro Ranellucci
fbd640fdc5 Ported GCode::extrude_path() to XS (speed boost!) 2015-07-02 18:57:40 +02:00
Alessandro Ranellucci
b025efe729 Ported GCode::travel_to() to XS 2015-07-02 15:12:04 +02:00
Alessandro Ranellucci
a6f4c8e567 Ported GCode::set_extruder() and OozePrevention 2015-07-02 15:02:20 +02:00
Alessandro Ranellucci
b14290b9f6 Make tests happy 2015-07-02 14:29:20 +02:00
Alessandro Ranellucci
5571144c0e Ported Slic3r::GCode::needs_retraction() to XS 2015-07-01 23:14:40 +02:00
Alessandro Ranellucci
b4019bb438 Ported more Slic3r::GCode methods to XS 2015-07-01 23:00:52 +02:00
Alessandro Ranellucci
801f629fdc Ported Slic3r::GCode storage to XS 2015-07-01 21:47:17 +02:00
Alessandro Ranellucci
280f3f38d7 Ported Slic3r::GCode::OozePrevention storage to XS 2015-07-01 21:01:42 +02:00
Alessandro Ranellucci
b43dd92766 Ported Slic3r::GCode::Wipe storage to XS 2015-07-01 20:57:16 +02:00
Alessandro Ranellucci
bf9cd1b8e6 Ported Slic3r::GCode::AvoidCrossingPerimeters to XS 2015-07-01 20:14:05 +02:00
Alessandro Ranellucci
580d28d071 Finished porting PlaceholderParser to XS 2015-07-01 19:35:22 +02:00
Alessandro Ranellucci
249088b4f8 Ported Config::setenv() to XS 2015-07-01 18:18:25 +02:00
Alessandro Ranellucci
f361d8ad43 Ported PlaceholderParser::apply_env_variables() to XS 2015-07-01 17:56:38 +02:00
Alessandro Ranellucci
455a1062ef Fix minor rendering glitch in 2D toolpaths preview 2015-06-17 00:34:05 +02:00
Alessandro Ranellucci
6dc3caa8b2 Typo 2015-06-15 17:08:12 +02:00
Alessandro Ranellucci
539cde8d7a Raise the thickness threshold used for generating thin walls. TODO: don't enforce this at the segment level but consider the average thickness of an entire polyline and compare it to the total length. #2910 2015-06-15 17:00:10 +02:00
Alessandro Ranellucci
bc69d6da81 Minor adjustment of infill_overlap math 2015-06-14 11:28:33 +02:00
Alessandro Ranellucci
552430db67 More fixes for Unicode path handling (thanks @josefprusa for Czech test VM) 2015-06-13 11:41:55 +02:00
Alessandro Ranellucci
1e23b82e24 Bugfix: small gaps were left between infill and perimeters when solid infill extrusion width was much thinner than internal infill extrusion width. #2895 2015-06-09 16:04:26 +02:00
Alessandro Ranellucci
eff0620ddf Prompt user when overwriting a file during G-code export as well. #2882 2015-06-03 13:19:43 +02:00
Alessandro Ranellucci
52d3a047a0 One more raft issue causing extra layers. #2723 2015-06-03 09:39:10 +02:00
Alessandro Ranellucci
c5f72a633a Bugfix: Repeat Last Quick Slice was affected by the plater exports. #2016 2015-06-02 22:27:11 +02:00
Alessandro Ranellucci
6018dafc46 Removed debugging statement 2015-06-02 20:03:57 +02:00
Alessandro Ranellucci
5ce4d8cfb0 Bugfix: extra thin layers added to raft. #2723 2015-06-02 19:58:36 +02:00
Alessandro Ranellucci
ee66392e11 Fix numerical issues causing incomplete raft under certain circumstances. Includes a minor refactoring of raft layer logic. #2723 2015-06-02 19:44:29 +02:00
Alessandro Ranellucci
854be6a186 Handle OctoPrint upload of files having Unicode characters in filename or path. #2827 2015-06-02 17:10:06 +02:00
Alessandro Ranellucci
56b993bb89 More fixes for Unicode filenames support on Windows and OS X 2015-06-02 16:10:15 +02:00
Alessandro Ranellucci
7b65a35519 Always limit volumetric speed with Max Volumetric Speed (not just when using autospeed). #2810 2015-06-02 11:54:38 +02:00
Alessandro Ranellucci
c37b5c2e87 Remove debugging statement 2015-06-02 11:49:43 +02:00
Alessandro Ranellucci
8613e174e7 Fix error in autospeed. #2810 2015-06-02 11:48:56 +02:00
Alessandro Ranellucci
e90f5fde4e Enlarge your about window 2015-06-02 11:20:45 +02:00
Alessandro Ranellucci
ca72fd4266 Fix ComboCtrl on Windows 2015-06-02 11:19:11 +02:00
Alessandro Ranellucci
03c754ab14 Add close button and support Esc key and close on click inside the window to the About dialog since the title bar is not displayed on Windows and some Linux distros. #2688 2015-06-02 10:49:24 +02:00
Alessandro Ranellucci
b4cc92b9fa Fix filament colors not being initialized in additional comboboxes 2015-06-01 23:58:34 +02:00
Alessandro Ranellucci
0a9f1c466a Minor improvements to filament choosers in the plater 2015-06-01 23:52:15 +02:00
Alessandro Ranellucci
c2c321c90b Restore the (modified) label in preset comboctrl 2015-06-01 23:34:04 +02:00
Alessandro Ranellucci
6c53b14ee4 Minor improvement to extruder count field 2015-06-01 23:19:26 +02:00
Alessandro Ranellucci
4402dfa6f3 Fix crash in GUI caused by recursive event calls. #2613 2015-06-01 23:11:27 +02:00
Alessandro Ranellucci
f14c0e2183 Bugfix: concave starting points were not correctly detected for slice holes. Includes regression test. #2857 2015-06-01 17:55:51 +02:00
Alessandro Ranellucci
97c701cdac Fix concurrency issue in Wx when changing the number of extruders. #2863 2015-06-01 14:57:43 +02:00
Alessandro Ranellucci
d549393a84 Comment about GetSelection() being context-aware. #2873 2015-06-01 14:32:31 +02:00
Alessandro Ranellucci
5b82f09308 Merge pull request #2873 from darenschwenke/master
Fixes #2858
2015-06-01 14:31:07 +02:00
Alessandro Ranellucci
fbea32a81c Prevent writing empty materials to AMF files. Also add a note about material-id = 0 being reserved by AMF spec. #2871 2015-06-01 11:51:00 +02:00
Daren Schwenke
23119e3673 Fixes #2858 2015-06-01 02:48:11 -04:00
Alessandro Ranellucci
e26022a2f2 Comment about Ctrl+, 2015-05-31 22:35:52 +02:00
Alessandro Ranellucci
17eb50da6d Use Ctrl+, for Preferences (standard on OS X, don't know about others). #2860 2015-05-31 22:33:46 +02:00
Alessandro Ranellucci
29b0e807d4 New [current_extruder] variable in custom G-code. #2866 2015-05-31 22:14:48 +02:00
Alessandro Ranellucci
1875825f45 Minor fix to previous commit 2015-05-31 22:09:58 +02:00
Alessandro Ranellucci
7f70da97b4 New experimental autospeed feature. #2810 2015-05-31 22:04:32 +02:00
Alessandro Ranellucci
6e280ab8cb Prompt user when using 100% infill with a pattern that does not support it 2015-05-28 18:56:35 +02:00
Alessandro Ranellucci
2f4fa41ce4 Fixed regression introduced with recent fixes to UTF-8 preset names handling on Windows that prevented their load on OS X (TODO: test on Linux) 2015-05-28 18:44:19 +02:00
Alessandro Ranellucci
e58c32bee8 Ask for confirmation before stopping prints 2015-05-28 18:33:15 +02:00
Alessandro Ranellucci
13b7316807 Merge branch 'master' into sender
Conflicts:
	Build.PL
	lib/Slic3r/GUI/MainFrame.pm
2015-05-28 18:05:36 +02:00
Alessandro Ranellucci
0d08c1819b Bugfix: plater views were not refreshed after config wizard in simple mode 2015-05-27 00:50:18 +02:00
Alessandro Ranellucci
310212ed30 Enable menu icons on older Windows and Linux Wx 2015-05-26 11:27:07 +02:00
Alessandro Ranellucci
aa8b6afe8b Assign color to filaments 2015-05-26 02:01:43 +02:00
Alessandro Ranellucci
ad0a15debe Menu item icons :o) 2015-05-25 22:37:04 +02:00
Alessandro Ranellucci
b7b017c3fa Fit objects to print bed when they are too large and warn user. #2853 2015-05-25 19:51:47 +02:00
Alessandro Ranellucci
7c31134a66 Fixed one little regression in gap detection causing some very very narrow gaps to be skipped when external perimeter extrusion width was much smaller than perimeter extrusion width. Also, push a bit more material in gap fill. #2560 2015-05-25 00:03:38 +02:00
Alessandro Ranellucci
42ae8347df Zoom around mouse location in 2D toolpaths preview 2015-05-24 23:29:53 +02:00
Alessandro Ranellucci
8cbb12aeb6 Workaround for wxCocoa bug causing wxSpinCtrl values to be reset when losing focus after changing them from the text field. #2612 2015-05-24 17:24:10 +02:00
Alessandro Ranellucci
f010354201 Bugfix: skirt was not exported to G-code when raft_layers > 0. #2843 2015-05-24 16:28:04 +02:00
Alessandro Ranellucci
e0678d3a38 Bugfix: skirt was floating in 3D preview when raft layers were enabled. #2843 2015-05-24 15:47:07 +02:00
Alessandro Ranellucci
7cc745969c Bugfix: some gaps were filled twice. #2836 2015-05-22 11:21:49 +02:00
Alessandro Ranellucci
c64308a5e7 Render brim and skirt in 3D toolpaths preview. #2649 2015-05-18 00:49:16 +02:00
Alessandro Ranellucci
36ba2eb5d6 Improved zoom/pan for toolpaths preview 2015-05-17 21:29:57 +02:00
Alessandro Ranellucci
80b169aa75 Pan & zoom for toolpaths preview 2015-05-16 00:33:22 +02:00
Alessandro Ranellucci
97211f35e7 More robust medial axis pruning. #2800 2015-05-13 20:50:30 +02:00
Alessandro Ranellucci
1dc63071ed Try to fix crash upon quick slice. #2801 2015-05-06 00:39:16 +02:00
Alessandro Ranellucci
d998d97754 Bugfix: crash on Windows when deleting the first object part. #2774 2015-05-05 01:12:16 +02:00
Alessandro Ranellucci
73e32dfe5d Use unique continuous numbering for layer numbers in case of support material layers. #2634 2015-05-03 20:18:34 +02:00
Alessandro Ranellucci
0d01348acc Use radians everywhere, including ModelInstance::rotation 2015-05-03 18:40:00 +02:00
Alessandro Ranellucci
7d81aee62f Added the [scale] placeholder. #2791 2015-05-02 21:59:15 +02:00
Alessandro Ranellucci
00acd32120 Fix failing test. #2806 2015-05-02 21:46:08 +02:00
Alessandro Ranellucci
d6d7880507 Ported Slic3r::Geometry::arrange() to C++/XS 2015-04-29 19:19:07 +02:00
Alessandro Ranellucci
5eb3bc52ef Ported ModelObject::rotate() and ModelObject::flip() to XS, as well as axes constants 2015-04-16 21:22:04 +02:00
Alessandro Ranellucci
be2f46ca68 Ported Layer::merge_slices() to XS 2015-04-16 20:44:55 +02:00
Alessandro Ranellucci
1f8ef2a63c Fixed regression introduced by the recent PerimeterGenerator refactoring causing spiral vase not to be correctly skipped on multi-loop layers. Includes regression test. #2761 2015-04-12 20:16:27 +02:00
Alessandro Ranellucci
901716adc8 Bugfix: the object parts editor is opened in invalid status until user clicks on a tree list item. #2762 2015-03-30 20:27:18 +02:00
Alessandro Ranellucci
ce676a7ca7 Bugfix: the Export G-code button was not re-enabled after cancelling an export job. #2754 2015-03-28 18:53:07 +01:00
Alessandro Ranellucci
2c13be1fa9 Bugfix: NumericChoice field was misbehaving. (thanks @markwal) #2752 2015-03-27 19:04:30 +01:00
Alessandro Ranellucci
21da24e372 Typo 2015-03-27 17:59:40 +01:00
Alessandro Ranellucci
2d7bfbb805 Bugfix: dirty filament options were ignored when using multiple extruders. Patch by @markwal. #2740 2015-03-23 21:48:31 +01:00
Alessandro Ranellucci
92b980b10e Bugfix: superfluous and harmful travel moves between objects when using sequential printing with Avoid crossing perimeters. #2691 2015-03-23 21:38:57 +01:00
Alessandro Ranellucci
13b63d06ed Use thick raft layers as we do for support material layers. #2723 2015-03-09 20:00:55 +01:00
Alessandro Ranellucci
8654537e55 Use support material layer height for raft layer instead of object layer height. #2723 2015-03-09 19:36:23 +01:00
Alessandro Ranellucci
d8ee9dd5f5 Limit first object layer height correctly when using a larger support material extruder. #2722 2015-03-09 19:27:57 +01:00
Alessandro Ranellucci
3fd182a8f5 Fix object Z alignment after cut + rotate lower part. #2724 2015-03-09 18:37:58 +01:00
Alessandro Ranellucci
6cab5668e3 Restore correct ordering of concentric infill loops, preventing them from being reordered during G-code generation 2015-03-09 18:28:07 +01:00
Alessandro Ranellucci
25cddfe446 Bugfix: layers view was not resized when inactive. #2608 2015-03-09 15:30:19 +01:00
Alessandro Ranellucci
0d6376f3e6 Call decode_path() on wxWidgets-supplied datadir. #2710 2015-03-09 15:25:42 +01:00
Alessandro Ranellucci
6185f45815 Hopefully fix all problems with non-ASCII paths on Windows 2015-03-09 15:17:50 +01:00
Alessandro Ranellucci
d2172b4383 Merge branch 'master' into sender 2015-03-06 22:15:43 +01:00
Alessandro Ranellucci
095391d702 When using raft, validate first layer height against support material extruder only instead of taking other extruders into account, thus potentially allowing larger nozzles to be used for it. #2701 2015-03-06 21:35:00 +01:00
Alessandro Ranellucci
9332c21791 Bugfix: double wipe was not prevented, causing potential collision between objects in sequential printing. #2691 2015-03-06 10:36:04 +01:00
Alessandro Ranellucci
c2009af1c6 Remove ;_WIPE marks in G-code which were left between objects in sequential printing 2015-03-06 10:25:31 +01:00
Alessandro Ranellucci
722e94513c Refactoring: removed the non-idempotent init_extruders() step. Also, infill_extruder was not limited to the available number of extruders when slicing from the plater, and support material extruder was considered also when support material was disabled 2015-03-06 09:56:58 +01:00
Alessandro Ranellucci
a3b843b24e Bugfix: temperature was not set correctly when using sequential printing. Includes regression test. #2702 2015-03-02 23:56:38 +01:00
Alessandro Ranellucci
9d435c8f4d Bugfix: we can't check for executability of post-processing scripts on Windows. #2616 2015-03-02 21:49:05 +01:00
Alessandro Ranellucci
70c032868a Prevent OpenGL scene from Z clipping 2015-03-01 19:58:05 +01:00
Alessandro Ranellucci
bb3feedc31 Bugfix: too many skirt layers were printed when using tall skirts and support material. #2695 2015-02-27 19:59:43 +01:00
Alessandro Ranellucci
70ace8c76f Bugfix: use proper spacing for first support layer instead of trying to align it to upper layers. #2662 2015-02-27 18:43:15 +01:00
Alessandro Ranellucci
45c91b2ae9 Don't trigger extra perimeters when less than 30% of the upper loops would benefit from it. #2664. Also fixes #2610 2015-02-24 00:34:43 +01:00
Alessandro Ranellucci
7a695a4a2f Change the behaviour of infill/perimeter overlap to handle some edge cases. #2632 2015-02-23 23:44:34 +01:00
Alessandro Ranellucci
e88cf466fe A couple notes about infill_only_where_needed 2015-02-23 00:55:00 +01:00
Alessandro Ranellucci
2655f3f816 Better and more robust implementation of infill_only_where_needed 2015-02-23 00:44:51 +01:00
Alessandro Ranellucci
69ea88473d Workaround for the Clipper issue causing extra points in grid segments 2015-02-22 17:09:08 +01:00
Alessandro Ranellucci
f8fa73fa4a Removed debugging stuff 2015-02-22 17:04:08 +01:00
Alessandro Ranellucci
2eca094170 Added failing test case for Clipper regression causing extra points in polyline intersection, thus crash with circular bed shape 2015-02-22 17:03:23 +01:00
Alessandro Ranellucci
5021c9605b Revert "Merge pull request #2681 from robstarling/u/robstar/circular-bedshape-drawing-fix2"
This reverts commit 13885a36ec, reversing
changes made to 7198607420.
2015-02-22 15:01:33 +01:00
Alessandro Ranellucci
13885a36ec Merge pull request #2681 from robstarling/u/robstar/circular-bedshape-drawing-fix2
Bugfix: correctly draw circular beds in the 2D plater
2015-02-22 14:52:53 +01:00
Rob Starling
6719afadec Bugfix: correctly draw circular beds in the 2D plater
Wx::DrawLine wasn't happy with a polyline, so we pass the sequence of points to Wx::DrawLines
2015-02-21 14:08:52 -08:00
Chow Loong Jin
073681a50a Get first_layer_extrusion_width from PrintConfig instead of PrintObjectConfig
This fixes an issue where the support material doesn't honour a custom first
layer extrusion width.

Fixes: #2662
2015-02-17 13:59:46 +08:00
Alessandro Ranellucci
d44bf38906 Sync viewport of 3D views. #2628 2015-02-16 00:37:36 +01:00
Alessandro Ranellucci
09c8563e71 Bugfix: background processing were not restarted after the previous one failed because of a validation error. #2633 2015-02-16 00:05:39 +01:00
Alessandro Ranellucci
a07c48bb30 Fixed regression causing [input_filename] and [input_filename_base] not being available in custom G-code anymore. Includes regression test. #1507 2015-02-15 23:47:35 +01:00
Alessandro Ranellucci
c0f453f83e Simpler and more robust implementation of extra perimeters. #2395 2015-02-15 21:58:14 +01:00
Alessandro Ranellucci
5574e376d6 More aggressive gap fill #2560 2015-02-15 18:25:24 +01:00
Alessandro Ranellucci
ba6ae12635 Change end_program() to postamble() 2015-02-15 17:09:17 +01:00
Alessandro Ranellucci
1180a6d83f Merge pull request #2508 from strahlex/machinekit-gcode
added support Machinekit flavour GCode
2015-02-15 17:00:08 +01:00
Alessandro Ranellucci
6eb1fa36ed Bugfix: bridge speed was still used for first object layer above raft when support_material_contact_distance == 0. Includes regression tests. #2656 2015-02-14 12:47:33 +01:00
Alessandro Ranellucci
13d1393ae4 Fixed buttons size on Linux. #2642 2015-02-09 11:04:28 +01:00
Alessandro Ranellucci
64144d007c Typo in 4083b33807 2015-02-09 11:02:11 +01:00
Alessandro Ranellucci
4083b33807 Bugfix: crash on version check on Linux. #2641 2015-02-09 11:00:44 +01:00
Alexander Rössler
cc83e9f06d using end_program() function in GCode output 2015-02-07 12:37:00 +01:00
Alexander Rössler
d6feec808c enabling firmware retraction for Machinekit in GUI 2015-02-07 12:35:35 +01:00
Alessandro Ranellucci
3ae6f2630e Merge branch 'master' into sender
Conflicts:
	Build.PL
2015-02-01 14:07:32 +01:00
Alessandro Ranellucci
bb3bf28e59 Ported prepare_fill_surfaces() to XS/C++ 2015-02-01 12:43:58 +01:00
Alessandro Ranellucci
97b5d76d50 Enforce cleaner honeycomb paths 2015-02-01 12:27:20 +01:00
Alessandro Ranellucci
8b6b192dac Throw an error for first_layer_height == 0. #2605 2015-02-01 12:18:18 +01:00
Alessandro Ranellucci
07cd25d0ec New option for customization of infill/perimeters overlap. #2459 2015-02-01 12:08:25 +01:00
Alessandro Ranellucci
fbcf5319ea Fixed regression in seam_position = aligned. #2604 2015-01-31 21:45:27 +01:00
Alessandro Ranellucci
98417f77f0 Some improvements to the Simple Mode 2015-01-31 12:46:24 +01:00
Alessandro Ranellucci
059b00a829 New --before-layer-change option and new layer_z placeholder. #2602 2015-01-30 20:08:00 +01:00
Alessandro Ranellucci
2d3fdf920b Fixed SVG export not placing object inside the SVG viewport anymore. #2601 2015-01-30 19:34:46 +01:00
Alessandro Ranellucci
8605969dc5 Don't output slic3r:z attribute in SVG for raft layers 2015-01-30 18:45:30 +01:00
Alessandro Ranellucci
d4ba0f17bb Remove artifacts in original slices so that they're not amplified while generating perimeters. #2561 #2416 2015-01-30 18:32:25 +01:00
Alessandro Ranellucci
e61deb3673 Check display area before moving window to the last saved position. #2600 2015-01-30 13:21:07 +01:00
Alessandro Ranellucci
fe4f79ba90 Fixed regression causing random loss of infill because of corrupt thin polygons returned by Clipper. #2539 2015-01-30 10:12:31 +01:00
Alessandro Ranellucci
1d204af6f4 Fixed regression causing rectilinear infill to be misaligned across layers. #2566 2015-01-28 19:49:56 +01:00
Alessandro Ranellucci
3dedae3928 Enable/disable config fields according to CLI options 2015-01-28 19:14:15 +01:00
Alessandro Ranellucci
9abcd5816c Little test for mixing objects and toolpaths 2015-01-25 15:36:20 +01:00
Alessandro Ranellucci
c264969962 Bugfix: crash when rendering lines with zero length in 3D preview. #2569 2015-01-25 15:21:45 +01:00
Alessandro Ranellucci
a10a554e2a Remember last selected settings page in Printer Settings too, like in Print Settings and Filament Settings. #2568 2015-01-25 11:43:34 +01:00
Alessandro Ranellucci
0a1f5992ad Add Bed Shape to Simple Mode as well. #2574 2015-01-25 11:10:06 +01:00
Alessandro Ranellucci
43f57ba2cb Optimization: don't reload 3D toolpaths each time the preview tab is selected 2015-01-25 10:59:39 +01:00
Alessandro Ranellucci
38d8b1d268 Update bed shape in 3D preview as well 2015-01-25 00:29:51 +01:00
Alessandro Ranellucci
a5c0ffe963 Faster loading of 3D preview and much less memory used 2015-01-24 23:35:29 +01:00
Alessandro Ranellucci
8cfd2e33d8 Wrong line included in previous commit 2015-01-19 18:54:35 +01:00
Alessandro Ranellucci
8791f5a493 Cleanup of some method signatures and of XS return types 2015-01-19 18:53:04 +01:00
Alessandro Ranellucci
c9cdae1a96 Wrong file included in previous commit 2015-01-19 15:32:39 +01:00
Alessandro Ranellucci
229039d3b8 Fixed test and implementation of ooze prevention standby points (wrong test caused wrong implementation). #2103 2015-01-19 15:31:12 +01:00
Alessandro Ranellucci
7b980c1dc9 New option for vertical distance between object and support material, with special handling of the 0 case that disabled bridge flow/speed in order to allow for soluble material. #2491 #2272 #2069 #1942 #2435 #1703 2015-01-19 09:52:24 +01:00
Alessandro Ranellucci
fc5437f6d3 Require disabled support material for Spiral Vase 2015-01-18 22:21:50 +01:00
Alessandro Ranellucci
ba4325411b Bugfix: the downwards move in sequential printing was performed in the wrong spot. #2524 2015-01-18 22:08:43 +01:00
Alessandro Ranellucci
3d500ca317 Skip geometry from unfinished steps in 3D rendering 2015-01-18 21:31:09 +01:00
Alessandro Ranellucci
b782351fd3 Enable arrows in 3D preview and rename preview tabs 2015-01-18 20:55:44 +01:00
Alessandro Ranellucci
428f831886 Scroll 3D preview layers with a slider 2015-01-18 20:48:54 +01:00
Alessandro Ranellucci
f2818ddbe0 Live 3D toolpaths preview. 2015-01-18 19:36:47 +01:00
Alessandro Ranellucci
90afbc8bd9 Bugfix: don't crash when skirts > 0 but skirt_height = 0. Includes regression test. #2537 2015-01-18 13:01:00 +01:00
Alessandro Ranellucci
9f0283f808 Minor issue when dealing with files with empty layers at bottom. #2553 2015-01-18 12:35:05 +01:00
Alessandro Ranellucci
f11196525b Handle empty STL files gracefully instead of crashing. #2557 2015-01-18 12:12:10 +01:00
Alessandro Ranellucci
2bbb6c570b Ported toolpaths rendering to C++ 2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
bfbcbd55d8 Render infill and support material as well 2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
cf4119e169 Populate ExtrusionPath::height correctly in case of bridge 2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
d781371d66 Join extrusions properly in 3D preview 2015-01-18 01:07:22 +01:00
Alessandro Ranellucci
ce1d368037 Use 3D as the default view 2015-01-17 10:53:01 +01:00
Alessandro Ranellucci
35da87a90a Check whether the configured post-processing scripts are executable and show an error when they aren't 2015-01-17 10:50:34 +01:00
Alessandro Ranellucci
b77d35f6f1 Don't autoassign extruders to material config. #2522 2015-01-16 16:35:35 +01:00
Alessandro Ranellucci
aa69ae11a8 Prune very short thin walls 2015-01-15 22:37:55 +01:00
Alessandro Ranellucci
e0a3d2577c Initial work for 3D rendering of toolpaths 2015-01-15 20:06:30 +01:00
Alessandro Ranellucci
18e815d032 More efficient 3D preview of slices 2015-01-15 18:49:07 +01:00
Alessandro Ranellucci
24e8307e68 Faster algorithm for sorting perimeter loops 2015-01-15 17:42:39 +01:00
Alessandro Ranellucci
56853319d1 Restore correct Z alignment after cut 2015-01-14 23:26:28 +01:00
Alessandro Ranellucci
2a7f1a8c19 Only show a single instance in settings and cut dialogs 2015-01-14 23:24:01 +01:00
Alessandro Ranellucci
ebf17d14f0 Open the Object Settings dialog when double clicking an item in the list instead of the cut dialog 2015-01-14 23:21:54 +01:00
Alessandro Ranellucci
b518d5d32f New command for setting the number of copies of the selected object. #2540 2015-01-14 23:19:13 +01:00
Alessandro Ranellucci
bf02062a67 Bugfix: random but frequent crashes after recent perimeter code refactoring 2015-01-14 22:55:11 +01:00
Alessandro Ranellucci
aa5bafb8be Support preset names with Unicode characters. #2527 2015-01-13 23:22:27 +01:00
Alessandro Ranellucci
9c08dfb50c Merge pull request #2531 from lordofhyphens/issue_2526
Fix for issue #2526, changed to GET.
2015-01-13 20:59:14 +01:00
Alessandro Ranellucci
88b62a9923 Merge pull request #2532 from lordofhyphens/issue2530_partial_fix
A partial fix for issue #2530
2015-01-13 20:58:53 +01:00
Alessandro Ranellucci
04aa240265 Only apply perimeter/infill overlap to the endpoints of rectilinear infill (and do that in a more proper way) 2015-01-13 20:55:20 +01:00
Alessandro Ranellucci
3ee0fc5b1c Ability to select object parts by clicking in the 3D view in the object editor 2015-01-13 20:55:19 +01:00
Alessandro Ranellucci
d46d5c955b One more refactoring in 3DScene (select group/drag group) 2015-01-13 20:55:19 +01:00
Alessandro Ranellucci
9c8f8f8ded Refactoring: make Slic3r::GUI::3DScene::Base model-independent 2015-01-13 20:55:19 +01:00
Joseph Lenox
4f2e172561 A partial fix for issue #2530, which will makes the bonjour dialog put the port number in the string. 2015-01-12 12:10:56 -06:00
Joseph Lenox
90811f6736 Fix for issue #2526, changed to GET. 2015-01-12 11:56:54 -06:00
Alessandro Ranellucci
28d7b0dba6 Write fatal errors to console as well 2015-01-09 14:50:42 +01:00
Alessandro Ranellucci
fb08588007 Renamed PreviewCanvas to 3DScene 2015-01-09 01:30:04 +01:00
Alessandro Ranellucci
0a62d658d9 Removed ObjectPreviewDialog not used anymore 2015-01-09 01:27:35 +01:00
Alessandro Ranellucci
4c7d9dfef5 Memory optimization in PreviewCanvas: don't keep additional meshes in memory when not needed 2015-01-09 01:18:47 +01:00
Alessandro Ranellucci
64c9e3af4b Bugfix: objects were floating in STL export after rotation and flip. #2512 2015-01-09 00:47:40 +01:00