FreeCAD
1<?xml version="1.0" encoding="UTF-8"?>
2<GenerateModel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="generateMetaModel_Module.xsd">3<PythonExport4Father="GeometryCurvePy"5Name="LinePy"6PythonName="Part.Line"7Twin="GeomLine"8TwinPointer="GeomLine"9Include="Mod/Part/App/Geometry.h"10Namespace="Part"11FatherInclude="Mod/Part/App/GeometryCurvePy.h"12FatherNamespace="Part"13Constructor="true">14<Documentation>15<Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />16<UserDocu>Describes an infinite line17To create a line there are several ways:
18Part.Line()
19Creates a default line
20
21Part.Line(Line)
22Creates a copy of the given line
23
24Part.Line(Point1,Point2)
25Creates a line that goes through two given points</UserDocu>26</Documentation>27<Attribute Name="Location" ReadOnly="false">28<Documentation>29<UserDocu>Returns the location of this line.</UserDocu>30</Documentation>31<Parameter Name="Location" Type="Object"/>32</Attribute>33<Attribute Name="Direction" ReadOnly="false">34<Documentation>35<UserDocu>Returns the direction of this line.</UserDocu>36</Documentation>37<Parameter Name="Direction" Type="Object"/>38</Attribute>39</PythonExport>40</GenerateModel>41