FreeCAD

Форк
0
/
LinePy.xml 
40 строк · 1.4 Кб
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
  <PythonExport
4
      Father="GeometryCurvePy"
5
      Name="LinePy"
6
      PythonName="Part.Line"
7
      Twin="GeomLine"
8
      TwinPointer="GeomLine"
9
      Include="Mod/Part/App/Geometry.h"
10
      Namespace="Part"
11
      FatherInclude="Mod/Part/App/GeometryCurvePy.h"
12
      FatherNamespace="Part"
13
      Constructor="true">
14
    <Documentation>
15
      <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
16
      <UserDocu>Describes an infinite line
17
To create a line there are several ways:
18
Part.Line()
19
    Creates a default line
20

21
Part.Line(Line)
22
    Creates a copy of the given line
23

24
Part.Line(Point1,Point2)
25
    Creates 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

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.