I want to block the edge length even if you are moving or rotating the edges in edit mode.
I did some research, but no one give a good answere. link 1 link 2 link3 link 4
finally I tried to use a modal operator with event.type =='MOUSEMOVE'
, but this don't work if I'm using another operator.
THINGS THAT I KNOW
If I want to move the vertex A without changing the size from edges Ab, Ac and bc, the only way that I know is using a rotation operation.
BUT, in order to do that I have to change to Edges, select edge Ac and bc (in that specific order), after that change the pivot point to "active element"... in this case the edge bc, after that change the "transform orientation" to normal.... and after all I can not rotate in the right way!!
then I did a easy addon with some buttons that do the work
row = layout.row()
props = row.operator("view3d.pivot_point_set", text="Pivote Elemento Activo", icon='STYLUS_PRESSURE')
props.type="ACTIVE_ELEMENT"
row = layout.row()
props = row.operator("transform.rotate", text="Left Slow", icon='STYLUS_PRESSURE')
props.value = 0.392699
props.constraint_axis=(True, False, True)
props.constraint_orientation = "NORMAL"
props = row.operator("transform.rotate", text="Right Slow", icon='STYLUS_PRESSURE')
props.value = -0.392699
props.constraint_axis=(True, False, True)
props.constraint_orientation = "NORMAL"
row = layout.row()
props = row.operator("transform.rotate", text="Left Total", icon='STYLUS_PRESSURE')
props.value = 3.141599
props.constraint_axis=(True, False, True)
props.constraint_orientation = "NORMAL"
props = row.operator("transform.rotate", text="Right Total", icon='STYLUS_PRESSURE')
props.value = -3.141599
props.constraint_axis=(True, False, True)
props.constraint_orientation = "NORMAL"
but.... do you know some easy way as lock the edge length?
thanks
UPDATE 1
AFTER some research and apply some comments I made some previos addon in order to apply hooks and constrains to "each" vertex that I want "look", and I get some interesting results:
the main problem is when you want lock more than 3 edges or vertex....... some ideas please?