bubnikv
e8b6d92d4d
Looks like the reworked C++ preferences start to work again.
2017-11-02 16:21:34 +01:00
bubnikv
857b78ddca
Fix of the previous commit: Slic3r::Config::new_from_defaults_keys
...
has to be provided with a reference to array of strings.
2017-10-27 22:49:59 +02:00
bubnikv
2455aee97c
Further reduction of Perl Config.pm methods.
2017-10-27 18:52:35 +02:00
bubnikv
ee645007f2
Another step towards C++ presets.
2017-10-25 12:53:31 +02:00
bubnikv
b58756f38b
A bit of refactoring and beautification.
2017-09-18 10:01:37 +02:00
bubnikv
3b54b68b59
Merged new methods for handling menus with icons,
...
merged "Use submenus for listing options in dropdown menu." #3905
thanks @alexrj
Adapted the "Use submenus" code to sort the menus in the same order
as they appear in the parameter tabs.
2017-08-04 16:28:01 +02:00
bubnikv
632bf56f29
merged save_window_pos / restore_window_pos from @alexrj Slic3r.
2017-08-04 15:54:12 +02:00
Alessandro Ranellucci
38e713c23c
Remember object settings dialog size and position. #3943
2017-08-04 15:45:10 +02:00
bubnikv
ed46cfa19d
Simplified the code base by requiring wxWidgets >= 3.0
2017-08-03 17:47:18 +02:00
bubnikv
3b51f64411
Fixing https://github.com/prusa3d/Slic3r/issues/432
...
Slic3r GUI not starting, error when using --gui (on linux)
Implements https://github.com/prusa3d/Slic3r/issues/407
Shortcuts: Movement in 3D Space
Assignment of the camera shortcuts is clear from the menu accelerators.
Implements https://github.com/prusa3d/Slic3r/issues/406
Shortcuts: Rotate +/- 45 degrees
l/r keys rotate the object
Also changed the accelerators for adding / removing duplicates from
Ctrl++/- to plain +/-, from Ctrl-Del to plain Del,
and added an 's' key accelerator for uniform scaling.
2017-07-21 16:29:40 +02:00
bubnikv
afd5d9eff3
Fixed issues with undefined filament color preview values.
2017-07-20 13:02:12 +02:00
bubnikv
81823fe7df
Reduced the content of Geometry.pm, removed unused Perl subroutines.
...
Reduced the use Slic3r::Geometry and use Slic3r::Geometry::Clipper
clauses to only reference used subroutines.
2017-07-19 10:45:39 +02:00
bubnikv
c9325338a8
Fixed "upscaled objects cannot be cut above original height"
...
https://github.com/prusa3d/Slic3r/issues/419
2017-07-12 23:28:11 +02:00
bubnikv
3a813aaef6
Implemented "Suggestion for Preview View Change"
...
https://github.com/prusa3d/Slic3r/issues/415
Use left / right keys to switch between the low / high layer scroll bars
on the 3d preview screen.
2017-07-11 18:21:25 +02:00
bubnikv
b12e4689e8
Fix of changing the order of volumes of a multi-volume part:
...
The 3D preview scene was not updated properly.
2017-06-21 14:10:22 +02:00
bubnikv
aa54c3402b
Disable the "split" button when there is no volume selected.
2017-06-15 18:11:36 +02:00
bubnikv
b724d789fd
New feature: Splitting an object into a multi-part volume.
2017-06-15 15:38:15 +02:00
bubnikv
5cae4cc614
Fix of https://github.com/prusa3d/Slic3r/issues/285
...
Refactored Model.cpp/hpp to C++x11 loops,
simplified the mesh / bbox handling.
2017-06-13 11:35:24 +02:00
bubnikv
f408f08850
Disabled the new Slic3r version check until we have a server set up
...
for the Slic3r Prusa Edition.
Hopefully a fix of https://github.com/prusa3d/Slic3r/issues/258
by moving the 2D thumbnail generation to the main thread and
forcing the simple 2D convex hull for even the small objects.
2017-06-12 14:25:35 +02:00
bubnikv
dabcff1c07
When testing for a key press, rather check for the modifier keys
...
(alt, ctrl) always. Also if a key event is not processed, pass it
for further processing.
2017-06-06 19:14:52 +02:00
bubnikv
02592378e2
Improved "ensure vertical wall thickness" feature for multi material:
...
If the "interface_shells" feature is disabled, the "ensure vertical wall thickness"
feature will not add full infill over internal shells.
Fixed some issues with delayed loading of 3d scenes.
2017-06-01 16:31:29 +02:00
bubnikv
ee5ee5f432
Performance improvements in reloading the 3D scene.
...
Now the 3D scene loading is postponed until the page is visible.
2017-05-31 17:05:11 +02:00
bubnikv
efb1fd2066
Fixed order of loading the configs into Print / PrintObjects
...
and loading the 3d print path preview.
2017-05-30 17:24:50 +02:00
bubnikv
e000b22578
Implemented wipe tower print path preview.
2017-05-25 22:27:53 +02:00
bubnikv
7d64c465c0
New config field extruder_color for preview of extruder assignment.
2017-05-24 15:20:20 +02:00
bubnikv
ff9d565ba7
Implemented UI for ordering volumes
...
https://github.com/prusa3d/Slic3r/issues/277
2017-05-20 22:02:04 +02:00
bubnikv
7884fa3d7c
Implemented Multipart object list window resize #278
2017-05-20 19:44:55 +02:00
bubnikv
6fa280be0b
Finished the wipe tower UI.
2017-05-19 21:48:32 +02:00
bubnikv
cb0a66b743
Initial implementation of a wipe tower preview UI.
2017-05-17 16:53:40 +02:00
bubnikv
e918ea9c65
Fixes Variable Layer Height issue when max_layer_height at its default of zero
...
https://github.com/prusa3d/Slic3r/issues/267
2017-04-24 09:51:24 +02:00
bubnikv
ed2ee2f6f3
Merged support_fills with support_interface_fills.
...
When extruding supports, the support is interleaved with interface
if possible (when extruded with the same extruder).
Otherwise the base is extruded first.
2017-04-07 17:37:30 +02:00
bubnikv
b66bfb41aa
Validate the height values entered into the layer height table.
...
Clamp these values between the minimum of min_layer_height per nozzle
and the maximum of max_layer_height per nozzle.
Don't allow entering zero layer height to trim an object,
the cut dialog should be used instead.
Fixes https://github.com/prusa3d/Slic3r/issues/235
2017-04-05 13:27:00 +02:00
bubnikv
95b45da57c
Fixed 3D view of the Cut dialog.
2017-03-28 14:18:13 +02:00
bubnikv
e7a920fe16
Fixed some picking issues after porting GLVolumes to C++.
...
Initial interface for print paths visualization by VBOs.
2017-03-14 10:11:08 +01:00
Joseph Lenox
873161ea7c
Only enable movers if modifier mesh.
2017-02-21 16:30:13 +01:00
Joseph Lenox
e2b56c4462
Repair the generic mesh so it can be exported.
2017-02-21 16:29:57 +01:00
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
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
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
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
c2ddf537c6
Fixed a newly introduced bug in the multi material UI dialog.
2017-01-31 11:38:07 +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
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
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
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
f4ee87ba24
Fixed https://github.com/prusa3d/Slic3r/issues/27
2016-11-11 12:00:40 +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
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
403329db49
Misc bugfixes.
2016-09-26 13:58:47 +02:00
bubnikv
a506030082
Draft of a 3D toolpaths preview.
2016-09-26 12:38:29 +02:00
bubnikv
4c67230436
Documented the purpose of various perl modules.
2016-09-14 11:22:41 +02:00
bubnikv
9fcc8fe9ae
Meged with release_candidate_1_3
2016-09-12 11:29:39 +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
ab9e3b718c
Support multi sampled anti-aliasing with wxWidgets 3.0.3.
2016-05-27 23:38:45 +02:00
Vojtech Bubnik
d022493297
Merge remote-tracking branch 'upstream/master'
2016-05-03 22:05:31 +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
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
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
70e8db8a0a
Minor code cleanup here and there
2015-12-19 20:27:04 +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
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
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
455a1062ef
Fix minor rendering glitch in 2D toolpaths preview
2015-06-17 00:34:05 +02:00
Alessandro Ranellucci
42ae8347df
Zoom around mouse location in 2D toolpaths preview
2015-05-24 23:29:53 +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
d998d97754
Bugfix: crash on Windows when deleting the first object part. #2774
2015-05-05 01:12:16 +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
3fd182a8f5
Fix object Z alignment after cut + rotate lower part. #2724
2015-03-09 18:37:58 +01:00
Alessandro Ranellucci
25cddfe446
Bugfix: layers view was not resized when inactive. #2608
2015-03-09 15:30:19 +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
69ea88473d
Workaround for the Clipper issue causing extra points in grid segments
2015-02-22 17:09:08 +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
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
Alessandro Ranellucci
9abcd5816c
Little test for mixing objects and toolpaths
2015-01-25 15:36:20 +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
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