Questions tagged [dxf]

DXF (Drawing Exchange Format) is a CAD data file developed by AutoDesk for interoperability between AutoCAD and other CAD applications.

320 questions
1
vote
1 answer

CAD files like dxf/dwg to WMS

I have a really complicated and complex CAD file that ArcGIS can't show me correctly, is there any service that loads the dwg or dxf file and gives it to me in map or raster form? Something like WMS? I'm a surveyor, who uses ArcGIS software and I'm…
1
vote
0 answers

Kabeja 0.4 How to save changes?

wrote a simple code using the Kabeja library. The code reads an existing dxf file, creates text and adds it to a new layer, the real question is how to save changes to dxf? public class DXFLayerTest { /** * @param args the command line…
Jhon Fagen
  • 35
  • 6
1
vote
0 answers

Problem with run vagran dxf-viewer in HTML/Javascript

I need help with running the dxf-viewer (https://github.com/vagran/dxf-viewer/). The available version to run is written in vue.js, which I am not familiar with. I would like to run a simple version using only HTML and JavaScript to parse the dxf…
Kamil Dul
  • 21
  • 1
1
vote
1 answer

Dxf file generated using ezdxf doesn't render text in 3d model when viewed in Autodesk Viewer

I have written code that created dxf file with 2 cylinders stacked on top of each other, most of the part is working fine except when I add text into the 3d model it doesn't show in the Autodesk Viewer, any idea why or any possible fix? Below is my…
1
vote
1 answer

Trying to convert a DXF file from Release 12 (AC1009) to at least 2000 (AC1015) progrematically

So the company I work for creates countertops and has there own logic and app in Java written in house that makes our dxf files for our countertops. We are now going to be outsourcing some of our work and the company we are outsourcing to is taking…
Thefeelz
  • 11
  • 1
1
vote
1 answer

DXF - AUTOCAD cant open DXF file with text Entity

I'm trying to write some DXF files manually using VBA, the ideia is to create a macro that transform a list of names in text in DXF.The first files i just ploted a simple line and it opens just fine in Autocad but as soon i insert an text entity it…
1
vote
0 answers

How can I mass create a drawing for laser cutting (DXF, DWG, etc.) with different QR codes

I am trying to cut some tags with a laser cutter. Every tag that I cut should have a different QR code. The cut pattern is the same for all, but I need a way to create an image of a QR code that can work in a loop. In total there will be about 80…
1
vote
1 answer

How to extract entity wise color, transparency, linewidth of AutoCAD dxf file using ezdxf python package?

I'm using ezdxf package in python to read the AutoCAD .dxf file. Can anyone tell me how to extract Line width, Transparency, and Color information of each entity present in modelspace? I tried the below code: doc = ezdxf.readfile('test.dxf')…
Adithya
  • 25
  • 3
1
vote
1 answer

change page setup with ezdxf

i would like to change the properties of layouts with ezdxf. There is a function called page_setup, but it is not working in my case. This is a minimal example created from the API. What is wrong with my approach? import ezdxf # Create a new DXF…
Christoph Müller
  • 483
  • 1
  • 5
  • 16
1
vote
1 answer

How to change dxf layer color in java using jdxf library?

I have a java code generating dxf files, I am using jdxf library. Almost everything works fine with it, there is only one thing I could not figure out. When I'm adding a new Layer, I wish to do it with a new color so that all entities I draw under…
mnystrktr
  • 11
  • 2
1
vote
0 answers

How can I avoid segmentation lines in gdspy?

I am trying to draw and simulate a coplanar waveguide resonator. First I draw the design shown below in gdspy, then I perform an electromagnetic simulation using a finite element software. The horizontal lines make the simulation procedure…
1
vote
1 answer

Autolisp entmake missing parameter

I'm using Autolisp to create an entity (a plugin component). Custom component First use entget to collect data of an existing entity, and it shows me this list: ((-1 . ) (0 . "TCH_ARROW") (330 . ) (5 .…
Tom Jerry
  • 11
  • 1
1
vote
1 answer

What is the structure of a DXF BLOCK_RECORD and DICTIONARY and how is it used?

I am creating a feature to convert data into a DXF file. Sadly because of limitations I cannot use one of the existing frameworks, so am very simply trying to write my own. I am at the point where I can define a block (group of shapes and lines)…
samp17
  • 547
  • 1
  • 4
  • 16
1
vote
1 answer

Convert SVG to DXF or DWG via PHP or Command line?

I am trying to find a way to convert a web SVG graphic to DFX or DWG using the server to automate the process. I am trying to avoid downloading the SVG and converting it in a program that a user would have to do. Does anyone have any experience with…
Shylor
  • 446
  • 1
  • 6
  • 11
1
vote
2 answers

is there any way to name each entity in dxf file?

I want to highlight each line or arc at specific time. Example If mobile design is displayed, I want to highlight only screen dimension to be highlighted one side after the other. If any identifier/unique code field is present in dxf file which I…
Harish Patil
  • 71
  • 1
  • 13