EggCurve¶
from acron.egg import EggCurve
- class EggCurve¶
Bases:
Bases:
EggPrimitiveA parametric curve of some kind. See
EggNurbsCurve.Inheritance diagram
digraph inheritance35d9dcdc1c { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "EggAttributes" [URL="acron.egg.EggAttributes.html#acron.egg.EggAttributes",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "EggAttributes" [arrowsize=0.75,style=""]; "EggCurve" [URL="acron.egg.EggCurve.html#acron.egg.EggCurve",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "EggPrimitive" -> "EggCurve" [arrowsize=0.75,style=""]; "EggNamedObject" [URL="acron.egg.EggNamedObject.html#acron.egg.EggNamedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "EggObject" -> "EggNamedObject" [arrowsize=0.75,style=""]; "Namable" -> "EggNamedObject" [arrowsize=0.75,style=""]; "EggNode" [URL="acron.egg.EggNode.html#acron.egg.EggNode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "EggNamedObject" -> "EggNode" [arrowsize=0.75,style=""]; "EggObject" [URL="acron.egg.EggObject.html#acron.egg.EggObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedReferenceCount" -> "EggObject" [arrowsize=0.75,style=""]; "EggPrimitive" [URL="acron.egg.EggPrimitive.html#acron.egg.EggPrimitive",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "EggNode" -> "EggPrimitive" [arrowsize=0.75,style=""]; "EggAttributes" -> "EggPrimitive" [arrowsize=0.75,style=""]; "EggRenderMode" -> "EggPrimitive" [arrowsize=0.75,style=""]; "EggRenderMode" [URL="acron.egg.EggRenderMode.html#acron.egg.EggRenderMode",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "EggRenderMode" [arrowsize=0.75,style=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "Namable" [arrowsize=0.75,style=""]; "ReferenceCount" [URL="acron.core.ReferenceCount.html#acron.core.ReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "ReferenceCount" [arrowsize=0.75,style=""]; "TypedObject" [URL="acron.core.TypedObject.html#acron.core.TypedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "TypedObject" [arrowsize=0.75,style=""]; "TypedReferenceCount" [URL="acron.core.TypedReferenceCount.html#acron.core.TypedReferenceCount",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "TypedObject" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; "ReferenceCount" -> "TypedReferenceCount" [arrowsize=0.75,style=""]; }-
enum CurveType¶
-
enumerator CT_none = 0¶
-
enumerator CT_xyz = 1¶
-
enumerator CT_hpr = 2¶
-
enumerator CT_t = 3¶
-
enumerator CT_none = 0¶
- assign()¶
- static get_class_type()¶
- get_curve_type()¶
Returns the indicated type of the curve.
- get_subdiv()¶
Returns the requested number of subdivisions, or 0 if no particular subdivisions have been requested.
- set_curve_type()¶
Sets the type of the curve. This is primarily used as a hint to any code that may need to deal with this curve.
- set_subdiv()¶
Sets the number of subdivisions that will be requested across the curve. (This doesn’t necessary guarantee that this number of subdivisions will be made; it’s just a hint to any curve renderer or quick tesselator.) Set the number to 0 to disable the hint.
- static string_curve_type()¶
Returns the
CurveTypevalue associated with the given string representation, or CT_invalid if the string does not match any knownCurveTypevalue.
-
enum CurveType¶