Solidify "Thickness" value snaps when scene Units set to "Imperial" at Scale of thousandths (0.001) or less #81552

Closed
opened 2020-10-08 20:29:08 +02:00 by KiJeon · 10 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00

Blender Version
Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-30 18:50, hash: 2c317457cb
Seems to be an issue even before the 2.8x+ series.

Short description of error
For some reason, the default Blender units seem to be 1000 times smaller than what it should be, leading to tiny models when exporting .stl files for 3D printing and opening in other programs (e.g. Cura).
So to compensate, I set the "Scene Scale" to 0.001.

An issue arises when I'm working in the "Imperial" Unity System and I try to change the Solidify Thickness value on an object.
Instead of smoothly changing values, it snaps between only two values (e.g. -0.393701" and 0.393701")

This issue goes away when simply changing the Unit System to "Metric", but this isn't ideal because I tend to work with measurements in inches for my models.

Exact steps for others to reproduce the error

  1. Change Unit System to "Imperial".
  2. Change Unit Scale to "0.001" or lower.
  3. Create an object and add a Solidify Modifier.
  4. Try changing the Thickness value.

Test file: ImperialScaleIssue.blend

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 432.00 **Blender Version** Broken: version: 2.91.0 Alpha, branch: master, commit date: 2020-09-30 18:50, hash: `2c317457cb` Seems to be an issue even before the 2.8x+ series. **Short description of error** For some reason, the default Blender units seem to be 1000 times smaller than what it should be, leading to tiny models when exporting .stl files for 3D printing and opening in other programs (e.g. Cura). So to compensate, I set the "Scene Scale" to 0.001. An issue arises when I'm working in the "Imperial" Unity System and I try to change the Solidify Thickness value on an object. Instead of smoothly changing values, it snaps between only two values (e.g. -0.393701" and 0.393701") This issue goes away when simply changing the Unit System to "Metric", but this isn't ideal because I tend to work with measurements in inches for my models. **Exact steps for others to reproduce the error** 1. Change Unit System to "Imperial". 2. Change Unit Scale to "0.001" or lower. 3. Create an object and add a Solidify Modifier. 4. Try changing the Thickness value. Test file: [ImperialScaleIssue.blend](https://archive.blender.org/developer/F8968679/ImperialScaleIssue.blend)
Author

Added subscriber: @0o00o0oo

Added subscriber: @0o00o0oo

Added subscribers: @HDMaster84, @mano-wii

Added subscribers: @HDMaster84, @mano-wii

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

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

Thanks for the report, I can confirm the bug.

@HDMaster84, Is this something for you?

Thanks for the report, I can confirm the bug. @HDMaster84, Is this something for you?
Member

This is not specific to solidify. It also occurs with other sliders that are using the length unit like the merge threshold in mirror modifier and in weld modifier.
It occurs in imperial when the unit scale is smaller than 0.001.
For metric it happens with a scale of 0.00001.

Note: the weird stepsizes occur exactly when there is a length smaller than 1 thou/µm. Lengths smaller than 1 thou/µm are strangely enough displayed in the base unit (feet/m by default).
Also Note: for metric it is even weirder because at a scale of 0.00001 it shows actual wrong values.

The issue is somewhere in the execution of ui_get_but_step_unit in interface.c but probably deeper in the unit system.

This is not specific to solidify. It also occurs with other sliders that are using the length unit like the merge threshold in mirror modifier and in weld modifier. It occurs in imperial when the unit scale is smaller than 0.001. For metric it happens with a scale of 0.00001. Note: the weird stepsizes occur exactly when there is a length smaller than 1 thou/µm. Lengths smaller than 1 thou/µm are strangely enough displayed in the base unit (feet/m by default). Also Note: for metric it is even weirder because at a scale of 0.00001 it shows actual wrong values. The issue is somewhere in the execution of `ui_get_but_step_unit` in `interface.c` but probably deeper in the unit system.

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

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

So this is a problem with all sliders that use the unit system?
In this case, the report must be edited and directed to the #user_interface team.

So this is a problem with all sliders that use the unit system? In this case, the report must be edited and directed to the #user_interface team.
Member

new bug report with this issue with the correct project: #81664.
related #81663.

new bug report with this issue with the correct project: #81664. related #81663.

Thanks for the reports @HDMaster84 :)
I will merge this one into the #81664 then.

Thanks for the reports @HDMaster84 :) I will merge this one into the #81664 then.

Closed as duplicate of #81664

Closed as duplicate of #81664
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#81552
No description provided.