Calculating Sliver Count

Calculate the number of slivers in the specified area.

How to Execute

Run from the Calculate Sliver Count Dialog

Do one of the following to open Calculate Sliver Count dialog:

  • Right-click or right-drag on screen to open context menu, then select Calculate/Sliver Count.
  • Right-click on the blank part of Calculation Panel to open the context menu, then select Sliver Count.

Screen R Click Menu Sliver Count

Dialog Parameters

Screen Sliver Count Dialog

Item Action
Short or Y Edge Specify the short edge (or Y edge) to output in the figure count histogram.
Long or X Edge Specify the long edge (or edge in the X direction) to output in the figure count histogram.
Histogram Type Specify the style of the output histogram.
Area Specify the calculation area.

There are 8 types of output histogram style as follows.

Value Description
Short Edge Output result based on the length of a short edge.
Short Edge (Cumulative) Output result based on the cumulative length of the short edge.
Long Edge Output result based on the length of the long edge.
Long Edge (Cumulative) Output result based on the cumulative length of the long edge.
Matrix Short / Long Output result of the lengths of short (vertical) and long (horizontal) edges as matrix.
Matrix Short / Long (Cumulative) Output result of the cumulative lengths of short (vertical) and long (horizontal) edges and outputs them as matrix.
Matrix Y / X Output result of lengths of the edge in the Y (vertical) and X (horizontal) direction as matrix.
Matrix Y / X (Cumulative) Output result of the cumulative lengths of the Y (vertical) and X (horizontal) edges and outputs them as matrix.

Specify the calculation area in Area and press OK to begin calculation.

The calculation result is saved to Calculation Panel datalist and displayed on screen.

Sliver Count Added

Right-click on the calculation result displayed on screen or in the datalist to open the context menu, containing the following items in addition to the default context menu items.

Item Action
Show Show/hide the calculation result on screen.
Display/Name Show/hide the name of the calculation result on screen.
Display/Coordinates Show/hide the coordinates of the calculation result on screen.
Color Change the display color of the calculation result on screen
Histogram Display the calculation result as a histogram.

Load Area File and Calculate

Select Load AreaFile/Sliver Count from the main menu to open Open AreaFile for Sliver Count dialog.

File Dialog

Select an Area File and press OK. The calculation is performed on each area described in the file.

Refer to Area File page.

Display the Calculation Results as Histogram

Right-click on the calculated result to open the context menu, then select Histogram to show the details of the calculation result as histogram.

Screen Sliver Count Histogram

Output the Calculation Results to a File

The calculated results can be saved to a text file.

Click the icon on Calculation Panel and select Sliver Count to open the Save Sliver Count dialog.

Save Sliver Count Dialog

Dialog Parameters

Item Action
Histogram Format Specify the output format of histogram.

The following two histogram formats are available for output.

Value Description
Text Output in text format. The format is the same as displaying by Histogram.
Csv Output in CSV format. If Output Style is matrix style, each cell is output to a line with corresponding row/col values.

Specify a histogram format and a file name, and press OK to save the results. The followings are output examples.

  • Text format
#Sliver Count Created by nebv VERSION (uid=UID) USER@HOSTNAME DATE
#COMMAND addSliverCount
#ARGS 
Area: (1057, 2423) - (1475, 2835)
Step: Column:6.000 Row:5.000[um]
 Size[um],  - 1.000,  1.000-,  7.000-, 13.000-, 19.000-, - 340.360,    Total
   0.000-,        0,      15,       5,       0,       0,         0,        20
   5.000-,        -,       0,      25,       0,       0,         3,        28
  10.000-,        -,       -,       6,      17,       0,         3,        26
-  22.860,        0,       0,       0,       4,      17,         3,        24
  Total  ,        0,      15,      36,      21,      17,         9,        98
Rectangle   count : 75    
Polygon count     : 23 
  • CSV format
#Sliver Count Created by nebv VERSION (uid=UID) USER@HOSTNAME DATE
#COMMAND addSliverCount
#ARGS 
#Area: (1057, 2423) - (1475, 2835)
#Step: Column:6.000 Row:5.000[um]
#Rectangle   count : 75          
#Polygon count     : 23          
short, long, count
0.000, 1.000, 15
0.000, 7.000, 5
5.000, 7.000, 25
5.000, 25.000, 3
10.000, 7.000, 6
10.000, 13.000, 17
10.000, 25.000, 3
15.000, 13.000, 4
15.000, 19.000, 17
15.000, 25.000, 3

Run from the Command Line

Specify --sliver-count-file option with an Area File at startup to execute calculation on each area described in the file after startup. You can also specify the filename to save the calculation results using --sliver-count-histogram-out option.

By specifying as follows, the calculation results for the specified range in figure_file will be output to sliver_count_histogram_result.txt:

$ nebv --sliver-count-file=/path/to/areafile.txt --sliver-count-histogram-out=/path/to/sliver_count_histogram_result.txt /path/to/figure_file
$ nebv --sliver-count-file="0,0,100,100" --sliver-count-histogram-out=/path/to/sliver_count_histogram_result.txt /path/to/figure_file

For Area File syntax, Refer to Area File page.

See --sliver-count-file, --sliver-count-histogram-out in Boot Options page.

The Sliver Count calculation method and the way the results are displayed can be changed from the Preference. See preference Action/Sliver Countpage for detail.

Last modified December 9, 2024