mirror of
https://github.com/gumyr/build123d.git
synced 2025-12-15 15:20:37 -08:00
remove is_inkscape_label parameter
This commit is contained in:
parent
c0728e0803
commit
5ecea4bb91
2 changed files with 8 additions and 15 deletions
|
|
@ -71,13 +71,9 @@ class ImportSVG(unittest.TestCase):
|
|||
|
||||
def test_import_svg(self):
|
||||
svg_file = Path(__file__).parent / "../tests/svg_import_test.svg"
|
||||
for tag in ["id", "label"]:
|
||||
for tag in ["id", "inkscape:label"]:
|
||||
# Import the svg object as a ShapeList
|
||||
svg = import_svg(
|
||||
svg_file,
|
||||
label_by=tag,
|
||||
is_inkscape_label=tag == "label",
|
||||
)
|
||||
svg = import_svg(svg_file, label_by=tag)
|
||||
|
||||
# Exact the shape of the plate & holes
|
||||
base_faces = svg.filter_by(lambda f: "base" in f.label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue