Skip to content

dongxuli-concord-design/dongxuli-concord-design

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Config files for my GitHub profile.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •