Part: Casetă
Part Box |
Menu location |
---|
Part → Primitives → Cube |
Workbenches |
Part, Complete |
Default shortcut |
None |
Introduced in version |
- |
See also |
Part CreatePrimitives |
Description
Descriere
Comanda Box din Atelierul Part Workbench inserează o casetă parametrică, rectangular cuboid, o primitivă geometrică în documentul activ. Implicit, comanda Box va insera un cub de 10x10x10 mm, poziționaat în origine, cu denumirea/eticheta "cube". Acești parametri pot fi modificați după adăugarea obiectului.
Usage
Cum se folosește
Result: The default result is a box with an equal length, width and height of 10 mm. It is attached to the global xy-plane and one edge is coincident with the global z-axis.
The box properties can later be edited, either in the property editor or by double-clicking on the box in the model tree.
Properties
Box
Box
- DateLength:Parametrul lungime este dimensiunea Box în direcția x.
- DateWidth: Parametrul lățime este dimensiunea Box în direcția y.
- DateHeight: Parametrul înălțime este dimensiunea Box în direcția z.
Scripting
Scripting
Comanda Box poate fi utilizat în macros și din consola python utilizând următoarea funcție:
box = FreeCAD.ActiveDocument.addObject("Part::Box", "myBox")
- Unde "myBox" este o denumire/etichetă pentru obiectul Box.
- Are ca rezulta obiectul nou creat de tip Box.
Puteți accesa și modifica atributele obiectului Box. De exemplu, ați putea dori să modificați parametrii de lungime, lățime și înălțime.
box.Length = 25
box.Width = 15
box.Height = 30
Puteți schimba amplasamentul cu:
box.Placement = FreeCAD.Placement(FreeCAD.Vector(4, 6, 3), FreeCAD.Rotation(30, 45, 10))
- Primitives: Box, Cylinder, Sphere, Cone, Torus, Tube, Create primitives, Shape builder
- Creation and modification: 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, Attachment
- Boolean: Make compound, Explode Compound, Compound Filter, Boolean, Cut, Fuse, Common, Connect, Embed, Cutout, Boolean fragments, Slice apart, Slice, XOR
- 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, Mesh, OpenSCAD, Part, PartDesign, Points, Reverse Engineering, Robot, Sketcher, Spreadsheet, Surface, TechDraw, Test Framework
- Hubs: User hub, Power users hub, Developer hub