View Issue Details

IDProjectCategoryView StatusLast Update
0002173FreeCADFeaturepublic2021-02-06 06:50
Reportergalou_breizh Assigned To 
PrioritynormalSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Target Version0.20 
Summary0002173: Pythonic vs. non-pythonic
DescriptionI think the Python interface could be improved and be made more pythonic.

An example:
Gui.ActiveDocument.ActiveView.getCamera()
and
Gui.ActiveDocument.ActiveView.setCamera()
could be replaced by a property
Gui.ActiveDocument.ActiveView.Camera.

For example:
c = ActiveDocument.ActiveView.Camera
ActiveDocument.ActiveView.Camera = '#Inventor V2.1 ascii ....'
TagsNo tags attached.
FreeCAD Information

Activities

yorik

2022-03-03 13:55

administrator   ~0016465

This ticket has been migrated to GitHub as issue 5630.

Issue History

Date Modified Username Field Change
2015-06-26 17:43 galou_breizh New Issue
2021-02-06 06:50 abdullah Target Version => 0.20