-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v1.0.1 - Overrid Edge Flow, Operator Versatility Improvements
- Added ability to insert edge loops without edge flow - You can now override the side panel, great for using the "Edge Curve Plus" operator in other areas, such as a hotkey, or a pie menu.
- Loading branch information
Showing
7 changed files
with
167 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
import bpy | ||
from . properties import NeltulzEdgeCurvePlus_IgnitProperties | ||
from . import misc_functions | ||
|
||
from bpy.props import (StringProperty, | ||
BoolProperty, | ||
IntProperty, | ||
FloatProperty, | ||
FloatVectorProperty, | ||
EnumProperty, | ||
PointerProperty, | ||
) | ||
from bpy.types import (Panel, | ||
Operator, | ||
AddonPreferences, | ||
PropertyGroup, | ||
) | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Main Addon Operator | ||
# ----------------------------------------------------------------------------- | ||
|
||
class OBJECT_OT_NeltulzEdgeCurvePlus_ResetAllSettings(bpy.types.Operator): | ||
"""Tooltip""" | ||
bl_idname = "object.neltulz_edge_curve_plus_reset_all" | ||
bl_label = "Neltulz - Edge Curve Plus - Reset All Settings" | ||
bl_description = "Resets all settings" | ||
|
||
@classmethod | ||
def poll(cls, context): | ||
return True | ||
|
||
def execute(self, context): | ||
|
||
scene = context.scene | ||
|
||
scene.neltulzEdgeCurvePlus.numSegmentsSlider = 1 | ||
scene.neltulzEdgeCurvePlus.useEdgeFlowCheckbox = True | ||
scene.neltulzEdgeCurvePlus.tensionSlider = 180 | ||
scene.neltulzEdgeCurvePlus.numIterationsSlider = 1 | ||
scene.neltulzEdgeCurvePlus.minAngleSlider = 0 | ||
|
||
return {'FINISHED'} | ||
# END execute() | ||
# END Operator() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters