[Artwork] / [QisMLib]

QisMBStore

Welcome to the reference page for QisMBStore, an API of QisMLib, Artwork Conversion's CAD processing framework.

QisMBStore is a container for polygons. Many operations in the framework, such as extracting the shapes inside a window or flattening a cell, produce a batch of closed outlines, and QisMBStore is the box those outlines are handed back in. Each polygon in the box carries its list of corner coordinates plus the layer and datatype numbers that say which drawing layer it came from.

A program can read the contents of the box directly, ask summary questions about it, or pass the whole box on to another part of the framework. Two script commands also let a user write the container to disk, either as a layout file or as a bitmap image.

This page is the complete reference for the component. Here is what you will find, in the order it appears:

If you just want to save a batch of polygons to a file, go straight to the script commands. If you are writing software that consumes polygons from the framework, start with the base interface and then the second version for summary information.


QisMBStore C++ API (qismbstore.h)

class QisMBStore

Interface to an object that stores a set of boundaries

Version Control

Cast to a pointer of another version in the class hierarchy (base/derived).

N()

Returns the number of boundaries in this set. Returns 0 for an empty set

NV()

For each P (0 <= P < N()), NV()[P] represents the number of vertices in the boundary at index P in this set

XY()

For each P (0 <= P < N()), XY()[P] is an array of xy-coordinate pairs for the boundary at index P in this set

Layers()

Datatypes()

For each P (0 <= P < N()), Layers()[P] and Datatypes()[P] represents the layer:datatype corresponding to the boundary at index P in this set

class QisMBStoreV2

QisMBStore Extension #2 to get more information about the container

Get_data_extents()

Get the cumulative extents of the boundaries contained within this store

Get_vertex_count()

Get the sum of vertices of the boundaries contained within this store

Get_min_max_layer()

Get min and max layer numbers of the boundaries contained within this store

Get_min_max_datatype()

Get min and max datatype numbers of the boundaries contained within this store

Get_unique_ld_nums()

Get a list of unique layer:datatype(s) from the boundaries contained within this store

Get_unique_lnums()

Get a list of unique layer number(s) from the boundaries contained within this store

Free_layer_list()

Free the memory allocated to store the layer list

QisMBStore commands

See qismbstore.h for relevant API

store.print_info

store.write_as_polys

store.write_as_image


ARTWORK CONVERSION SOFTWARE, INC.
509 N. Sepulveda Blvd. Suite 201 Manhattan Beach, CA 90266  tel: 831.426.6163  email: info@artwork.surf

Last Updated -- Wed Sep 30 17:37:55 UTC 2026