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

Not displayed after importing 3MF and AMF files #28477

Closed
kakalangdu opened this issue May 24, 2024 · 1 comment
Closed

Not displayed after importing 3MF and AMF files #28477

kakalangdu opened this issue May 24, 2024 · 1 comment

Comments

@kakalangdu
Copy link

Description

Not displayed after importing 3MF and AMF files
Check whether the console output model has been loaded successfully and no error has been reported.

Reproduction steps

loadAMF() {

            const loader1 = new AMFLoader();
            loader1.load('/model/suhuaamf.AMF', object=> {
                //  object.quaternion.setFromEuler(new THREE.Euler(-Math.PI / 2, 0, 0));

                console.log("object",object);

                  this.scene.add(object);
                 

                  
                })
                console.log("this.scene",this.scene);

            }

Code

loadAMF() {

            const loader1 = new AMFLoader();
            loader1.load('/model/suhuaamf.AMF', object=> {
                //  object.quaternion.setFromEuler(new THREE.Euler(-Math.PI / 2, 0, 0));

                console.log("object",object);

                  this.scene.add(object);
                 

                  
                })
                console.log("this.scene",this.scene);

            }

Live example

Screenshots

问题

Version

r164

Device

Desktop

Browser

Edge

OS

Windows

@mrdoob
Copy link
Owner

mrdoob commented May 24, 2024

Please use one of the links below for help / support:

@mrdoob mrdoob closed this as completed May 24, 2024
@Mugen87 Mugen87 added this to the r165 milestone May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants