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.

VRML coordinate XZY vs. Blender XYZ

Home Forums Graphics / Blender VRML coordinate XZY vs. Blender XYZ

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #32583
    derekwang0605
    Customer

    How to convert VRML coordinate XZY into Blender XYZ? So that the object can show normally in Blender?

    #32603

    Hi,

    are you using Blender’s stock VRML importer?

    Chief 3D Verger | LinkedIn | Twitter

    #32619
    derekwang0605
    Customer

    I am using Blender’s importx3d to import VRML model but after importing in Blender the imported object rotation_euler turns into XZY.

    #32621

    you might try the option File > Import > VRML and see if it works better. Anyway this question is better to address to the developers of the respective plugins.

    Chief 3D Verger | LinkedIn | Twitter

    #32647
    derekwang0605
    Customer

    bpy.ops.object.origin_set(type=’ORIGIN_CENTER_OF_VOLUME’, center=’BOUNDS’)
    bpy.ops.transform.rotate(value=3.14/2, orient_axis=’X’, orient_type=’GLOBAL’, orient_matrix=((1, 0.0, 0.0), (0.0, 1, 0.0), (0.0, 0.0, 1)), orient_matrix_type=’GLOBAL’, constraint_axis=(True, False, False), mirror=True, use_proportional_edit=False, proportional_edit_falloff=’SMOOTH’, proportional_size=1.0, use_proportional_connected=False, use_proportional_projected=False, snap=False, snap_target=’CLOSEST’, snap_point=(0.0, 0.0, 0.0), snap_align=False, snap_normal=(0.0, 0.0, 0.0), gpencil_strokes=False, center_override=(0.0, 0.0, 0.0), release_confirm=False, use_accurate=False)

    I tried different ways and finally those two line worked it out!

    #32651

    thanks for sharing! glad you worked it out! :good:

    Chief 3D Verger | LinkedIn | Twitter

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