We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

model units

Home Forums General Questions model units

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #59498
    kdv
    Participant

    is there a way to detect what units were used in a 3D editor before exporting to gltf? as we know, Blender exports 1:1 (1 m in Blender == 1 unit in Verge3D). 3DsMax models are exported 1000 times larger (1 mm in Max == 1 unit in Verge3D). when exporting to STL we get different dimensions of the output geometry. that’s not good, the geometry dimensions should be unified (scaled). but how? :scratch: In my CAD software Blender’s models (exported to STL) are imported with the ratio 1000:1 (too small), Max’s models are 1:1…

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #59499
    solid
    Customer

    this question is also interesting

    Webgl Interactive Development https://www.blend3dweb.ru/

    #59502

    Hi, Max units is kinda complicated. There are actually two kinds of units there: system units and display units, both can be user-selected. So 1000:1 is not always the case. See getUnitsScaleFactor() inside maxUtils.py, hope it will clarify things a bit.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #59509
    kdv
    Participant

    So 1000:1 is not always the case.

    not always but quite often

    is it possible to transfer this info about used Max/Maya units into the scene to read it afterwards? or maybe this info is alredy present in Max’s models?

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

    #59528

    You can modify max_plugin to store some scaling info in the extra attributes of the objects. Alternatively, you can try to modify system scale in 3ds Max to match Blender behavior.

    Soft8Soft Tech Chief
    X | FB | LinkedIn

    #59529
    kdv
    Participant

    You didn’t get the point ))) I don’t use Max and I don’t need to modify its plugin for my needs. I’m trying to write a universal plugin exporting ANY model to STL with the correct dimensions. If I were writing it only for myself then there is no any problem: I can set any scale in the JS code…
    https://v3d.net/e2s

    Puzzles and JS. Fast and expensive.

    If you don’t see the meaning in something it primarily means that you just don’t see it but not the absence of meaning at all.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.