dxf

svg 2 dxf conversion [closed]

房东的猫 提交于 2019-12-05 16:52:36
I would like to know where I can find a reliable tool/library for conversion of svg to dxf. In between formats are also allowed as long as the dxf output is an exact replica of the svg. So that means conversion of the paths (and in particular bezier curves and arcs). I've looked at the svg2dxf export in inkscape but that's cutting corners (literally as that it draws straight lines between some curved endpoints). A library should be preferable in java, perl or python as I'm most familiar with these languages. I also would be willing to spend a small amount for a commercial product. I've done

DXF Parser : Ellipses angle direction

旧巷老猫 提交于 2019-12-04 00:36:24
I wrote my own ASCII DXF file parser and I encounter a problem with ellipses in some particular documents. It seems that there is no "Group Code" defining the angle direction (Clockwise or Counterclockwise) for Start and End Parameters. In most case, it's counterclockwise, but not in ALL cases... To simplify, here is a visual exemple: As you can see, the first one has a start angle of 135, and the second one a start angle of 45... But, the ellipses seems to be identical (half-circle, on the left)... This is because the first one's angles are clockwise, and the second one's are counter

Reading a Dxf file with Java

烂漫一生 提交于 2019-11-29 04:02:35
I am trying to write/find some code in Java which reads dxf files and stores geometry from the "Entities" section into arrays so that I can later import that information into Oracle 11g in terms of tables. Thank you in advance! I've used kabeja recently and haven´t had any problems, though I did quite simple tasks. If you just want to bring those geometries into an array it will do the job (in other cases I can't tell). If you already know the DXF format you will have no problems to get started. It can get as easy as follows (e.g. to extract some circle entities): Parser parser = ParserBuilder

Reading a Dxf file with Java

独自空忆成欢 提交于 2019-11-27 18:11:29
问题 I am trying to write/find some code in Java which reads dxf files and stores geometry from the "Entities" section into arrays so that I can later import that information into Oracle 11g in terms of tables. Thank you in advance! 回答1: I've used kabeja recently and haven´t had any problems, though I did quite simple tasks. If you just want to bring those geometries into an array it will do the job (in other cases I can't tell). If you already know the DXF format you will have no problems to get

Reading .DXF files [closed]

。_饼干妹妹 提交于 2019-11-27 13:59:54
Does anyone know of source code, ideally in C# or similar, for reading .DXF files (as used by AutoCAD etc)? If not code, then tables showing the various codes (elements / blocks / etc) and their meanings? I am writing a reader myself, and have dead tree documentation detailing the format, but am trying to avoid writing e.g. a converter from each of the 255 ACI colours to RGB... Thanks! sBENdk Cadlib from WoutWare have I been using for a couple of projects with good results. I have work a couple of years at developing my own DXf-Viewer in java (you could drop your own DXF file or an URL on the