Draft Trimex/cs: Difference between revisions
(Created page with "==Použití==") |
(Updating to match new version of source page) |
||
(34 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
|||
{{GuiCommand|Name=Draft_Trimex|Workbenches=[[Draft Module|Draft]], [[Arch Module|Arch]]|MenuLocation=Draft -> Trim/Extend|Shortcut=T R|SeeAlso=[[Part Extrude]]}} |
|||
{{Docnav |
|||
==Description== |
|||
|[[Draft_Offset|Offset]] |
|||
|[[Draft_Stretch|Stretch]] |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL=Draft_Offset.svg |
|||
|IconR=Draft_Stretch.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
<div class="mw-translate-fuzzy"> |
|||
Tento nástroj upravuje/zařezává a prodlužuje přímky a lomené čáry a vysunuje plochy. |
|||
{{GuiCommand/cs|Name=Draft Trimex|Name/cs=Kreslení Zakrácení/Prodloužení|Workbenches=[[Draft_Workbench/cs|Kreslení]], [[Arch_Workbench/cs|Architektura]]|MenuLocation=Kreslení → Zakrácení/Prodloužení|Shortcut=T R|SeeAlso=[[Part Extrude/cs|DílVysunutí]]}} |
|||
</div> |
|||
<span id="Description"></span> |
|||
==Popis== |
|||
<div class="mw-translate-fuzzy"> |
|||
Tento nástroj zakracuje a prodlužuje přímky a lomené čáry a vysunuje plochy. |
|||
</div> |
|||
[[Image:Draft trimex example.jpg|400px]] |
[[Image:Draft trimex example.jpg|400px]] |
||
{{Caption|Top: a Draft Wire extended and then trimmed.<br> |
|||
Bottom: a face extruded into a solid body.}} |
|||
== |
==Trim or extend== |
||
===Usage=== |
|||
# Select a wire you wish to trim or extend, or select a face you wish to extrude |
|||
# Press the {{KEY|[[Image:Draft Trimex.png|16px]] [[Draft Trimex]]}} button, or press {{KEY|T}} then {{KEY|R}} keys |
|||
# Click a point in the 3D view |
|||
<div class="mw-translate-fuzzy"> |
|||
==Options== |
|||
# Vyberte drát, který chcete zakrátit nebo prodloužit nebo vyberte plochu, kterou chcete vysunout |
|||
# Stiskněte tlačítko {{KEY|[[Image:Draft Trimex.png|16px]] [[Draft Trimex/cs|Kreslení Zakrácení/Prodloužení]]}} nebo stiskněte klávesy {{KEY|T}} a potom {{KEY|R}} |
|||
# Klikněte na bod ve 3D pohledu |
|||
</div> |
|||
===Options=== |
|||
* trimming or extending is decided automatically from the position of your mouse |
|||
* if you move the mouse cursor over another object, the trim/extend operation will snap to that object or segment |
|||
The single character keyboard shortcuts available in the task panel can be changed. See [[Draft_Preferences|Draft Preferences]]. The shortcuts mentioned here are the default shortcuts. |
|||
* pressing {{KEY|SHIFT}} will [[Draft_Constrain|constrain]] you to the segment currently being trimmed or extended |
|||
* pressing {{KEY|ALT}} will invert the direction of the trimming |
|||
* Hold down {{KEY|Alt}} to invert the default result of the command. |
|||
* When the selected object is a face, or a face is selected from an existing object, the trimex tool switches to extrude mode. In extrude mode, pressing {{KEY|SHIFT}} frees the extrusion from the face normal and allows to snap elsewhere. |
|||
* Hold down {{KEY|Shift}} to restrict the operation to the current segment of a [[Draft_Wire|Draft Wire]]. |
|||
* Press {{KEY|S}} to switch [[Draft_Snap|Draft snapping]] on or off. |
|||
Here is an example to explain the modifier keys. The left edge or the bottom edge of the U-shaped wire was extended. All [[Draft_Snap|Draft Snaps]] were turned off. |
|||
[[Image:Draft_Trimex_example2.png]] |
|||
<div class="mw-translate-fuzzy"> |
|||
* zakracování nebo prodlužování je řízeno automaticky podle pozice myši |
|||
* když posunete kurzor přes další objekt, operace zakrátit/prodloužit zachytí tento objekt nebo segment |
|||
* stisknutí klávesy {{KEY|SHIFT}} vytvoří [[Draft_Constrain|vazbu]] k segmentu, který je aktuálně zakracován nebo prodlužován |
|||
* stisknutí klávesy {{KEY|ALT}} změní směr zakracování |
|||
* pokud je vybraným objektem plocha nebo je vybrána plocha z existujícího objektu, nástroj Trimex se přepne do vysunovacího módu. Stisknutí klávesy {{KEY|SHIFT}} ve vysunovacím módu uvolní vysunutí z kolmice plochy a umožní zachycení k čemukoliv. |
|||
</div> |
|||
==Extrude== |
|||
===Usage=== |
|||
See also: [[Draft_Snap|Draft Snap]] and [[Draft_Constrain|Draft Constrain]]. |
|||
# It can be helpful to first change the [[Draft_SelectPlane|Draft working plane]] so that it is not coplanar with the face you want to extrude. |
|||
# Optionally select a single face or an object with a single face. |
|||
# There are several ways to invoke the command: |
|||
#* Press the {{Button|[[Image:Draft_Trimex.svg|16px]] [[Draft_Trimex|Draft Trimex]]}} button. |
|||
#* Select the {{MenuCommand|Modification → [[Image:Draft_Trimex.svg|16px]] Trimex}} option from the menu. |
|||
#* Use the keyboard shortcut: {{KEY|T}} then {{KEY|R}}. |
|||
# If you have not yet selected an object or a face: select an object with a single face in the [[3D_view|3D view]]. |
|||
# The {{MenuCommand|Trimex}} task panel opens. See [[#Options_2|Options]] for more information. |
|||
# To define the extrusion direction and distance do one of the following: |
|||
#* Pick a point in the [[3D_view|3D view]] that does no lie on the same plane as the face. |
|||
#* Make sure the pointer is on the correct side of the face in the [[3D_view|3D view]] and enter a {{MenuCommand|Distance}}. |
|||
===Options=== |
|||
The modifier key mentioned here can be changed. See [[Draft_Preferences|Draft Preferences]]. |
|||
* Hold {{KEY|Shift}} to extrude in a direction that is not parallel to the normal of the face. |
|||
==Scripting== |
==Scripting== |
||
<div class="mw-translate-fuzzy"> |
|||
Not available. See the [[Part Extrude]] tool. |
|||
==Skriptování== |
|||
</div> |
|||
<div class="mw-translate-fuzzy"> |
|||
<languages/> |
|||
Není dostupné. Podívejte se na nástroj [[Part Extrude/cs|Díl vysunutí]]. |
|||
</div> |
|||
{{Code|code= |
|||
extrusion = extrude(obj, vector, solid=False) |
|||
}} |
|||
* {{incode|obj}} is the object to be extruded. |
|||
* {{incode|vector}} is the extrusion direction and distance. |
|||
* If {{incode|solid}} is {{incode|True}} a solid is created instead of a shell. |
|||
* {{incode|extrusion}} is returned with the created object. |
|||
Example: |
|||
{{Code|code= |
|||
import FreeCAD as App |
|||
import Draft |
|||
doc = App.newDocument() |
|||
rectangle = Draft.make_rectangle(1500, 500) |
|||
doc.recompute() |
|||
vector = App.Vector(0, 0, 300) |
|||
solid = Draft.extrude(rectangle, vector, solid=True) |
|||
doc.recompute() |
|||
}} |
|||
{{Docnav |
|||
|[[Draft_Offset|Offset]] |
|||
|[[Draft_Stretch|Stretch]] |
|||
|[[Draft_Workbench|Draft]] |
|||
|IconL=Draft_Offset.svg |
|||
|IconR=Draft_Stretch.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{Draft Tools navi{{#translation:}}}} |
|||
{{Userdocnavi{{#translation:}}}} |
Latest revision as of 05:02, 9 January 2024
Kreslení Zakrácení/Prodloužení |
Umístění Menu |
---|
Kreslení → Zakrácení/Prodloužení |
Pracovní stoly |
Kreslení, Architektura |
Výchozí zástupce |
T R |
Představen ve verzi |
- |
Viz také |
DílVysunutí |
Popis
Tento nástroj zakracuje a prodlužuje přímky a lomené čáry a vysunuje plochy.
Top: a Draft Wire extended and then trimmed.
Bottom: a face extruded into a solid body.
Trim or extend
Usage
- Vyberte drát, který chcete zakrátit nebo prodloužit nebo vyberte plochu, kterou chcete vysunout
- Stiskněte tlačítko Kreslení Zakrácení/Prodloužení nebo stiskněte klávesy T a potom R
- Klikněte na bod ve 3D pohledu
Options
The single character keyboard shortcuts available in the task panel can be changed. See Draft Preferences. The shortcuts mentioned here are the default shortcuts.
- Hold down Alt to invert the default result of the command.
- Hold down Shift to restrict the operation to the current segment of a Draft Wire.
- Press S to switch Draft snapping on or off.
Here is an example to explain the modifier keys. The left edge or the bottom edge of the U-shaped wire was extended. All Draft Snaps were turned off.
- zakracování nebo prodlužování je řízeno automaticky podle pozice myši
- když posunete kurzor přes další objekt, operace zakrátit/prodloužit zachytí tento objekt nebo segment
- stisknutí klávesy SHIFT vytvoří vazbu k segmentu, který je aktuálně zakracován nebo prodlužován
- stisknutí klávesy ALT změní směr zakracování
- pokud je vybraným objektem plocha nebo je vybrána plocha z existujícího objektu, nástroj Trimex se přepne do vysunovacího módu. Stisknutí klávesy SHIFT ve vysunovacím módu uvolní vysunutí z kolmice plochy a umožní zachycení k čemukoliv.
Extrude
Usage
See also: Draft Snap and Draft Constrain.
- It can be helpful to first change the Draft working plane so that it is not coplanar with the face you want to extrude.
- Optionally select a single face or an object with a single face.
- There are several ways to invoke the command:
- Press the Draft Trimex button.
- Select the Modification → Trimex option from the menu.
- Use the keyboard shortcut: T then R.
- If you have not yet selected an object or a face: select an object with a single face in the 3D view.
- The Trimex task panel opens. See Options for more information.
- To define the extrusion direction and distance do one of the following:
Options
The modifier key mentioned here can be changed. See Draft Preferences.
- Hold Shift to extrude in a direction that is not parallel to the normal of the face.
Scripting
Skriptování
Není dostupné. Podívejte se na nástroj Díl vysunutí.
extrusion = extrude(obj, vector, solid=False)
obj
is the object to be extruded.vector
is the extrusion direction and distance.- If
solid
isTrue
a solid is created instead of a shell. extrusion
is returned with the created object.
Example:
import FreeCAD as App
import Draft
doc = App.newDocument()
rectangle = Draft.make_rectangle(1500, 500)
doc.recompute()
vector = App.Vector(0, 0, 300)
solid = Draft.extrude(rectangle, vector, solid=True)
doc.recompute()
Draft
- Drafting: Line, Polyline, Fillet, Arc, Arc by 3 points, Circle, Ellipse, Rectangle, Polygon, B-spline, Cubic Bézier curve, Bézier curve, Point, Facebinder, ShapeString, Hatch
- Annotation: Text, Dimension, Label, Annotation styles, Annotation scale
- Modification: Move, Rotate, Scale, Mirror, Offset, Trimex, Stretch, Clone, Array, Polar array, Circular array, Path array, Path link array, Point array, Point link array, Edit, Subelement highlight, Join, Split, Upgrade, Downgrade, Wire to B-spline, Draft to sketch, Set slope, Flip dimension, Shape 2D view
- Draft Tray: Select plane, Set style, Toggle construction mode, AutoGroup
- Snapping: Snap lock, Snap endpoint, Snap midpoint, Snap center, Snap angle, Snap intersection, Snap perpendicular, Snap extension, Snap parallel, Snap special, Snap near, Snap ortho, Snap grid, Snap working plane, Snap dimensions, Toggle grid
- Miscellaneous: Apply current style, Layer, Manage layers, Add a new named group, Move to group, Select group, Add to construction group, Toggle normal/wireframe display, Create working plane proxy, Heal, Show snap toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Layer container: Merge layer duplicates, Add new layer
- Layer: Activate this layer, Select layer contents
- Text: Open hyperlinks
- Wire: Flatten
- Working plane proxy: Write camera position, Write objects state
User documentation
- Getting started
- Installation: Download, Windows, Linux, Mac, Additional components, Docker, AppImage, Ubuntu Snap
- Basics: About FreeCAD, Interface, Mouse navigation, Selection methods, Object name, Preferences, Workbenches, Document structure, Properties, Help FreeCAD, Donate
- Help: Tutorials, Video tutorials
- Workbenches: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub