Array Modifier, Relative Offset, End Caps location doesn't make sense #33577

Closed
opened 2012-12-17 07:17:37 +01:00 by Alan Ferguson · 7 comments

%%%Blender 2.65.0 r52859 Linux 64 bit

At best the array relative offset behaviour for the end caps is confusing to me, perhaps this is a bug ---

In the attached blend, I have 3 objects, a cylinder with open ends, and two cones that should serve as end caps. The cylinder has a height of 2 with 1 unit extending below the z plane and one unit above the z plane. The top and bottom end cap cones have their origin at 0.0.0. I have added an array modifier and set it to Relative Offset (0,0,1). I expect the end caps to sit nicely at the end of the cylinder. What I get is end caps that float 1 unit above and below what I would expect.

Are my expectations weird?

%%%

%%%Blender 2.65.0 r52859 Linux 64 bit At best the array relative offset behaviour for the end caps is confusing to me, perhaps this is a bug --- In the attached blend, I have 3 objects, a cylinder with open ends, and two cones that should serve as end caps. The cylinder has a height of 2 with 1 unit extending below the z plane and one unit above the z plane. The top and bottom end cap cones have their origin at 0.0.0. I have added an array modifier and set it to Relative Offset (0,0,1). I expect the end caps to sit nicely at the end of the cylinder. What I get is end caps that float 1 unit above and below what I would expect. Are my expectations weird? %%%
Author

Changed status to: 'Open'

Changed status to: 'Open'

%%%I see what you are getting at, but there is really no way for the code to know where you have chosen to place the origin point. The origin point of your cone is 1 unit away from the boundary of the bounding box of the cylinder, as you have specified in the Relative Offset value. If you had placed the cone origin point at the tip of the cone you would see no gap.%%%

%%%I see what you are getting at, but there is really no way for the code to know where you have chosen to place the origin point. The origin point of your cone is 1 unit away from the boundary of the bounding box of the cylinder, as you have specified in the Relative Offset value. If you had placed the cone origin point at the tip of the cone you would see no gap.%%%
Member

%%%I will ask Ben if he can confirm it as "known limitation by design".%%%

%%%I will ask Ben if he can confirm it as "known limitation by design".%%%

%%%I think it could use the size of the bounding box of the caps to position them, now it's always using the bounding box of the mesh with the modifier. I'm not sure if that's always good though, and it would break backwards compatibility unless an option is added for this.%%%

%%%I think it could use the size of the bounding box of the caps to position them, now it's always using the bounding box of the mesh with the modifier. I'm not sure if that's always good though, and it would break backwards compatibility unless an option is added for this.%%%
Author

%%%The thickness of the end caps isn't what's bothering me here. If you set the count to 1, the bottom end cap is placed down one cylinder height and the upper cap is placed 1 one cylinder height (or more fully count*cylinder height) up. The total distance is always one cylinder height too much IMHO.

I agree that changing this behaviour would be a compatibility breaker. I guess if you checked version numbers and adjusted the old files for the new behaviour, would help some. But it still could trip up the expert user who was used to the old behaviour.

(User interface design wibbly-wobbly and compatibility breaker to boot. I wouldn’t blame you a bit if you marked this as “low priority” and ignored it. )
%%%

%%%The thickness of the end caps isn't what's bothering me here. If you set the count to 1, the bottom end cap is placed down one cylinder height and the upper cap is placed 1 one cylinder height (or more fully count*cylinder height) up. The total distance is always one cylinder height too much IMHO. I agree that changing this behaviour would be a compatibility breaker. I guess if you checked version numbers and adjusted the old files for the new behaviour, would help some. But it still could trip up the expert user who was used to the old behaviour. (User interface design wibbly-wobbly and compatibility breaker to boot. I wouldn’t blame you a bit if you marked this as “low priority” and ignored it. ) %%%

%%%Checked on this and its not changed since 2.4x,

The way it works is the offset is a multiplier of the height.

In the example you uploaded set offset to 0.5.

closing.%%%

%%%Checked on this and its not changed since 2.4x, The way it works is the offset is a multiplier of the height. In the example you uploaded set offset to 0.5. closing.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
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
5 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#33577
No description provided.