BabaCAD as a new target for developers

There is a new section at BabaCAD homepage, Developers section: http://www.babacad.com/developers

You can visit Developers section to learn how to write your own extension modules for BabaCAD (.bem). It’s very easy to share .bem modules between users, as .bem files just have to be copied to BabaCAD/ExtensionModules folder (BabaCAD install folder is in \Program Files\BabaCAD directory). BabaCAD application will automatically load all .bem modules from this folder at the start time.

LISP module, which is the first developed .bem module for BabaCAD, shows many features programmed to extend functionality of BabaCAD software. Microsoft Visual Studio 2010 is only requirement to start programming applications for BabaCAD. BabaCAD v1.3 installs include headers and lib files of BabaCAD Extension API. It can be found in \Program Files\BabaCAD\BabaCAD\API directory.

Read Developers section and you will find example of SLOPE command inside Civil Tools extension for BabaCAD. Full visual studio c++ project (.sln) is there (in zip file). I recommend everyone to use this as a template for theirs new .bem projects. There is necessary entrypoint function of extension API and also some other API functions (for example AddCommand function adds new command to BabaCAD runtime).

I will try to add more examples. Also, I will add a new topic at BabaCAD forum for developers to ask questions and submit comments.

 

 

 

Update your CAD after Windows XP end of support date (April 8th)

Maybe some of you didn’t realize important fact that older versions of the most used AutoCAD drafting software like AutoCAD 2000, 2002, 2004, 2006 can’t run on Windows 7 nor Windows 8. Companies with large CAD seats would have large expenses to update their CAD software to newer versions after Windows XP end of support on April 8th. You don’t have to buy newer versions of CAD software, like AutoCAD 2014 or verticals (Autodesk Map, Civil 3D…) to migrate to  Windows 7 or Windows 8. BabaCAD is one of the best alternatives to AutoCAD LT as it’s free, supports LISP routines, fast download and run (less than 3 Mb installation). You can download BabaCAD 1.3 free and there is also good support on BabaCAD official website http://www.babacad.com . There is also 3D and online web versions in development phase, so check for updates and stay tuned.

You can find video tutorials about BabaCAD at http://www.babacad.com/tutorials.html or you can visit online help pages at http://www.babacad.com/Help/BabaCAD_Help.htm

BabaCADW – Web Online CAD Project Started

BabaCADW is a project of porting one of the best freeware CAD to online web application. It’s in developing phase and I hope that Mac and Linux users will enjoy it just like windows users did. You can watch the progress of development phase every day online at http://www.babacad.com/babacadw and you can also donate to support project by filling contact form. BabaCADW is programmed in Java and there are some settings which has to be maintained in order to run BabaCADW as Java applet in web browser. In windows, go to “Control Panel” and find Java icon. Open it and go to Security tab. There you will see Exception Site list. Click “Edit list” and add http://www.babacad.com and http://jogamp.org. After doing this, there will be no problem to start BabaCADW in any web browser. I recommend to use Firefox, especially for Mac OS X users. Safari on Mac has some bugs with Java applets and mouse wheel functionality, so you can not use zoom with middle mouse button. Windows and Linux users should not have a problem with any web browser (IE, Google Chrome, Firefox….). Till today, only LINE command is implemented to test command-line and rendering functions. All other commands will be implemented later, cause it’s most important to finish app logic and then other functions will be implemented faster.

LISP Enabled CAD — And So What?

First ask yourself why other commercial CAD software like AutoCAD, DraftSight and others, have no customization capabilities for free. LISP (AutoLISP in AutoCAD) is one of the most powerful customization features found in AutoCAD. But only one problem is that AutoLISP is not available in AutoCAD LT (lite low-price version of full AutoCAD). Every neighbourhood has a LISP programmer cause LISP is one of the oldest programming languages and it’s very easy to learn. Even non-programmer can learn to write LISP routines to automate and speed up his CAD work. If you don’t know how to write lisp function then you can find millions of lisp routines on internet for free.

BabaCAD was among the first to have LISP programming support. It’s also AutoCAD AutoLISP compatible in most cases. LISP is available as AddOn/Extension module and you can download latest updated version on http://www.babacad.com/bem

I found that I’ve forgot to include option of changing layer for multiple selected objects in last BabaCAD release 1.3. I will fix this in next BabaCAD release, but I will give here temporaray solution using LISP. Just copy this lisp function to chlayer.lsp (open notepad and copy/paste and save as CHLAYER.LSP). You can set lsp file to automatically load on startup or manually load using command APPLOAD. You can even assign your custom icon and toolbar to your LISP command by editing bcad.mnu file in BabaCAD/Support folder.

(defun c:chlayer (/ lyr ss en ind)
 (setq lyr (getstring “Type existing layer name to change to: “))
 (setq ss (ssget))
 (setq ind 0)
 (while (setq en (entget (ssname ss ind)))
  (setq en (subst (cons 8 lyr) (assoc 8 en) en))
  (entmod en)
  (setq ind (+ ind 1))
 )
 (princ)
)
(princ “chlayer.lsp by Mirza Coralic. Type chlayer to change object’s layer.”)

Free CAD for dwg files

BabaCAD 1.2 is released out with dwg read support up to R2007 (R2007 not included). Dwg file format is widely used for sharing CAD drawings and CAD blocks. Special thanks to my friend Haris Hasanbegovic who helped me with dwg support. There are also many new usefull features in new version. Snap to nearest, intersection, perpendicular are now available (end-point osnap already was there). Text objects are now filled and curved with Arial font default. Ritght-to-left rectangular selection is precise for touch selection. Arc draw is now with three points input mode as default (center-start-end angle input is option in command window). Polyline includes bulges (arc segments) with smart input and editing feature. New modify commands: offset, trim and extend. Offset command very usefull for cnc offseting of 2D lightweight polylines with arc segments. Undo/redo up to 100 commands. More right-click menu commands. Mouse right-click can replace enter key in command window. Select as you click, esc or mouse rclick + Deselect all to deselect. File formats supported in BabaCAD are *.dwg, *.dxf for  open, and *.dxf for save. New release are coming soon with more new features, so check it out at http://www.babacad.com

Convert dxf to pdf

It’s often necessary to convert CAD files as dxf or dwg to pdf or some other image formats (jpg,bmp,gif,png..). Dxf to pdf quick and free solution is something that we have provided here. We developed dxf format plugin for IrfanView – world most popular image viewer. Latest IrfanView version 4.35 plugins pack includes BabaCAD4Image plugin to enable reading and viewing dxf files. BabaCAD4Image is free and has ability to convert dxf to image with unlimited resolution. This means you can go to IrfanView->Options->Plugins->Dxf Options and set whatever resolution/quality for converting dxf to image. Then, after you read and view dxf, you can save it to any image format (IrfanView supports over 100 image formats). Even more, you can use IrfanView batch processing feature to convert multiple cad drawings in command line at once. Download IrfanView 4.35 and plugins and try it, link is http://www.irfanview.com

Free drawing software

I want to bring this matter to people who are not familiar with computer aided design (CAD). CAD is mainly used for detailed engineering, but there are many situations when you will need to draw something with high precision and not expecting it to be an engineering project. It’s not economical to buy expensive CAD software for such situtations. There are many free cad solutions out there. One has just to choose the suitable one for his need and here are some directions you can follow:

– try to find free CAD software, where ‘free’ means no registration, no limited features
– there are many AutoCAD clones (maybe 90% of all free cad softwares today) based on intellicad platform, and I don’t like ‘based on some platform’ fact, cause of many reasons (will talk in another post about this)
– number of usefull commands and functions
– complexity
– speed (must use OpenGL or DirectDraw graphics acceleration)
– download size

BabaCAD is still in development phase and many new features are coming soon. Just finishing plot command and plot layouts with model/paper modes. Check for new release at http://www.babacad.com.

 

BabaCAD has been awarded “Editor’s Pick” award by Brothersoft

I’m pleased to announce that BabaCAD awarded “Editor’s Pick” award from Brothersoft for the last month (Jun-2012).
BrotherSoft is one of the leading software download sites providing a huge collection of software for free download to over 20 million unique English visitors each month.

Download this free CAD and start drafting http://www.babacad.com

At first, when I was informed by the Brothersoft’s editor that BabaCAD is great CAD software and awarded “Editor’s Pick”, I thought, “ok, it must be they pick every new software release for such award”. Then, I was surprised after I searched google to see what is all about. I found this award is very respectable and here are some informations about criteria for getting “Editor’s Pick” from brothersoft’s site ( http://author.brothersoft.com/pickaward.html ):

<citation>
BrotherSoft Review Staff give one product a Pick Award because this product is easy to use, it has a professional-looking interface, it is excellent compared to other programs in this section and so on.

About Evaluation
We evaluate the software based on our established evaluation criteria, which is submitted by developer. And we will give the software developer an honest opinion. Our original intention is that our evaluation could help the software developer provide a better one for their customers.

About Pick Guide
The following ratings guides lead to our review staff give one software a rating 3 or other.
1. More popular, as well as higher utilization of the software or add-in.
2. This program is an excellent software between the similar software, easy to use and professional-looking interface.
3. No Spyware, not mandatory modify the registry, adds uninstall feature and removes all traces of itself from the hard drive.
4. The software author provides help built in to the program, technical support is provided by e-mail and is clearly displayed within the program interface.
5. This program has a professional-looking home page and contains download links, brief program information, contact information and help.
<end of citation>

Thanks to Brothersoft for awarding BabaCAD. I hope that I will make this software even better and more useful for worldwide users.