Add Curve Extra Objects addon fails when adding Curvy Curve #96342

Closed
opened 2022-03-11 17:25:54 +01:00 by Joe Ashear · 9 comments

System Information
Operating system: macOS-11.6.3-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon R9 M295X OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.6.21

Blender Version
Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: blender/blender@c77597cd0e
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: Extra Objects (0, 1, 5)
Author: Multiple Authors

Short description of error
When I choose Add › Curve › Curly Curve, the command fails with a Python error:

Python: Traceback (most recent call last):

File "/Users/Joe/Applications/3D/Blender/Blender 3.1.app/Contents/Resources/3.1/scripts/addons/add_curve_extra_objects/add_curve_curly.py", line 548, in execute
  add_type1(self, context)
File "/Users/Joe/Applications/3D/Blender/Blender 3.1.app/Contents/Resources/3.1/scripts/addons/add_curve_extra_objects/add_curve_curly.py", line 381, in add_type1
  make_curve(self, context, verts, lhandles, rhandles)
File "/Users/Joe/Applications/3D/Blender/Blender 3.1.app/Contents/Resources/3.1/scripts/addons/add_curve_extra_objects/add_curve_curly.py", line 427, in make_curve
  newSpline.bezier_points.add(len(verts[p]) / 3 - 1)

TypeError: SplineBezierPoints.add(): error with argument 1, "count" - Function.count expected an int type, not float

location: :-1

Exact steps for others to reproduce the error
Choose Add › Curve › Curly Curve

**System Information** Operating system: macOS-11.6.3-x86_64-i386-64bit 64 Bits Graphics card: AMD Radeon R9 M295X OpenGL Engine ATI Technologies Inc. 4.1 ATI-4.6.21 **Blender Version** Broken: version: 3.1.0, branch: master, commit date: 2022-03-08 18:16, hash: `blender/blender@c77597cd0e` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: Extra Objects (0, 1, 5) Author: Multiple Authors **Short description of error** When I choose Add › Curve › Curly Curve, the command fails with a Python error: Python: Traceback (most recent call last): ``` File "/Users/Joe/Applications/3D/Blender/Blender 3.1.app/Contents/Resources/3.1/scripts/addons/add_curve_extra_objects/add_curve_curly.py", line 548, in execute add_type1(self, context) File "/Users/Joe/Applications/3D/Blender/Blender 3.1.app/Contents/Resources/3.1/scripts/addons/add_curve_extra_objects/add_curve_curly.py", line 381, in add_type1 make_curve(self, context, verts, lhandles, rhandles) File "/Users/Joe/Applications/3D/Blender/Blender 3.1.app/Contents/Resources/3.1/scripts/addons/add_curve_extra_objects/add_curve_curly.py", line 427, in make_curve newSpline.bezier_points.add(len(verts[p]) / 3 - 1) ``` TypeError: SplineBezierPoints.add(): error with argument 1, "count" - Function.count expected an int type, not float location: <unknown location>:-1 **Exact steps for others to reproduce the error** Choose Add › Curve › Curly Curve

#96739 was marked as duplicate of this issue

#96739 was marked as duplicate of this issue

#95939 was marked as duplicate of this issue

#95939 was marked as duplicate of this issue
Author

Added subscriber: @jashear

Added subscriber: @jashear
Member

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

Changed status from 'Needs Triage' to: 'Confirmed'
Vladimir Spivak self-assigned this 2022-03-12 12:27:10 +01:00

This issue was referenced by e98a2bf101

This issue was referenced by e98a2bf101ab14ade9340730bed2a2de8f99682d

This issue was referenced by 7cdde96d32

This issue was referenced by 7cdde96d329d6221090d1f23ea70a7b90c2b9739

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Member

Added subscribers: @1029910278, @PratikPB2123

Added subscribers: @1029910278, @PratikPB2123
Member

Added subscriber: @blue.rope

Added subscriber: @blue.rope
Sign in to join this conversation.
No Milestone
No project
No Assignees
5 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#96342
No description provided.