Draft WireToBSpline/de: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
(29 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav|[[Draft_Edit|Edit]]|[[Draft_AddPoint|Add point]]|[[Draft_Module|Draft]]|IconL=Draft_Edit.svg|IconC=Workbench_Draft.svg|IconR=Draft_AddPoint.svg}} |
|||
{{Docnav/de |
|||
⚫ | |||
|[[Draft_Downgrade/de|Herabstufen]] |
|||
{{GuiCommand/de|Name=Draft WireToBSpline|Name/de=Draft WireToBSpline|Workbenches=[[Draft Module/de|Draft]], [[Arch Module/de|Arch]]|MenuLocation=Drafting → Wire to BSpline}} |
|||
|[[Draft_Draft2Sketch/de|EntwurfZuSkizze]] |
|||
⚫ | |||
|[[Draft_Workbench/de|Draft]] |
|||
|IconL=Draft_Downgrade.svg |
|||
|IconR=Draft_Draft2Sketch.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
{{GuiCommand/de |
|||
==Description== |
|||
|Name=Draft WireToBSpline |
|||
|Name/de=Entwurf DrahtZuBSpline |
|||
|MenuLocation=Änderung → Draht zu BSpline |
|||
|Workbenches=[[Draft_Workbench/de|Entwurf]], [[Arch_Workbench/de|Architektur]] |
|||
|SeeAlso=[[Draft_Wire/de|Entwurf Draht]], [[Draft_BSpline/de|Entwurf BSpline]] |
|||
}} |
|||
==Beschreibung== |
|||
This tool converts [[Draft Wire]]s to [[Draft BSpline]]s, and vice-versa. |
|||
Der [[Image:Draft_WireToBSpline.svg|24px]] '''Entwurf DrahtZuBSpline''' Befehl konvertiert [[Draft_Wire/de|Entwurf Drähte]] in [[Draft_BSpline/de|Entwurf BSplines]] und umgekehrt. |
|||
⚫ | |||
{{Caption|Convertir a wire to a B-Spline, and a closed B-Spline to a closed wire}} |
|||
⚫ | |||
==How to use== |
|||
{{Caption|Umwandlung eines Entwurf Drahtes in eine Entwurf BSpline und einer geschlossenen Entwurf BSpline in einen geschlossenen Entwurf Draht}} |
|||
==Anwendung== |
|||
# Select a [[Draft Wire]] or a [[Draft BSpline]]. The tool is disabled if no object is selected. |
|||
# Press the {{Button|[[Image:Draft WireToBSpline.svg|16px]] [[Draft WireToBSpline]]}} button. |
|||
# Wähle einen [[Draft_Wire/de|Entwurf Draht]] oder einen [[Draft_BSpline/de|Entwurf BSpline]]. |
|||
A new object will be created; the original object will not be modified. |
|||
# Es gibt mehrere Möglichkeiten, den Befehl aufzurufen: |
|||
#* Drücke die {{Button|[[Image:Draft_WireToBSpline.svg|16px]] [[Draft_WireToBSpline/de|Entwurf DrahtZuBSpline]]}} Schaltfläche. |
|||
#* Wähle den {{MenuCommand|Änderung → [[Image:Draft_WireToBSpline.svg|16px]] Draht zu Bspline}} aus dem Menü. |
|||
# Ein neues Objekt wird erstellt. |
|||
==Hinweise== |
|||
{{Emphasis|Note:}} if a closed wire with sharp edges is used to create a spline, the new object may have self intersecting curve segments, and may not be visible in the 3D view. If this is the case, manually set {{PropertyData|Make Face}} to {{FALSE}} to see the new shape, or set {{PropertyData|Closed}} to {{FALSE}} to create an open shape. |
|||
* Der Befehl kann zu einem geschlossenen, sich selbst durchdringenden [[Draft_Wire/de|Entwurf Draht]] oder [[Draft_BSpline/de|Entwurf BSpline]] mit einer Fläche führen. Ein solches Objekt wird in der [[3D_view/de|3D Ansicht]] nicht korrekt dargestellt. Seine {{PropertyData|Erstelle Fläche}} Eigenschaft oder seine {{PropertyData|Geschlossen}} Eigenschaft muss auf {{FALSE}} gesetzt werden. |
|||
==Options== |
|||
==Skripten== |
|||
There are no options for this tool. Either it works with the selected object or not. |
|||
⚫ | |||
==Scripting== |
|||
Siehe auch: [https://freecad.github.io/SourceDoc/ Autogenerierte API Dokumentation] und [[FreeCAD_Scripting_Basics/de|FreeCAD Grundlagen Skripten]]. |
|||
{{Emphasis|See also:}} [[Draft API]] and [[FreeCAD Scripting Basics]]. |
|||
⚫ | |||
<div class="mw-translate-fuzzy"> |
|||
There is no programming interface available for the WireToBSpline tool; however, creating a new object from the points of another is simple. |
|||
Um einen Draht in einen Bspline umzuwandeln oder umgekehrt, übergib die Eigenschaft {{incode|Points}} des Quellobjekts an die Methode {{incode|[[Draft BSpline/de#Skripten|make_bspline]]}} bzw. die Methode {{incode|[[Draft_Wire/de#Skripten|make_wire]]}} des Entwurf Moduls. |
|||
</div> |
|||
Beispiel: |
|||
The {{incode|Points}} attribute of an object is a list with the points that comprise that object; this list can be passed to functions that build geometry. Each point is defined by its {{incode|FreeCAD.Vector}}, with units in millimeters. |
|||
Example: |
|||
{{Code|code= |
{{Code|code= |
||
import FreeCAD |
import FreeCAD as App |
||
import Draft |
|||
doc = App.newDocument() |
|||
# Make a spline from the points of a wire |
|||
⚫ | |||
⚫ | |||
⚫ | |||
p4 = FreeCAD.Vector(3500, -500, 0) |
|||
p1 = App.Vector(1000, 1000, 0) |
|||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
base_spline = Draft.make_bspline([-p1, -1.3*p2, -1.2*p3, -2.1*p4]) |
|||
points1 = base_wire.Points |
points1 = base_wire.Points |
||
spline_from_wire = Draft.make_bspline(points1) |
|||
# Make a wire from the points of a spline |
|||
⚫ | |||
points2 = base_spline.Points |
points2 = base_spline.Points |
||
wire_from_spline = Draft.make_wire(points2) |
|||
doc.recompute() |
|||
}} |
}} |
||
{{Docnav|[[Draft_Edit|Edit]]|[[Draft_AddPoint|Add point]]|[[Draft_Module|Draft]]|IconL=Draft_Edit.svg|IconC=Workbench_Draft.svg|IconR=Draft_AddPoint.svg}} |
|||
{{Docnav/de |
|||
⚫ | |||
|[[Draft_Downgrade/de|Herabstufen]] |
|||
|[[Draft_Draft2Sketch/de|EntwurfZuSkizze]] |
|||
|[[Draft_Workbench/de|Draft]] |
|||
|IconL=Draft_Downgrade.svg |
|||
|IconR=Draft_Draft2Sketch.svg |
|||
|IconC=Workbench_Draft.svg |
|||
}} |
|||
⚫ | |||
{{Userdocnavi}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Revision as of 10:32, 25 November 2021
Entwurf DrahtZuBSpline |
Menüeintrag |
---|
Änderung → Draht zu BSpline |
Arbeitsbereich |
Entwurf, Architektur |
Standardtastenkürzel |
Keiner |
Eingeführt in Version |
- |
Siehe auch |
Entwurf Draht, Entwurf BSpline |
Beschreibung
Der Entwurf DrahtZuBSpline Befehl konvertiert Entwurf Drähte in Entwurf BSplines und umgekehrt.
Umwandlung eines Entwurf Drahtes in eine Entwurf BSpline und einer geschlossenen Entwurf BSpline in einen geschlossenen Entwurf Draht
Anwendung
- Wähle einen Entwurf Draht oder einen Entwurf BSpline.
- Es gibt mehrere Möglichkeiten, den Befehl aufzurufen:
- Drücke die Entwurf DrahtZuBSpline Schaltfläche.
- Wähle den Änderung → Draht zu Bspline aus dem Menü.
- Ein neues Objekt wird erstellt.
Hinweise
- Der Befehl kann zu einem geschlossenen, sich selbst durchdringenden Entwurf Draht oder Entwurf BSpline mit einer Fläche führen. Ein solches Objekt wird in der 3D Ansicht nicht korrekt dargestellt. Seine DatenErstelle Fläche Eigenschaft oder seine DatenGeschlossen Eigenschaft muss auf
false
gesetzt werden.
Skripten
Siehe auch: Autogenerierte API Dokumentation und FreeCAD Grundlagen Skripten.
Um einen Draht in einen Bspline umzuwandeln oder umgekehrt, übergib die Eigenschaft Points
des Quellobjekts an die Methode make_bspline
bzw. die Methode make_wire
des Entwurf Moduls.
Beispiel:
import FreeCAD as App
import Draft
doc = App.newDocument()
p1 = App.Vector(1000, 1000, 0)
p2 = App.Vector(2000, 1000, 0)
p3 = App.Vector(2500, -1000, 0)
p4 = App.Vector(3500, -500, 0)
base_wire = Draft.make_wire([p1, p2, p3, p4])
base_spline = Draft.make_bspline([-p1, -1.3*p2, -1.2*p3, -2.1*p4])
points1 = base_wire.Points
spline_from_wire = Draft.make_bspline(points1)
points2 = base_spline.Points
wire_from_spline = Draft.make_wire(points2)
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
Anwenderdokumentation
- Erste Schritte
- Installation: Herunterladen, Windows, Linux, Mac, Zusätzlicher Komponenten, Docker, AppImage, Ubuntu Snap
- Grundlagen: Über FreeCAD, Graphische Oberfläche, Mausbedienung, Auswahlmethoden, Objektname, Programmeinstellungen, Arbeitsbereiche, Dokumentstruktur, Objekteigenschaften, Hilf FreeCAD, Spende
- Hilfe: Tutorien, Video Tutorien
- Arbeitsbereiche: Std Base, Arch, Assembly, CAM, Draft, FEM, Inspection, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Start, Surface, TechDraw, Test Framework, Web