Arch Frame/pl: Difference between revisions

From FreeCAD Documentation
No edit summary
(Created page with "==Użycie==")
Line 27: Line 27:
{{Caption|Obiekt Ramy utworzony z [[Draft_OrthoArray/pl|szyku ortogonalnego]] [[Draft_Line/pl|linii]], przy użyciu [[Draft_Circle/pl|okręgu]] jako profilu.}}
{{Caption|Obiekt Ramy utworzony z [[Draft_OrthoArray/pl|szyku ortogonalnego]] [[Draft_Line/pl|linii]], przy użyciu [[Draft_Circle/pl|okręgu]] jako profilu.}}


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


# Create a layout object and a profile object, for example with the [[Draft_Workbench|Draft Workbench]] or the [[Sketcher_Workbench|Sketcher Workbench]].
# Create a layout object and a profile object, for example with the [[Draft_Workbench|Draft Workbench]] or the [[Sketcher_Workbench|Sketcher Workbench]].

Revision as of 04:56, 5 May 2024

Architektura: Rama

Lokalizacja w menu
Architektura → Rama
Środowisko pracy
Architektura
Domyślny skrót
F R
Wprowadzono w wersji
-
Zobacz także
Ściana, Konstrukcja

Opis

Narzędzie Rama służy do tworzenia wszelkiego rodzaju obiektów ramowych na podstawie profilu i układu. Profil jest wyciągnięty wzdłuż krawędzi układu, który może być dowolnym obiektem 2D, takim jak szkic lub rysunek roboczy. Jest to szczególnie przydatne do tworzenia balustrad lub ścian szkieletowych. Obiekty szkieletowe można następnie łatwo przekształcić w obiekty ścian lub konstrukcji.

Obiekt Ramy utworzony z szyku ortogonalnego linii, przy użyciu okręgu jako profilu.

Użycie

  1. Create a layout object and a profile object, for example with the Draft Workbench or the Sketcher Workbench.
  2. Select the layout object first, then, with Ctrl pressed, select the profile object.
  3. Press the Arch Frame button, or press F then R keys.

Options

  • Frames share the common properties and behaviours of all Arch Components
  • The frame object can be placed at a certain distance from the layout object, by setting its Offset property
  • The profile will be copied at the base of each edge of the layout object, then extruded along it. You can control how the profile is placed at the base of each edge with the Align and Rotation properties.

Properties

  • DANEBase: The layout this frame is based on.
  • DANEProfile: The profile this frame is based on.
  • DANEAlign: Specifies if the profile must be rotated to have its normal axis aligned with each edge.
  • DANEOffset: An optional distance between the layout object and the frame object.
  • DANERotation: The rotation of the profile around its extrusion axis.

Scripting

See also: Arch API and FreeCAD Scripting Basics.

The Frame tool can be used in macros and from the Python console by using the following function:

Frame = makeFrame(baseobj, profile)
  • Creates a Frame object from the given baseobj and profile.
    • baseobj is any object containing wires, like a Draft Wire, or a Draft OrthoArray with a collection of them.
    • profile is an extrudable 2D object containing faces or closed wires.

Example:

import Draft, Arch

Line = Draft.makeLine(FreeCAD.Vector(0, 0, 0), FreeCAD.Vector(0, 0, 2000))
baseobj = Draft.makeArray(Line, FreeCAD.Vector(1000, 0, 0), FreeCAD.Vector(0, 1, 0), 6, 1)

profile = Draft.makeCircle(200)
Frame = Arch.makeFrame(baseobj, profile)
FreeCAD.ActiveDocument.recompute()