2nd array modifier end cap offset #79498

Closed
opened 2020-08-04 06:34:54 +02:00 by shannon zachow · 8 comments

System Information
Operating system: Linux
Graphics card: NVidia

Blender Version
Broken: 2.83.3, 2.91.0a (8356012068, built 2020-08-03)
Worked:

Short description of error
2 array modifiers:
1st array modifier for span of elements between fence-posts, + start cap (one fence-post per span)
2nd array modifier for multiple spans, + end cap (last extra fence-post)
problem: last end cap is offset by +1 unit.

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

**System Information** Operating system: Linux Graphics card: NVidia **Blender Version** Broken: 2.83.3, 2.91.0a (8356012068d0, built 2020-08-03) Worked: **Short description of error** 2 array modifiers: 1st array modifier for span of elements between fence-posts, + start cap (one fence-post per span) 2nd array modifier for multiple spans, + end cap (last extra fence-post) problem: last end cap is offset by +1 unit. **Exact steps for others to reproduce the error** see attached file [test014_arrayCaps.blend](https://archive.blender.org/developer/F8743548/test014_arrayCaps.blend)
Author

Added subscriber: @shannonz-1

Added subscriber: @shannonz-1
Contributor

Added subscriber: @Raimund58

Added subscriber: @Raimund58
Contributor

"Linux" and "NVidia" are not really sufficient descriptions of your OS/hardware.

"Linux" and "NVidia" are not really sufficient descriptions of your OS/hardware.

Added subscriber: @Pasang

Added subscriber: @Pasang

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Pasang Bomjan self-assigned this 2020-08-04 11:44:51 +02:00

There is no bug here. The modifier is working as intended.
test015_arrayCaps.blend
Here's how I did it. There are more ways of doing it.
Check how the origin of the each cap piece has been shifted.

Screenshot (119).png
You can also just duplicate the red piece and rotate it to avoid duplicating the cap pieces.

If you have problems just comment.

There is no bug here. The modifier is working as intended. [test015_arrayCaps.blend](https://archive.blender.org/developer/F8744126/test015_arrayCaps.blend) Here's how I did it. There are more ways of doing it. Check how the origin of the each cap piece has been shifted. ![Screenshot (119).png](https://archive.blender.org/developer/F8744130/Screenshot__119_.png) You can also just duplicate the red piece and rotate it to avoid duplicating the cap pieces. If you have problems just comment.
Author

The red and blue instances are not the same thing rotated, although they should appear to be.
Red: each span has a start_cap, and the whole has an end_cap.
Blue: each span has an end_cap, and the whole has a start_cap.
They behave differently, although why this should be so is a mystery.

In your modified version of test015_arrayCaps.blend:

  1. select blue Cube.001
  2. in Array_Modifier "0Array" adjust Count parameter up & down.
  3. The origin-offset for blue Start_Cap is f(Count), and this file now has 3 or 4 compensating versions of what in an ideal world should be one object.
The red and blue instances are not the same thing rotated, although they should appear to be. Red: each span has a start_cap, and the whole has an end_cap. Blue: each span has an end_cap, and the whole has a start_cap. They behave differently, although why this should be so is a mystery. In your modified version of test015_arrayCaps.blend: 1. select blue Cube.001 2. in Array_Modifier "0Array" adjust Count parameter up & down. 3. The origin-offset for blue Start_Cap is f(Count), and this file now has 3 or 4 compensating versions of what in an ideal world should be one object.

Modifiers are transform sensitive.
For your case, you must need at least 2 cap pieces.
Array Caps 1.png


Behind the scene of how star/end cap work.
Array Caps 3.png
To snap the start cap to the first copy, you must shift the center of the cap piece, which is what I did in your test file. It gets more confusing with start cap in one array and end cap in another array modifier.


These options would improve the behavior of Array Start/End cap experience:

  • Flip the cap pieces (for the first issue)
  • Snap with bounds (for the second issue)

As you can see, there is no bug in the code. You can you https://blender.community/c/rightclickselect/ to create

Modifiers are transform sensitive. For your case, you must need at least 2 cap pieces. ![Array Caps 1.png](https://archive.blender.org/developer/F8747605/Array_Caps_1.png) ----- Behind the scene of how star/end cap work. ![Array Caps 3.png](https://archive.blender.org/developer/F8748020/Array_Caps_3.png) To snap the start cap to the first copy, you must shift the center of the cap piece, which is what I did in your test file. It gets more confusing with start cap in one array and end cap in another array modifier. ---------------- **These options would improve the behavior of Array Start/End cap experience:** - ***Flip the cap pieces*** (for the first issue) - ***Snap with bounds*** (for the second issue) ------------ As you can see, there is no bug in the code. You can you https://blender.community/c/rightclickselect/ to create
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#79498
No description provided.