From b4108aa1e8732b14e097b62b87cd4f91a7e2bf8e Mon Sep 17 00:00:00 2001 From: philstopford Date: Fri, 30 Oct 2020 09:12:24 -0500 Subject: [PATCH] Docs --- Documentation/export.html | 2 +- Documentation/main.html | 3 +++ Documentation/releases.html | 2 ++ Quilt/UI/UIHandlers.cs | 23 ++++++++++++++++++----- Series 2.txt | 3 +++ 5 files changed, 27 insertions(+), 6 deletions(-) diff --git a/Documentation/export.html b/Documentation/export.html index 2e0a281..7df078c 100644 --- a/Documentation/export.html +++ b/Documentation/export.html @@ -186,7 +186,7 @@

Export

-

Using the 'Export' button, you can export the quilt to either GDSII or Oasis. The choice of file type to write is set in the resulting file dialog. Any existing file will be overwritten. The first stage of the export is 'Weaving', where the internal geometry is mapped into the gridded layout system. Colinear vertices are removed from edges during this process, such as that arising from clamping, ensuring clean geometry is written to disk. The progress of the export is shown in the GUI. Due to careful engineering, export of even large designs is extremely fast for both formats: typically less than 10 seconds for a 250,000 pattern quilt. If 'Suspend Build' is active, the quilt will be built during export.

+

Using the 'Export' button, you can export the quilt to either GDSII or Oasis, including GZIP compressed versions. The choice of file type to write is set in the resulting file dialog. Any existing file will be overwritten. The first stage of the export is 'Weaving', where the internal geometry is mapped into the gridded layout system. Colinear vertices are removed from edges during this process, such as that arising from clamping, ensuring clean geometry is written to disk. The progress of the export is shown in the GUI. Due to careful engineering, export of even large designs is extremely fast for both formats: typically less than 10 seconds for a 250,000 pattern quilt. If 'Suspend Build' is active, the quilt will be built during export.

diff --git a/Documentation/main.html b/Documentation/main.html index 65942e4..2063bdf 100644 --- a/Documentation/main.html +++ b/Documentation/main.html @@ -220,6 +220,9 @@

Features

  • IMPROVED: Loading of patterns with many elements is very fast, due to multithreading in the loader.
  • IMPROVED: Different colors can be assigned to geometry from the selected / unselected pattern elements.
  • Export to hierarchical GDSII and Oasis. The export process is extremely fast, taking advantage of multithreading and optimized design.
  • +
  • Auto-configuration of Variance DOE.
  • Multi-platform : Windows, macOS, Linux. No operational or functional difference across platforms.
  • diff --git a/Quilt/UI/UIHandlers.cs b/Quilt/UI/UIHandlers.cs index 0867557..f3b57dd 100644 --- a/Quilt/UI/UIHandlers.cs +++ b/Quilt/UI/UIHandlers.cs @@ -277,9 +277,11 @@ async void doExport() Title = "Enter file to save", Filters = { - new FileFilter("GDS file", "*.gds"), - new FileFilter("OAS file", "*.oas") - } + new FileFilter("GDS file", "*.gds", ".gdsii"), + new FileFilter("GDS file, GZIP compressed", "*.gds.gz", "*.gdsii.gz"), + new FileFilter("OAS file", "*.oas", "*.oasis"), + new FileFilter("OAS file. GZIP compressed", "*.oas.gz", "*.oasis.gz") + } }; if (sfd.ShowDialog(ParentWindow) == DialogResult.Ok) { @@ -287,13 +289,24 @@ async void doExport() string[] tokens = filename.Split(new char[] { '.' }); string ext = tokens[tokens.Length - 1].ToUpper(); - int type = (int)geoCoreLib.GeoCore.fileType.gds; + int type = -1; - if (ext == "OAS") + if (((ext == "GDS") || ((ext == "GZ") && (tokens[tokens.Length - 2].ToUpper() == "GDS"))) || + ((ext == "GDSII") || ((ext == "GZ") && (tokens[tokens.Length - 2].ToUpper() == "GDSII")))) + { + type = (int)geoCoreLib.GeoCore.fileType.gds; + } + else if (((ext == "OAS") || ((ext == "GZ") && (tokens[tokens.Length - 2].ToUpper() == "OAS"))) || + ((ext == "OASIS") || ((ext == "GZ") && (tokens[tokens.Length - 2].ToUpper() == "OASIS")))) { type = (int)geoCoreLib.GeoCore.fileType.oasis; } + if (type == -1) + { + return; + } + Application.Instance.Invoke(() => { progressBar.Indeterminate = true; diff --git a/Series 2.txt b/Series 2.txt index a6b37c1..07e02a2 100644 --- a/Series 2.txt +++ b/Series 2.txt @@ -16,6 +16,9 @@ Changelog for Quilt. A pattern generator. - Color preference for geometry not coming from selected element. - ListBox context menu. - Quilt multithreading enablement (build directive was lost). + - Layout output enhancements. + - Support output to GZIP-compressed layout files. + - Expand the list of recognized file extensions. 2.3