FreeCAD Logo FreeCAD 1.0
  • English Afrikaans Arabo Bielorusso Catalano Czech German Greek Spanish Spanish Basco Finnish Filippino Français Galiziano Croatian Hungarian Indonesiano Italiano Japanese Kabyle Coreano Lituano Dutch Norvegese Bokmal Polish Portuguese Portuguese Romanian Russian Slovak Slovenian Serbo Swedish Turkish Ukrainian Valenziano Vietnamita Cinese Cinese
  • Funzioni
  • Download
  • Blog
  • Documentazione
    Indice di documentazione Per iniziare Documentazione utenti Il manuale FreeCAD Documentazione degli ambienti di lavoro Documentazione di scripting Python Documentazione codice C++ Tutorial Domande frequenti Politica sulla Privacy Informazioni Su FreeCAD
  • Contribuire
    Come aiutare Sponsor Segnala un bug Fai una richiesta Opportunità di lavoro e ricompense Linee guida per contribuire Manuale degli sviluppatori Traduzioni
  • Comunità
    Codice di condotta Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendario
  • ♥ Donate

Donate

$
Informazioni SEPA
Si prega di intestare il bonifico SEPA a:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Agenzia bancaria: BNP Paribas Fortis
Indirizzo: Rue de la Station 64, 1360 Perwez, Belgium

While Stripe doesn't support monthly donations, you can still become a sponsor! Simply make a one-time donation equivalent to 12 months of support, and you'll gain access to the corresponding sponsoring tier. It's an easy and flexible way to contribute.

If you are not sure or not able to commit to a regular donation, but still want to help the project, you can do a one-time donation, of any amount.

Choose freely the amount you wish to donate one time only.

You can support FreeCAD by sponsoring it as an individual or organization through various platforms. Sponsorship provides a steady income for developers, allowing the FPA to plan ahead and enabling greater investment in FreeCAD. To encourage sponsorship, we offer different tiers, and unless you choose to remain anonymous, your name or company logo will be featured on our website accordingly.

from 1 USD / 1 EUR per month. You will not have your name displayed here, but you will have helped the project a lot anyway. Together, normal sponsors maintain the project on its feet as much as the bigger sponsors.

from 25 USD / 25 EUR per month. Your name or company name is displayed on this page.

from 100 USD / 100 EUR per month. Your name or company name is displayed on this page, with a link to your website, and a one-line description text.

from 200 USD / 200 EUR per month. Your name or company name and logo displayed on this page, with a link to your website and a custom description text. Companies that have helped FreeCAD early on also appear under Gold sponsors.

Instead of donating each month, you might find it more comfortable to make a one-time donation that, when divided by twelve, would give you right to enter a sponsoring tier. Don't hesitate to do so!

Choose freely the amount you wish to donate each month.

Please inform your forum name or twitter handle as a notein your transfer, or reach to us, so we can give you proper credits!

(Novembre 2018) Queste informazioni potrebbero essere incomplete e obsolete. Per l'ultima API, vedere la pagina Documentazione API autogenerata.

Gli oggetti mesh possono essere manipolati aggiungendo nuove sfaccettature, cancellando delle sfaccettature, importando da un file STL, trasformando la rete e in molti altri modi. Per una panoramica completa di ciò che si può fare vedere anche la documentazione dell'Ambiente Mesh. Un oggetto mesh non può essere aggiunto direttamente ad un documento esistente. Pertanto, il documento deve creare un oggetto con una classe appropriataa che supporta le mesh. Esempio:

m = Mesh.Mesh()
... # Manipulate the mesh
d = FreeCAD.activeDocument() # Get a reference to the actie document
f = d.addObject("Mesh::Feature", "Mesh") # Create a mesh feature
f.Mesh = m # Assign the mesh object to the internal property
d.recompute()
addFacet(Facet)

Description: Aggiunge una sfaccettatura alla maglia

Returns:

addFacets(list)

Description: Aggiunge un elenco di sfaccettature alla maglia

Returns:

addMesh(Mesh)

Description: Combina questa mesh con un'altra mesh.

Returns:

clear( )

Description: Cancella la mesh

Returns:

coarsen( )

Description: Rende grossolana la mesh

Returns:

collapseEdge(Edge)

Description: Rimuove un bordo e entrambe le sfaccettature che condividono questo bordo

Returns:

collapseFacet(Facet)

Description: Rimuove una sfaccettatura

Returns:

collapseFacets(list)

Description: Rimuove una seriea di sfaccettature

Returns:

copy( )

Description: Crea una copia di questa maglia

Returns: un oggetto Mesh

countComponents( )

Description: Ottiene il numero di aree topologiche indipendenti

Returns: un intero

countNonUniformOrientedFacets( )

Description: Ottiene il numero di sfaccettature orientate male

Returns: un intero

countSegments( )

Description: Ottiene il numero di segmenti che possono essere anche 0

Returns: un numero intero

crossSections( )

Description: Ottiene sezioni trasversali della rete attraverso diversi piani

Returns:

difference(Mesh)

Description: Differenze tra questo oggetto e l'oggetto mesh dato.

Returns:

fillupHoles( )

Description: Riempie i fori

Returns:

fixDeformations( )

Description: Ripara le faccette deformate

Returns:

fixDegenerations( )

Description: Rimuove le sfaccettature degenerate

Returns:

fixIndices( )

Description: Ripara eventuali indici non validi

Returns:

fixSelfIntersections( )

Description: Ripara le autointersezioni

Returns:

flipNormals( )

Description: Inverte le normali delle mesh

Returns:

foraminate( )

Description: Ottiene un elenco di indici delle faccette e dei punti di intersezione

Returns:

getPlanes( )

Description: Ottiene tutti i piani della rete come segmento. Nel caso peggiore ogni triangolo può essere considerato come unico piano se nessuno dei suoi vicini è complanare.

Returns:

getSegment(integer)

Description: Ottiene un elenco di indici delle faccette che descrivono un segmento

Returns:

getSeparateComponents( )

Description: Restituisce una lista contenente le diverse componenti (aree separate) della rete come mesh separate

Returns: una lista

harmonizeNormals( )

Description: Regola le sfaccettature orientate male

Returns:

hasNonManifolds( )

Description: Controlla se la mesh contiene non-manifolds

Returns: un booleano

hasNonUniformOrientedFacets( )

Description: Verifica se la rete ha dellle sfaccettature con orientamento incoerente

Returns:

hasSelfIntersections( )

Description: Controlla se la mesh si interseca

Returns:

inner( )

Description: Ottiene la parte interna all'intersezione

Returns:

insertVertex(Vertex)

Description: Inserisce un vertice in una sfaccettatura

Returns:

intersect(Mesh)

Description: Intersezione tra questo oggetto e l'oggetto mesh dato.

Returns:

isSolid( )

Description: Controlla se la mesh è un solido

Returns:

meshFromSegment( )

Description: Creare una mesh da un segmento

Returns:

nearestFacetOnRay(tuple, tuple)

Description: Get the index and intersection point of the nearest facet to a ray. The first parameter is a tuple of three floats the base point of the ray, the second parameter is ut uple of three floats for the direction. The result is a dictionary with an index and the intersection point or an empty dictionary if there is no intersection.

Returns: a dictionary

offset(float)

Description: Sposta il punto lungo le sue normali

Returns:

offsetSpecial(float)

Description: Sposta il punto lungo le sue normali

Returns:

optimizeEdges( )

Description: Ottimizza i bordi per ottenere delle faccette migliori

Returns:

optimizeTopology( )

Description: Ottimizza i bordi per ottenere delle faccette migliori

Returns:

outer( )

Description: Ottiene la parte al di fuori l'intersezione

Returns:

printInfo( )

Description: Ottiene informazioni dettagliate sulla mesh

Returns:

read( )

Description: Read in a mesh object from file.

Returns:

refine( )

Description: Refine the mesh

Returns:

removeComponents(integer)

Description: Remove components with less or equal to number of given facets

Returns:

removeDuplicatedFacets( )

Description: Remove duplicated facets

Returns:

removeDuplicatedPoints( )

Description: Remove duplicated points

Returns:

removeFacets(list)

Description: Remove a list of facet indices from the mesh

Returns:

removeFoldsOnSurface( )

Description: Remove folds on surfaces

Returns:

removeNonManifolds( )

Description: Remove non-manifolds

Returns:

rotate( )

Description: Apply a rotation to the mesh

Returns:

setPoint(int, Vector)

Description: Sets the point at index.

Returns:

smooth( )

Description: Smooth the mesh

Returns:

snapVertex( )

Description: Insert a new facet at the border

Returns:

splitEdge( )

Description: Split edge

Returns:

splitEdges( )

Description: Split all edges

Returns:

splitFacet( )

Description: Split facet

Returns:

swapEdge( )

Description: Swap the common edge with the neighbor

Returns:

transform( )

Description: Apply a transformation to the mesh

Returns:

transformToEigen( )

Description: Transform the mesh to its eigenbase

Returns:

translate(Vector)

Description: Apply a translation to the mesh

Returns:

unite(Mesh)

Description: Union of this and the given mesh object.

Returns:

write(string)

Description: Write the mesh object into file.

Returns:

writeInventor( )

Description: Write the mesh in OpenInventor format to a string.

Returns: a string

Area

Returns: the area of the mesh object.

CountEdges

Returns: the number of vertices of the mesh object.

CountFacets

Returns: the number of facets of the mesh object.

CountPoints

Returns: the number of points of the mesh object.

Facets

Returns: A collection of facets; With this attribute it is possible to get access to the facets of the mesh: for p in mesh.Facets: print f. Facet.Points is a list of coordinate-tupels for the vertices. Facet.PointIndices is a list of indice for the vertices of the facet. WARNING! store Facets in a local variable as it is generated on the fly, each time it is accessed.

Points

Returns: A collection of the mesh points; With this attribute it is possible to get access to the points of the mesh: for p in mesh.Points: print p.x, p.y, p.z, p.Index.WARNING! store Points in a local variable as it is generated on the fly, each time it is accessed.

Topology

Returns: the points and face indices as tuple. Topology[0] is a list of all vertices. Each being a tuple of 3 coordinates. Topology[1] is a list of all polygons. Each being a list of vertex indice into Topology[0] WARNING! store Topology in a local variable as it is generated on the fly, each time it is accessed.

Volume

Returns: the volume of the mesh object.

BoundBox

Returns: the BoundBox of the object

Matrix

Returns: the current transformation of the object as matrix

Placement

Returns: the current transformation of the object as placement


Questa pagina è recuperata da https://wiki.freecad.org/Mesh_API

Tieniti aggiornato!
Forum GitHub Mastodon Matrix IRC Gitter.im Discord Reddit Twitter Facebook LinkedIn

© The FreeCAD Team. Homepage image credits (top to bottom): ppemawm, r-frank, epileftric, regis, rider_mortagnais, bejant.

Questo progetto è supportato da: , KiCad Services Corp. e altri sponsor

GitHubMigliora questa pagina su GitHub