Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-01-08 | Add profile control parameter to Bevel. | Howard Trickey | |
Parameter controls concavity / convexity. <.25 means: concave inward .25 means: straight slanted >.25 means: concave outward .5 means: circular (the default) 1 means: straight along original sides For now, there is a hard lower limit of .15 because more work is needed to get decent results in the range below that. The profile is actually a superellipse, and the parameter is 1/4 of the exponent in the implicit equation for a superellipse, except at the extreme values of 0 and 1. | |||
2013-11-10 | Added options for how bevel amount is measured. | Howard Trickey | |
Now there is an 'Offset Type' dropdown on tool shelf with types: Offset - current method, offset of new edge from old along sliding face Width - width of new bevel face (if segments=1) Depth - amount a chamfering plane moves down from original edge Percent - percent of way sliding edges move along their adjacent edges The different options mainly are useful when beveling more than one edge at once. Leaving as a TODO to put these in the modifier, as doing that has more permanent effects so want to let users shake out problems with this first. | |||
2013-08-23 | move bmesh tools into their own include, | Campbell Barton | |
changes to tool args would rebuild far too many files and these are mainly by modifiers outside of bmesh. | |||
2013-03-30 | code comments: bmesh operator doxy header descriptions. | Campbell Barton | |
2013-03-13 | Fix bevel modifier bug #34611, limit bevel amount needed. | Howard Trickey | |
This is a quick fix that perhaps overestimates the point of first geometry collision, but at least for now it should allow models that used the old modifier and a too-big bevel amount to not look awful. The correct solution to this problem is much more involved and I'll get to it later. | |||
2013-02-21 | Enable new bevel tool code in bevel modifier. | Howard Trickey | |
Now modifier takes a segments parameter. Bevel edge weights will multiply the overall amount. For vertex-only, you can give a vertex group name, and the weights in that will multiply the overall amount. | |||
2013-01-14 | use booleans for bmesh api. | Campbell Barton | |
2012-12-28 | Add 'vertex_only' option to bevel tool. | Howard Trickey | |
Right now, changing segments to > 1 doesn't do anything, but intend to work on making that cause rounded corners. | |||
2012-11-20 | code cleanup: make bmesh operator names more consistant since python has ↵ | Campbell Barton | |
access to these as input arguments and return values. all output values currently have ".out" suffix, this may go in the future, but for now it makes it clear in C code what are inputs and outputs. | |||
2012-11-19 | use input and output slots for bmesh operators, needed for the python api to ↵ | Campbell Barton | |
get return values. | |||
2012-11-19 | improvements to bevel | Campbell Barton | |
- the resulting selection is now correct internal details - bev_rebuild_polygon() now only rebuilds polygons that are attached to a bevel vertex (was rebuilding ALL). ... need to take care we don't leave faces pointing to removed geometry, so far this works fine. - bev_rebuild_polygon() uses stack memory for <32 size ngons to reduce allocs. - skip hash lookup when removing bevel verts (use tag instead). | |||
2012-11-19 | bmesh: BM_verts_in_face was using bmesh operator flag which is no longer ↵ | Campbell Barton | |
ensured to be available, use internal apiflag instead, Thanks to Nicholas Bishop for spotting. also quiet some warnings. | |||
2012-11-18 | bevel now only takes manifold edges (so it doesnt need to check for them) | Campbell Barton | |
2012-11-18 | finish moving bevel code out of the operator dir (it works again) | Campbell Barton | |
2012-11-18 | moving bevel to tools dir as-is to keep svn history (breaks build, will fix ↵ | Campbell Barton | |
next). | |||
2012-11-17 | use quad-strip for filling even when no segments are being added, this gives ↵ | Campbell Barton | |
quad-loops along the bevel whereas before it made ngons. | |||
2012-11-17 | more straightforward way to implement quad-strip face filling suggested by ↵ | Campbell Barton | |
Howard Trickey, also some other changes - no need to check the new loops face is larger and no longer split up the ngon more times then there are subdivisions in the face strip (now ngons will remain on both sides). | |||
2012-11-16 | rework the bevel quad strip logic to work with ngons correctly, previously ↵ | Campbell Barton | |
it only worked properly with triangles. | |||
2012-11-16 | fix for own bug in quad-stip fill method, quad strips were skewed. | Campbell Barton | |
2012-11-16 | more minor improvements to bevel use of math functions | Campbell Barton | |
2012-11-16 | code cleanup: remove unneeded normalize (face normal), and unneeded call to ↵ | Campbell Barton | |
len_v3v3 | |||
2012-11-16 | bevel: save some memory by aligning struct members. | Campbell Barton | |
2012-11-16 | wip - alternate bevel curve calculation (still disabled) | Campbell Barton | |
now USE_ALTERNATE_ADJ works, giving more stable corners that don't flicker and glitch out as the offset changes. The shape is not a circle though and doesnt look quite as nice as the existing method. | |||
2012-11-16 | bevel: wip ifdef'd code to test an alternative method of placing corner ↵ | Campbell Barton | |
vertices. | |||
2012-11-16 | code cleanup: some renaming to avoid confusion. | Campbell Barton | |
2012-11-15 | code cleanup: move local math functions into math_geom.c, math_vector.c, no ↵ | Campbell Barton | |
functional changes. | |||
2012-11-15 | fix for deleting lines hanging the text editor when no markers are used, ↵ | Campbell Barton | |
presence of markers still hangs. also compiler warnings and some style edits. | |||
2012-11-15 | Fix 'polygon eating' problem in bevel (bug #33141) | Howard Trickey | |
which was due to almost-parallel lines. | |||
2012-11-14 | use memarena for bevel allocs | Campbell Barton | |
2012-11-14 | use ghash for bevel verts, saves list lookups when getting a BMVert's BevVert | Campbell Barton | |
2012-11-14 | speedup bevel by tagging verts and edges to bevel, this avoids a loop over ↵ | Campbell Barton | |
all bevel edges for each bevel vert (can use edges-of-vert instead) | |||
2012-11-14 | remove ifdef'd bevel code, current bevel works better then the previous code. | Campbell Barton | |
reduce strlen check in texttool_suggest_add() use 'del list[:]' rather then 'list[:] = []' in python scripts which clear lists. | |||
2012-11-12 | add simple quad-strip filling to bevel, use to bevel edges when 2 ↵ | Campbell Barton | |
bevel-edges share a vertex. this gives more useful topology, eg: http://www.graphicall.org/ftp/ideasman42/bevel_strip_fill.png | |||
2012-11-12 | fan filling didnt always work well, now only apply this when its going to ↵ | Campbell Barton | |
work properly. | |||
2012-11-12 | change bevel do/while loops to step the pointer in the while check, no ↵ | Campbell Barton | |
functional changes. | |||
2012-11-12 | bevel fan fill edges meeting non selected geometry rather then making ngons ↵ | Campbell Barton | |
which often dont triangulate nicely to follow rounded corners: http://www.graphicall.org/ftp/ideasman42/bevel_fan_fill.png | |||
2012-11-12 | code cleanup: spelling, | Campbell Barton | |
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later. | |||
2012-11-12 | BM_iter_as_arrayN() can now take an optional existing array argument, useful ↵ | Campbell Barton | |
to avoid many small malloc's by passing a fixes size stack variable instead. Will give some speedup to edge-split modifier and bevel. | |||
2012-11-12 | bmesh bevel todo: don't loop through all faces to find faces connected to a ↵ | Campbell Barton | |
vertex. | |||
2012-11-12 | replace BM_edge_face_count with ↵ | Campbell Barton | |
BM_edge_is_manifold/BM_edge_is_wire/BM_edge_is_boundary | |||
2012-11-12 | style cleanup | Campbell Barton | |
2012-11-12 | Bevel: several bug fixes. | Howard Trickey | |
2012-11-09 | Bevel: use library plane/line intersection instead of custom one. | Howard Trickey | |
Custom one had a bug, not worth tracking down. | |||
2012-11-09 | add fallbacks for BM_vert_calc_shell_factor() and ↵ | Campbell Barton | |
BM_vert_calc_mean_tagged_edge_length() to avoid divide by zero when a vertex has no connected geometry. also style cleanup. | |||
2012-11-09 | code cleanup: move shrinkwrap's benchmark macro into PIL_time.h & some minor ↵ | Campbell Barton | |
style edits. | |||
2012-11-09 | code cleanup: double promotion warnings with new bevel code & wrong use of ↵ | Campbell Barton | |
NULL in cycles. | |||
2012-11-08 | style cleanup | Campbell Barton | |
2012-11-08 | Merge gsoc Bevel (with rounding) into trunk. | Howard Trickey | |
2012-10-23 | rename api functions... | Campbell Barton | |
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii | |||
2012-10-15 | code cleanup: define sizes of vectors for function args and use C style comments | Campbell Barton | |