Home ShortCAD JavaScript

Login Form




True Type based Fonts
are available now.
Click here for details


 

 

ShortCAD provides
EAST ASIAN
LANGUAGES SUPPORT

Corresponding fonts
available here
Locations of visitors to this page
What is ShortCAD JavaScript?
Monday, 03 May 2010 00:00
 lua logoShortCAD JavaScript is a programming language that allows ShortCAD users to create programs to customize ShortCAD.

Being an extension of JavaScript, ShortCAD JavaScript is easy to learn and use.

ShortCAD JavaScript is useful for the following main reasons:

  • ShortCAD JavaScript can automate repetitive procedures and it can also be used to create completely new custom commands from simple to complex calculations and for creating completely finished drawings.
  • ShortCAD JavaScript programs are coded and saved in a plain ASCII or Unicode text file, and then loaded into memory inside ShortCAD.
  • When ShortCAD loads ShortCAD JavaScript programs to run, it compiles the ShortCAD JavaScript code into the native target assembler what gives high runtime performance.

ShortCAD allows to build scripts with native look and feel behavior that isolates the end user from the ShortCAD JavaScript code.

 Mmenu to launch ShortCAD JavaScript programs.
 
Getting started with ShortCAD JavaScript Programming
Monday, 03 May 2010 00:00

Windows Mobile devices are far not the ideal platforms to code, test and debug the complex geometric algorithms. For these software development activities, you can use the PC Version of ShortCAD Lite.

Functionally ShortCAD Lite / PC is identical to ShortCAD Lite / WM. Few differences are explained by different native OS features such as common user access UI elements (e.g. toolbars and file system browsing dialogs), which do not influence the Drawing and JavaScript capabilities. Therefore, any ShortCAD JavaScript tested on PC will run on the mobile device with exactly the same output. 

Download and install ShortCAD Lite / PC on your desktop computer or laptop and use it as a ShortCAD Lite Developer Workbench.

Download ShortCAD JavaScript Reference.pdf to get introduced into the language extensions provided by ShortCAD Lite.

To code ShortCAD JavaScripts you can use any text editor. The only requirement is: to support national UI texts, coded as the naturally written quoted strings, your JavaScript Editor Should be capable of saving scripts in UTF-8 format. Standard Notepad installed as a part of Windows OS is enough to create, open, edit and save the scripts.

Read more...
 
ShortCAD JavaScript Samples
Monday, 03 May 2010 00:00
Hex bolts with nuts and washers 

Bolt.ShortJS draws hex bolts with nuts and washers to any desired size and grip (gap distance) lengths.

Original idea:  cadalyst -- Hex Bolts | CAD Tips

Download Bolt.ShortJS

 Flange plan and side viewsFlange.ShortJS draws pipe flanges with both end and side views. Depending on the view required, the input information includes flange thickness, flange inside and outside diameters, bolt circle diameter, number of holes, hole diameter, neck diameter, and the flange projection.

Original idea:  cadalyst -- Draw pipe flanges | CAD Tips

Download Flange.ShortJS