Skip to content
View dongxuli-concord-design's full-sized avatar

Block or report dongxuli-concord-design

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

CAD

Basic Development guide

Development standard and quality control

  • Javascript coding styles
  • Software development process
  • How to report an issue

CAD introduction

  • Basic structure
    • XcMain
    • Libraries
      • Parasolid
      • XcUI
      • XcSys
      • XcGm
    • App
      • 3D CAD

How to build application

  1. Go to XcExternal folder and download the packages following the instructions in README.md.
  2. Since macOS has very strict permission control policy or unzip tools may damage the file attributes, we need to right-click and open the executable files so those executables can be loaded or launched.
  3. Build
    1. Build on Mac first
    • Go to Industry-CAD/XcMain and run ../XcExternal/node.darwin/bin/node ../XcExternal/node.darwin/bin/npm install command to install npm packages.
    • Go to the Industry-CAD folder in terminal and run ./XcExternal/node.darwin/bin/node ./build_scripts/build_darwin.js
    1. Build on Win32
    • In the VMWare, share Industry-CAD folder as Z:\ in the Windows 10.
    • Go the command window application, go to Z:\Industry-CAD folder, and then run .\XcExternal\node.win32\node .\build_scripts\build_win32.js

How to run application

  1. Go to XcDebug
  2. Use ../XcExternal/nwjs.sdk.darwin/nwjs.app/Contents/MacOS/nwjs . on mac or to use ..\XcExternal\nwjs.sdk.win32\nw . on Windows to launch the application.

How to upgrade NW.js

  1. Install the right version of Node required by the NW.js.
  2. Install nw-gyp using npm install -g nw-gyp.
  3. Update the node and nwjs files on XcExternal following the README.md in XcExternal. Please right-click and open all executable files (such as node/nwjc etc.) on macOS for permission control reasons.
  4. Delete all node_modules folder and run ../XcExternal/node.darwin/bin/node ../XcExternal/node.darwin/bin/npm install in XcMain to install packages.
  5. Update the XcGmPk (check the README for more information).
  6. Rebuild all packages.

Popular repositories Loading

  1. dongxuli-concord-design dongxuli-concord-design Public

    Config files for my GitHub profile.

    JavaScript

  2. fabrik-demo fabrik-demo Public

    FABRIK (Forward And Backward Reaching Inverse Kinematics) demo

    JavaScript

  3. RobotKinematics RobotKinematics Public

    Forked from changliuliu/RobotKinematics

    Illustration of robot kinematics and D-H parameters. Contain live script to visualize the robot configurations.

    MATLAB

  4. bm-topo bm-topo Public

    Forked from bluemathsoft/bm-topo

    Topology module of BlueMath

    TypeScript

  5. bm-geom bm-geom Public

    Forked from bluemathsoft/bm-geom

    NURBS in TypeScript

    TypeScript