Skip to content

A Babylon.js application that lets users draw custom 2D shapes on a ground plane, extrude them into 3D objects, and manipulate them with move and vertex-editing tools. Includes interactive modes, visual cues, and intuitive mouse-based controls for modeling simple 3D geometry.

Notifications You must be signed in to change notification settings

A4xPraddy/3D_Floor_Plan_Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2D-Shape-Extrusion-Manipulation

Goal:
The goal is to create a Babylon.js application that allows the user to draw arbitrary 2D shapes on the ground plane, extrude them into 3D objects with a fixed height, and then manipulate those objects by moving the object and editing their vertices using buttons for mode selection.

Features:

  1. A 3D scene with a ground plane.
  2. Functionality to allow the user to draw 2D shapes on the ground plane using mouse interactions
    - left-click to add points
    - right-click to complete the shape
    - Draw button to enter the draw mode
  3. Extrude button to initiate the extrusion of 2D Closed loop polygons to a height of 5 units.
  4. Move button to perform movement of extruded shapes on the ground plane
  5. Edit button to edit the vertices of the extruded object using mouse interactions.
  6. Visual cues and UI elements to indicate the selected object and active editing mode.

How To run the application:

  1. Clone the repository to your local
  2. Run the HTML file to view it on your web browser

A glimpse into the Application:

  1. 3D scene with Ground plane
  1. Draw 2D shapes on the ground with mose interactions

draw2DFeature

  1. Extrusion of 2D shapes to 3D

extrudeFeature

  1. Movement of extruded polygons with visual cues

Move3D

  1. Edit Vertices

VertexEdit

About

A Babylon.js application that lets users draw custom 2D shapes on a ground plane, extrude them into 3D objects, and manipulate them with move and vertex-editing tools. Includes interactive modes, visual cues, and intuitive mouse-based controls for modeling simple 3D geometry.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published