FreeCADDocu:Sandbox

Code|code=

Code|lang=python|code=

pre import math from pivy import coin cam = Gui.ActiveDocument.ActiveView.getCameraNode rot.setValue(coin.SbVec3f(0,0,1),math.pi/2) self.lineEdit_1 = QtGui.QLineEdit(self.centralWidget) self.lineEdit_1.setGeometry(QtCore.QRect(320, 30, 151, 22))

syntaxhighlight

source lang=python

Code|code=

Code|code=bash