Translations:Sketcher scripting/31/en

sketch = doc.addObject("Sketcher::SketchObject", "Sketch") sketch.addGeometry(Part.LineSegment(App.Vector(1.2, 1.8, 0), App.Vector(5.2, 5.3, 0)), False) sketch.addGeometry(Part.LineSegment(App.Vector(6.5, 1.5, 0), App.Vector(10.2, 5.0, 0)), False) sketch.addGeometry(Part.LineSegment(App.Vector(12.2, 1.0, 0), App.Vector(15.4, 5.0, 0)), False)