diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-10-06 06:04:43 +0400 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2011-10-06 06:04:43 +0400 |
commit | f84e8e76406a30bd15e6e55e41714e62826315aa (patch) | |
tree | e4a077ee05de21155421b35854162ad5f29c53b3 /release/scripts/startup/bl_ui/properties_render.py | |
parent | cb4f6629279ba9792cc46114fe603bebff11c6a3 (diff) |
Fine control of feature edge selection with mesh face and edge marks.
New "face marks" and "edge marks" have been introduced in mesh data
blocks. In the edit mode of a mesh object, face marks can be put
to selected faces by choosing Mesh >> Faces >> Mark Freestyle Face
from the menu of a 3D View window or Ctrl-F >> Mark Freestyle Face
from the context menu. Similarly, edge marks can be put to selected
edges by Mesh >> Edges >> Mark Freestyle Edge or Ctrl-E >> Mark
Freestyle Edge. These marks should work fine with the Subdivision
surface modifier.
Moreover, two new conditions for feature edge selection have been
added to the Parameter Editor mode as described below:
1. The Selection by Edge Types option has now the new Edge Mark type,
which can be used to (de)select feature edges having edge marks.
This option can be used to add to (or remove from) the view map
arbitrary edges of mesh objects.
2. Selection by Face Marks option has been newly introduced, in which
face marks are used for feature edge selection in two ways. One
option is called "One Face" which is to (de)select feature edges if
one of faces on the left and right of each feature edge has a face
mark. The other option is "Both Faces" to (de)select feature edges
if both faces on the left and right have a face mark.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_render.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_render.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_render.py b/release/scripts/startup/bl_ui/properties_render.py index 57b5c9d848a..f8750a01374 100644 --- a/release/scripts/startup/bl_ui/properties_render.py +++ b/release/scripts/startup/bl_ui/properties_render.py @@ -253,11 +253,20 @@ class RENDER_PT_freestyle(RenderButtonsPanel, Panel): sub.prop(lineset, "select_valley") sub.prop(lineset, "select_suggestive_contour") sub.prop(lineset, "select_material_boundary") + sub.prop(lineset, "select_edge_mark") sub = row.column() sub.prop(lineset, "select_contour") sub.prop(lineset, "select_external_contour") col.separator() # XXX + col.prop(lineset, "select_by_face_marks") + if lineset.select_by_face_marks: + row = col.row() + row.prop(lineset, "face_mark_negation", expand=True) + row = col.row() + row.prop(lineset, "face_mark_condition", expand=True) + col.separator() # XXX + col.prop(lineset, "select_by_group") if lineset.select_by_group: col.prop(lineset, "group") |