Collada export "use_blender_profile" not used or set when exporting armature #48801

Closed
opened 2016-07-07 07:52:47 +02:00 by Lemon Acidjuice · 11 comments

Blender Version
2.77a

Short description of error

"connect", "roll", "tip_x", "tip_y", "tip_z", not generated when exporting in Collada format (whatever the exported armature is).

In ArmatureExporter.cpp/$177, the code for exporting these values is here. But where to set or activate the "use_blender_profile" option ?

**Blender Version** 2.77a **Short description of error** "connect", "roll", "tip_x", "tip_y", "tip_z", not generated when exporting in Collada format (whatever the exported armature is). In ArmatureExporter.cpp/$177, the code for exporting these values is here. But where to set or activate the "use_blender_profile" option ?

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @LemonAcidjuice

Added subscriber: @LemonAcidjuice

Added subscriber: @Sergey

Added subscriber: @Sergey

Please always provide steps to reproduce the issue including all files needed for that.

Please always provide steps to reproduce the issue including all files needed for that.

Hi,

Simply export in Collada format the object of the blend file.

The question from stack exchange is here with a link to the file : BSE link

Or directly here in Blend Exchange : Blend Exchange link

I don't know what to add more : a simple cube, a 2-bones armature and export in Collada format.
"connect", "roll", "tip_x", "tip_y", "tip_z" are absent from the file.

Hi, Simply export in Collada format the object of the blend file. The question from stack exchange is here with a link to the file : [BSE link ](http://blender.stackexchange.com/questions/57252/where-to-set-use-blender-profile-option) Or directly here in Blend Exchange : [Blend Exchange link ](http://blend-exchange.giantcowfilms.com/b/1558/) I don't know what to add more : a simple cube, a 2-bones armature and export in Collada format. "connect", "roll", "tip_x", "tip_y", "tip_z" are absent from the file.

Added subscriber: @sambler

Added subscriber: @sambler

This appears to apply to any attempt to export to collada.

If we look in collada.h we can see that collada_export() takes 19 arguments, the first 2 being scene and filepath. The remaining 17 arguments can be found within uiCollada_exportSettings() located in io_collada.c which would appear to be the code that displays the export options panel in the file browser.

Of those 17 properties 16 are visible in the export option panel use_blender_profile being the missing one. I don't see any code that would conditionally hide that property. The property can even be found in rna_scene_api.c along with the other options.

colladaExport.jpg

Within ArmatureExporter::add_bone_node() located in ArmatureExporter.cpp at line 177 that missing property adjusts the export data in a way that adds data that @LemonAcidjuice wants included in the export.

So the option exists, the code is there to use it but we can't turn it on/off and don't see why.

One hint may be the fact that in the python console, auto-complete does not show this property in the help text for bpy.ops.wm.collada_export() so it may be an error that prevents the property being visible to python.

This appears to apply to any attempt to export to collada. If we look in [collada.h](https:*developer.blender.org/diffusion/B/browse/master/source/blender/collada/collada.h$64) we can see that `collada_export()` takes 19 arguments, the first 2 being scene and filepath. The remaining 17 arguments can be found within `uiCollada_exportSettings()` located in [io_collada.c](https:*developer.blender.org/diffusion/B/browse/master/source/blender/editors/io/io_collada.c$193) which would appear to be the code that displays the export options panel in the file browser. Of those 17 properties 16 are visible in the export option panel `use_blender_profile` being the missing one. I don't see any code that would conditionally hide that property. The property can even be found in [rna_scene_api.c](https://developer.blender.org/diffusion/B/browse/master/source/blender/makesrna/intern/rna_scene_api.c$290) along with the other options. ![colladaExport.jpg](https://archive.blender.org/developer/F320745/colladaExport.jpg) Within `ArmatureExporter::add_bone_node()` located in [ArmatureExporter.cpp at line 177](https://developer.blender.org/diffusion/B/browse/master/source/blender/collada/ArmatureExporter.cpp$177) that missing property adjusts the export data in a way that adds data that @LemonAcidjuice wants included in the export. So the option exists, the code is there to use it but we can't turn it on/off and don't see why. One hint may be the fact that in the python console, auto-complete does not show this property in the help text for `bpy.ops.wm.collada_export()` so it may be an error that prevents the property being visible to python.

Added subscribers: @GaiaClary, @mont29

Added subscribers: @GaiaClary, @mont29

Did you guys tried latest build from our buildbot? Afaics Use Blender Profile is there… @GaiaClary shall know better too.

Did you guys tried latest build from [our buildbot](https://builder.blender.org/download)? Afaics `Use Blender Profile` is there… @GaiaClary shall know better too.
Member

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Gaia Clary self-assigned this 2016-07-23 12:33:04 +02:00
Member

I answered at stack exchange .
You only need to download a recent daily build.
Closing as invalid (since nothing needed to be fixed)

I answered at [stack exchange ](http://blender.stackexchange.com/questions/57252/where-to-set-use-blender-profile-option). You only need to download a recent daily build. Closing as invalid (since nothing needed to be fixed)
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
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#48801
No description provided.