Skip to content

Commit f811ec0

Browse files
committed
add notes
1 parent f4cb72e commit f811ec0

File tree

10 files changed

+61
-4
lines changed

10 files changed

+61
-4
lines changed

docs/source/addons/drawing.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,14 +342,14 @@ Render a paperspace layout into modelspace:
342342
GeoJSONBackend
343343
--------------
344344
345-
.. versionadded:: 1.2.1
345+
.. versionadded:: 1.3.0
346346
347347
.. autoclass:: ezdxf.addons.drawing.json.GeoJSONBackend
348348
349349
CustomJSONBackend
350350
-----------------
351351
352-
.. versionadded:: 1.2.1
352+
.. versionadded:: 1.3.0
353353
354354
.. autoclass:: ezdxf.addons.drawing.json.CustomJSONBackend
355355

docs/source/tasks/select.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ selection in CAD applications.
2020

2121
The selection functions accept any iterable of DXF entities as input and return an
2222
:class:`ezdxf.query.EntityQuery` container, that provides further selection tools
23-
base on entity type and DXF attributes.
23+
based on entity type and DXF attributes.
2424

2525
Usage
2626
-----
949 KB
Binary file not shown.

notes/pages/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ id:: 65e30c28-021e-4c24-ab6e-a9e9fa7c6a51
2525
- BUGFIX: clipping errors for filled paths
2626
- {{issue 1055}}
2727
-
28+
-
29+
-
2830
- ## Version 1.2.0 - 2024-03-02
2931
id:: 6588217b-c1d3-44c1-a0d7-e5ee465cc6de
3032
- ((658c0484-28db-436e-b828-8fc509ecbd29))

notes/pages/CustomJSONBackend.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
docs:: <https://ezdxf.mozman.at/docs/addons/drawing.html#customjsonbackend>
2+
3+
- Output backend for the [[drawing add-on]]
4+
- Creates a JSON-like output with a custom JSON scheme.
5+
- This scheme supports curved shapes by a SVG-path like structure and coordinates are not limited in
6+
any way.
7+
- This backend can be used to send geometries from a web-backend to a frontend.
8+
- The JSON scheme is documented in the source code:
9+
- <https://github.com/mozman/ezdxf/blob/master/src/ezdxf/addons/drawing/json.py>

notes/pages/GeoJSON.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs:: <https://geojson.org/>

notes/pages/GeoJSONBackend.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
docs:: <https://ezdxf.mozman.at/docs/addons/drawing.html#geojsonbackend>
2+
3+
- Output backend for the [[drawing add-on]]
4+
- Creates a JSON-like output according the [[GeoJSON]] scheme.
5+
- GeoJSON uses a geographic coordinate reference system, World Geodetic System 1984 [EPSG:4326](https://epsg.io/4326), and units of decimal degrees.
6+
- Latitude: -90 to +90 (South/North)
7+
- Longitude: -180 to +180 (East/West)
8+
- The GeoJSON format supports only straight lines so curved shapes are flattened to
9+
polylines and polygons.
10+
- The properties are handled as a foreign member feature and is therefore not defined in the GeoJSON specs.
11+
- It is possible to provide a custom function to create these property objects.

notes/pages/Release Notes v1.3.x.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,36 @@
22
id:: 65ed4f87-230f-468a-a7d4-78e841752d87
33
- Changelog: ((65e30c28-021e-4c24-ab6e-a9e9fa7c6a51))
44
- Continued integration of [[Numpy]] into the core library.
5-
-
5+
-
6+
- ## New output backends for the [[drawing add-on]]
7+
- [[GeoJSONBackend]]
8+
- Creates a JSON-like output according the [[GeoJSON]] scheme.
9+
- All DXF entities are resolved into lines, polylines and polygons.
10+
- Curved shapes are flattened to polylines and polygons.
11+
- The properties are handled as a foreign member features.
12+
- [[CustomJSONBackend]]
13+
- Creates a JSON-like output with a custom JSON scheme.
14+
- All DXF entities are resolved into lines, polylines and polygons.
15+
- This scheme supports curved shapes by a SVG-path like structure and coordinates are not limited in any way.
16+
- This backend can be used to send geometries from a web-backend to a frontend.
17+
-
18+
- ## Selection Tools
19+
- The [[ezdxf.select]] module provides entity selection capabilities, allowing users to select entities based on various shapes such as windows, points, circles, polygons, and fences.
20+
- The selection functions `bbox_inside()` and `bbox_outside()` work similarly to the inside and outside selection tools in CAD applications but the selection is based on the bounding box of the DXF entities rather than their actual geometry.
21+
- The `bbox_overlap()` function works similarly to crossing selection in CAD applications.
22+
- Entities that are outside the selection shape but whose bounding box overlapps the
23+
selection shape are included in the selection.
24+
- This is not the case with crossing selection in CAD applications.
25+
- The selection functions accept any iterable of DXF entities as input and return an `EntityQuery` container, that provides further selection tools based on entity type and DXF attributes.
26+
- Tutorial for the `ezdxf.select` module: <https://ezdxf.mozman.at/docs/tutorials/entity_selection.html>
27+
-
28+
- ## New `ezdxf.revcloud` module
29+
- The new [[ezdxf.revcloud]] module can render revision clouds similar to the `REVCLOUD` command in CAD applications.
30+
- ![sr7xzlvr.bmp](../assets/sr7xzlvr_1713432857166_0.bmp)
31+
-
32+
- ## New features for [[ACIS]] based entities
33+
- Support for copying of [[ACIS]] based entities
34+
- This adds support for loading these entities by the [[ezdxf.xref]] module
35+
- Support for transformation of [[ACIS]] based entities
36+
- The transformation is stored as temporary transformation and will be applied automatically before export.
37+
- The applied transformation is a transformed anonymous block that contains that [[ACIS]] entity.

notes/pages/ezdxf.revcloud.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs:: <https://ezdxf.mozman.at/docs/tools/revcloud.html>

notes/pages/ezdxf.select.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
docs:: <https://ezdxf.mozman.at/docs/tasks/select.html>

0 commit comments

Comments
 (0)