Classes
class InspectionList-
InspectionList (EbvListSection)
Class for handling Inspections.
Examples
# Open a figure file pynebv.file.open('/path/to/sample.oas') # Inspect a point of the figure file. inspected_items = pynebv.inspection.search((10, 10)) # Print search results. for inspected in inspected_items: print(inspected.props())Ancestors
Methods
def automeasure(point, angle, /, tone='Auto', isBox=False)-
Measure the length near the specified point.
Args
point:tuple[float, float]-
Specify coordinate.
angle:object-
type detail: object: float or str('Auto')
Specify angle.
tone:str-
type detail: str: 'Auto', 'Line', 'Space', 'Auto Pitch', 'Pitch Up-Up' or 'Pitch Down-Down'
Specify measure target type.
isBox:bool-
Specify whether to take a box measurement.
Returns
EbvItemList- Return measurement result.
def clear()-
Delete all inspection results.
Returns
none- Always none.
def decode(area)-
Decode barcodes in the specified area.
Args
area:tuple[float, float, float, float]-
Specify area.
Returns
EbvItem- Return decode result.
def decode_by_areafile(filePath)-
Decode barcodes from Area File.
Args
filePath:str-
Specify file path of Area File.
Returns
EbvItemList- Return decode result.
def extract(condition)-
Extract shapes according to the conditions.
Args
condition:str-
Specify extraction conditions.
Returns
EbvItem- Return extraction result.
def measure2p(start, end, /, type='Auto')-
Measure the length between two points.
Args
start:tuple[float, float]-
Measurement start point.
end:tuple[float, float]-
Measurement end point.
type:str-
type detail: str: 'Raw', 'Line & Space', 'Auto', 'Line', 'Space', 'Auto Pitch', 'Pitch Up-Up' or 'Pitch Down-Down'
Specify measure target type.
Returns
EbvItemList- Return measurement result.
def save(filePath)-
Save inspections.
Args
filePath:str-
Specify file path.
Returns
none- Always none.
def search(point, /, target='Figure')-
Search information at the specified coordinates.
Args
point:tuple[float, float]-
Specify coordinate.
target:str-
type detail: str: 'Figure', 'Cell', 'Figure & Cell' or 'Merged Figure'
Specify search target.
Returns
EbvItemList- Return search results.
Inherited members
class InspectionListItem-
InspectionListItem (EbvItem)
Ancestors
Subclasses
- AutoMeasureLine
- AutoMeasurePoint
- DecodeResult
- ExtractResult
- FoundCell
- FoundFigure
- FoundFigureWithHole
- FoundNothing
- FoundOutlinedFigure
- MeasureLine
- MeasureSegment
- SearchResult
Inherited members
class SearchResult-
SearchResult (InspectionListItem)
Class representing Search Result.
Ancestors
Instance variables
var name : str-
Name of item.
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class FoundFigure-
FoundFigure (InspectionListItem)
Class representing Figure in Search Result.
Ancestors
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class FoundCell-
FoundCell (InspectionListItem)
Class representing Cell in Search Result.
Ancestors
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class FoundOutlinedFigure-
FoundOutlinedFigure (InspectionListItem)
Class representing Outlined Figure in Search Result.
Ancestors
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class FoundFigureWithHole-
FoundFigureWithHole (InspectionListItem)
Class representing Figure with Hole in Search Result.
Ancestors
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class FoundNothing-
FoundNothing (InspectionListItem)
Class representing 'Not Found' in Search Result.
Ancestors
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class ExtractResult-
ExtractResult (InspectionListItem)
Class representing Extract Result.
Ancestors
Methods
def delete()-
Delete an item.
Returns
none- Always none.
def highlight(on)-
Set highlignt state.
Args
on:bool-
Specify new highlight stete.
Returns
none- Always none.
Inherited members
class MeasureLine-
MeasureLine (InspectionListItem)
Class representing Measure Line.
Ancestors
Instance variables
var name : str-
Name of item.
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class MeasureSegment-
MeasureSegment (InspectionListItem)
Class representing Measure Segment that is part of a Measure Line.
Ancestors
Instance variables
var name : str-
Name of item.
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class AutoMeasureLine-
AutoMeasureLine (InspectionListItem)
Class representing Auto Measure Line.
Ancestors
Instance variables
var name : str-
Name of item.
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class AutoMeasurePoint-
AutoMeasurePoint (InspectionListItem)
Class representing Auto Measure Point.
Ancestors
Instance variables
var name : str-
Name of item.
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members
class DecodeResult-
DecodeResult (InspectionListItem)
Class representing Decode Result.
Ancestors
Instance variables
var name : str-
Name of item.
Methods
def delete()-
Delete an item.
Returns
none- Always none.
Inherited members