Support Forum

Problems when converting drawings of dxf extensions to GDS extensions

Ho
LayoutEditorFull
Saturday 19th June 2021
I created a dxf extension drawing using the 2D CAD Editor. The Layout Editor is currently loading and converting dxf extension drawings to GDS extensions. The information in a drawing is a drawing that has a few layers larger than the layer to which it is based. If the size of one layer is larger than the base layer, it is not a problem when you convert it to a GDS extension and load it from my program. But when two or more layers are larger than the reference layer, when my program loads them into an excute function of the clipper library, the reference layer, and so on. The size of a layer larger than the Layer could not be loaded properly. The clipper library is a commercial library that you can see when you search it. Can you confirm this kind of problem?
Jürgen
LayoutEditorFull
Saturday 19th June 2021
I think I don't have fully understand your issue, but I guess it might be related to the different unit handling in DXF and GDS. DXF uses floating number to store coordinates. So anything from very small to huge physical size can be created. However, the accuracy gets lost step by step with bigger sizes in a automatic way. GDS uses intergers to store coordinates and stores a scale in the header of the file. So depending on the scale (called database units) the maximal design area is limited. The default setting for database units is usually 1nm. So the maximal design size is limited to +-2m as 32 bit integer are used. If you design is bigger than this range you ether need to increase the design area by reducing the accuracy by increasing the database units or scale the design when importing the DXF. By adjusting the setting of database units/user units and DXF units in the setup of the LayoutEditor you should get under all conditions a correct import. If not, please send an example DXF to review the issue.