Part Offset2D/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "Filamentul/Fațete trebuie să fie în același plan.Pot exista mai multe filamente într-un singur obiect, nu neapărat coplanar.")
(Updating to match new version of source page)
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<languages/>
<languages/>
{{GuiCommand|Name=Part Offset2D|MenuLocation=Part → 2D Offset|Workbenches=[[Part Module|Part]]|SeeAlso=[[Part_Offset|Part Offset 3D]], [[Part_Thickness|Part Thickness]], [[Draft_Offset|Draft Offset]]}}


{{Docnav
[[image:Part Offset2D Demo.png|600px]]
|[[Part_Offset|Offset]]
|[[Part_Thickness|Thickness]]
|[[Part_Workbench|Part]]
|IconL=Part_Offset.svg
|IconR=Part_Thickness.svg
|IconC=Workbench_Part.svg
}}


<div class="mw-translate-fuzzy">
{{GuiCommand/ro
|Name=Part Offset2D
|Name/ro=Part:Decalj 2D
|MenuLocation=Componentă → 2D Offset
|Workbenches=[[Part_Workbench/ro|Part]]
|Version=0.17
|SeeAlso=[[Part_Offset/ro|Part Offset 3D]], [[Part_Thickness/ro|Part Thickness]], [[Draft_Offset/ro|Draft Offset]]
}}
</div>

==Description==

<div class="mw-translate-fuzzy">
==Descriere==
==Descriere==
Part 2D Offset construiește un filament, paralel cu firul original, la o anumită distanță de acesta. Sau mărește/micșorează o fațetă plană, în mod similar.
Part 2D Offset construiește un filament/contur, paralel cu firul original, la o anumită distanță de acesta. Sau mărește/micșorează o fațetă plană, în mod similar.
</div>


Filamentul/Fațete trebuie să fie în același plan.Pot exista mai multe filamente într-un singur obiect, nu neapărat coplanar.
Filamentul/Fațete trebuie să fie în același plan.Pot exista mai multe filamente într-un singur obiect, nu neapărat coplanar.


[[image:Part Offset2D Demo.png|600px]]
==How to use==
# Select an object to offset
# Invoke Part Offset2D command.
# Set up the offset in Task Panel, and accept the dialog.


==Usage==
A 2D Offset parametric object is created. Original objects are switched to wireframe display mode.


<div class="mw-translate-fuzzy">
==Properties==
==Cum se folosește==
# Selectați un obiect pentru decalaj/offset
# Apăsați butonul {{KEY|[[File:Part Offset2D.svg|24px]]}} '''Offset2D'''.
# Definiți offset în Task Panel.
# Apăsați {{KEY|OK}}.
</div>


==Notes==
{{TitleProperty|Offset}}
* {{PropertyData|Source}}: Link to original shape


* [[App_Link|App Link]] objects linked to the appropriate object types and [[App_Part|App Part]] containers with the appropriate visible objects inside can also be used as source objects. {{Version|0.20}}
* {{PropertyData|Value}} The distance to enlarge the wire/face by. If negative, the wire/face is shrunk instead.


==Probleme cunoscute==
* {{PropertyData|Mode}} ("Pipe" or "Skin"): sets how non-closed wires are processed. If "Pipe", the wire is outlined as if it was an extremely thin closed contour. If "Skin", an open wire is created.


* Majoritatea modurilor non-implicite vor funcționa numai cu OCC 7.0.0 sau o versiune ulterioară.
[[image:Part Offset2D Mode.png|600px]]


<div class="mw-translate-fuzzy">
* {{PropertyData|Join}} ("Arc", "Tangent", "Intersection"): sets the behavior around kinks. If "Arc", offset segments are connected with an arc of circle, centered at the vertex. "Tangent" is unsupported on OCC7.0.0. "Intersection": offset segments are extended till they intersect.
* Utilizarea instrumentului poate provoca caderea FreeCAD (vezi punctul următor). Pe Windows, aceste accidente sunt convertite în excepții și, în general, nu determină închiderea FreeCAD; pe alte sisteme de operare nu este cazul. Deci, este recomandat să salvați proiectul înainte de a încerca să utilizați instrumentul.
</div>


* Lărgirea fețelor cu găuri circulare cu o cantitate suficient de mare pentru a provoca gauri de închidere, apare un accident (OCC 7.0.0). Problema pare să fie specifică cercurilor; alte forme par să se închidă în mod corespunzător.
[[image:Part Offset2D Join.png|600px]]


<div class="mw-translate-fuzzy">
* {{PropertyData|Intersection}} ("false", "true"): sets if multiple wires are treated collectively or independently. If "false", wires are offset independently, intersections between resulting wires are ignored. If "true", the wires are offset in collective manner.
* când se compensează cercuri care au poziționare diferită de zero, rezultatul este plasat greșit. (OCC 7.0.0)
</div>


<div class="mw-translate-fuzzy">
[[image:Part Offset2D Intersection.png|600px]]
* când se compensează cercurile, uneori sunt compensate în direcție neașteptată (de exemplu spre interior în loc de exterior). (OCC 7.0.0)
</div>


* Fill="true" nu funcționează când compensați colectiv filamentele deschise în modul "Skin"
Only wires within a compound are coupled. For example, if the structure is like compound(wire1, wire2, compound(wire3, wire4)), wire1 and wire2 will be treated collectively, but independently from wire3 and wire4. Likewise, wire3 and wire4 are treated collectively, but independently of wire1+wire2.


* "Tangent" modul de conectare nu funcționează (OCC 7.0.0)
Also, in collective mode, directions of wires are important, and influence direction of offset. This is in tight relationship with how holes in faces are treated.


* Filamentele decalajul/Offset din segmentul cu o singură linie nu sunt acceptate (deoarece segmentul de linie nu definește un plan). Segmentele de linie unice nu pot participa la decalajul/offset colectivă.
Wires being treated collectively must be coplanar. Wires being offset independently don't have to be coplanar.


==Proprietăți==
* {{PropertyData|Fill}} ("false", "true"): if "true", the space between original wire/face and the offset is filled with a face.


* {{PropertyData|Source}}: Link to original shape
[[image:Part Offset2D Fill.png|600px]]


<div class="mw-translate-fuzzy">
==Known issues==
* {{PropertyData|Value}} The distance to enlarge the wire/face by. If negative, the wire/face is shrunk instead.
</div>


* {{PropertyData|Mode}} ("Pipe" or "Skin"): sets how non-closed wires are processed. If "Pipe", the wire is outlined as if it was an extremely thin closed contour. If "Skin", an open wire is created.
* Using the tool can crash FreeCAD (see next point). On Windows, these crashes are converted to exceptions and don't generally cause FreeCAD to close; on other OS'es it is not the case. So, it is advised to save project before attempting to use the tool.


:[[image:Part Offset2D Mode.png|600px]]
* Enlarging faces with circular holes by an amount large enough to cause holes to close up, a crash occurs (OCC 7.0.0). The problem seems to be specific to circles; other shapes seem to close out properly.


* {{PropertyData|Join}} ("Arc", "Tangent", "Intersection"): sets the behavior around kinks. If "Arc", offset segments are connected with an arc of circle, centered at the vertex. "Tangent" is unsupported on OCC7.0.0. "Intersection": offset segments are extended till they intersect.
* when offsetting circles that have non-zero Placement, the result is placed wrongly. (OCC 7.0.0)


:[[image:Part Offset2D Join.png|600px]]
* when offsetting circles, sometimes they are offset in unexpected direction (e.g. inward instead of outward). (OCC 7.0.0)


* {{PropertyData|Intersection}} ("false", "true"): sets if multiple wires are treated collectively or independently. If "false", wires are offset independently, intersections between resulting wires are ignored. If "true", the wires are offset in collective manner.
* Fill="true" doesn't work when collectively offsetting open wires in "Skin" mode


:[[image:Part Offset2D Intersection.png|600px]]
* "Tangent" join mode doesn't work (OCC 7.0.0)


:Numai firele din cadrul unui compus sunt cuplate. De exemplu, dacă structura este asemănătoare compusului (wire1, wire2, compound (wire3, wire4)), wire1 și wire2 vor fi tratate colectiv, dar independent de wire3 și wire4. De asemenea, firele 3 și firele 4 sunt tratate colectiv, dar independent de fir1 + fir2.
* Offsetting wires made of single line segment is not supported (because line segment doesn't define a plane). Single line segments cannot participate in collective offset either.


:De asemenea, în modul colectiv, direcțiile firelor sunt importante și influențează direcția de decalaj. Acest lucru este în strânsă legătură cu modul în care sunt tratate găurile în fațete.
==Scripting==


:Filamentele tratate colectiv trebuie să fie coplanare. Filamentele fiind decalate/offset independent nu trebuie să fie coplanare.
The tool can by used in [[macros]] and from the python console by using the following function:

* {{PropertyData|Fill}} ("false", "true"): dacă este "true", spațiul dintre filament/fațetă original(ă) și offset este umplut cu o fațetă.

:[[image:Part Offset2D Fill.png|600px]]

== Scrip-Programare ==

<div class="mw-translate-fuzzy">
Instrumentul poate fi utilizat în [[macros]] și din consola python utilizând următoarea funcție:
</div>
{{code|code=
{{code|code=
f = App.ActiveDocument.addObject("Part::Offset2D", "Offset2D")
f = App.ActiveDocument.addObject("Part::Offset2D", "Offset2D")
Line 70: Line 111:
}}
}}


2D offset is also available as a method of Part.Shape. Example:
2D offset este, de asemenea, disponibil ca o metodă de Part.Shape. Exemplu:
{{code|code=
{{code|code=
import Part
import Part
Line 95: Line 136:
}}
}}


==Version==
The tool was introduced in FreeCAD v0.17.8350. Most of non-default modes will only work with OCC 7.0.0 or later.


{{Docnav
|[[Part_Offset|Offset]]
|[[Part_Thickness|Thickness]]
|[[Part_Workbench|Part]]
|IconL=Part_Offset.svg
|IconR=Part_Thickness.svg
|IconC=Workbench_Part.svg
}}

{{Part Tools navi{{#translation:}}}}
{{Userdocnavi{{#translation:}}}}
{{clear}}
{{clear}}

Latest revision as of 16:41, 6 May 2022

Part:Decalj 2D

poziția meniului
Componentă → 2D Offset
Ateliere
Part
scurtătură
nici unul
Prezentat în versiune
0.17
A se vedea, de asemenea,
Part Offset 3D, Part Thickness, Draft Offset

Description

Descriere

Part 2D Offset construiește un filament/contur, paralel cu firul original, la o anumită distanță de acesta. Sau mărește/micșorează o fațetă plană, în mod similar.

Filamentul/Fațete trebuie să fie în același plan.Pot exista mai multe filamente într-un singur obiect, nu neapărat coplanar.

Usage

Cum se folosește

  1. Selectați un obiect pentru decalaj/offset
  2. Apăsați butonul Offset2D.
  3. Definiți offset în Task Panel.
  4. Apăsați OK.

Notes

Probleme cunoscute

  • Majoritatea modurilor non-implicite vor funcționa numai cu OCC 7.0.0 sau o versiune ulterioară.
  • Utilizarea instrumentului poate provoca caderea FreeCAD (vezi punctul următor). Pe Windows, aceste accidente sunt convertite în excepții și, în general, nu determină închiderea FreeCAD; pe alte sisteme de operare nu este cazul. Deci, este recomandat să salvați proiectul înainte de a încerca să utilizați instrumentul.
  • Lărgirea fețelor cu găuri circulare cu o cantitate suficient de mare pentru a provoca gauri de închidere, apare un accident (OCC 7.0.0). Problema pare să fie specifică cercurilor; alte forme par să se închidă în mod corespunzător.
  • când se compensează cercuri care au poziționare diferită de zero, rezultatul este plasat greșit. (OCC 7.0.0)
  • când se compensează cercurile, uneori sunt compensate în direcție neașteptată (de exemplu spre interior în loc de exterior). (OCC 7.0.0)
  • Fill="true" nu funcționează când compensați colectiv filamentele deschise în modul "Skin"
  • "Tangent" modul de conectare nu funcționează (OCC 7.0.0)
  • Filamentele decalajul/Offset din segmentul cu o singură linie nu sunt acceptate (deoarece segmentul de linie nu definește un plan). Segmentele de linie unice nu pot participa la decalajul/offset colectivă.

Proprietăți

  • DateSource: Link to original shape
  • DateValue The distance to enlarge the wire/face by. If negative, the wire/face is shrunk instead.
  • DateMode ("Pipe" or "Skin"): sets how non-closed wires are processed. If "Pipe", the wire is outlined as if it was an extremely thin closed contour. If "Skin", an open wire is created.
  • DateJoin ("Arc", "Tangent", "Intersection"): sets the behavior around kinks. If "Arc", offset segments are connected with an arc of circle, centered at the vertex. "Tangent" is unsupported on OCC7.0.0. "Intersection": offset segments are extended till they intersect.
  • DateIntersection ("false", "true"): sets if multiple wires are treated collectively or independently. If "false", wires are offset independently, intersections between resulting wires are ignored. If "true", the wires are offset in collective manner.
Numai firele din cadrul unui compus sunt cuplate. De exemplu, dacă structura este asemănătoare compusului (wire1, wire2, compound (wire3, wire4)), wire1 și wire2 vor fi tratate colectiv, dar independent de wire3 și wire4. De asemenea, firele 3 și firele 4 sunt tratate colectiv, dar independent de fir1 + fir2.
De asemenea, în modul colectiv, direcțiile firelor sunt importante și influențează direcția de decalaj. Acest lucru este în strânsă legătură cu modul în care sunt tratate găurile în fațete.
Filamentele tratate colectiv trebuie să fie coplanare. Filamentele fiind decalate/offset independent nu trebuie să fie coplanare.
  • DateFill ("false", "true"): dacă este "true", spațiul dintre filament/fațetă original(ă) și offset este umplut cu o fațetă.

Scrip-Programare

Instrumentul poate fi utilizat în macros și din consola python utilizând următoarea funcție:

f = App.ActiveDocument.addObject("Part::Offset2D", "Offset2D")
f.Source =  #some object
f.Value = 10.0

2D offset este, de asemenea, disponibil ca o metodă de Part.Shape. Exemplu:

import Part
circle = Part.Circle().toShape()
enlarged_circle = circle.makeOffset2D(10.0)
Part.show(circle)
Part.show(enlarged_circle)
# makeOffset2D(offset, join = 0, fill = False, openResult = false, intersection = false)
# 
# * offset: distance to expand the shape by. 
# 
# * join: method of offsetting non-tangent joints. 0 = arcs, 1 = tangent, 2 =
# intersection
# 
# * fill: if true, the output is a face filling the space covered by offset. If
# false, the output is a wire/face.
# 
# * openResult: True for "Skin" mode; False for Pipe mode. 
# 
# * intersection: collective offset
# 
# Returns: result of offsetting (wire or face or compound of those). Compounding
# structure follows that of source shape.