Coder Social home page Coder Social logo

rhino.inside-bricscad's Introduction

Grasshopper-BricsCAD Connection

Grasshopper-BricsCAD Connection is a plugin based on the Rhino.Inside technology. It provides a bi-directional connection between Grasshopper and BricsCAD. BricsCAD geometry can be used as input parameters in Grasshopper, as well as Grasshopper geometry can be converted back to native BricsCAD geometry. For additional information and documentation see BricsCAD Help Center. The latest installer can be found at BricsCAD Application Store

Project structure

  • GrasshopperData - BRX project where custom object (DbGrasshopperData) and corresponding property extension are defined. DbGrasshopperData is database object which links database entity and grasshopper script. DbGrasshopperData keeps properties defined in grasshopper script, these properties are used as input parameters for the script. Property changes and modification of linked database entity are processed in Grasshopper-BricsCAD-Connection project.
  • GrasshopperDataManaged - managed wrapper for GrasshopperData project. This project is loaded by Grasshopper-BricsCAD-Connection project and register GrasshopperData as BRX extension.
  • Grasshopper-BricsCAD-UI is responsible for the UI initialization in BricsCAD. It loads a partial CUI file and enables grasshopper tools in menu, toolbar, quad, and ribbon. This module is autoloaded at BricsCAD start.
  • Grasshopper-BricsCAD is the implementation of the connection between BricsCAD and Grasshopper. This module is loaded on demand.

Build from source

Prerequisites

  • Visual Studio (download)
  • .NET Framework 4.5.1 (download)
  • Rhino WIP (download)
  • BricsCAD V20 (download)
  • Download BRX library and set BRX_SDK_PATH system variable (optional, nessesary for GrasshopperData and GrasshopperDataManaged build)

Getting Source & Build

  1. Clone the repository.
  2. In Visual Studio: open Grasshopper-BricsCAD-Connection.sln.
  3. Update path to BricsCAD and Rhino references. Copy Local property should be False. If there is no necessity to build GrasshopperData and GrasshopperDataManaged projects, you can use prebuild binaries GhDataApp.dll and GhDataManaged.dll.
  4. Navigate to Build > Build Solution to begin your build.

Launch

  • Run NETLOAD command in BricsCAD to load the .NET application.
  • Or edit the Windows Registry to enable mechanism of DLL AutoLoad or DemandLoad:
    1. Add a folder to the following path :
      HKEY_LOCAL_MACHINE\SOFTWARE\Bricsys\Bricscad\V20x64\en_US\Applications\Grasshopper-BricsCAD-Connection
      
    2. Add the following keys :
      "LOADER"="Grasshopper-BricsCAD-Connection.dll" ("Grasshopper-BricsCAD-Connection.UI.dll")
      "DESCRIPTION"="Grasshopper-BricsCAD-Connection"
      "LOADCTRLS"=dword:0000000e for AutoLoad or 0000000c for DemandLoad
      "MANAGED"=dword:00000001
      

rhino.inside-bricscad's People

Contributors

bogdangrebenshchikov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.