View Issue Details

IDProjectCategoryView StatusLast Update
0003483DraftBugpublic2022-02-03 15:15
Reportersteelman Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.16 
Target Version0.20Fixed in Version0.20 
Summary0003483: Simple paths cannot be upgraded
DescriptionSimple paths imported from SVG files cannot be upgraded to Blocks
Steps To Reproduce1. Create an SVG file with simple (open) paths comprising two nodes each (one edge).
2. Import it into the Draft workbench as geometry.
3. Select the paths and use the upgrade tool.

Expected result:

The paths are upgraded to a Block.

Actual result:

Nothing happens to the objects and a message is displayed:

    Unable to upgrade these objects
Additional InformationIt appears the bug still exists and is caused by this condition. If paths comprise more then two nodes, the Block is created properly.

OS: Debian GNU/Linux 9.4 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.
Build type: None
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
TagsSVG
FreeCAD Information

Relationships

related to 0003484 closednormandc Open paths are closed upon upgrade 

Activities

steelman

2018-05-18 08:37

reporter   ~0011257

Last edited: 2018-05-18 08:40

The attached file contains four paths to demonstrate the problem. The problem described above can be triggered by an attempt to import paths №3 and №4. Paths №1 and №2 can be upgraded to a Block successfully. Upgrading single path (№3 or №4) doesn't work either.

paths.svg (6,925 bytes)   
paths.svg (6,925 bytes)   

Kunda1

2018-05-29 19:47

administrator   ~0011299

@steelman Please test with 0.17 and report your results. Also please verify bugs on the forums first and let the community as described in the large yellow banner that should be displayed at the top of this tracker page.

Kunda1

2018-08-01 03:01

administrator   ~0011575

@steelman ping

steelman

2018-08-05 13:57

reporter   ~0011590

Alive. I will check this the next week.

Kunda1

2018-08-06 08:40

administrator   ~0011591

Thanks, resetting this to 'Feedback' status, JIC.

steelman

2018-08-19 13:29

reporter   ~0011631

Still broken in

OS: Debian GNU/Linux 9.5 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13528 (Git) AppImage
Build type: None
Branch: releases/FreeCAD-0-17
Hash: 5c3f7bf8ec51e2c7187789f7edba71a7aa82a88b
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Polish/Poland (pl_PL)

and

OS: Debian GNU/Linux 9.5 (stretch)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.5235 (Git shallow) AppImage
Build type: Release
Branch: master
Hash: 3e6cc7bbcd03ef2a9d57d504b0971c098e64171a
Python version: 3.6.5
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Polish/Poland (pl_PL)

Kunda1

2018-08-21 12:45

administrator   ~0011633

Last edited: 2018-08-21 12:46

@steelman please open a forum thread about this
Edit: Forum thread: https://forum.freecadweb.org/viewtopic.php?f=8&t=30427

normandc

2018-09-02 21:31

manager   ~0011689

I don't understand what you are trying to accomplish by upgrading these paths. Why do you need to upgrade to a Block? FYI a block is not a FreeCAD entity, it's a DXF/DWG entity so it's relevant only at import/export time, for DXF/DWG file formats. In FreeCAD the basic entities are vertex, edge, wire, face, shell, solid, compound and compsolid. Paths Nº 1 & 2 are not upgraded to Blocks, they are upgraded to Wires because they comprise 2 edges. Since Paths Nº 3 and 4 only comprise a single edge each, I'm guessing there is simply nothing to upgrade.

Kunda1

2021-02-11 17:40

administrator   ~0015328

vocx has a workaround in https://forum.freecadweb.org/viewtopic.php?f=8&t=30427&p=477089#p360510

yorik

2022-02-03 15:15

administrator   ~0016344

Fixed with http://github.com/FreeCAD/FreeCAD/commit/8492cfb9eb

Issue History

Date Modified Username Field Change
2018-05-18 07:37 steelman New Issue
2018-05-18 08:37 steelman File Added: paths.svg
2018-05-18 08:37 steelman Note Added: 0011257
2018-05-18 08:40 steelman Note Edited: 0011257
2018-05-29 19:47 Kunda1 Status new => feedback
2018-05-29 19:47 Kunda1 Note Added: 0011299
2018-05-29 19:49 Kunda1 Relationship added related to 0003484
2018-06-17 18:23 Kunda1 Tag Attached: SVG
2018-08-01 03:01 Kunda1 Note Added: 0011575
2018-08-05 13:57 steelman Note Added: 0011590
2018-08-05 13:57 steelman Status feedback => new
2018-08-06 08:40 Kunda1 Assigned To => Kunda1
2018-08-06 08:40 Kunda1 Status new => feedback
2018-08-06 08:40 Kunda1 Note Added: 0011591
2018-08-19 13:29 steelman Note Added: 0011631
2018-08-19 13:29 steelman Status feedback => assigned
2018-08-21 12:45 Kunda1 Assigned To Kunda1 =>
2018-08-21 12:45 Kunda1 Status assigned => acknowledged
2018-08-21 12:45 Kunda1 Note Added: 0011633
2018-08-21 12:46 Kunda1 Note Edited: 0011633
2018-09-02 21:31 normandc Note Added: 0011689
2021-02-06 06:45 abdullah Target Version => 0.20
2021-02-11 17:40 Kunda1 Note Added: 0015328
2022-02-03 15:15 yorik Assigned To => yorik
2022-02-03 15:15 yorik Status acknowledged => closed
2022-02-03 15:15 yorik Resolution open => fixed
2022-02-03 15:15 yorik Fixed in Version => 0.20
2022-02-03 15:15 yorik Note Added: 0016344