TechDraw 2LineCenterLine/pl: Difference between revisions

From FreeCAD Documentation
(Created page with "Narzędzie '''Dodaj oś pomiędzy dwiema liniami''' dodaje linię środkową między dwiema krawędziami.")
(Created page with "{{Caption|Wyrównana linia środkowa między dwiema krawędziami}}")
Line 26: Line 26:
[[Image:CL2LinesSample.png|350px]]
[[Image:CL2LinesSample.png|350px]]


{{Caption|Aligned centerline between 2 Edges}}
{{Caption|Wyrównana linia środkowa między dwiema krawędziami}}


==Usage==
<span id="Usage"></span>
==Użycie==


# Select 2 Edges in a View. The Edges should be more or less parallel.
# Select 2 Edges in a View. The Edges should be more or less parallel.

Revision as of 08:01, 22 July 2023

Rysunek Techniczny: Dodaj oś pomiędzy dwiema liniami

Lokalizacja w menu
Rysunek Techniczny → Dodaj Linię → Dodaj oś pomiędzy dwiema liniami
Środowisko pracy
Rysunek Techniczny
Domyślny skrót
brak
Wprowadzono w wersji
0.19
Zobacz także
Dodaj oś ściany, Dodaj oś pomiędzy dwoma punktami

Opis

Narzędzie Dodaj oś pomiędzy dwiema liniami dodaje linię środkową między dwiema krawędziami.

Wyrównana linia środkowa między dwiema krawędziami

Użycie

  1. Select 2 Edges in a View. The Edges should be more or less parallel.
  2. Press the Add Centerline between 2 Lines button
  3. A dialog will open where you can specify attributes of the new centerline.
  4. A centerline will be added between the 2 selected Edges.
    If the generated line looks odd or didn't generate at all, you may need to use the option Flip Ends.

To delete a Centerline, select it and use the toolbar button Remove Cosmetic Object.

Editing Centerlines

Any of the centerline command buttons ( Add Centerline to Face(s), Add Centerline between 2 Lines, Add Centerline between 2 Points) can be used to edit any centerline.

  1. Select a centerline.
  2. Press any centerline command button.
  3. A dialog will open where you can change attributes of the centerline.
  4. Press OK to see your changes.

Properties

Centerlines have no properties of their own, as they are no document objects. They have attributes that can be edited via the dialog.

  • Orientation:
    • Vertical: Forces a centerline vertical
    • Horizontal: Forces a centerline horizontal
    • Aligned: Follows the general direction of the Edge for 2 Edge centerline
  • Shift Horizontal: Moves the centerline left or right of its normal position
  • Shift Vertical: Moves the centerline up or down from its normal position
  • Rotate: Rotates the centerline around its center (degrees. + counterclockwise, - clockwise)
  • Extend By: Makes the centerline longer by this amount
  • Color: Color of centerline
  • Weight: Thickness of the centerline
  • Style: Continuous, Dash, Dot, DashDot, DashDotDot
  • Flip Ends: Flips endpoints for creation as described below. (attribute removed for FreeCAD 0.20)

Flip Ends

Sketch how the centerline is constructed

The centerline between 2 lines is drawn between the midpoints (m0 and m1) of the lines that connects the endpoints of the selected lines (p0 and p1), see the sketch. Depending on the point order there are 2 possibilities to draw the connecting lines. The attribute Flip Ends flips the way the connecting lines are drawn. In FreeCAD 0.20 the point order is automatically determined so that the Flip Ends attribute is no longer necessary.

Scripting

See also: Autogenerated API documentation and FreeCAD Scripting Basics.

Centerlines are not accessible from macros or the Python console at this time.