Skip to content

Curves workbench first-time activation from macros stalls FreeCAD #158

@Bangybug

Description

@Bangybug

Thanks for the great work on extending B-spline surface generation tools in FreeCAD. In my scenario I intend to call actions from Curves workbench programmatically as freecad macros.

When I create a new document, it comes some default workbench active. I need to switch to Curves. The following macro is executed:
`# -- coding: utf-8 --
import FreeCAD
import PartDesignGui

Gui.activateWorkbench("CurvesWorkbench")
`

  • But then FreeCAD stalls, I run version 1.0.0 on OSX.
  • If Curves workbench was once activated manually, the macro works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions