Translations:Scripted objects/52/fr

class Molecule: def __init__(self, obj):  Add two point properties  obj.addProperty("App::PropertyVector","p1","Line","Start point") obj.addProperty("App::PropertyVector","p2","Line","End point").p2=FreeCAD.Vector(5,0,0)