Part Cone/cs: Difference between revisions
(Updating to match new version of source page) |
(Updating to match new version of source page) |
||
Line 56: | Line 56: | ||
See also: [[Property_editor|Property editor]]. |
See also: [[Property_editor|Property editor]]. |
||
A Part |
A Part Cone object is derived from a [[Part_Feature|Part Feature]] object and inherits all its properties. It also has the following additional properties: |
||
=== Data === |
=== Data === |
Latest revision as of 08:56, 4 March 2022
Díl Kužel |
Umístění Menu |
---|
Díl -> Kužel |
Pracovní stoly |
Díl, Kompletace |
Výchozí zástupce |
Nikdo |
Představen ve verzi |
- |
Viz také |
Díl Vytváření zákl.geom.tvarů |
Description
Popis
Parametricky zkrácený díl Kužel je dostupný v pracovní ploše Díl z nástrojového pruhu Díl, Menu Díl (submenu zákl.geom.tvary) a dialogové okno Vytváření zákl.geom.tvarů.
The default Part Cone is truncated. It can be turned into a full, untruncated, cone by changing its ÚdajeRadius1 or ÚdajeRadius2 property to zero. It can be turned into a segment of a cone by changing its ÚdajeAngle property.
Usage
Example
A Part Cone object created with the scripting example below is shown here.
Notes
- A Part Cone can also be created with the Part Primitives command. With that command you can specify the dimensions and placement at creation time.
Volby
Kužel
See also: Property editor. A Part Cone object is derived from a Part Feature object and inherits all its properties. It also has the following additional properties: DataAttachment The object has the same attachment properties as a Part Part2DObject. Cone
ScriptingSee also: Autogenerated API documentation, Part scripting and FreeCAD Scripting Basics. A Part Cone can be created with the cone = FreeCAD.ActiveDocument.addObject("Part::Cone", "myCone")
Example: import FreeCAD as App
doc = App.activeDocument()
cone = doc.addObject("Part::Cone", "myCone")
cone.Radius1 = 5
cone.Radius2 = 10
cone.Height = 50
cone.Angle = 270
cone.Placement = App.Placement(App.Vector(1, 2, 3), App.Rotation(30, 60, 15))
doc.recompute()
Part
User documentation
|