Draft Workbench/pl: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 1: Line 1:
Moduł szkicu (draft) jest w czasie tworzenie i jest dość eksperymentalnym modułem stworzonym by dodać bazową funkcjonalność rysunku 2D do FreeCADa. Napisano go w pythonie - przeznaczony jest także do ukazania jak bardzo można rozwinąć FreeCADa w samym pythonie, bez dotykania kodu źródłowego.
Moduł szkicu (draft) jest w czasie tworzenie i jest dość eksperymentalnym modułem stworzonym by dodać bazową funkcjonalność rysunku 2D do FreeCADa. Napisano go w pythonie - przeznaczony jest także do ukazania jak bardzo można rozwinąć FreeCADa w samym pythonie, bez dotykania kodu źródłowego.
===Drawing objects===
These are tools for creating objects.
* [[Image:Draft_Line.png|32px]] [[Draft_Line|Line]]: Draws a line segment between 2 points
* [[Image:Draft_Wire.png|32px]] [[Draft_Wire|Wire]]: Draws a line made of multiple line segments (polyline)
* [[Image:Draft_Circle.png|32px]] [[Draft_Circle|Circle]]: Draws a circle from center and radius
* [[Image:Draft_Arc.png|32px]] [[Draft_Arc|Arc]]: Draws an arc segment from center, radius, start angle and end angle
* [[Image:Draft_Ellipse.png|32px]] [[Draft_Ellipse|Ellipse]]: Draws an ellipse from two corner points
* [[Image:Draft_Polygon.png|32px]] [[Draft_Polygon|Polygon]]: Draws a regular polygon from a center and a radius
* [[Image:Draft_Rectangle.png|32px]] [[Draft_Rectangle|Rectangle]]: Draws a rectangle from 2 opposite points
* [[Image:Draft_Text.png|32px]] [[Draft_Text|Text]]: Draws a multi-line text annotation
* [[Image:Draft_Dimension.png|32px]] [[Draft_Dimension|Dimension]]: Draws a dimension annotation
* [[Image:Draft_BSpline.png|32px]] [[Draft_BSpline|BSpline]]: Draws a B-Spline from a series of points
* [[Image:Draft_Point.png|32px]] [[Draft_Point|Point]]: Inserts a point object
* [[Image:Draft_ShapeString.png|32px]] [[Draft_ShapeString|ShapeString]]: The ShapeString tool inserts a compound shape representing a text string at a given point in the current document
* [[Image:Draft_Facebinder.png|32px]] [[Draft_Facebinder|Facebinder]]: Creates a new object from selected faces on existing objects
* [[Image:Draft_BezCurve.png|32px]] [[Draft_BezCurve|Bezier Curve]]: Draws a Bezier curve from a series of points
* [[Image:Draft_Label.png|32px]] [[Draft_Label|Label]]: Places a label with an arrow pointing to a selected element {{Version|0.17}}
===Modifying objects===
These are tools for modifying existing objects. They work on selected objects, but if no object is selected, you will be invited to select one.
* [[Image:Draft_Move.png|32px]] [[Draft_Move|Move]]: Moves object(s) from one location to another
* [[Image:Draft_Rotate.png|32px]] [[Draft_Rotate|Rotate]]: Rotates object(s) from a start angle to an end angle
* [[Image:Draft_Offset.png|32px]] [[Draft_Offset|Offset]]: Moves segments of an object about a certain distance
* [[Image:Draft_Trimex.png|32px]] [[Draft_Trimex|Trim/Extend (Trimex)]]: Trims or extends an object
* [[Image:Draft_Upgrade.png|32px]] [[Draft_Upgrade|Upgrade]]: Joins objects into a higher-level object
* [[Image:Draft_Downgrade.png|32px]] [[Draft_Downgrade|Downgrade]]: Explodes objects into lower-level objects
* [[Image:Draft_Scale.png|32px]] [[Draft_Scale|Scale]]: Scales selected object(s) around a base point
* [[Image:Draft_PutOnSheet.png|32px]] [[Draft_Drawing|Drawing]]: Writes selected objects to a [[Drawing Module|Drawing sheet]]
* [[Image:Draft_Edit.png|32px]] [[Draft_Edit|Edit]]: Edits a selected object
* [[Image:Draft_WireToBSpline.png|32px]] [[Draft_WireToBSpline|Wire to BSpline]]: Converts a wire to a BSpline and vice-versa
* [[Image:Draft_AddPoint.png|32px]] [[Draft_AddPoint|Add point]]: Adds a point to a wire or BSpline
* [[Image:Draft_DelPoint.png|32px]] [[Draft_DelPoint|Delete point]]: Deletes a point from a wire or BSpline
* [[Image:Draft_Shape2DView.png|32px]] [[Draft_Shape2DView|Shape 2D View]]: Creates a 2D object which is a flattened 2D view of another 3D object
* [[Image:Draft_Draft2Sketch.png|32px]] [[Draft_Draft2Sketch|Draft to Sketch]]: Converts a Draft object to Sketch and vice-versa
* [[Image:Draft_Array.png|32px]] [[Draft_Array|Array]]: Creates a polar or rectangular array from selected objects
* [[Image:Draft_PathArray.png|32px]] [[Draft_PathArray|Path Array]]: Creates an array of objects by placing the copies along a path
* [[Image:Draft_Clone.png|32px]] [[Draft_Clone|Clone]]: Clones the selected objects
* [[Image:Draft_Mirror.png|32px]] [[Draft_Mirror|Mirror]]: Mirrors the selected objects
* [[Image:Draft_Stretch.png|32px]] [[Draft_Stretch|Stretch]]: Stretches the selected objects {{Version|0.17}}
===Utility tools===
Additional tools available via right-click context menu, depending on the selected objects.
* [[Image:Draft_SelectPlane.png|32px]] [[Draft_SelectPlane|Set working plane]]: Sets a working plane from a standard view or a selected face
* [[Image:Draft_FinishLine.png|32px]] [[Draft_FinishLine|Finish line]]: Ends the drawing of the current wire or bspline, without closing it
* [[Image:Draft_CloseLine.png|32px]] [[Draft_CloseLine|Close line]]: Ends the drawing of the current wire or bspline, and closes it
* [[Image:Draft_UndoLine.png|32px]] [[Draft_UndoLine|Undo line]]: Undoes the last segment of a line
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_ToggleConstructionMode|Toggle construction mode]]: Toggles the Draft construction mode on/off
* [[Image:Draft_ToggleContinueMode.png|32px]] [[Draft_ToggleContinueMode|Toggle continue mode]]: Toggles the Draft continue mode on/off
* [[Image:Draft_ApplyStyle.png|32px]] [[Draft_Apply|Apply style]]: Applies the current style and color to selected objects
* [[Image:Draft_ToggleDisplayMode.png|32px]] [[Draft_ToggleDisplayMode|Toggle display mode]]: Switches the display mode of selected objects between "flat lines" and "wireframe"
* [[Image:Draft_AddToGroup.png|32px]] [[Draft_AddToGroup|Add to group]]: Quickly adds selected objects to an existing group
* [[Image:Draft_SelectGroup.png|32px]] [[Draft_SelectGroup|Select group contents]]: Selects the contents of a selected group
* [[Image:Draft_ToggleSnap.png|32px]] [[Draft_ToggleSnap|Toggle snap]]: Toggles [[Draft Snap|object snapping]] on/off
* [[Image:Draft_ToggleGrid.png|32px]] [[Draft_ToggleGrid|Toggle grid]]: Toggles the grid on/off
* [[Image:Draft_ShowSnapBar.png|32px]] [[Draft_ShowSnapBar|Show snap bar]]: Shows/hides the [[Draft Snap|snapping]] toolbar
* [[Image:Draft_Heal.png|32px]] [[Draft_Heal|Heal]]: Heals problematic Draft objects found in very old files
* [[Image:Draft_FlipDimension.png|32px]] [[Draft_FlipDimension|Flip Dimension]]: Flips the orientation of the text of a [[Draft Dimension|dimension]]
* [[Image:Draft_VisGroup.png|32px]] [[Draft_VisGroup|VisGroup]]: Creates a VisGroup in the current document
* [[Image:Draft_Slope.png|32px]] [[Draft Slope|Slope]]: Changes the slope of selected Lines or Wires {{Version|0.17}}
* [[Image:Draft_AutoGroup.png|32px]] [[Draft AutoGroup|AutoGroup]]: Automatically place new objects in a given group {{Version|0.17}}
* [[Image:Draft_SetWorkingPlaneProxy.png|32px]] [[Draft SetWorkingPlaneProxy|Set Working Plane Proxy]]: Add a proxy object in the document to store a [[Draft_SelectPlane|Working Plane]] position {{Version|0.17}}
* [[Image:Draft_ToggleConstructionMode.png|32px]] [[Draft_AddConstruction|Add to Construction group]]: Add selected objects to the Construction group {{Version|0.17}}
===Preferences===


* [[Image:Std_DlgParameter.png|32px]] [[Draft_Preferences|Preferences...]]: Preferences disposable in Draft Tools.

{{Draft Tools/pl}}


===Importowanie i eksportowanie===
===Importowanie i eksportowanie===

Revision as of 11:05, 27 May 2018

Moduł szkicu (draft) jest w czasie tworzenie i jest dość eksperymentalnym modułem stworzonym by dodać bazową funkcjonalność rysunku 2D do FreeCADa. Napisano go w pythonie - przeznaczony jest także do ukazania jak bardzo można rozwinąć FreeCADa w samym pythonie, bez dotykania kodu źródłowego.

Drawing objects

These are tools for creating objects.

  • Line: Draws a line segment between 2 points
  • Wire: Draws a line made of multiple line segments (polyline)
  • Circle: Draws a circle from center and radius
  • Arc: Draws an arc segment from center, radius, start angle and end angle
  • Ellipse: Draws an ellipse from two corner points
  • Polygon: Draws a regular polygon from a center and a radius
  • Rectangle: Draws a rectangle from 2 opposite points
  • Text: Draws a multi-line text annotation
  • Dimension: Draws a dimension annotation
  • BSpline: Draws a B-Spline from a series of points
  • Point: Inserts a point object
  • ShapeString: The ShapeString tool inserts a compound shape representing a text string at a given point in the current document
  • Facebinder: Creates a new object from selected faces on existing objects
  • Bezier Curve: Draws a Bezier curve from a series of points
  • Label: Places a label with an arrow pointing to a selected element introduced in version 0.17

Modifying objects

These are tools for modifying existing objects. They work on selected objects, but if no object is selected, you will be invited to select one.

  • Move: Moves object(s) from one location to another
  • Rotate: Rotates object(s) from a start angle to an end angle
  • Offset: Moves segments of an object about a certain distance
  • Trim/Extend (Trimex): Trims or extends an object
  • Upgrade: Joins objects into a higher-level object
  • Downgrade: Explodes objects into lower-level objects
  • Scale: Scales selected object(s) around a base point
  • Drawing: Writes selected objects to a Drawing sheet
  • Edit: Edits a selected object
  • Wire to BSpline: Converts a wire to a BSpline and vice-versa
  • Add point: Adds a point to a wire or BSpline
  • Delete point: Deletes a point from a wire or BSpline
  • Shape 2D View: Creates a 2D object which is a flattened 2D view of another 3D object
  • Draft to Sketch: Converts a Draft object to Sketch and vice-versa
  • Array: Creates a polar or rectangular array from selected objects
  • Path Array: Creates an array of objects by placing the copies along a path
  • Clone: Clones the selected objects
  • Mirror: Mirrors the selected objects
  • Stretch: Stretches the selected objects introduced in version 0.17

Utility tools

Additional tools available via right-click context menu, depending on the selected objects.

Preferences

Importowanie i eksportowanie

Obecne są funkcję otwierające, importujące lub eksportujące inne formaty plików. Otwarcie następuje w nowym dokumencie z zawartością pliku, podczas gdy import załącza zawartość pliku do aktualnego dokumentu. Eksport zapisuje do pliku wybrane obiekty. Jeśli niczego nie zaznaczono wszystkie obiekty zastaną wyeksportowane. Bądź świadom, że moduł Szkicu (Draft) jest przeznaczony do pracy z obiektami 2d i jego importery skupiają się tylko na obiektach 2d i, pomimo że formaty DXF i OCA wspierają definicje obiektów w przestrzeni 3d, nie pozwalają one na import objętościowych obiektów jak siatki, powierzchnie 3D itp., tylko importują linie, okręgi, teksty lub płaskie kształty. Obecnie wspierane formaty plików:

Zwykłe zachowanie

  • Przyciąganie (Snapping): Pozwala umieszczać nowe punkty na specjalnych miejscach istniejących obiektów
  • Ograniczanie (Constraining): Pozwala na umieszczenie nowych punktów poziomo lub pionowo w odniesieniu do poprzednich
  • Praca z ręcznymi współrzędnymi: Pozwala wprowadzić współrzędne manualnie zamiast klikanie na ekranie
  • Kopiowanie (Copying): Wszystkie narzędzia modyfikacji mogą też modyfikować lub tworzyć zmodyfikowane kopie zaznaczonych obiektów. Podczas użycia narzędzia naciśnij ALT by stworzyć kopię.
  • Tryb konstrukcji (Construction): Pozwala wstawić geometrię niezależnie od reszty dla łatwego włączenia/wyłączenia
  • Wszystkie nowo stworzone obiekty przyjmują kolor i szerokość aktualnego Szkicu (Draft)

API

Zajrzyj do strony API Szkicu by uzyskać kompletny opis funkcji Szkicu których możesz użyć w skryptach i makrach.

Raytracing Module/pl
Image Module/pl