GPencil: "Convert to => Grease Pencil from Curve" ignores "Cyclic U" when curve has only 2 points #76185

Closed
opened 2020-04-28 14:11:02 +02:00 by Lionel Fiévet · 9 comments

System Information
Operating system: Windows-7-6.1.7601-SP1 64 Bits
Graphics card: AMD Radeon HD 5700 Series ATI Technologies Inc. 4.5.13417 Core Profile Context 15.301.1901.0

Blender Version
Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 11:02, hash: `8da80e7771

Short description of error
Strictly speaking, this might not be a bug, but merely unexpected behaviour.
When applying "Convert to => Grease Pencil from Curve" on a bezier curve object, the conversion process disregards parts of the curve generated by "Cyclic U" if the option is checked in the curve's "Object Data Properties => Active Spline" menu. This leads to parts of the curve missing in the generated grease pencil object:

20200428_convert_to_GP_disregards_cyclic_u.png

Exact steps for others to reproduce the error

  1. Create a bezier curve object
  2. Go to the "Object Data Properties => Active Spline" menu
  3. Make sure "Cyclic U" is checked. The curve should now display as a full loop.
  4. With the curve object selected in Object Mode, open up the search menu (F3 by default) and type in "Convert to"
  5. Select "Convert to" in the results, then choose the option "Grease Pencil from Curve" in the menu that should pop up.
  6. The bezier curve should be converted to a grease pencil object
  7. Examine the grease pencil object. The parts of the curve produced by "Cyclic U" should be absent.
**System Information** Operating system: Windows-7-6.1.7601-SP1 64 Bits Graphics card: AMD Radeon HD 5700 Series ATI Technologies Inc. 4.5.13417 Core Profile Context 15.301.1901.0 **Blender Version** Broken: version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 11:02, hash: `8da80e7771 **Short description of error** Strictly speaking, this might not be a bug, but merely unexpected behaviour. When applying "Convert to => Grease Pencil from Curve" on a bezier curve object, the conversion process disregards parts of the curve generated by "Cyclic U" if the option is checked in the curve's "Object Data Properties => Active Spline" menu. This leads to parts of the curve missing in the generated grease pencil object: ![20200428_convert_to_GP_disregards_cyclic_u.png](https://archive.blender.org/developer/F8499034/20200428_convert_to_GP_disregards_cyclic_u.png) **Exact steps for others to reproduce the error** 1) Create a bezier curve object 2) Go to the "Object Data Properties => Active Spline" menu 3) Make sure "Cyclic U" is checked. The curve should now display as a full loop. 4) With the curve object selected in Object Mode, open up the search menu (F3 by default) and type in "Convert to" 5) Select "Convert to" in the results, then choose the option "Grease Pencil from Curve" in the menu that should pop up. 6) The bezier curve should be converted to a grease pencil object 7) Examine the grease pencil object. The parts of the curve produced by "Cyclic U" should be absent.
Author

Added subscriber: @Nelfie

Added subscriber: @Nelfie
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Cannot reproduce on my end tbh.

System Information
Operating system: Linux-5.5.13-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64
version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 15:18, hash: 7bc4a436a0

Just to make sure: could you share your .blend file just before converting?

Cannot reproduce on my end tbh. **System Information** Operating system: Linux-5.5.13-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One 64 Bits Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64 version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 15:18, hash: `7bc4a436a0` Just to make sure: could you share your .blend file just before converting?
Author

In #76185#919376, @lichtwerk wrote:
Cannot reproduce on my end tbh.

System Information
Operating system: Linux-5.5.13-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One 64 Bits
Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64
version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 15:18, hash: 7bc4a436a0

Just to make sure: could you share your .blend file just before converting?

Here's a file. To make sure, I duplicated the curve and tried converting it, and it behaved as described in the original post. You can see the result as the GP object in the file.
Also, just in case: another unrelated bug I have is caused by my system being too old for current Blender standards. Although it would be odd for that to be the cause here as well, it's something to keep in mind. (Maybe?)

20200428_curve_convert_ignores_cyclic_SHARE.blend

> In #76185#919376, @lichtwerk wrote: > Cannot reproduce on my end tbh. > >**System Information** >Operating system: Linux-5.5.13-200.fc31.x86_64-x86_64-with-fedora-31-Thirty_One 64 Bits >Graphics card: GeForce GTX 970M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 440.64 >version: 2.90 (sub 0), branch: master, commit date: 2020-04-28 15:18, hash: 7bc4a436a0 > > Just to make sure: could you share your .blend file just before converting? Here's a file. To make sure, I duplicated the curve and tried converting it, and it behaved as described in the original post. You can see the result as the GP object in the file. Also, just in case: another unrelated bug I have is caused by my system being too old for current Blender standards. Although it would be odd for that to be the cause here as well, it's something to keep in mind. (Maybe?) [20200428_curve_convert_ignores_cyclic_SHARE.blend](https://archive.blender.org/developer/F8499517/20200428_curve_convert_ignores_cyclic_SHARE.blend)
Antonio Vazquez self-assigned this 2020-04-29 08:42:28 +02:00

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'

The error is when the curve has only 2 points. I will take a look.

The error is when the curve has only 2 points. I will take a look.
Antonio Vazquez changed title from Grease Pencil / Curves : "Convert to => Grease Pencil from Curve" ignores "Cyclic U" to GPencil: "Convert to => Grease Pencil from Curve" ignores "Cyclic U" when curve has only 2 points 2020-04-29 08:44:35 +02:00

This issue was referenced by 601a1a3fda

This issue was referenced by 601a1a3fdae0bb87f6e6b54b594f0f685a94998a

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Sign in to join this conversation.
4 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: blender/blender#76185
No description provided.