dxf

package module
v0.0.0-...-1022a47 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Name     string
	Entities []entities.Entity
}

type DimStyle

type DimStyle struct {
	Name      string
	Precision int     // 271: DIMDEC(显示的小数位数)
	ExLimit   float64 // 44:  DIMEXE (冒尖长度,标注线超出延伸线的长度)
	ExOffset  float64 // 42:  DIMEXO (起点偏移量,即延伸线离测量点的空隙)
	Scale     float64 // 40:  DIMSCALE (全局比例,影响所有标注特征)
}

type Document

type Document struct {
	Blocks    map[string]*Block
	Entities  []entities.Entity
	DimStyles map[string]*DimStyle
}

func Load

func Load(reader io.Reader) (doc *Document, err error)

func Open

func Open(filename string) (doc *Document, err error)

Directories

Path Synopsis
cmd
51celiang command
54calc_area command
56pdf command
56sort command
dwg2dxf command
export_phone command
tocsv command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL