Applying Scale to Curves is ignored by Bevel and Geometry settings #78568

Closed
opened 2020-07-03 08:49:37 +02:00 by Andreas Resch · 11 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 446.14

Blender Version
Broken: version: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: 8289fc688b
Worked: (newest version of Blender that worked as expected)

Short description of error
When I import a curve (for example from Illustrator as SVG), scale it up and apply "Apply Scale" afterwards, everything looks fine in the size information. But when I change the setting for Depth, Extrude, Offset etc. in the Object Data Properties tab, the values are not correct and i seems as if the original scaling is applied on top of the actual value I was entering.

Exact steps for others to reproduce the error
*) Import some curve (for example as SVG)
*) Scale it up (let's say by 125)
*) "Apply Scale" to that curve so the scale values all show "1.000"
*) Go to the Object Data Properties tab and set the value for Extrude to 1 (in my case 1cm)
*) The height of the extruded curve is now 250cm (2cm * 125) instead of 2cm

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 446.14 **Blender Version** Broken: version: 2.83.1, branch: master, commit date: 2020-06-25 09:47, hash: `8289fc688b` Worked: (newest version of Blender that worked as expected) **Short description of error** When I import a curve (for example from Illustrator as SVG), scale it up and apply "Apply Scale" afterwards, everything looks fine in the size information. But when I change the setting for Depth, Extrude, Offset etc. in the Object Data Properties tab, the values are not correct and i seems as if the original scaling is applied on top of the actual value I was entering. **Exact steps for others to reproduce the error** *) Import some curve (for example as SVG) *) Scale it up (let's say by 125) *) "Apply Scale" to that curve so the scale values all show "1.000" *) Go to the Object Data Properties tab and set the value for Extrude to 1 (in my case 1cm) *) The height of the extruded curve is now 250cm (2cm * 125) instead of 2cm
Author

Added subscriber: @AndreasResch

Added subscriber: @AndreasResch

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Can you provide the .svg file or the .blend file itself with the imported curve?

Can you provide the .svg file or the .blend file itself with the imported curve?
Author

Here's a simple circle exported by Illustrator. You'll have to scale it by 125 to get to the scale from Illustrator.Circle_2cm_Normal.svg

Here's a simple circle exported by Illustrator. You'll have to scale it by 125 to get to the scale from Illustrator.![Circle_2cm_Normal.svg](https://archive.blender.org/developer/F8675571/Circle_2cm_Normal.svg)

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

Changed status from 'Needs Triage' to: 'Archived'
Germano Cavalcante self-assigned this 2020-07-07 15:50:56 +02:00

Thanks for the report, but there is no bug here.
Extrude is a property that depends on the normal of each point.
This is to allow effects like this:
image.png

You can view the normal when the curve is 3D. and the "Normals" option is enabled in the viewport overlay.

Thanks for the report, but there is no bug here. Extrude is a property that depends on the normal of each point. This is to allow effects like this: ![image.png](https://archive.blender.org/developer/F8675590/image.png) You can view the normal when the curve is 3D. and the "Normals" option is enabled in the viewport overlay.
Author

What do the normals have to do with the scale issue? Is there a scale assigned to the normals? And how can I display the normals for a curve object?

How can this be explained via normals?
Units_03.jpg

What do the normals have to do with the scale issue? Is there a scale assigned to the normals? And how can I display the normals for a curve object? How can this be explained via normals? ![Units_03.jpg](https://archive.blender.org/developer/F8675617/Units_03.jpg)

The overlay panel is called "normal", but the transform panel is called "radius":
https://docs.blender.org/manual/en/latest/modeling/curves/editing/curve.html#radius

The overlay panel is called "normal", but the transform panel is called "radius": https://docs.blender.org/manual/en/latest/modeling/curves/editing/curve.html#radius
Author

So the question is, why does "Apply Scale" on a curve change the value of "Mean Radius"?

So the question is, why does "Apply Scale" on a curve change the value of "Mean Radius"?

This has been the case since the original code. And if changed, it would affect many users.

In my opinion it is reasonable to apply the scale value for the radius as well. This keeps the generated geometry equal before and after being applied.

If the radius value was not changed/applied, the observable value of the extrude or bevel would change in the generated geometry.

Many would think that this is a bug.

This has been the case since the original code. And if changed, it would affect many users. In my opinion it is reasonable to apply the scale value for the radius as well. This keeps the generated geometry equal before and after being applied. If the radius value was not changed/applied, the observable value of the extrude or bevel would change in the generated geometry. Many would think that this is a bug.
Author

This logic may apply when you fiddle with a curve and then scale it. But if you scale the curve first and start to work on it after that, everything falls apart and the values for Extrude, Offset etc. are meaningless. Unless you go into Edit Mode, set the "Mean Radius" to 1 and start working on the curve afterwards.

And there's another issue. Let's say I have changed the "Mean Radius" values to nice numbers like "1", "2", "0.5" etc. because I've set them numerically considering some proportions. If I scale the curve by let's say "2.654434" (cause I did it visually) and use "Apply Scale" afterwards, those "Mean Radius" values are all messed up and changing them in relation to each other becomes really hard.

So overall I don't think that the "Mean Radius" values should never be messed with from outside as they represent proportional values with "1" being "normal". When I scale the curve by 10 and use "Apply Scale", suddenly "10" is "normal" (plus the values for Extrude, Offset etc. are not really representative any more.

From a logical standpoint, this isn't a very elegant solution. But if you don't want to mess with old decisions, then that's that.

This logic may apply when you fiddle with a curve and then scale it. But if you scale the curve first and start to work on it after that, everything falls apart and the values for Extrude, Offset etc. are meaningless. Unless you go into Edit Mode, set the "Mean Radius" to 1 and start working on the curve afterwards. And there's another issue. Let's say I have changed the "Mean Radius" values to nice numbers like "1", "2", "0.5" etc. because I've set them numerically considering some proportions. If I scale the curve by let's say "2.654434" (cause I did it visually) and use "Apply Scale" afterwards, those "Mean Radius" values are all messed up and changing them in relation to each other becomes really hard. So overall I don't think that the "Mean Radius" values should never be messed with from outside as they represent proportional values with "1" being "normal". When I scale the curve by 10 and use "Apply Scale", suddenly "10" is "normal" (plus the values for Extrude, Offset etc. are not really representative any more. From a logical standpoint, this isn't a very elegant solution. But if you don't want to mess with old decisions, then that's that.
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
2 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#78568
No description provided.