Partː Tubo
|
Posizione nel menu |
---|
Parte → Primitive → Crea tubo |
Ambiente |
Part |
Avvio veloce |
Nessuno |
Introdotto nella versione |
0.19 |
Vedere anche |
Part Primitive |
Descrizione
Il comando Part Tubo crea un tubo parametrico solido. Nel sistema di coordinate definito dalla sua proprietà DatiPlacement, la faccia inferiore del tubo si trova sul piano XY con il centro nell'origine.
Utilizzo
Crea
- Esistono diversi modi per richiamare il comando:
- Premere il pulsante
Crea tubo.
- Selezionare l'opzione Parte → Primitive →
Crea tubo dal menu.
- Premere il pulsante
- Si apre il pannello delle attività Tubo e un'anteprima del tubo viene visualizzata nella Vista 3D.
- Specificare le dimensioni.
- L'anteprima viene aggiornata dinamicamente.
- Premere il pulsante OK.
- Il tubo viene creato.
- Facoltativamente, modificare il DatiPlacement del tubo nel Editor delle proprietà o con il comando
Trasforma.
Modifica
- Fare doppio clic sul tubo nella Vista ad albero
- Si apre il pannello delle azioni Tubo.
- Modificare una o più dimensioni.
- Il tubo viene aggiornato dinamicamente nella vista 3D.
- Premere il pulsante OK.
Esempio
Qui viene mostrato un oggetto Part Tubo creato con l'esempio di scripting riportato di seguito.
Proprietà
Vedere anche: Editor delle proprietà.
Un oggetto Part Tubo deriva da un oggetto Funzione Part e ne eredita tutte le proprietà. Ha inoltre le seguenti proprietà aggiuntive:
Dati
Attachment
L'oggetto ha le stesse proprietà di collegamento di un Part Part2DObject.
Tube
- DatiHeight (
Length
): l'altezza del tubo. Il valore predefinito è10mm
. - DatiInner Radius (
Length
): il raggio interno del tubo. Deve essere inferiore a DatiOuter Radius. Può essere0
. Il valore predefinito è2mm
. - DatiOuter Radius (
Length
): il raggio esterno del tubo. Deve essere maggiore di DatiInner Radius. Il valore predefinito è5mm
.
Script
Vedere anche: Autogenerated API documentation, Script di Part e Script di base per FreeCAD.
Un Part Tubo può essere creato con il metodo addTube()
(disponibile dalla versione 0.20) del modulo Shapes:
tube = Shapes.addTube(FreeCAD.ActiveDocument, "myTube")
- Dove
"myTube"
è il nome dell'oggetto. - La funzione restituisce l'oggetto appena creato.
Esempio:
import FreeCAD as App
from BasicShapes import Shapes
doc = App.activeDocument()
tube = Shapes.addTube(FreeCAD.ActiveDocument, "myTube")
tube.Height = 20
tube.InnerRadius = 2
tube.OuterRadius = 3
tube.Placement = App.Placement(App.Vector(2, 4, 5), App.Rotation(60, 60, 30))
doc.recompute()
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: Create sketch, Extrude, Revolve, Mirror, Scale, Fillet, Chamfer, Make face from wires, Ruled Surface, Loft, Sweep, Section, Cross sections, 3D Offset, 2D Offset, Thickness, Projection on surface, Color per face
- Boolean: Make compound, Explode compound, Compound Filter, Boolean, Cut, Union, Intersection, Connect objects, Embed object, Cutout for object, Boolean fragments, Slice apart, Slice to compound, Boolean XOR, Check geometry, Defeaturing
- Other tools: Import CAD file, Export CAD file, Box selection, Create shape from mesh, Create points object from geometry, Convert to solid, Reverse shapes, Create simple copy, Create transformed copy, Create shape element copy, Refine shape, Attachment
- Preferences: Preferences, Fine tuning
- 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