Part Cone/cs: Difference between revisions
No edit summary |
(Updating to match new version of source page) |
||
Line 1: | Line 1: | ||
<languages/> |
<languages/> |
||
{{Docnav |
{{Docnav |
||
|[[Part_Sphere|Sphere]] |
|[[Part_Sphere|Sphere]] |
||
Line 54: | Line 55: | ||
* {{PropertyData|Height}}: Height of the Part Cone |
* {{PropertyData|Height}}: Height of the Part Cone |
||
* {{PropertyData|Angle}}: Number of degrees of the arc or circles defining the upper and lower faces of the truncated cone. The default 360° creates circular faces, a lower value will create a portion of a cone as defined by upper and lower faces each with edges defined by an arc of the number of degrees and two radii. |
* {{PropertyData|Angle}}: Number of degrees of the arc or circles defining the upper and lower faces of the truncated cone. The default 360° creates circular faces, a lower value will create a portion of a cone as defined by upper and lower faces each with edges defined by an arc of the number of degrees and two radii. |
||
== Scripting == |
|||
A Part Cone can be created using the following function: |
|||
{{Code|code= |
|||
cone = FreeCAD.ActiveDocument.addObject("Part::Cone", "myCone") |
|||
}} |
|||
* Where {{Incode|"myCone"}} is the name for the object. |
|||
* The function returns the newly created object. |
|||
Line 67: | Line 79: | ||
{{Part Tools navi{{#translation:}}}} |
{{Part Tools navi{{#translation:}}}} |
||
{{Userdocnavi{{#translation:}}}} |
{{Userdocnavi{{#translation:}}}} |
||
{{clear}} |
Revision as of 14:02, 8 January 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ů.
Na obrázku níže je zobrazen díl Kužel s parametrem "úhel" nastaveným na 270 stupňů a ostatní parametry zůstávají nastaveny defaultně.
Usage
Defaultní hodnoty vytvoří komolý parametrický kužel definovaný poloměrem 1, poloměrem 2, výškou a úhlem. Defaultní kužel bude při vytvoření pozicován na počáteční bod (bod 0,0,0). Parametr úhel umožňuje vytváření částečného kuželu (defaultně je nastavený na 360°) a poloměry 1 a 2 korespondují se základnou a vrchní plochou komolého kuželu.
The cone properties can later be edited, either in the Property editor or by double-clicking the cone in the Tree view.
Volby
Kužel
ScriptingA Part Cone can be created using the following function: cone = FreeCAD.ActiveDocument.addObject("Part::Cone", "myCone")
Part
User documentation
|