docs.unity3d.com
Version: 

    IO

    API functions:

    • io.importScene
    • io.exportScene
    • core.save
    • core.load
    • Python
    • C#
    # import
    root = io.importScene(filePath)
    
    # process model
    algo.repairCAD([root], 0.1, False)
    algo.tessellate([root], 0.2, -1, -1)
    
    # export
    io.exportScene(filePath, root)
    
    // import
    uint root = pxz.IO.ImportScene(filePath);
    OccurrenceList rootList = new OccurrenceList(new uint[] { root });
    
    // process model
    pxz.Algo.RepairCAD(rootList, 0.1, false);
    pxz.Algo.Tessellate(rootList, 0.2, -1, -1);
    
    // export
    pxz.IO.ExportScene(filePath, root);
    

    Import

    Name Extensions
    3DS .3ds
    3MF .3mf
    3dxml .3dxml
    ACIS .sat .sab
    CATIA .cgr .catpart .catproduct .model .catshape
    COLLADA .dae
    CSB .csb
    Creo .asm .asm.* .prt .prt.* .neu .neu.* .xas .xas.* .xpr .xpr.*
    DGN .dgn
    DWG .dwg
    DXF .dxf
    E57 .e57
    FBX .fbx
    GDSII .gds
    GLTF .gltf .glb
    IFC .ifc
    IGES .igs .iges
    INVENTOR .iam .ipt
    JT .jt
    NWC .nwc
    NWD .nwd
    OBJ .obj
    PLMXML .plmxml
    PLY .ply
    PRC .prc
    PTS .pts
    Parasolid .x_t .x_b .p_t .p_b .xmt .xmt_txt .xmt_bin
    Pdf .pdf
    Pixyz .pxz
    Prc .prc
    RVM .rvm
    Revit .rvt .rfa
    Rhino .3dm
    SOLIDEDGE .par .pwd .psm
    SOLIDWORKS .sldasm .sldprt
    STEP .stp .step .stpz .stepz .stpx .stpxz
    Stereolithography .stl
    U3D .u3d
    USD .usd .usdz .usda .usdc
    VDA .vda
    VRML .wrl .vrml

    Export

    Name Extensions
    Pixyz .pxz
    FBX .fbx
    3dxml .3dxml
    COLLADA .dae
    Stereolithography .stl
    JT .jt
    OBJ .obj
    GLTF .gltf
    GLTF Binary .glb
    USD .usdz .usda .usdc
    VRML .wrl .vrml
    Prefab .prefab
    Version 2024.2.2.3
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX.