Commit Graph

4216 Commits

Author SHA1 Message Date
YuSanka
1d0b4109cb Some reverts for commit 4cd4d2c8b5 2019-08-14 17:07:30 +02:00
Jason Tibbitts
ca9aa89f16 Fix format-security-related build failure
Calling a printf-like function without a format string will cause gcc to
emit a warhing and causes a build failure on distros which build
everything with -Werror=format-security.

Signed-off-by: Jason Tibbitts <j@tib.bs>
2019-08-13 14:21:41 -05:00
YuSanka
69f5457ec7 Fixed set printable state for a first instance after increasing instance count 2019-08-13 18:15:12 +02:00
YuSanka
b9a7444b1b Fixed wrong page selection for Printer Setting after application run 2019-08-13 17:09:42 +02:00
YuSanka
3762fd8942 Merge remote-tracking branch 'origin/ys_scaling' 2019-08-13 13:50:05 +02:00
Lukas Matena
687b2bd1ae Fixed a false positive empty layer report
Reported in https://github.com/prusa3d/PrusaSlicer/issues/2752 and was a result of setting support contact z distance to negative value.
This lowered the maximum allowed print_z of the next layer, even though previous layer had object layers too, so the penalty from the contact z should not have been applied.
Fixed simply by rejecting the negative contact_z.
2019-08-13 11:02:58 +02:00
YuSanka
1281e03e1d Fix of scaling on Manipulation panel 2019-08-12 15:21:06 +02:00
YuSanka
f275ad17db GTK issue: Fixed layer range editing.
Bug description: When try to change min/max Z value, object is unselected and layers "planes" on 3DScene are wrong positioned
2019-08-09 17:47:35 +02:00
tamasmeszaros
3d8ca3058d Hotfix for crash when empty pad and support mesh is generated. 2019-08-09 17:13:18 +02:00
bubnikv
9b7dcf7ed6 Merge branch 'master' of https://github.com/Prusa3d/PrusaSlicer 2019-08-09 09:58:27 +02:00
bubnikv
1c119b7ba4 Only validate support_material_extrusion_width with supports
or raft enabled.
2019-08-09 09:58:05 +02:00
YuSanka
de3b001622 Fixed extra "Add_Selection" snapshot on call context menu from scene
+ Added take_snapshot for toggle_instance_printable_state
2019-08-09 09:49:10 +02:00
tamasmeszaros
4f1992e4d6 Hotfix for crash with support disabled and pad enabled. 2019-08-08 19:12:37 +02:00
bubnikv
cb4d91252f Partial revert of 07a3072622
It fixes an issue where the objects out of print bed are shown
in the print path preview in SLA mode.
2019-08-08 18:26:41 +02:00
Yuri D'Elia
8cf8330bd9 Fix two warnings 2019-08-08 17:04:56 +02:00
Lukas Matena
8ba48f361a Added handling of std::bad_alloc so the user gets more comprehensible error message
Call to boost::nowide::nowide_filesystem() was made Windows only
2019-08-08 16:55:25 +02:00
Yuri D'Elia
692f6b2704 Make Gyroid::PatternTolerance match the description
Move the division out of the switch in order to make the tolerance match
the expected unit.
2019-08-08 16:53:26 +02:00
bubnikv
b09dce00e7 Partial revert of f474978db5
to fix Perl driven unit tests.
2019-08-08 15:24:23 +02:00
bubnikv
4ed77c88be Workaround for invalid access inside some character classification table
when parsing localized file names by the PlaceholderParser:
UTF8 characters were handled as chars, and the negative char values were
used as indices into 7bit long tables.
2019-08-08 14:21:24 +02:00
bubnikv
81c5e9d3a0 Clean up the mess required for the legacy Perl bindings, which are now
used for Perl unit / integration tests only. With this commit,
the code will be cleaner, but likely the unit tests will not run
on Windows, if installed in a localized path.
2019-08-08 12:59:55 +02:00
Yuri D'Elia
a4ab108709 Add 'L' as a legend toggle shortcut in preview 2019-08-08 10:04:05 +02:00
Yuri D'Elia
014039ed4b Show/hide the legend using a new checkbox in preview 2019-08-08 10:04:05 +02:00
bubnikv
d551a0246f Let the alpha build store its profile into PrusaSlicer-alpha directory. 2019-08-08 10:00:11 +02:00
bubnikv
3191acfb06 Merge remote-tracking branch 'remotes/origin/vb_picking_fix' 2019-08-08 09:50:02 +02:00
bubnikv
cb825716c1 Fixed linking of the "pad" combo box of the Plater with the respective
pad boolean values of the configuration layer.
2019-08-08 09:48:56 +02:00
bubnikv
f326f66734 Merge remote-tracking branch 'remotes/origin/master' into tm_zero_elev_ui 2019-08-08 08:43:00 +02:00
Yuri D'Elia
615fb659b7 Move gyroid constants to the class declaration 2019-08-07 22:26:39 +02:00
Yuri D'Elia
e6e851920c Maximize gyroid printing speed angle
Counter-rotate the default angle by 45' so that gyroid is kept at it's
maximum printing speed by default.
2019-08-07 22:26:39 +02:00
Yuri D'Elia
159f8f2184 Limit upper tolerance in Gyroid
Do not reduce resolution more than necessary when using larger nozzles
and/or higher layer heights.
2019-08-07 16:47:23 +02:00
Yuri D'Elia
fc12f18a8b Allow gyroid pattern rotation over Z 2019-08-07 16:47:17 +02:00
Yuri D'Elia
97e38c51ba Handle truncated gyroid patterns correctly
When generating patterns which are less than a full wave, always
generate the last point correctly.

When extending a full wave to a line, fixup the last point
to the real gyroid position instead of shifting the point.
2019-08-07 16:47:04 +02:00
Yuri D'Elia
d000d9e1a0 Reduce reallocations and memory usage in gyroid 2019-08-07 16:46:56 +02:00
Yuri D'Elia
ebca698694 Parametric tolerance for Gyroid infill 2019-08-07 16:46:51 +02:00
supermerill
926270f840 bugfix "connected lines" for gyroid & 3Dhoney 2019-08-07 16:45:52 +02:00
supermerill
e6efa8ff54 bugfix gyroid & 3Dhoneycomb "connected lines" 2019-08-07 16:45:41 +02:00
supermerill
f765b7e333 gyroid & 3Dhoneycomb: now 'connected lines' follow the perimeters 2019-08-07 16:45:22 +02:00
Lukas Matena
56ec37bbe6 GLGizmoSlaSupports.cpp: unproject_on_mesh does not throw exceptions but uses bool return value to signal success 2019-08-07 16:17:41 +02:00
tamasmeszaros
b12d0c6db2 Merge branch 'master' into tm_zero_elev_ui 2019-08-07 15:53:41 +02:00
bubnikv
bfe9b9c5b2 Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix 2019-08-07 15:44:25 +02:00
YuSanka
ab2ecd54e2 Added snapshot taking for Set Printable/Unprintable for full object 2019-08-07 15:39:46 +02:00
bubnikv
e619a819e1 Fix of the SLA gizmo picking. 2019-08-07 15:36:09 +02:00
bubnikv
99e2cb87be Yet another fix of the preceding commit. 2019-08-07 15:03:43 +02:00
bubnikv
c6bef3b0b6 GLCanvas requires 8bit alpha channel for picking checksums. 2019-08-07 14:55:34 +02:00
bubnikv
85e8354e1e Merge remote-tracking branch 'remotes/origin/master' into vb_picking_fix 2019-08-07 14:31:16 +02:00
bubnikv
d381dbab09 Merge remote-tracking branch 'remotes/origin/ys_printable_property' into vb_picking_fix 2019-08-07 14:31:00 +02:00
YuSanka
5babe20d93 Added printable state update on canvas from Undo/redo 2019-08-07 14:28:46 +02:00
bubnikv
3e150f72bf Finished picking by color with a checksum in the alpha channel
to guard against unwanted alpha blending and / or multi sampling.
2019-08-07 14:15:38 +02:00
YuSanka
d4c5f93310 Added printable property for object with instances 2019-08-07 14:11:41 +02:00
Lukas Matena
f9e5c31fb8 One more fix on the empty layers detection - support contact z distance is taken into account
If it wasn't, anything with raft would be rejected unless contact z was zero. We do not want that.
2019-08-07 12:02:30 +02:00
bubnikv
e0949c764e WIP: Improvement in the picking robustness: store a checksum
into the alpha channel.
2019-08-07 11:37:38 +02:00