Draft PunktAnordnung
|
Menüeintrag |
---|
Entwurf → PunktAnordnung |
Arbeitsbereich |
Entwurf, Arch |
Standardtastenkürzel |
Keiner |
Eingeführt in Version |
0.18 |
Siehe auch |
Entwurf Anordnung, Entwurf PfadAnordnung |
Beschreibung
Das Entwurf PunktAnordnungWerkzeug platziert Kopien einer ausgewählten Form entlang verschiedener ausgewählter Punkte.
Das PunktAnordnungswerkzeug kann auf 2D Formen verwendet werden, die mit der Draft Arbeitsbereich erstellt wurden, aber auch auf vielen Arten von 3D Objekten, wie sie mit der Part Arbeitsbereich, PartDesign Arbeitsbereich, oder Arch Arbeitsbereichen erstellt wurden.
Um Kopien in einem orthogonalen Feld zu positionieren, verwende Entwurf Feld; um Kopien entlang eines Pfades zu positionieren, verwende Draft PathArray; um Kopien oder Klone zu erstellen und sie manuell zu platzieren, verwende Draft Move, Draft Rotate und Draft Clone.
An bestimmten Stellen angeordnetes Objekt
Anwendung
- Wähle ein Objekt aus, das Du verteilen möchtest.
- Wähle eine Punktverbindung aus.
- Drücke die Taste 16px. Draft PointArray Taste.
Jedes Element in der Anordnung ist ein genauer Klon des ursprünglichen Objekts, aber die gesamte Anordnung wird in Bezug auf Eigenschaften und Aussehen als eine einzige Einheit betrachtet.
Point compound
Um eine Punktverbindung zu erstellen, wähle verschiedene Entfwurfspunkte aus und drücke dann die Taste . Draft Upgrade Taste.
In essence, the object to be used as the compound must have one of three properties, DatenComponents, DatenLinks, or DatenGeometry, and inside that compound, there must be at least one point with DatenX, DatenY, and DatenZ properties.
Note: in the case of Draft Point and
Part Point the array will try to position the copies using the DatenPlacement of the point. In the case of a sketcher
Point, the position will be taken from its internal
X
, Y
, and Z
attributes.
Note 2: for Draft Point its DatenPlacement always follows the values of DatenX, DatenY, DatenZ, so modifying these values is enough to produce the desired displacement. However, for
Part Point, the net displacement is given by the sum of DatenPlacement with the vector with components DatenX, DatenY, and DatenZ.
Optionen
Es gibt keine Optionen für dieses Werkzeug. Entweder funktioniert es mit den ausgewählten Objekten oder nicht.
Eigenschaften
A PointArray is derived from a Part Feature (Part::Feature
class), therefore it shares all the latter's properties. In addition to the properties described in Part Feature, the PointArray has the following properties in the property editor.
Objects
- DatenBase (
Link
): the object to duplicate; it must have a Part TopoShape. - DatenCount (
Integer
): (read-only) specifies the number of copies in the array. This property is read-only because the number of copies is determined by the number of points inside of DatenPoint Object. - DatenExtra Placement (
Placement
): specifies an additional placement, translation and rotation, that will be applied to each copy in the array. Each copy normally appears with the same rotation as the DatenBase object; with this property it is possible to provide additional rotation, or counter the original rotation, and make small adjustments to the position of the copies. introduced in version 0.19 - DatenPoint Object (
Link
): specifies a compound object with points that indicate where the copies of the DatenBase object will appear. The compound object needs to have one of DatenLinks, DatenComponents, or DatenGeometry properties, and contain at least one element with DatenX, DatenY, and DatenZ attributes.
Scripting
See also: Draft API and FreeCAD Scripting Basics.
The PointArray tool can be used in macros and from the Python console by using the following function:
Older call
point_array = makePointArray(base_object, point_object)
New call
point_array = make_point_array(base_object, point_object, extra=None):
- Creates a
"PointArray"
object from thebase_object
, by placing the copies in the points contained withinpoint_object
.point_object
should have one ofGeometry
,Links
, orComponents
attributes containing points.- Instead of a reference to an object,
base_object
andpoint_object
can also beLabels
(strings) of objects existing in the current document. extra
can be a fullApp.Placement
, or just anApp.Vector
orApp.Rotation
.
Beispiel:
import FreeCAD as App
import Draft
doc = App.newDocument()
polygon = Draft.make_polygon(3, radius=500.0)
p1 = Draft.make_point(App.Vector(1500, 0, 0))
p2 = Draft.make_point(App.Vector(2500, 0, 0))
p3 = Draft.make_point(App.Vector(2000, 1000, 0))
compound = doc.addObject("Part::Compound", "Compound")
compound.Links = [p1, p2, p3]
point_array = Draft.make_point_array(polygon, compound)
doc.recompute()
- 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
![](/images/thumb/9/94/User_hub.png/24px-User_hub.png)
- Erste Schritte
- Installation: Herunterladen, Windows, Linux, Mac, Zusätzliche Komponenten, Docker, AppImage, Ubuntu Snap
- Grundlagen: Über FreeCAD, Graphische Oberfläche, Mausbedienung, Auswahlmethoden, Objektname, Voreinstellungseditor, Arbeitsbereiche, Dokumentstruktur, Objekteigenschaften, FreeCAD unterstützen, Spenden
- Hilfe: Anleitungen, Videoanleitungen
- Arbeitsbereiche: Std Base, Arch, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework