~ubuntu-branches/ubuntu/maverick/freecad/maverick

« back to all changes in this revision

Viewing changes to src/Mod/Mesh/App/MeshPy.xml

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2010-01-11 08:48:33 UTC
  • mfrom: (3.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20100111084833-4g9vgdqbkw8u34zb
Tags: 0.9.2646.5-1
* New upstream version (closes: #561696).
* Added swig to Build-Depends (closes: #563523, #563772).
* Removed python-opencv from Build-Depends and Recommends (closes: #560768).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
                Constructor="true">
13
13
                <Documentation>
14
14
                        <Author Licence="LGPL" Name="Juergen Riegel" EMail="Juergen.Riegel@web.de" />
15
 
                        <UserDocu>mesh() -- Create an empty mesh object.
 
15
                        <UserDocu>Mesh() -- Create an empty mesh object.
16
16
 
17
17
This class allows to manipulate the mesh object by adding new facets, deleting facets, importing from an STL file,
18
18
transforming the mesh and much more.
20
20
A mesh object cannot be added to an existing document directly. Therefore the document must create an object
21
21
with a property class that supports meshes.
22
22
Example:
23
 
  m = Mesh.mesh()
 
23
  m = Mesh.Mesh()
24
24
  ... # Manipulate the mesh
25
25
  d = FreeCAD.activeDocument() # Get a reference to the actie document
26
26
  f = d.addObject(\"Mesh::Feature\", \"Mesh\") # Create a mesh feature
349
349
 
350
350
                                </UserDocu>
351
351
                        </Documentation>
352
 
                        <Parameter Name="Points" Type="List" />
 
352
                        <Parameter Name="Facets" Type="List" />
353
353
                </Attribute>
354
354
                <Attribute Name="CountFacets" ReadOnly="true">
355
355
                        <Documentation>
357
357
                        </Documentation>
358
358
                        <Parameter Name="CountFacets" Type="Int" />
359
359
                </Attribute>
 
360
                <Attribute Name="Topology" ReadOnly="true">
 
361
                        <Documentation>
 
362
                                <UserDocu>Return the points and face indices as tuple.</UserDocu>
 
363
                        </Documentation>
 
364
                        <Parameter Name="Topology" Type="Tuple" />
 
365
                </Attribute>
360
366
                <Attribute Name="Area" ReadOnly="true">
361
367
                        <Documentation>
362
368
                                <UserDocu>Return the area of the mesh object.</UserDocu>