Code: Select all
plane = Part.Plane(p1, p2, p3)
Part.show(plane, "plane123")
Code: Select all
Part.show(plane, "plane123")
<class 'TypeError'>: argument 1 must be Part.Shape, not Part.Plane
Tried this:
Code: Select all
planeObj = App.ActiveDocument.addObject('Part::Plane', "planeObj")
planeObj.Shape = plane
Code: Select all
<class 'TypeError'>: type must be 'Shape', not Part.Plane
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United Kingdom (en_GB)
Installed mods:
* CurvedShapes 1.0.3
* Curves 0.5.2