cart: empty [ Login ]

Merge two DXF files

1 
NanChou Liu
12/25/2008 10:22 AM
Dear Wout:   I have two DXF files. Each of them has unique graphic such as a circle with red color and a square with green color. I would like to merge these two DXF file in one DXF file. Suppose cirlce and square has an overlap area. Circle with red color is on the top of square with green color. Can I use ww.math to union cirlce and square together but subtract square part in overlap area? Your help will be mostly appreciated. Thanks. NanChou Liu
Wout
1/2/2009 3:31 PM
Hi CanChou, You'll have to do write some code to do this. You'd have to approximate the circle as a polygon, and also make a polygon for the square, and afterwards you can create DxfPolygon objects of the unioned polygons. Wout
1