View Issue Details

IDProjectCategoryView StatusLast Update
0004675FreeCADBugpublic2022-02-03 12:11
Reporterdrmacro Assigned To 
PrioritynormalSeverityminorReproducibilitysometimes
Status confirmedResolutionopen 
Product Version0.20 
Summary0004675: Programmatically building sketch geometry and constraints displays error, but creates valid geometry and constraints
DescriptionAdding this as requested by @abdullah

When programmatically building geometry the following error is displayed, but, only with certain sets of valid input data.

Updating geometry: Error build geometry(6): gp_Circ::SetRadius() - radius should be positive number
Invalid solution from DogLeg solver.

It appears to only happen with certain sets of data in the Python scripts available here:
https://github.com/macdroid53/FreeCADScripts
(put the files in the macro directory and execute the .py file with no _ui in the name.

Forum discussion.
Steps To ReproduceUsing certain set of data input to the linked Python scripts produces the error shown.

Sometimes all values appear to work. Sometimes not. And at other times the same values produce no error.

I have been unable to discern a pattern.

Sometimes the error mentions multiple solvers.
Tags#pending-forum, python, sketcher
FreeCAD InformationOS: Ubuntu 20.04.2 LTS (XFCE/ubuntustudio)
Word size of FreeCAD: 64-bit
Version: 0.20.25024 (Git)
Build type: Release
Branch: master
Hash: 1fb45a0c5ee88ddd31c1e17b2b3efc83fc9106f6
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.5.1
Locale: English/United States (en_US)

Activities

yorik

2022-03-03 13:55

administrator   ~0017057

This ticket has been migrated to GitHub as issue 6226.

Issue History

Date Modified Username Field Change
2021-06-04 14:31 drmacro New Issue
2021-06-04 14:31 drmacro Tag Attached: python
2021-06-04 14:31 drmacro Tag Attached: sketcher
2022-02-03 12:11 Kunda1 Tag Attached: #pending-forum
2022-02-03 12:11 Kunda1 Status new => confirmed