Giter Site home page Giter Site logo

kelchdeng / open_dxf_lib Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vvs1864/open_dxf_lib

0.0 0.0 0.0 81 KB

Open library for read and write .dxf files (autocad-compatible). 操作dxf文件

License: GNU General Public License v3.0

Java 100.00%

open_dxf_lib's Introduction

open_dxf_lib

Open library for read and write .dxf files (autocad-compatible).

It is fine and easy like this:

	...
	DXF_file f = new DXF_file(Mode.Open_file, "/home/mydxf.dxf"); 
	Color_dxf c = new Color_dxf(255, 255, 255);
	f.put_text(100, 50, 450, 0, 0.5, c, "text in dxf file");
	f.put_arc(250, 300, 50, 120, 360, c, 4);
	f.put_circle(400, 300, 50, c, 4);
	f.put_line(0, 320, 100, 50, core.dash_type.Continuous, 20, c, 1);
	f.put_dimension(
		300, 300, 1950, 300, 300, 800, //coordinates of 3 points
		200, //ext dim lines
		100, //ext ticks
		350, //text_size
		0.67, //text width factor
		50, //s
		2, //text change
		2633.140,  //text_x
		1025, //text_y 
		100, //arrow size
		0, //angle
		"Open 30", //type arrow
		"", //text
		c //color
	);
	f.save_file();
	...

open_dxf_lib's People

Contributors

vvs1864 avatar aeroport avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.