Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Added "known" as a valid model file type #1059

Merged
merged 1 commit into from

2 participants

@cakeller98

=> 'Known files (.stl, *.obj, *.amf)|.stl;.STL;.obj;.OBJ;.amf;.AMF;.xml;*.XML',

When dialog pops up, it can see ALL known file types instead of only stl.

related to Issue #1053

@cakeller98 cakeller98 Added "known" as a valid model file type
   => 'Known files (*.stl, *.obj, *.amf)|*.stl;*.STL;*.obj;*.OBJ;*.amf;*.AMF;*.xml;*.XML',

When dialog pops up, it can see ALL known file types instead of only stl.
8bbaafd
@alexrj alexrj merged commit 34b192f into alexrj:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 19, 2013
  1. @cakeller98

    Added "known" as a valid model file type

    cakeller98 authored
       => 'Known files (*.stl, *.obj, *.amf)|*.stl;*.STL;*.obj;*.OBJ;*.amf;*.AMF;*.xml;*.XML',
    
    When dialog pops up, it can see ALL known file types instead of only stl.
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/Slic3r/GUI/SkeinPanel.pm
View
3  lib/Slic3r/GUI/SkeinPanel.pm
@@ -14,6 +14,7 @@ our $last_output_file;
our $last_config;
use constant FILE_WILDCARDS => {
+ known => 'Known files (*.stl, *.obj, *.amf, *.xml)|*.stl;*.STL;*.obj;*.OBJ;*.amf;*.AMF;*.xml;*.XML',
stl => 'STL files (*.stl)|*.stl;*.STL',
obj => 'OBJ files (*.obj)|*.obj;*.OBJ',
amf => 'AMF files (*.amf)|*.amf;*.AMF;*.xml;*.XML',
@@ -21,7 +22,7 @@ use constant FILE_WILDCARDS => {
gcode => 'G-code files (*.gcode, *.gco, *.g)|*.gcode;*.GCODE;*.gco;*.GCO;*.g;*.G',
svg => 'SVG files *.svg|*.svg;*.SVG',
};
-use constant MODEL_WILDCARD => join '|', @{&FILE_WILDCARDS}{qw(stl obj amf)};
+use constant MODEL_WILDCARD => join '|', @{&FILE_WILDCARDS}{qw(known stl obj amf)};
sub new {
my $class = shift;
Something went wrong with that request. Please try again.