View Issue Details

IDProjectCategoryView StatusLast Update
0004080DraftBugpublic2020-12-01 11:22
Reporterdimitar Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
PlatformLinuxOSUbuntu 19.04OS Version19.04
Summary0004080: Draft upgrade make face fails with a sketch contatining multiple closed loops
DescriptionThe draft upgrade tool works well with creating a face from a sketch of single enclosed element. However, it does not work to create surfaces from a sketch with multiple enclosed elements.


Here is the message from the report view:


Traceback (most recent call last):
  File "/usr/share/freecad-daily/Mod/Draft/Draft.py", line 4867, in execute
    shape = Part.Face(shape)
<class 'Part.OCCError'>: Argument list signature is incorrect.

Supported signatures:
(face)
(wire)
(face, wire)
(surface, wire)
(list_of_wires)
(wire, facemaker_class_name)
(list_of_wires, facemaker_class_name)
(surface, list_of_wires)

Steps To Reproduce
  • Create a sketch in sketcher containing multiple closed areas
  • Go to draft workbench and upgrade the sketch.
  • By default, with the "make face" property set to true, the command fails
  • If setting "make face" to false, to command works.
Additional InformationOS: Ubuntu 19.04 (ubuntu:GNOME/ubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.7.3
Qt version: 5.12.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
TagsNo tags attached.
FreeCAD Information

Activities

dimitar

2019-08-07 07:18

reporter  

2019-08-07_08-11.png (13,801 bytes)   
2019-08-07_08-11.png (13,801 bytes)   

dimitar

2019-08-07 07:20

reporter   ~0013402

As discussed here, where to make the example work, the elements had to be converted to solids. https://forum.freecadweb.org/viewtopic.php?f=3&t=38280

marioalexis

2020-11-25 10:30

developer   ~0015020

Fix committed to master branch.

Kunda1

2020-12-01 11:22

administrator   ~0015032

Closing ticket. Thanks @marioalexis!

Related Changesets

FreeCAD: master 8e080f1d

2020-11-16 04:56:50

marioalexis

Details Diff
Draft: Some fixes in upgrade function. bug 0004460, fixes 0004462, 0004080 Affected Issues
0004080, 0004460, 0004462
mod - src/Mod/Draft/DraftGeomUtils.py Diff File
mod - src/Mod/Draft/draftfunctions/upgrade.py Diff File
mod - src/Mod/Draft/draftgeoutils/faces.py Diff File

Issue History

Date Modified Username Field Change
2019-08-07 07:18 dimitar New Issue
2019-08-07 07:18 dimitar File Added: 2019-08-07_08-11.png
2019-08-07 07:20 dimitar Note Added: 0013402
2020-11-25 10:30 marioalexis Changeset attached => FreeCAD master 8e080f1d
2020-11-25 10:30 marioalexis Note Added: 0015020
2020-12-01 11:22 Kunda1 Status new => closed
2020-12-01 11:22 Kunda1 Resolution open => fixed
2020-12-01 11:22 Kunda1 Note Added: 0015032
2020-12-01 11:22 Kunda1 Fixed in Version => 0.19