Skip to content

Commit

Permalink
Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
philstopford committed Oct 30, 2020
1 parent 3d9380d commit b4108aa
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Documentation/export.html
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
<a name="overview_export"></a>
<h1 class="western">Export</h1>

<p class="western" style=" line-height: 100%">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.</p>
<p class="western" style=" line-height: 100%">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.</p>

<table>
<tr>
Expand Down
3 changes: 3 additions & 0 deletions Documentation/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,9 @@ <h1 class="western">Features</h1>
<li><span>IMPROVED:</span> Loading of patterns with many elements is very fast, due to multithreading in the loader.</li>
<li><span>IMPROVED:</span> Different colors can be assigned to geometry from the selected / unselected pattern elements.</li>
<li>Export to hierarchical GDSII and Oasis. The export process is extremely fast, taking advantage of multithreading and optimized design.</li>
<ul>
<li><span>IMPROVED:</span> GZIP-compressed output files are now supported.</li>
</ul>
<li>Auto-configuration of Variance DOE.</li>
<li>Multi-platform : Windows, macOS, Linux. No operational or functional difference across platforms.</li>
<ul>
Expand Down
2 changes: 2 additions & 0 deletions Documentation/releases.html
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,8 @@ <h2 class="western">New to 2.5 (Oct 30 2020)</h2>
<li>Pattern elements can be renamed now.</li>
<li>Allow negative X/Y position coordinates.</li>
<li>Transformation system has been overhauled, allowing for deep relative transform hierarchies without any significant computational overhead.</li>
<li>Miscellaneous performance enhancements in the Quilt system.</li>
<li>Support output of GZIP-compressed layout files.</li>
</ul>
</ul>
</blockquote>
Expand Down
23 changes: 18 additions & 5 deletions Quilt/UI/UIHandlers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -277,23 +277,36 @@ 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)
{
string filename = sfd.FileName;
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;
Expand Down
3 changes: 3 additions & 0 deletions Series 2.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b4108aa

Please sign in to comment.