name length stl addon blender #104827

Closed
opened 2023-08-09 15:18:22 +02:00 by Jeannijhuis · 1 comment

System Information
Operating system: Linux-5.15.0-78-generic-x86_64-with-glibc2.35 64 Bits
Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 525.125.06

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: (newest version of Blender that worked as expected)

Addon Information
Name: STL format (1, 1, 3)
Author: Guillaume Bouchard (Guillaum)

Short description of error
[Please fill out a short description of the error here]

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

when i import a stl file in blender the name of the object is shorter then the origin. what is the max name length?
can i change the script so that the name of the object is exactly the same as th name of the stl file?

**System Information** Operating system: Linux-5.15.0-78-generic-x86_64-with-glibc2.35 64 Bits Graphics card: NVIDIA GeForce RTX 3050 Ti Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 525.125.06 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: (newest version of Blender that worked as expected) **Addon Information** Name: STL format (1, 1, 3) Author: Guillaume Bouchard (Guillaum) **Short description of error** [Please fill out a short description of the error here] **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] when i import a stl file in blender the name of the object is shorter then the origin. what is the max name length? can i change the script so that the name of the object is exactly the same as th name of the stl file?
Jeannijhuis added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-08-09 15:18:23 +02:00
Member

Hi, this is not a problem with stl import.
Max string length of name variable (for IDs only?) is hardcoded to 64, see: https://projects.blender.org/blender/blender/src/branch/main/source/blender/makesdna/DNA_defs.h#L50

for example: If you try to rename modifier/object, it can not append characters beyond MAX_NAME

Not a bug, closing.

Hi, this is not a problem with stl import. Max string length of name variable (for IDs only?) is hardcoded to 64, see: https://projects.blender.org/blender/blender/src/branch/main/source/blender/makesdna/DNA_defs.h#L50 for example: If you try to rename modifier/object, it can not append characters beyond `MAX_NAME` Not a bug, closing.
Blender Bot added
Status
Archived
and removed
Status
Needs Triage
labels 2023-08-10 08:03:31 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 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#104827
No description provided.