mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 23:36:20 +00:00
allow elevations to show negative values
removed RL - not standard throughout the world
This commit is contained in:
@@ -783,7 +783,7 @@ class SvgWriter:
|
|||||||
text_position = Vector(
|
text_position = Vector(
|
||||||
(
|
(
|
||||||
(x_offset + projected_points[0].x) * self.svg_scale,
|
(x_offset + projected_points[0].x) * self.svg_scale,
|
||||||
((y_offset - projected_points[0].y) * self.svg_scale) - 2.5,
|
((y_offset - projected_points[0].y) * self.svg_scale) - 1.0,
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
# TODO: allow metric to be configurable
|
# TODO: allow metric to be configurable
|
||||||
@@ -801,7 +801,7 @@ class SvgWriter:
|
|||||||
text_style = SvgWriter.get_box_alignment_parameters(box_alignment)
|
text_style = SvgWriter.get_box_alignment_parameters(box_alignment)
|
||||||
self.svg.add(
|
self.svg.add(
|
||||||
self.svg.text(
|
self.svg.text(
|
||||||
"RL +{}".format(rl),
|
"{}".format(rl),
|
||||||
insert=tuple(text_position),
|
insert=tuple(text_position),
|
||||||
class_="PLANLEVEL",
|
class_="PLANLEVEL",
|
||||||
**text_style,
|
**text_style,
|
||||||
|
|||||||
Reference in New Issue
Block a user