Origin Offset: Simple Deform modifier (Bend) #42574

Closed
opened 2014-11-12 02:04:26 +01:00 by Leon Cheung · 13 comments
Member

System Information
Win8.1 64bit | GTX680

Blender Version
Broken: 2.72.2 0627bc2

Short description of error
Unlike other type (Twist, Taper and Stretch), The Origin of Bend seems not behave as its expected origin / center.

Exact steps for others to reproduce the error

Please see attached demo.

bend_origin.jpg
bend_test.blend

Thanks.

**System Information** Win8.1 64bit | GTX680 **Blender Version** Broken: 2.72.2 0627bc2 **Short description of error** Unlike other type (Twist, Taper and Stretch), The Origin of **Bend** seems not behave as its expected origin / center. **Exact steps for others to reproduce the error** Please see attached demo. ![bend_origin.jpg](https://archive.blender.org/developer/F123370/bend_origin.jpg) [bend_test.blend](https://archive.blender.org/developer/F123372/bend_test.blend) Thanks.
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @ZhangYu

Added subscriber: @ZhangYu
Campbell Barton was assigned by Lukas Tönne 2014-11-12 11:02:05 +01:00
Member

Added subscribers: @ideasman42, @LukasTonne

Added subscribers: @ideasman42, @LukasTonne
Member

@ideasman42: Do you know how this thing is supposed to work? I can't say what the correct behavior would be, the math looks correct ...

@ideasman42: Do you know how this thing is supposed to work? I can't say what the correct behavior would be, the math looks correct ...
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Considering that this is a test build please try to test this in Blender 2.72b

Considering that this is a test build please try to test this in Blender 2.72b
Member

Adding myself

Adding myself
Author
Member

OK. Now I think it is something about the algorithm, which at least works since 2.4x. So I admit that this may not be a real bug. The Origin is just a offset, not a "center".

bend_test2.blend
compare.jpg
249.jpg

OK. Now I think it is something about the algorithm, which at least works since 2.4x. So I admit that this may not be a real bug. The **Origin** is just a offset, not a "center". [bend_test2.blend](https://archive.blender.org/developer/F123585/bend_test2.blend) ![compare.jpg](https://archive.blender.org/developer/F123586/compare.jpg) ![249.jpg](https://archive.blender.org/developer/F123589/249.jpg)
Member

Is the Origin point of your mesh in the center?

Is the Origin point of your mesh in the center?
Member

I don't no too much about c however he is the file that i believe that the modifier is in rna_modifier.c

static void rna_def_modifier_simpledeform(BlenderRNA *brna)
{
	StructRNA *srna;
	PropertyRNA *prop;

	static EnumPropertyItem simple_deform_mode_items[] = {
		{MOD_SIMPLEDEFORM_MODE_TWIST, "TWIST", 0, "Twist", "Rotate around the Z axis of the modifier space"},
		{MOD_SIMPLEDEFORM_MODE_BEND, "BEND", 0, "Bend", "Bend the mesh over the Z axis of the modifier space"},
		{MOD_SIMPLEDEFORM_MODE_TAPER, "TAPER", 0, "Taper", "Linearly scale along Z axis of the modifier space"},
		{MOD_SIMPLEDEFORM_MODE_STRETCH, "STRETCH", 0, "Stretch",
		                                "Stretch the object along the Z axis of the modifier space"},
		{0, NULL, 0, NULL, NULL}
	};

I don't no too much about c however he is the file that i believe that the modifier is in [rna_modifier.c](https://archive.blender.org/developer/F123673/rna_modifier.c) ``` static void rna_def_modifier_simpledeform(BlenderRNA *brna) { StructRNA *srna; PropertyRNA *prop; static EnumPropertyItem simple_deform_mode_items[] = { {MOD_SIMPLEDEFORM_MODE_TWIST, "TWIST", 0, "Twist", "Rotate around the Z axis of the modifier space"}, {MOD_SIMPLEDEFORM_MODE_BEND, "BEND", 0, "Bend", "Bend the mesh over the Z axis of the modifier space"}, {MOD_SIMPLEDEFORM_MODE_TAPER, "TAPER", 0, "Taper", "Linearly scale along Z axis of the modifier space"}, {MOD_SIMPLEDEFORM_MODE_STRETCH, "STRETCH", 0, "Stretch", "Stretch the object along the Z axis of the modifier space"}, {0, NULL, 0, NULL, NULL} }; ```
Member

Okay I agree with you I Believe it is the algorithm

A moved the origin point of the modify to give it more of an effect then applied the modifier. Sub dividing one of the surfaces I can see that it is off.

OFF.png

Okay I agree with you I Believe it is the algorithm A moved the origin point of the modify to give it more of an effect then applied the modifier. Sub dividing one of the surfaces I can see that it is off. ![OFF.png](https://archive.blender.org/developer/F123676/OFF.png)

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

This is working as intended, updated tip f51b583ea0

This is working as intended, updated tip f51b583ea0
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
4 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#42574
No description provided.