not really following here!
here is the operator
which i’m calling right now with
bl_idname = “custom.button1”
bl_label = “Custom Button”
doc = “Simple Custom Button”
def invoke(self, context, event):
obj = bpy.context.object
RotateAboutPoint(obj, point1, (0,0,1), ang1) # Rotate Object
last line is the call to a function needing some vars
how do you pass the prop to the operator?
i’m calling the operator class with a button
so when i click it does it only ounce not repeating like if it was in the panel itself
cause that has to change the mesh data only ounce otherwise it goes like into a loop!
si need to pass the ob then a vector ect