From 9df24aea7ee531e0291e1e07ac99119cc63cc263 Mon Sep 17 00:00:00 2001 From: jdegenstein Date: Fri, 23 Aug 2024 15:07:56 -0500 Subject: [PATCH] exporters3d.py -> Revert change to node_label.IsNull() check --- src/build123d/exporters3d.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/build123d/exporters3d.py b/src/build123d/exporters3d.py index 36810b50..20d19a85 100644 --- a/src/build123d/exporters3d.py +++ b/src/build123d/exporters3d.py @@ -135,8 +135,7 @@ def _create_xde(to_export: Shape, unit: Unit = Unit.MM) -> TDocStd_Document: shape_tool.FindShape(sub_node, findInstance=False) for sub_node in sub_nodes ] - # if node.label and not node_label.IsNull(): - if node.label: + if node.label and not node_label.IsNull(): TDataStd_Name.Set_s(node_label, TCollection_ExtendedString(node.label)) if node.color is not None: