Curve Simplify uses wrong dimensions #52973

Closed
opened 2017-10-02 10:53:18 +02:00 by Sebastian Koenig · 6 comments

System Information
eOS 0.4.1, GTX980ti

Blender Version
Broken: 2.79,1, e8a0812a3b

Short description of error
Simplify Curves (release/scripts/addons/curve_simplify.py) is a nice addon that comes in handy for example when you want to simplify a 3D Curve that you generated from a Grease Pencil curve. However, it seems to fail to assign the correct curve dimensions. After using the Simplify Curve operator on a curve, it first looks correct, but once you go into edit mode it jumps to a different location and shape. I think it is because the addon doesn't make the curve a 3D curve, but keeps it as a 2D Shape. When I make it a 3D Shape before going into edit mode it works just fine. I have a patch for the addon which seems to fix it, because this seems to be the intended behavior.
curve_simplify.diff

Exact steps for others to reproduce the error
Open the attached blendfile. There is a curve which was generated by converting a grease pencil stroke to a curve and after that running the Simplify Curves addon. It seems to be a 3dimenional object, even though the curve data shows it is a 2D shape. Now press Tab. The curve becomes a flat shape. If you undo that, make the curve a 3D shape and hit Tab again, it works fine.
curve_simplify_dimensions.blend

**System Information** eOS 0.4.1, GTX980ti **Blender Version** Broken: 2.79,1, e8a0812a3b **Short description of error** Simplify Curves (release/scripts/addons/curve_simplify.py) is a nice addon that comes in handy for example when you want to simplify a 3D Curve that you generated from a Grease Pencil curve. However, it seems to fail to assign the correct curve dimensions. After using the Simplify Curve operator on a curve, it first looks correct, but once you go into edit mode it jumps to a different location and shape. I think it is because the addon doesn't make the curve a 3D curve, but keeps it as a 2D Shape. When I make it a 3D Shape before going into edit mode it works just fine. I have a patch for the addon which seems to fix it, because this seems to be the intended behavior. [curve_simplify.diff](https://archive.blender.org/developer/F927106/curve_simplify.diff) **Exact steps for others to reproduce the error** Open the attached blendfile. There is a curve which was generated by converting a grease pencil stroke to a curve and after that running the Simplify Curves addon. It seems to be a 3dimenional object, even though the curve data shows it is a 2D shape. Now press Tab. The curve becomes a flat shape. If you undo that, make the curve a 3D shape and hit Tab again, it works fine. [curve_simplify_dimensions.blend](https://archive.blender.org/developer/F927161/curve_simplify_dimensions.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @sebastian_k

Added subscriber: @sebastian_k

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

I'll look into it.

I'll look into it.

This issue was referenced by dfdf55714c

This issue was referenced by dfdf55714c8536c6f8ecac5ce865fe932d6d4308

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
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-addons#52973
No description provided.