Skip to content

Commit 60c82bb

Browse files
IngeborgGjerdeIngeborg Gjerde
andauthored
Add/fm borehole layer (#19)
* add FM_borehole Co-authored-by: Ingeborg Gjerde <ingeborg.gjerde@ngi.no>
1 parent f5108f3 commit 60c82bb

4 files changed

Lines changed: 68 additions & 57 deletions

File tree

CHANGES.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changes
22

3+
## Version 1.0.11
4+
5+
_2026-05-18_
6+
7+
Add:
8+
9+
- FM_Borehole layer
10+
311
## Version 1.0.10
412

513
_2026-05-15_

mpldxf/fm_layers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"FM-Text": {"color": 2, "linetype": "CONTINUOUS"}, # Yellow - axis labels and other text
2626
"FM-Grid-Vertical": {"color": 7, "linetype": "DASHED2"}, # Light Blue - vertical grid lines
2727
"FM-Grid-Horizontal": {"color": 7, "linetype": "DASHED2"}, # Light Blue - horizontal grid lines
28+
"FM-Borehole": {"color": 3, "linetype": "CONTINUOUS"}, # Green - swedish borehole frame
2829
}
2930

3031
# Backwards compatible alias used by older callers/tests.
@@ -50,6 +51,8 @@ def determine_element_layer(group_stack, group_gids):
5051
return "FM-Grid-Horizontal"
5152
if group_gids.get(group_name) == "FM-Frame":
5253
return "FM-Frame"
54+
if group_gids.get(group_name) == "FM-Borehole":
55+
return "FM-Borehole"
5356

5457
if not group_stack:
5558
return "0"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "mpldxf"
3-
version = "1.0.10"
3+
version = "1.0.11"
44
description = "A fork of mpldxf - a matplotlib backend to write DXF drawings. Modified by NGI to handle geotechnical plots"
55
authors = [
66
{ name = "David Kent" },

0 commit comments

Comments
 (0)