Improve Curve extrude #47169

Closed
opened 2016-01-12 13:43:11 +01:00 by Campbell Barton · 35 comments

Ability to extrude contiguous selected segments of 2d curves. (currently it duplicates the points only)

See: https://www.youtube.com/watch?v=Bs4IAxU2c3U

Python reference implementation: P312

Ability to extrude contiguous selected segments of 2d curves. (currently it duplicates the points only) See: https://www.youtube.com/watch?v=Bs4IAxU2c3U Python reference implementation: [P312](https://archive.blender.org/developer/P312.txt)
Author
Owner

Changed status to: 'Open'

Changed status to: 'Open'
Author
Owner

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Added subscriber: @Chipe1

Added subscriber: @Chipe1

This is stupid, but I don't understand what to do.
There is a code and a video demonstrating it. The task looks easy and I am willing to do it if it isn't taken

This is stupid, but I don't understand what to do. There is a code and a video demonstrating it. The task looks easy and I am willing to do it if it isn't taken

Added subscriber: @loufis

Added subscriber: @loufis

Added subscriber: @samb96

Added subscriber: @samb96
Sam Bickley self-assigned this 2016-04-05 03:31:34 +02:00

I'd like to work on this as long as nobody else is.

I'd like to work on this as long as nobody else is.

Added subscriber: @tcorwine

Added subscriber: @tcorwine

Added subscriber: @karthik24iyer

Added subscriber: @karthik24iyer

I would like to work on this bug if no one else has

I would like to work on this bug if no one else has

Added subscriber: @DuarteRamos

Added subscriber: @DuarteRamos

Very welcome improvement, certainly handy!

Very welcome improvement, certainly handy!
Sam Bickley was unassigned by Campbell Barton 2017-03-03 15:06:54 +01:00
Member

Added subscriber: @decoda

Added subscriber: @decoda
raja kedia self-assigned this 2017-03-28 14:13:39 +02:00
Member

I would like to work with this.

I would like to work with this.
raja kedia was unassigned by Campbell Barton 2017-03-30 02:45:43 +02:00
Author
Owner

@decoda, thats fine - but I've been removing assignments from quick hacks.
Too often people loose interest and don't un-assign.

@decoda, thats fine - but I've been removing assignments from quick hacks. Too often people loose interest and don't un-assign.

Added subscriber: @derebaba

Added subscriber: @derebaba

The video shows that you can already do it. Doesn't it mean the task is done? Or is there more to it?

The video shows that you can already do it. Doesn't it mean the task is done? Or is there more to it?

It may be working but it is not committed to master nor included in any official release.
This is indeed a useful improvement though, would be nice to have for 2.8. Is that feasible?

It may be working but it is not committed to master nor included in any official release. This is indeed a useful improvement though, would be nice to have for 2.8. Is that feasible?

Added subscriber: @alourenco

Added subscriber: @alourenco

Added subscriber: @alijaya

Added subscriber: @alijaya

Hi, I just want to make sure, so we need to implement this operator in C code right? And for the operation behaviour, there's something that's not clear.
Is it only working for continuous selection or it can work in any condition? If we select disjoint selection, what will happen? And should be the edge produced by the extrude be straight, or it keeps the handle like before, or there's some adjustment for the handle?
From the python code above, I can see that he use subdivision operator to create a new node, and if I remember correctly, the subdivision change the handle position. I wonder if it's a wanted behaviour.

Hi, I just want to make sure, so we need to implement this operator in C code right? And for the operation behaviour, there's something that's not clear. Is it only working for continuous selection or it can work in any condition? If we select disjoint selection, what will happen? And should be the edge produced by the extrude be straight, or it keeps the handle like before, or there's some adjustment for the handle? From the python code above, I can see that he use subdivision operator to create a new node, and if I remember correctly, the subdivision change the handle position. I wonder if it's a wanted behaviour.

Added subscriber: @Loading_M

Added subscriber: @Loading_M

This behavior does not appear to be present in the latest build, so I would like to take this on as an early issue. Is there anything in particular I should be aware of when working on this task.

This behavior does not appear to be present in the latest build, so I would like to take this on as an early issue. Is there anything in particular I should be aware of when working on this task.
Author
Owner

Tested on a bezier curve and this is still duplicating points.

@alijaya, the python code is just a proof of concept, it's logic shouldn't be copied directly to C.

Tested on a bezier curve and this is still duplicating points. @alijaya, the python code is just a proof of concept, it's logic shouldn't be copied directly to C.
Matthew self-assigned this 2019-05-06 20:34:57 +02:00

I have created and tested a patch that implements the requested functionality: D4812

I have created and tested a patch that implements the requested functionality: [D4812](https://archive.blender.org/developer/D4812)
Matthew was unassigned by Dalai Felinto 2019-12-23 16:37:18 +01:00

Added subscriber: @dmcoder

Added subscriber: @dmcoder

I would like to work on this feature

I would like to work on this feature

Added subscriber: @Schiette

Added subscriber: @Schiette

How do I test my code (other than checking that it works) and how do I submit my code for review?

How do I test my code (other than checking that it works) and how do I submit my code for review?

Removed subscriber: @derebaba

Removed subscriber: @derebaba
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member
@dmcoder https://wiki.blender.org/wiki/Tools/CodeReview
Deep Majumder self-assigned this 2020-03-01 16:43:23 +01:00

I have submitted code for this in D6980

I have submitted code for this in [D6980](https://archive.blender.org/developer/D6980)

This issue was referenced by 38685b5a39

This issue was referenced by 38685b5a3976954634b441858cf9c5df65bbe83f

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
17 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#47169
No description provided.