Could someone give me a proportions guide?, it's to make a 3D model and import it into Open Rails
Page 1 of 1
3D Import Ratios Guide
#2
Posted 05 November 2023 - 02:02 PM
Hi,
Which 3d modelling tool are you using? If you are using Blender, for instance, the Blender measurement units get translated into OR as Metres automatically.
Geoff
Which 3d modelling tool are you using? If you are using Blender, for instance, the Blender measurement units get translated into OR as Metres automatically.
Geoff
#3
Posted 05 November 2023 - 03:47 PM
However, metres are *default* and you might have tried to open a drawing file that used Imperial units (Those Americans... at it again)... in which case, you would need to scale the imported object by 0.3048 as we used to do with 3D Canvas/Crafter or `S 0.3048` in Blender.
Or in Blender Python
Or in Blender Python
import bpy # Set the desired metric scale factor (1 foot = 0.3054 meters) scale_factor = 0.3054 # Set the units to metric bpy.context.scene.unit_settings.system = 'METRIC' bpy.context.scene.unit_settings.scale_length = scale_factor # Iterate through all objects in the scene for obj in bpy.data.objects: if obj.type == 'MESH': # Scale each object by the scale factor obj.scale.x *= scale_factor obj.scale.y *= scale_factor obj.scale.z *= scale_factor # Update the scene to reflect the changes bpy.context.view_layer.update() # Print a message to confirm the conversion print("Converted all objects to metric measurements.")
Page 1 of 1