July 20, 2019, 15:40 (GMT) |
Rename variables and Cutoff vertex mesh method: New solution for corner vertex direction This could be easily reverted but I changed some profile variable names to something more intuitive IMO (coa -> start, cob -> end, midco -> middle) The corner vertices are now placed along the simple solution of the cross of the adjacent profile plane normals. |
July 20, 2019, 02:14 (GMT) |
Bevel Tool Cut-Off Method: Mostly working implementation This is the first implementation of the cut-off vertex mesh method which just creates an N-gon at the end of each profile. There are a few items that need to be finished, but the structure is working/complete: 1. The direction and length from the boundary vertices to the cut-off faces' corner vertices. 2. Representative "example" faces for the new ngons. |
July 11, 2019, 02:01 (GMT) |
- Re-re-enable first and last point handle "fix." - Better description of bug. |
July 11, 2019, 01:36 (GMT) |
Moved "Sample Straight Edges" option from bevel operator to ProfileWidget. Added initial code for vertex mesh method selection with a "Cut Off" option to start. (Implementation of this option not included.) |
July 10, 2019, 17:27 (GMT) |
Fixed profile orientation issue with 1 segment long bevel chains. Simple fix: The first edgehalf visited had the wrong orientation. |
July 10, 2019, 03:41 (GMT) |
Merge branch 'master' into soc-2019-bevel-profiles |
July 10, 2019, 03:38 (GMT) |
Updated debug orientation drawing. This will make it easier to debug issues with the orientation calculations. It's now easier to tell which edge_half each marked profile start boundvert belongs to. |
July 10, 2019, 03:35 (GMT) |
Profile Widget added to global ToolSettings struct and edit mode bevel tool. Now the same profile widget should be accessible everywhere, so the changes should carry over from one call to the next. The tool settings for bevel are now drawn in a custom callback which also enables some fancier hiding of properties when they're not being used, which I've also taken advantage of in this commit. There are still a couple bugs with the new redo panel but the bulk of the work is finished for making the bevel tool work with custom profiles. |
July 9, 2019, 13:59 (GMT) |
Small updates and progress on adding profile widget to bevel tool. |
July 7, 2019, 18:23 (GMT) |
Profilewidget: Added option to not sample straight (vector interpolated) edges. The option is part of the bevel modifier for now, but I may move it to the profile widget. Disabled by default. |
July 6, 2019, 05:43 (GMT) |
Merge branch 'master' into soc-2019-bevel-profiles |
July 6, 2019, 05:28 (GMT) |
Many changes, mostly profile widget sampling: - Added new sampling method to profile widget for curves. - Flipped X orientation of profile in profile widget - Small UI changes to profile widget code - Removed "Sample Only Points" option as its functionality is now accessible by setting the number of segments correctly - Cleanup in profile_widget.c. Progressing towards final code there |
July 2, 2019, 21:24 (GMT) |
Fixed saving and loading of profile widget and profile widget memory leaks. Also consolidated ProfilePath and ProfileWidget structs. In the process I renamed the files that define it, and renamed some other variables for consistency. This also includes some small changes to the profile widget UI. |
June 30, 2019, 22:14 (GMT) |
Bevel Vertex Meshes: Various small changes. - Disabled Cube Corner test for custom profiles. - Re-enabled the ProfileWidget copy function, it does not cause the loading crash. - Changed variable names and added comments. |
June 28, 2019, 04:46 (GMT) |
Custom profile vertex beveling: Progress on figuring out best path forward. Also includes updates to questions for discussion. |
June 27, 2019, 21:16 (GMT) |
Custom bevel profiles: Merged calculate_profile and calculate_profile_custom. Now that I'm using the custom profile for all bevel cases, I don't need to have separate code that uses the custom bevel profiles, so I only need one function. This also changes the "reversed" parameter to flip the order of the calculated profile so it doesn't have to be done later with get_profile_point indices. |
June 27, 2019, 17:41 (GMT) |
Comments: Updated questions in comments marked with HANS-QUESTION. Deleted solved questions. |
June 27, 2019, 05:43 (GMT) |
Merge branch 'master' into soc-2019-bevel-profiles |
June 27, 2019, 05:37 (GMT) |
Initial work towards vertex mesh ADJ patterns using custom profiles. In it's current state this doesn't add much, it's far too buggy at this point. But it lays down some structure (and comments) that are the start of the vertex meshes using the custom profile. |
June 27, 2019, 05:30 (GMT) |
ProfileWidget: Added preset selection and reverse button. The preset selection selects from a few examples currently which are just defined in the C code manually for now. The preset selector is drawn as part of the ProfileWidget rather than by the bevel modifier. The reverse function flips all of the points across the y = 1 - x centerline. It will act as the manual control over the orientation of the profile. It will probably need a new icon eventually. This commit also includes various other changes including variable name changes, updated comments, and cleanup. |
|