Exemplo n.º 1
0
        /// <summary>Defines file extensions that this export plug-in is designed to write.</summary>
        /// <param name="options">Options that specify how to write files.</param>
        /// <returns>A list of file types that can be exported.</returns>
        protected override Rhino.PlugIns.FileTypeList AddFileTypes(Rhino.FileIO.FileWriteOptions options)
        {
            var result = new Rhino.PlugIns.FileTypeList();

            result.AddFileType("Unreal Datasmith (*.udatasmith)", "udatasmith");
            return(result);
        }
        /// <summary>Defines file extensions that this export plug-in is designed to write.</summary>
        /// <param name="options">Options that specify how to write files.</param>
        /// <returns>A list of file types that can be exported.</returns>
        protected override Rhino.PlugIns.FileTypeList AddFileTypes(Rhino.FileIO.FileWriteOptions options)
        {
            var result = new Rhino.PlugIns.FileTypeList();

            result.AddFileType("SAT File (*.sat)", "sat");
            return(result);
        }
Exemplo n.º 3
0
        ///<summary>Defines file extensions that this import plug-in is designed to read.</summary>
        /// <param name="options">Options that specify how to read files.</param>
        /// <returns>A list of file types that can be imported.</returns>
        protected override Rhino.PlugIns.FileTypeList AddFileTypes(Rhino.FileIO.FileReadOptions options)
        {
            var result = new Rhino.PlugIns.FileTypeList();

            result.AddFileType("FSpy project file (*.fspy)", "fspy");
            return(result);
        }
Exemplo n.º 4
0
        ///<summary>Defines file extensions that this import plug-in is designed to read.</summary>
        /// <param name="options">Options that specify how to read files.</param>
        /// <returns>A list of file types that can be imported.</returns>
        protected override Rhino.PlugIns.FileTypeList AddFileTypes(Rhino.FileIO.FileReadOptions options)
        {
            var result = new Rhino.PlugIns.FileTypeList();

            result.AddFileType("GL Transmission Format (*.gltf, *.glb)", "glTF", "glb");
            return(result);
        }
Exemplo n.º 5
0
        ///<summary>Defines file extensions that this import plug-in is designed to read.</summary>
        /// <param name="options">Options that specify how to read files.</param>
        /// <returns>A list of file types that can be imported.</returns>
        protected override Rhino.PlugIns.FileTypeList AddFileTypes(Rhino.FileIO.FileReadOptions options)
        {
            var result = new Rhino.PlugIns.FileTypeList();

            result.AddFileType("SEG-Y File (*.sgy)", "sgy");
            return(result);
        }
Exemplo n.º 6
0
        /// <summary>Defines file extensions that this export plug-in is designed to write.</summary>
        /// <param name="options">Options that specify how to write files.</param>
        /// <returns>A list of file types that can be exported.</returns>
        protected override Rhino.PlugIns.FileTypeList AddFileTypes(Rhino.FileIO.FileWriteOptions options)
        {
            var result = new Rhino.PlugIns.FileTypeList();

            result.AddFileType("Graphics Language Transfer Format (*.glTF)", "glTF");
            return(result);
        }
Exemplo n.º 7
0
        /// <summary>Defines file extensions that this export plug-in is designed to write.</summary>
        /// <param name="options">Options that specify how to write files.</param>
        /// <returns>A list of file types that can be exported.</returns>
        protected override Rhino.PlugIns.FileTypeList AddFileTypes(Rhino.FileIO.FileWriteOptions options)
        {
            var result     = new Rhino.PlugIns.FileTypeList();
            var extensions = new string[] { "glTF", "gltf", "glb" };

            result.AddFileType("GL Transmission Format (*.gltf, *.glb)", extensions);
            return(result);
        }
Exemplo n.º 8
0
        /// <summary>Defines file extensions that this export plug-in is designed to write.</summary>
        /// <param name="options">Options that specify how to write files.</param>
        /// <returns>A list of file types that can be exported.</returns>
        protected override R.PlugIns.FileTypeList AddFileTypes(R.FileIO.FileWriteOptions options)
        {
            var result = new R.PlugIns.FileTypeList();

            result.AddFileType("Salamander File (*.s3b)", "s3b");
            result.AddFileType("Salamander: Robot File (*.rtd)", "rtd");
            result.AddFileType("Salamander: GSA Text File (*.gwa)", "gwa");
            return(result);
        }