Collada Export should set export file name to selected object name #70628

Closed
opened 2019-10-08 05:58:17 +02:00 by Michael Lorrey · 9 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 965M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.59

Blender Version
Broken: version: 2.80 (sub 50), branch: master, commit date: 2019-03-19 21:25, hash: 2eead48688
Worked: Feature Request

Short description of error
[Please fill out a short description of the error here]
When building content for SL and OS or other VR applications, exporting to Collada, the file export interface by default applies the blender file name to every collada object exported from the same file. This is unhelpful. I would like either the export to make the file name of the exported collada file use the object name of the specific object being exported, or an option in preferences that allows one to toggle between using the blender file name or the exported selection object name (in instances of multiple objects being exported together, the last selected is the root, so that object should be the name used for the export file.

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)]

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 965M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 388.59 **Blender Version** Broken: version: 2.80 (sub 50), branch: master, commit date: 2019-03-19 21:25, hash: `2eead48688` Worked: Feature Request **Short description of error** [Please fill out a short description of the error here] When building content for SL and OS or other VR applications, exporting to Collada, the file export interface by default applies the blender file name to every collada object exported from the same file. This is unhelpful. I would like either the export to make the file name of the exported collada file use the object name of the specific object being exported, or an option in preferences that allows one to toggle between using the blender file name or the exported selection object name (in instances of multiple objects being exported together, the last selected is the root, so that object should be the name used for the export file. **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)]
Author

Added subscriber: @MikeLorrey

Added subscriber: @MikeLorrey
Michael Lorrey changed title from Collada Export should set object name to file name to Collada Export should set export file name to selected object name 2019-10-08 06:00:48 +02:00
Gaia Clary was assigned by Germano Cavalcante 2019-10-09 21:55:22 +02:00
Member

Just before you export you have the option to specify the file name to where the exported objects shall be stored. Isn't that enough? Maybe changing the name of the exported file depending on the active object might sound like a cool idea, but then the export filename of a set objects depends on the order they are chosen, which again may not be expected (or wanted) behavior.

Also Blender seems to behave exactly in the same way for all exporters. I am not sure if we should change this just for one export format.

Just before you export you have the option to specify the file name to where the exported objects shall be stored. Isn't that enough? Maybe changing the name of the exported file depending on the active object might sound like a cool idea, but then the export filename of a set objects depends on the order they are chosen, which again may not be expected (or wanted) behavior. Also Blender seems to behave exactly in the same way for all exporters. I am not sure if we should change this just for one export format.
Author

No, that isn't enough. Working with complex models with potentially hundreds of separate objects within the same blender file, exporting each object separately, often each object is similar to other parts with slight variations, so their names have slight variations. For instance, i've been working on a builders kit for Second Life and Opensim of parts for people to construct all sorts of spiral staircases with different railing styles, clockwise vs counterclockwise, amount of turn to each section of staircase, stair pitch per turn, etc. etc. All told, there's over 260 parts that each need to be exported from this one blender file. Having blender grab the object name automatically would save a bunch of work, because when I open the export screen, I can no longer see the tree of object names to ensure I'm giving the export file name the same name as the object I'm exporting, so I frequently screw that naming up and I have to do things over again.
At the very least there should be a button on the export interface, or on user preferences, to export object name as export file name, so users have the option.
When exporting a group of objects, one of those objects becomes the root of the linkset when that file is then imported into SL or OS. I'm not sure if it is the first one or last one picked, but obviously thats a standard from which the file name can get the chosen root object name. There are very few instances that an SL/OS user would want to export multiple objects together, because then they have to import them all together into SL or OS (and in SL you get charged on the complexity of the whole import), and the resulting import assigns a geometric centerpoint to each object that does not correlate to its mesh geometric center, so the resulting links don't rotate properly when scripted versus how they do when imported as separate parts from separate exports, so really nobody who is trying to do anything useful imports linksets into SL or OS.

No, that isn't enough. Working with complex models with potentially hundreds of separate objects within the same blender file, exporting each object separately, often each object is similar to other parts with slight variations, so their names have slight variations. For instance, i've been working on a builders kit for Second Life and Opensim of parts for people to construct all sorts of spiral staircases with different railing styles, clockwise vs counterclockwise, amount of turn to each section of staircase, stair pitch per turn, etc. etc. All told, there's over 260 parts that each need to be exported from this one blender file. Having blender grab the object name automatically would save a bunch of work, because when I open the export screen, I can no longer see the tree of object names to ensure I'm giving the export file name the same name as the object I'm exporting, so I frequently screw that naming up and I have to do things over again. At the very least there should be a button on the export interface, or on user preferences, to export object name as export file name, so users have the option. When exporting a group of objects, one of those objects becomes the root of the linkset when that file is then imported into SL or OS. I'm not sure if it is the first one or last one picked, but obviously thats a standard from which the file name can get the chosen root object name. There are very few instances that an SL/OS user would want to export multiple objects together, because then they have to import them all together into SL or OS (and in SL you get charged on the complexity of the whole import), and the resulting import assigns a geometric centerpoint to each object that does not correlate to its mesh geometric center, so the resulting links don't rotate properly when scripted versus how they do when imported as separate parts from separate exports, so really nobody who is trying to do anything useful imports linksets into SL or OS.

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'

Upon seeing this report again, it does not seem to be about a bug but a feature request, so it's not bug tracker scope.

Upon seeing this report again, it does not seem to be about a bug but a feature request, so it's not bug tracker scope.
Author

Changed status from 'Archived' to: 'Resolved'

Changed status from 'Archived' to: 'Resolved'
Author

If you have a feature request process, that would be nice to point out, but as a creator, I consider this a bug report, not a feature request.

If you have a feature request process, that would be nice to point out, but as a creator, I consider this a bug report, not a feature request.
Member

I dare to contradict.

I can understand why you want to have this change, but there is no bug here at all.

Blender is supposed to export the current scene (or the set of selected objects) into a file with a name derived from the current Blend file name, and changeable by the creator. And that is exactly what Blender provides in a consistent way for all its exporters.

Your request is more an general behavioral change of how blender is supposed to export items. This is not a bug report, this is a change request in my opinion :)

However, i believe that your proposed change can be well supported by use of an Addon.

I dare to contradict. I can understand why you want to have this change, but there is no bug here at all. Blender is supposed to export the current scene (or the set of selected objects) into a file with a name derived from the current Blend file name, and changeable by the creator. And that is exactly what Blender provides in a consistent way for all its exporters. Your request is more an general behavioral change of how blender is supposed to export items. This is not a bug report, this is a change request in my opinion :) However, i believe that your proposed change can be well supported by use of an Addon.
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
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#70628
No description provided.