Draft Miroir
Miroir Draft |
Emplacement du menu |
---|
Draft → Miroir |
Ateliers |
Atelier Draft, Atelier Arch |
Raccourci par défaut |
Aucun |
Introduit dans la version |
- |
Voir aussi |
Echelle Draft, Clone Draft |
Description
Cet outil crée une copie en miroir d'un objet sélectionné, à l'aide d'un objet Part Mirror. La copie est liée de manière paramétrique à l'objet d'origine: si l'objet d'origine est modifié, la copie en miroir est également modifiée, mais reste en miroir.
The Mirror tool can be used on 2D shapes created with the Draft Workbench, but can also be used on many types of 3D objects such as those created with the Part, PartDesign, or Arch Workbenches.
To create copies or clones, and manually place them use Draft Move, Draft Rotate, and Draft Clone.
Utilisation
- Sélectionnez les objets que vous souhaitez mettre en miroir
- Appuyez sur le bouton Draft Mirror .
- Cliquez sur le premier point de la ligne miroir sur la vue 3D ou tapez une coordonnée
- Cliquez sur l'autre point de la ligne miroir de la vue 3D ou tapez une coordonnée
After creating the mirrored copy, its binding with the original object can be removed using the Part Create simple copy tool.
A mirrored copy of a Draft object can be turned into a Draft Wire, by using Draft Downgrade then Draft Upgrade.
Options
- Après la création du miroir, sa liaison avec l'objet d'origine peut être supprimée à l'aide de l'outil Partie Créer une copie simple.
- Le miroir d'un objet brouillon peut également être transformé en brouillon, à l'aide de Draft Downgrade puis de Draft Upgrade.
Propriétés
- Données Base: le point de base du plan miroir
- Données Normal: la direction normale du plan miroir
Script-Programation
L'outil Cloner peut être utilisé dans macros et à partir de la console Python à l'aide de la fonction suivante:
The Mirror tool can be used in macros and from the Python console by using the following function:
mirrored_list = mirror(objlist, p1, p2)
- Réalise le (s) miroir (s) du ou des objets donnés dans un plan défini par une ligne allant de p1 à p2 et parallèle à la vue actuelle
- Le résultat est un objet Part Mirror
- Si l'objet d'origine change, l'objet final change aussi mais reste en miroir
Exemple:
import FeeCAD, Draft
place = FreeCAD.Placement(FreeCAD.Vector(1000, 0, 0), FreeCAD.Rotation())
Polygon1 = Draft.makePolygon(3, 750)
Polygon2 = Draft.makePolygon(5, 750, placement=place)
p1 = FreeCAD.Vector(2000, -1000, 0)
p2 = FreeCAD.Vector(2000, 1000, 0)
Line1 = Draft.makeLine(p1, p2)
mirrored1 = Draft.mirror(Polygon1, p1, p2)
Line2 = Draft.makeLine(-p1, -p2)
mirrored2 = Draft.mirror([Polygon1, Polygon2], -p1, -p2)
- 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
- 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, Start, Surface, TechDraw, Test Framework, Web
- Hubs: User hub, Power users hub, Developer hub