|
[<<< Back, to the category overview]
Add to the basket for $39 US dollars
The lines have to be part of a "polyline".
New: The program can now also connect normal lines and create polylines for you.
Every arc will be divided into x (i.e. 100) parts and every line will be divided into y (i.e. 100) parts. For every division point of the line the program searches the nearest division point of the arc.
The distance between this two points on the line and arc has to be shorter than the "maximum deviation" which you can specify.
If the dxf file uses big dxf coordinates, then you need to choose a larger maximum deviation. For smaller coordinates use smaller values. You need to test this out. If you choose the value to big even straight lines may be converted into arcs. To small values will have the effect that not all arcs are recognized.
If you specify more testing points the conversion will be slower. The needed number of testing points is the product of the number of testing points for the lines and the number of testing points for the arcs. If you use 100 testing points for both, then 100 x 100 = 10000 tests are needed.
DXFlinestoarcs.exe convert1 sourcefile destinationfile [optional: maximum deviation between line and arc] [optional: test arc on so many points] [optional: test line on so many points] DXFlinestoarcs.exe convert1 "c:\test.dxf" "c:\out.dxf" DXFlinestoarcs.exe convert1 "c:\test.dxf" "c:\out.dxf" 0.2 200 200 Connect lines into polylines: DXFlinestoarcs.exe convert2 sourcefile destinationfile [optional: maximum deviation when connection line segments] DXFlinestoarcs.exe convert2 "c:\test.dxf" "c:\out.dxf" DXFlinestoarcs.exe convert2 "c:\test.dxf" "c:\out.dxf" 0.02 Connect polylines: DXFlinestoarcs.exe convert3 sourcefile destinationfile [optional: maximum deviation when connection line segments] DXFlinestoarcs.exe convert3 "c:\test.dxf" "c:\out.dxf" DXFlinestoarcs.exe convert3 "c:\test.dxf" "c:\out.dxf" 0.02
|
|||