File: Release%20Notes%20v1.2.x.md

package info (click to toggle)
ezdxf 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104,528 kB
  • sloc: python: 182,341; makefile: 116; lisp: 20; ansic: 4
file content (36 lines) | stat: -rw-r--r-- 1,908 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Release v1.2.0
	- Changelog: ((6588217b-c1d3-44c1-a0d7-e5ee465cc6de))
	- This version of `ezdxf` requires at least Python 3.9
	- Continued integration of [[Numpy]] into the core library.
-
- ## IMAGE rendering support for the [[drawing add-on]]
	- Rendering support for the [[IMAGE]] entity was added by #mbway
	- The [[IMAGE]] rendering is supported for the modelspace:
		- ![image.png](../assets/image_1705220193440_0.png)
	- and paperspace layouts:
		- ![image.png](../assets/image_1705222245850_0.png)
	- This feature requires active support from the backend and is currently supported by these backends:
		- [[PyQtBackend]]
		- [[MatplotlibBackend]]
		- [[PyMuPdfBackend]]
- # Extended `draw` command
	- added by #mbway
	- The `ezdxf draw` command supports additional backends by the option `--backend {matplotlib,qt,mupdf,custom_svg}`
		- `matpoltlib`: [[MatplotlibBackend]]
		- `qt`: [[PyQtBackend]]
		- `mupdf`: [[PyMuPdfBackend]]
		- `custom_svg`: [[SVGBackend]]
	- The command `ezdxf draw --formats --backend <backend-name>` shows the supported output formats for the specified backend.
		-
- ## New Module `ezdxf.xclip`
	- The `ezdxf.xclip` module contains the the new `XClip` class. The `XClip` class can set or remove the clipping path of external references or block references like the [[XCLIP]] command in CAD applications.
	- The `XClip` class supports only 2D clipping paths and cannot create inverted clipping paths.
	- ![cropped-block-reference.png](../assets/cropped-block-reference_1705221063928_0.png)
	- For more information read the [docs](https://ezdxf.mozman.at/docs/tools/xclip.html).
-
- ## Rendering Support for Clipped Block References
	- The clipping of block references is supported by the [[drawing add-on]]
	- Modelspace: ![image.png](../assets/image_1708499032794_0.png){:height 729, :width 749}
		-
	- Paperspace: ![image.png](../assets/image_1708499052455_0.png)
		-