79072706

Date: 2024-10-10 04:19:10
Score: 1.5
Natty:
Report link

I’m currently working on a project where I need to convert a 2D floor plan from a DXF file into a 3D model in Unity. I’m using the IxMilia.Dxf Library to read the data from the DXF file, and I can successfully extract the 2D information, which gives me the layout of the floor plan.

Here’s what I have so far: I can read the 2D shapes from the DXF file. The shapes are represented correctly in a 2D plane within Unity. The Challenge: While I can visualize the floor plan in 2D, I’m struggling to generate the corresponding 3D models based on the extracted data. For example:

When I extract a room that should be represented as a cube (with front, back, top, bottom, left, and right faces), I’m able to see the 2D representation. However, I don’t know how to convert this data into a 3D cube in Unity properly. I need assistance with understanding how to map the 2D coordinates and dimensions to create 3D geometry in Unity.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Badal Patel