Skip to content
/ web Public

Source Code for Arch Ease, Final Year Capstone Project for VIT Bhopal

License

Notifications You must be signed in to change notification settings

Arch-Ease/web

Repository files navigation

Arch-Ease

ArchEase is a web app revolutionizing construction planning. ArchEase provides affordable and accessible architectural design tools, empowering individuals to create safe, efficient building plans without relying on costly architects. Arch-Ease is a React component which can be used to draw model buildings. Drag & drop from a catalog of customizable and ready-to-use objects, you can start from 2D wireframes and land on 3D models. As a developer you can provide your users with new objects by adding them to the catalog.

npm javascript react-version

Demo

[Demo][demo]

image

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import {Map} from 'immutable';
import {createStore} from 'redux';
import {Provider} from 'react-redux';

//download this demo catalog https://github.com/cvdlab/Arch-Ease/tree/master/demo/src/catalog
import MyCatalog from './catalog/mycatalog';

import {
  Models as PlannerModels,
  reducer as PlannerReducer,
  ReactPlanner,
  Plugins as PlannerPlugins,
} from 'Arch-Ease';


//define state
let AppState = Map({
  'Arch-Ease': new PlannerModels.State()
});

//define reducer
let reducer = (state, action) => {
  state = state || AppState;
  state = state.update('Arch-Ease', plannerState => PlannerReducer(plannerState, action));
  return state;
};

let store = createStore(reducer, null, window.devToolsExtension ? window.devToolsExtension() : f => f);

let plugins = [
  PlannerPlugins.Keyboard(),
  PlannerPlugins.Autosave('Arch-Ease_v0'),
  PlannerPlugins.ConsoleDebugger(),
];

//render
ReactDOM.render(
  (
    <Provider store={store}>
      <ReactPlanner
        catalog={MyCatalog}
        width={800}
        height={600}
        plugins={plugins}
        stateExtractor={state => state.get('Arch-Ease')}
      />
    </Provider>
  ),
  document.getElementById('app')
);

Docs

Authors

Developed @ VIT Bhopal

Contributing

Your contributions (issues and pull request) are very appreciated!

License

MIT

About

Source Code for Arch Ease, Final Year Capstone Project for VIT Bhopal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •