Draftː Polilinea in B-spline
Appearance
|
|
| Posizione nel menu |
|---|
| Modifiche → Polilinea in B-spline |
| Ambiente |
| Draft |
| Avvio veloce |
| Nessuno |
| Introdotto nella versione |
| - |
| Vedere anche |
| Draft Polilinea, Draft BSpline |
Descrizione
Il comando Draft Polilinea in B-spline converte Draft Polilinee in Draft B-splines e viceversa.
Conversione di un Draft Polilinea in un Draft B-spline e di una Draft B-spline chiusa in una Draft Polilinea chiusa
Utilizzo
- Selezionare una Draft Polilinea o una Draft B-spline.
- Ci sono diversi modi per invocare il comando:
- Premere il pulsante
Polilinea in B-spline.
- Selezionare l'opzione Modifiche →
Polilinea in B-spline dal menu.
- Premere il pulsante
- Viene creato un nuovo oggetto.
Note
- Il comando potrebbe far risultare una Draft Polilinea o Draft B-spline autointersecante con una faccia. Tale oggetto non verrà visualizzato correttamente nella Vista 3D. La sua proprietà DatiMake Face, o la sua proprietà DatiClosed, deve essere impostata su
false.
Script
Vedere anche: Autogenerated API documentation e Script di base per FreeCAD.
Per convertire una Polilinea in una B-spline, o viceversa, passare la proprietà Points dell'oggetto sorgente al metodo make_bspline, o rispettivamente al metodo make_wire, del modulo Draft.
Esempio:
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()
- Drafting: Line, Polyline, Fillet, Arc, Arc From 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, Highlight Subelements, Join, Split, Upgrade, Downgrade, Convert Wire/B-Spline, Draft to Sketch, Set Slope, Flip Dimension, Shape 2D View
- Draft Tray: Working 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, New Layer, Manage Layers, New Named Group, SelectGroup, Add to Layer, Add to Group, Add to Construction Group, Toggle Wireframe, Working Plane Proxy, Heal, Show Snap Toolbar
- Additional: Constraining, Pattern, Preferences, Import Export Preferences, DXF/DWG, SVG, OCA, DAT
- Context menu:
- Most objects: Edit
- Layer container: Add New Layer, Reassign Properties of All Layers, Merge Layer Duplicates
- Layer: Activate Layer, Reassign Properties of Layer, Select Layer Contents
- Text and label: Open Links
- Wire: Flatten
- Working plane proxy: Save Camera Position, Save Visibility of Objects
- 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, Assembly, BIM, CAM, Draft, FEM, Inspection, Material, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub