bezier curve extrusion seems to be wrong after applying scale. #34533

Closed
opened 2013-03-05 07:50:23 +01:00 by Alexander N. · 6 comments
Member

%%%--- Operating System, Graphics card ---
Windows 7 SP1 64bit,

- Blender version with error, and version that worked ---

blender-2.66-windows64.7z - with issues

- Short description of error ---

i don't know, if that is a bug,
but when i scale a curve and apply its scale, so that the scale is set to 1 without reducing the dimension of the curve, after that, when i enter a value in the extrude field, it seems that this value will remember its previous scale.
(Curve.extrude / bpy.data.curves['...'].extrude)

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

see attached .blend file, there are four bezier circles.

BezierCircle.1:
1. default BezierCircle without any scale.
2. exturde by 1 unit, extrudes the circle by 1 unit.

BezierCircle.s3:
1. default BezierCircle with scale of 3 units on object level.
2. exturde by 1 unit, extrudes the circle by 3 unit.

  (this is what i expected)

BezierCircle.s3as:
1. default BezierCircle with scale of 3 units on object level and applied scale.
2. exturde by 1 unit, extrudes the circle by 3 unit.

  (this looks wrong to me, the extrusion should be 1 unit, because i applied the scale before i added an extrusion of 1)

BezierCircle.es3:
1. default BezierCircle with scale of 3 units in edit mode.
2. exturde by 1 unit, extrudes the circle by 1 unit.

  (this is what i expected)

%%%

%%%--- Operating System, Graphics card --- Windows 7 SP1 64bit, - Blender version with error, and version that worked --- blender-2.66-windows64.7z - with issues - Short description of error --- i don't know, if that is a bug, but when i scale a curve and apply its scale, so that the scale is set to 1 without reducing the dimension of the curve, after that, when i enter a value in the extrude field, it seems that this value will remember its previous scale. (Curve.extrude / bpy.data.curves['...'].extrude) - Steps for others to reproduce the error (preferably based on attached .blend file) --- see attached .blend file, there are four bezier circles. BezierCircle.1: 1. default BezierCircle without any scale. 2. exturde by 1 unit, extrudes the circle by 1 unit. BezierCircle.s3: 1. default BezierCircle with scale of 3 units on object level. 2. exturde by 1 unit, extrudes the circle by 3 unit. ``` (this is what i expected) ``` BezierCircle.s3as: 1. default BezierCircle with scale of 3 units on object level and applied scale. 2. exturde by 1 unit, extrudes the circle by 3 unit. ``` (this looks wrong to me, the extrusion should be 1 unit, because i applied the scale before i added an extrusion of 1) ``` BezierCircle.es3: 1. default BezierCircle with scale of 3 units in edit mode. 2. exturde by 1 unit, extrudes the circle by 1 unit. ``` (this is what i expected) ``` %%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

#82706 was marked as duplicate of this issue

#82706 was marked as duplicate of this issue

%%%Amount of extrusion is actually Extrusion * Curve Radius. When you apply scale on a curve, it's radius is getting scaled as well. This is needed to preserve shape when you're using bevel object and affecting on shape using radius.

This is like two conflicting things -- preserve exact shape of object when applying transformations (which is currently what we do) and as in your case preserving units behaving as in pre-scaled object.

IMO, preserving shape is more important and once you've understand what apply transformation is doing exactly, it's easy to correct values so you could continue modelling.

Thanks for the report, but would not consider this is bug.%%%

%%%Amount of extrusion is actually Extrusion * Curve Radius. When you apply scale on a curve, it's radius is getting scaled as well. This is needed to preserve shape when you're using bevel object and affecting on shape using radius. This is like two conflicting things -- preserve exact shape of object when applying transformations (which is currently what we do) and as in your case preserving units behaving as in pre-scaled object. IMO, preserving shape is more important and once you've understand what apply transformation is doing exactly, it's easy to correct values so you could continue modelling. Thanks for the report, but would not consider this is bug.%%%

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Author
Member

%%%ok, this this knowledge i can live.
i did not realize that in this case the radius has an other value and controls the extrusion.
thanks for clarify.%%%

%%%ok, this this knowledge i can live. i did not realize that in this case the radius has an other value and controls the extrusion. thanks for clarify.%%%

Added subscribers: @RobertS, @EAW, @iss

Added subscribers: @RobertS, @EAW, @iss
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#34533
No description provided.