Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AMF Loader should preserve part names #9214

Closed
EnricSala opened this issue Jun 24, 2016 · 0 comments
Closed

AMF Loader should preserve part names #9214

EnricSala opened this issue Jun 24, 2016 · 0 comments

Comments

@EnricSala
Copy link
Contributor

EnricSala commented Jun 24, 2016

I am exporting a CATIA model with multiple parts to a single AMF file, which is useful because it avoids having to load multiple files.

The problem is that when loading an AMF file with multiple parts, they lose their assigned part name, making it difficult to identify the parts to apply dynamic changes to them.

Sample AMF file with part names:

<?xml version="1.0" encoding="utf-8"?>
<amf unit="millimeter">

    <metadata type="name">MODEL_NAME</metadata>

    <object id="1">
        <metadata type="name">PART_1_NAME</metadata>
        <mesh> ... </mesh>
    </object>

    <object id="2">
        <metadata type="name">PART_2_NAME</metadata>
        <mesh> ... </mesh>
    </object>

</amf>

It would be very helpful if the part names were preserved when loading AMF files.

See submitted PR #9215.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants