Bevel objects along 3D curves get distorted #50720

Closed
opened 2017-02-19 01:57:18 +01:00 by Peter Romero · 9 comments

System Information
Windows 10; Intel Iris Graphics 6100

Blender Version
Broken: 2.78; 4bb1e22

Short description of error
Size and shape of bevel object does not stay consistent when sweeping along a 3D path. Simple example: sweeping a square along a 3D path that consists only of orthogonal segments results in non-flat faces, strange hexagonal cross sections in spots and general non-rectilinear output.

Exact steps for others to reproduce the error
See attached .blend file.

3D Bevel.blend

**System Information** Windows 10; Intel Iris Graphics 6100 **Blender Version** Broken: 2.78; 4bb1e22 **Short description of error** Size and shape of bevel object does not stay consistent when sweeping along a 3D path. Simple example: sweeping a square along a 3D path that consists only of orthogonal segments results in non-flat faces, strange hexagonal cross sections in spots and general non-rectilinear output. **Exact steps for others to reproduce the error** See attached .blend file. [3D Bevel.blend](https://archive.blender.org/developer/F489358/3D_Bevel.blend)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @aprilwine

Added subscriber: @aprilwine

Added subscribers: @Sergey, @mont29

Added subscribers: @Sergey, @mont29
Sergey Sharybin was assigned by Bastien Montagne 2017-02-19 09:28:23 +01:00

I don’t think there is any bug here, you are somewhat abusing the curve bevel feature, it’s not designed to handle that kind of things (it’s rather designed to handle rather smooth, organic shaping). Will let @Sergey decide here, though.

I don’t think there is any bug here, you are somewhat abusing the curve bevel feature, it’s not designed to handle that kind of things (it’s rather designed to handle rather smooth, organic shaping). Will let @Sergey decide here, though.
Author

My example was an extreme edge case to illustrate a more subtle problem. I think the issue here is that, regardless of the intended behavior, the curve bevel feature has created an expectation (a mathematical axiom) in the mind of the average user. The axiom is that a cross section normal to the curve at any point should be identical to the bevel object in shape and size. 2D curves always follow this axiom, but 3D curves only follow it part of the time. The way it is now, the tool cannot be used to create certain common shapes, like handrails, etc. See the attached .blend file for an example. If we don't want to break the existing functionality, maybe we should add an option to address this use case, like a checkbox on 3D curves called "Consistent Width" or "Handrail Mode" or something. Thoughts?

Axiom.blend

My example was an extreme edge case to illustrate a more subtle problem. I think the issue here is that, regardless of the intended behavior, the curve bevel feature has created an expectation (a mathematical axiom) in the mind of the average user. The axiom is that a cross section normal to the curve at any point should be identical to the bevel object in shape and size. 2D curves always follow this axiom, but 3D curves only follow it part of the time. The way it is now, the tool cannot be used to create certain common shapes, like handrails, etc. See the attached .blend file for an example. If we don't want to break the existing functionality, maybe we should add an option to address this use case, like a checkbox on 3D curves called "Consistent Width" or "Handrail Mode" or something. Thoughts? [Axiom.blend](https://archive.blender.org/developer/F490323/Axiom.blend)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Can see two cases here. First one is the bevel not being orthogonal in the first case. This is caused by the bevel object rotated according to the curve twist, which is currently set to Minimal Twist. Using Z-Up with some manual control over the bottom CV will fix this issue.

Second issue is caused by Blender's bevel is keeping constant shape of the "extruded" geometry. This works fine for such things s hair and wires, but fails for more technical usecase as you've got.

Not saying it's ideal, but that's how bevel is currently expected to work. Curves area did not change in ages and surely needs modernization.

Will consider it a TODO listed there: https://wiki.blender.org/index.php/Dev:Source/Development/Todo/Tools#Curves

Thanks for the report anyway!

Can see two cases here. First one is the bevel not being orthogonal in the first case. This is caused by the bevel object rotated according to the curve twist, which is currently set to `Minimal Twist`. Using `Z-Up` with some manual control over the bottom CV will fix this issue. Second issue is caused by Blender's bevel is keeping constant shape of the "extruded" geometry. This works fine for such things s hair and wires, but fails for more technical usecase as you've got. Not saying it's ideal, but that's how bevel is currently expected to work. Curves area did not change in ages and surely needs modernization. Will consider it a TODO listed there: https://wiki.blender.org/index.php/Dev:Source/Development/Todo/Tools#Curves Thanks for the report anyway!
Author

Sounds good! I think there's a typo in the link on the TODO page (TT instead of T).

Sounds good! I think there's a typo in the link on the TODO page (TT instead of T).

Ah, you're right. We use mediawiki template for the link which adds T (which i always forget). Fixed now!

Ah, you're right. We use mediawiki template for the link which adds T (which i always forget). Fixed now!
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#50720
No description provided.