Part Cone/cs: Difference between revisions

From FreeCAD Documentation
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

Použití

V pracovní ploše Díl klikněte na ikonu kuželu .

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

  • Radius 1 - poloměr oblouku nebo kružnice definující spodní plochu
  • Radius 2 - poloměr oblouku nebo kružnice definující vrchní plochu
  • Výška - výška kuželu
  • Úhel - počet stupňů oblouku nebo kružnice definující horní a dolní plochu komolého kuželu. Defaultních 360 stupňů vytváří kruhovou plochu, menší hodnota vytvoří část kuželu definovoanou horní a dolní plochou s okraji definovanými obloukem o velikosti dané úhlem a oběma poloměry.
  • ÚdajeRadius 1: Radius of the arc or circle defining the lower face
  • ÚdajeRadius 2: Radius of the arc or circle defining the upper face
  • ÚdajeHeight: Height of the Part Cone
  • ÚdajeAngle: 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:

cone = FreeCAD.ActiveDocument.addObject("Part::Cone", "myCone")
  • Where "myCone" is the name for the object.
  • The function returns the newly created object.