Surface Operators
- bpy.ops.surface.primitive_nurbs_surface_circle_add(*, radius=1.0, enter_editmode=False, align='WORLD', location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), scale=(0.0, 0.0, 0.0))
Construct a Nurbs surface Circle
- Parameters:
radius (float) – Radius, (in [0, inf], optional)
enter_editmode (bool) – Enter Edit Mode, Enter edit mode when adding this object (optional)
align (Literal['WORLD', 'VIEW', 'CURSOR']) –
Align, The alignment of the new object (optional)
WORLDWorld – Align the new object to the world.VIEWView – Align the new object to the view.CURSOR3D Cursor – Use the 3D cursor orientation for the new object.
location (
mathutils.Vector) – Location, Location for the newly added object (array of 3 items, in [-inf, inf], optional)rotation (
mathutils.Euler) – Rotation, Rotation for the newly added object (array of 3 items, in [-inf, inf], optional)scale (
mathutils.Vector) – Scale, Scale for the newly added object (array of 3 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.surface.primitive_nurbs_surface_curve_add(*, radius=1.0, enter_editmode=False, align='WORLD', location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), scale=(0.0, 0.0, 0.0))
Construct a Nurbs surface Curve
- Parameters:
radius (float) – Radius, (in [0, inf], optional)
enter_editmode (bool) – Enter Edit Mode, Enter edit mode when adding this object (optional)
align (Literal['WORLD', 'VIEW', 'CURSOR']) –
Align, The alignment of the new object (optional)
WORLDWorld – Align the new object to the world.VIEWView – Align the new object to the view.CURSOR3D Cursor – Use the 3D cursor orientation for the new object.
location (
mathutils.Vector) – Location, Location for the newly added object (array of 3 items, in [-inf, inf], optional)rotation (
mathutils.Euler) – Rotation, Rotation for the newly added object (array of 3 items, in [-inf, inf], optional)scale (
mathutils.Vector) – Scale, Scale for the newly added object (array of 3 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.surface.primitive_nurbs_surface_cylinder_add(*, radius=1.0, enter_editmode=False, align='WORLD', location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), scale=(0.0, 0.0, 0.0))
Construct a Nurbs surface Cylinder
- Parameters:
radius (float) – Radius, (in [0, inf], optional)
enter_editmode (bool) – Enter Edit Mode, Enter edit mode when adding this object (optional)
align (Literal['WORLD', 'VIEW', 'CURSOR']) –
Align, The alignment of the new object (optional)
WORLDWorld – Align the new object to the world.VIEWView – Align the new object to the view.CURSOR3D Cursor – Use the 3D cursor orientation for the new object.
location (
mathutils.Vector) – Location, Location for the newly added object (array of 3 items, in [-inf, inf], optional)rotation (
mathutils.Euler) – Rotation, Rotation for the newly added object (array of 3 items, in [-inf, inf], optional)scale (
mathutils.Vector) – Scale, Scale for the newly added object (array of 3 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.surface.primitive_nurbs_surface_sphere_add(*, radius=1.0, enter_editmode=False, align='WORLD', location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), scale=(0.0, 0.0, 0.0))
Construct a Nurbs surface Sphere
- Parameters:
radius (float) – Radius, (in [0, inf], optional)
enter_editmode (bool) – Enter Edit Mode, Enter edit mode when adding this object (optional)
align (Literal['WORLD', 'VIEW', 'CURSOR']) –
Align, The alignment of the new object (optional)
WORLDWorld – Align the new object to the world.VIEWView – Align the new object to the view.CURSOR3D Cursor – Use the 3D cursor orientation for the new object.
location (
mathutils.Vector) – Location, Location for the newly added object (array of 3 items, in [-inf, inf], optional)rotation (
mathutils.Euler) – Rotation, Rotation for the newly added object (array of 3 items, in [-inf, inf], optional)scale (
mathutils.Vector) – Scale, Scale for the newly added object (array of 3 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.surface.primitive_nurbs_surface_surface_add(*, radius=1.0, enter_editmode=False, align='WORLD', location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), scale=(0.0, 0.0, 0.0))
Construct a Nurbs surface Patch
- Parameters:
radius (float) – Radius, (in [0, inf], optional)
enter_editmode (bool) – Enter Edit Mode, Enter edit mode when adding this object (optional)
align (Literal['WORLD', 'VIEW', 'CURSOR']) –
Align, The alignment of the new object (optional)
WORLDWorld – Align the new object to the world.VIEWView – Align the new object to the view.CURSOR3D Cursor – Use the 3D cursor orientation for the new object.
location (
mathutils.Vector) – Location, Location for the newly added object (array of 3 items, in [-inf, inf], optional)rotation (
mathutils.Euler) – Rotation, Rotation for the newly added object (array of 3 items, in [-inf, inf], optional)scale (
mathutils.Vector) – Scale, Scale for the newly added object (array of 3 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]
- bpy.ops.surface.primitive_nurbs_surface_torus_add(*, radius=1.0, enter_editmode=False, align='WORLD', location=(0.0, 0.0, 0.0), rotation=(0.0, 0.0, 0.0), scale=(0.0, 0.0, 0.0))
Construct a Nurbs surface Torus
- Parameters:
radius (float) – Radius, (in [0, inf], optional)
enter_editmode (bool) – Enter Edit Mode, Enter edit mode when adding this object (optional)
align (Literal['WORLD', 'VIEW', 'CURSOR']) –
Align, The alignment of the new object (optional)
WORLDWorld – Align the new object to the world.VIEWView – Align the new object to the view.CURSOR3D Cursor – Use the 3D cursor orientation for the new object.
location (
mathutils.Vector) – Location, Location for the newly added object (array of 3 items, in [-inf, inf], optional)rotation (
mathutils.Euler) – Rotation, Rotation for the newly added object (array of 3 items, in [-inf, inf], optional)scale (
mathutils.Vector) – Scale, Scale for the newly added object (array of 3 items, in [-inf, inf], optional)
- Returns:
Result of the operator call.
- Return type:
set[Literal[Operator Return Items]]