FreeCAD Logo FreeCAD 1.0
  • Engleză Afrikaans Arabă Belarusă Catalană Cehă Germană Greacă Spaniolă Spaniolă Bască Finlandeză Filipineză Franceză Galiciană Croată Maghiară Indoneziană Italiană Japoneză Kabyle Coreeană Lituaniană Olandeză Norvegiană Bokmål Poloneză Portugheză Portugheză Română Rusă Slovacă Slovenă Sârbă Suedeză Turcă Ucrainiană Valenciană Vietnameză Chineză Chineză
  • Funcții
  • Descarca
  • Blog
  • Documentaţie
    Indicele documentului Primii pasi Documentație utilizatori Manualul utilizatorului FreeCAD Documentaţia Atelierelor Documente despre codarea în limbajul python C++ coding documentation Tutoriale Întrebări frecvente Privacy policy About FreeCAD
  • Contribuiți
    Cum să ajuți Sponsor Raportează o problemă Efectuează o cerere de tragere Locuri de muncă și finanțare Orientări privind contribuția Developers handbook Translations
  • Comunitate
    Code of conduct Forum The FPA GitHub GitLab Codeberg Mastodon Matrix IRC IRC via Webchat Gitter Discord Reddit Twitter Facebook LinkedIn Calendar
  • ♥ Donate

Donate

$
Informaţii SEPA
Te rugăm să-ți configurezi transferul bancar SEPA în:
Beneficiary: The FreeCAD project association
IBAN: BE04 0019 2896 4531
BIC/SWIFT: GEBABEBBXXX
Agenție bancară: BNP Paribas Fortis
Adresă: 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!

Filling
Sections
Surface

Surface Fill boundary curves

Menu location
Surface → Fill boundary curves
Workbenches
Surface
Default shortcut
None
Introduced in version
-
See also
None

Description

Descriere

Acest instrument creează o suprafță mărginită din două, trei sau patru muchii. Trei sunt disponibile diferite stiluri de umplere: curbe, Coons, Dreaptă. Instrumentul creează o tranziție lină între muchiile care mărginesc.

Left: edges that are used to generate a surface with the GeomFillSurface tool, 4 connected edges, 3 connected edges, and 2 disconnected edges. Right: resulting surface from using the 4, 3, and 2 edges, respectively.

Cum se folosește

  1. Apăsați butonul Fill boundary curves.
  2. Selectați muchiile în vedere 3D.

Marginile trebuie să se conecteze împreună pentru a oferi un profil închis.

  1. Definiți oțiunile și apăsațiOK.

Note: once created, it is not possible to apply additional constraints to the created surface.

Opţiuni

Fill type: Stretch, Coons, or Curved.

Proprietăți

A Surface GeomFillSurface object (Surface::GeomFillSurface class) is derived from the basic Part Feature (Part::Feature class, through the Part::Spline subclass), therefore it shares all the latter's properties.

In addition to the properties described in Part Feature, the Surface GeomFillSurface object has the following properties in the Property View.

Data

Base

DATEFill Type:Algoritmul de umplere aplicat

  • Curved - stilul cu cele mai rotunjite patch-uri.
  • Coons - un stil rotunjit, cu o adâncime mai mică decât Curved
  • Stretch - stil cu cele mai plate patch-uri

View

Base

  • VizualizareControl Points (Bool): it defaults to false; if set to true, it will show an overlay with the control points of the surface.

Twisting of the surface

The shape of the surface depends on the direction of the chosen edges; if edges are selected and the result is a surface that "twists" on itself, one of the edges may need its list of vertices in the reverse order. A surface that twists on itself will probably have self-intersections, and thus will be an invalid Shape; this can be verified with Part CheckGeometry.

For example, if two curves have the points

curve1 = [a, b, c, d]
curve2 = [e, f, g]

and the resulting surface after using Surface GeomFillSurface or Surface Sections is a twisted surface, you may create a third curve that is equal to one of the two original curves but with a reversed list of points.

Either

curve1 = [a, b, c, d]
curve3 = [g, f, e]

or

curve3 = [d, c, b, a]
curve2 = [e, f, g]

should work to generate a surface that doesn't twist.

In practical terms this means that all edges used to generate a surface should be created preferably in the same clockwise or anti-clockwise direction. Following this simple rule usually guarantees that the surface will follow the smoothest direction and won't twist.

When the surface's VizualizareLighting property is One side, a face will be painted completely black if its normal direction points into the 3D View (away from the current viewer), indicating a flipped face with respect to the other colored faces.

Left: the boundary edges are oriented in the same direction, and thus the generated surface is smooth. Right: the boundary edges have opposite directions, and thus the generated surface twists on itself, resulting in self-intersections.

Scripting

See also: FreeCAD Scripting Basics.

The Surface GeomFillSurface tool can be used in macros and from the Python Console by adding the Surface::GeomFillSurface object.

  • The edges to be used to define the surface must be assigned as a LinkSubList to the BoundaryList property of the object.
  • The type of algorithm must be assigned like a string to the FillType property.
  • All objects with edges need to be computed before they can be used as input for the properties of the GeomFillSurface object.
import FreeCAD as App
import Draft

doc = App.newDocument()

a = App.Vector(-140, -100, 0)
b = App.Vector(175, -108, 0)
c = App.Vector(200, 101, 0)
d = App.Vector(-135, 107, 70)

points1 = [a, App.Vector(-55, -91, 65), App.Vector(35, -85, -5), b]
obj1 = Draft.make_bspline(points1)

points2 = [b, App.Vector(217, -45, 55), App.Vector(217, 35, -15), c]
obj2 = Draft.make_bspline(points2)

points3 = [c, App.Vector(33, 121, 55), App.Vector(0, 91, 15), App.Vector(-80, 121, -40), d]
obj3 = Draft.make_bspline(points3)

points4 = [d, App.Vector(-140, 0, 45), a]
obj4 = Draft.make_bspline(points4)
doc.recompute()

surf = doc.addObject("Surface::GeomFillSurface", "Surface")
surf.BoundaryList = [(obj1, "Edge1"),
                     (obj2, "Edge1"),
                     (obj3, "Edge1"),
                     (obj4, "Edge1")]
doc.recompute()


Filling
Sections
Surface

Această pagină este preluată de la https://wiki.freecad.org/Surface_GeomFillSurface

Intrați în legătură!
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.

Acest proiect este sprijinit de: , KiCad Services Corp. and other sponsors

GitHubImprove this page on GitHub