Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - babadmin

Pages: 1 [2] 3 4 ... 7
16
It can do all same in BabaCAD too. I just gave example with block insert (command "insert"), but you can use any command.
If you want use mid point for line, than put (command "line" (half) '(25 30) "") , and this will draw line with startPoint= [midpoint as output calculated from func 'half'] and lastPoint=[some point ex. 25,30], or you can put some other variable instead of exact value for second point.

17
Copy this to m2p.lsp file

(Defun HALF (/ a b)
(SETQ A (GETPOINT "\nFirst Point ")
B (GETPOINT A "\nOther Point "))
(POLAR A (ANGLE A B)(/ (DISTANCE A B) 2)))
(defun c:m2p (/)
(command "insert" "b1" (half) 1.0 0.0))


Block named 'b1' must exists in drawing before starting command 'm2p' in BabaCAD. I've tested this lisp with success.

18
(Defun c:HALF (/ a b)
(SETQ A (GETPOINT "\nFirst Point ")
B (GETPOINT A "\nOther Point "))
(POLAR A (ANGLE A B)(/ (DISTANCE A B) 2)))

then appload, choose half.lsp and type half at command line. That's it.

Updated: I fixed bug in getpoint lisp function (reference point is ok now). Just go download latest Update 2 (21th November late night CETime) from http://www.babacad.com/ext

19
I check it, and it works (one small bug is that first point cursor is 0,0, lisp does not get A point as a start, but it's just visual effect, result of mid point is correct).

You get mid point as list in result of function. Also, to run this as a lisp command in command line you have to add 'c:' in front of HALF function name in this lisp or run as lisp function directly in BabaCAD command line (using brackets), like this (HALF).

20
This is fixed. It's in BabaCAD 2017 Update 2.

21
General discussion about BabaCAD / Re: Simple staircase Lisp
« on: November 21, 2017, 02:38:41 pm »
Thanks for this lisp. Latest Update of BabaCAD has a lot of improvements. PLINEJOIN now works. You can, for example, after 'esce' lisp command, run PLINEJOIN, select first stair polyline and then select whole stairs (all polylines) to make stairs to be one polyline object. New update also has parallel osnap, circle construct from 2P,3P, tangents and many more. This version (BabaCAD 2017 Update 2) is optimized to work fast with large and complex drawings (with hundreds of thousands of entities).

I fixed many bugs and added many new features in this update (read news list after download). Currently, Update 2 is beta, so it must be downloaded from Extension Modules section - http://www.babacad.com/ext). For a few days, after some tests, it will be available for download from main page (64-bit download).

Now I will have a time to improve lisp interpreter for Update 3. I will try to add more lisp functions and fix existing bugs.
For all users, please attach your working lisps here for other users. Also, if you have lisps that do not work in BabaCAD, please attach them also, and I will try to modify it to get it work in BabaCAD (maybe I find bug in Lisp interpreter and fix it for new Update).

22
It's fixed in Update 2 which will be available for download soon (BabaCAD 2017 v2.2).

23
General discussion about BabaCAD / Re: Uninstall BabaCAD V. 1.3.4
« on: October 09, 2017, 10:45:14 pm »
Already fixed :) Click on the link to see screenshot (forum members will see attached screenshot image at the bottom!)

http://www.babacad.com/upload/snapshots/KabeltraegerOhne-BabaCAD.jpg


P.S.
This will be available in BabaCAD 2017 Update 2 (Release date: End of October 2017).

24
General discussion about BabaCAD / Re: Uninstall BabaCAD V. 1.3.4
« on: October 09, 2017, 09:42:33 am »
There is a bug when reading nested blocks from dxf (blocks inside blocks). It will be fixed in BabaCAD 2017 Update 2 (expect to be available to the end of this month). I've checked your dxf. It's very confusing, cause every element (about 300 splines) is made as a block and nested inside other blocks (group of other splines). It can be simply drawn as one spline.

25
Thanks for your interest in BabaCAD. There are some lisp functions not implemented yet (will be in next releases), so thats why some lisps do not work. List of currently implemented lisp functions can be seen at Lisp section (http://www.babacad.com/lisp), just look for lisp syntax.

You can easy add toolbar icons for lisp commands. Example and details about this can be found at BabaCAD installation folder, under "Program Files/BabaCAD/BabaCAD 2017/Support" folder. There is bcad.mnu file, open it with notepad and add line with your .lsp name after one which already exists for example lisp command. Put your lisp script into "..BabaCAD 2017/Support/Lisp" folder and it will be loaded on BabaCAD startup. Edit bitmap file /support/lispexamples32.bmp and add/draw your lisp command icon. Read comment in top of bcad.mnu file about how to create your toolbar menu sections and icons.

26
General discussion about BabaCAD / Re: Uninstall BabaCAD V. 1.3.4
« on: October 06, 2017, 12:01:49 pm »
It could be that you installed another version of BabaCAD after one already installed, and then it overwritten old version. Then, after you uninstall that last installed version, older one left in program files x86. Just delete that foldera nd it will be ok. BabaCAD does not install nothing but files visible in BabaCAD folder. That's why thumbapps.org reviewed babaCAD as portable CAD app. You can just copy installed BabaCAD to USB stick, and then you can run it from stick on any window computer.

If you have windows 10, did you try BabaCAD 2017, it's 64-bit and far away better than old 1.3.4 (32-bit) version.

27
General discussion about BabaCAD / Re: os updates
« on: September 18, 2017, 12:31:40 pm »
I was busy working on BabaCAD 2017 for Windows, but now I hope I will find some time to make update for Mac version too.

28
General discussion about BabaCAD / Re: Find tool
« on: September 15, 2017, 05:13:18 am »
There is no 'find' tool yet, but I will put it on my ToDo list. Thank you for the notice.

29
General discussion about BabaCAD / Re: Translation
« on: September 08, 2017, 11:57:16 am »
Thank you. I will contact you when I finish French translation, so you can just check if I did everything right.

30
General discussion about BabaCAD / Re: Translation
« on: September 08, 2017, 11:44:58 am »
I have been thinking of doing German, French and few more translations, but I can't say when it will be. I have to check if I can use google translate, cause I don't have anyone to translate command names.

Pages: 1 [2] 3 4 ... 7