FreeCAD

Форк
0
/
Line2dSegmentPy.xml 
45 строк · 1.6 Кб
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="Curve2dPy"
5
      Name="Line2dSegmentPy"
6
      PythonName="Part.Geom2d.Line2dSegment"
7
      Twin="Geom2dLineSegment"
8
      TwinPointer="Geom2dLineSegment"
9
      Include="Mod/Part/App/Geometry2d.h"
10
      Namespace="Part"
11
      FatherInclude="Mod/Part/App/Geom2d/Curve2dPy.h"
12
      FatherNamespace="Part"
13
      Constructor="true">
14
    <Documentation>
15
      <Author Licence="LGPL" Name="Werner Mayer" EMail="wmayer@users.sourceforge.net" />
16
      <UserDocu>Describes a line segment in 2D space
17
To create a line there are several ways:
18
Part.Geom2d.Line2dSegment()
19
    Creates a default line
20

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

24
Part.Geom2d.Line2dSegment(Point1,Point2)
25
    Creates a line that goes through two given points</UserDocu>
26
    </Documentation>
27
    <Methode Name="setParameterRange">
28
      <Documentation>
29
        <UserDocu>Set the parameter range of the underlying line segment geometry</UserDocu>
30
      </Documentation>
31
    </Methode>
32
    <Attribute Name="StartPoint" ReadOnly="false">
33
      <Documentation>
34
        <UserDocu>Returns the start point of this line segment.</UserDocu>
35
      </Documentation>
36
      <Parameter Name="StartPoint" Type="Object"/>
37
    </Attribute>
38
    <Attribute Name="EndPoint" ReadOnly="false">
39
      <Documentation>
40
        <UserDocu>Returns the end point of this line segment.</UserDocu>
41
      </Documentation>
42
      <Parameter Name="EndPoint" Type="Object"/>
43
    </Attribute>
44
  </PythonExport>
45
</GenerateModel>
46

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

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

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

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