Coder Social home page Coder Social logo

zhangfuwang666 / forge-explodetext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from madhukarmoogala/forge-explodetext

0.0 1.0 0.0 68 KB

This is a Forge Design Automation sample, that explodes the Text objects in to Geomerty, currently only DBText object is support.

C# 100.00%

forge-explodetext's Introduction

Forge-ExplodeText

OAuth2 DesignAutomation Shippable Shippable

Setup

For using this sample, you need an Autodesk developer credentials. Visit the Forge Developer Portal, sign up for an account, then create an app that uses Design Automation. For this new app, use http://localhost:3000/api/forge/callback/oauth as Callback URL [This is option, we are not developing UI], although is not used on 2-legged flow. Finally take note of the Client ID and Client Secret.

Run Locally

Development Enviroment VS 2017 Community or Professional or Ultimate. .NET framework 4.6.

Launch VS 2017 Developer Command from start menu
git clone https://github.com/MadhukarMoogala/Forge-ExplodeText.git
cd Forge-ExplodeText
devenv .\FDA.ExplodeText\FDA.ExplodeText.sln

There is only a single variable drawingResource that needs to be customized to provide your own drawing with DBTEXT entities.

Please ensure provided drawing resource URL should be accessible by HTTP. This sample fetches drawing resource from Amazon S3 Bucket.

Open the app.config file and adjust the Forge Client ID & Secret. If you plan to deploy to Appharbor, configure the variables (no need to change this web.config file).

<appSettings>
  <add key="FORGE_CLIENT_ID" value="" />
  <add key="FORGE_CLIENT_SECRET" value="" />
</appSettings>

License

This sample is licensed under the terms of the MIT License. Please see the LICENSE file for full details.

Preview

EXPTXT1.gif

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.