loop in and out

This commit is contained in:
jrkb 2025-05-18 18:47:00 +02:00
parent ca8b4302a3
commit 88f5579d40
2 changed files with 26 additions and 2 deletions

View file

@ -242,6 +242,18 @@ class ABC3D_text_properties(bpy.types.PropertyGroup):
name="Ignore Curve Orientation",
default=False,
)
loop_in: bpy.props.BoolProperty(
update=update_callback,
name="Loop In",
description="Loop letter on curve if negative offset would place it in front of it.",
default=False,
)
loop_out: bpy.props.BoolProperty(
update=update_callback,
name="Loop Out",
description="Loop letter on curve if a large offset would place it behind it.",
default=False,
)
distribution_type: bpy.props.StringProperty()
glyphs: bpy.props.CollectionProperty(type=ABC3D_glyph_properties)
@ -809,6 +821,8 @@ class ABC3D_PT_TextPropertiesPanel(bpy.types.Panel):
layout.row().prop(props, "offset")
layout.row().prop(props, "compensate_curvature")
layout.row().prop(props, "ignore_orientation")
layout.row().prop(props, "loop_in")
layout.row().prop(props, "loop_out")
layout.column().prop(props, "translation")
layout.column().prop(props, "orientation")