CafeJr Posted October 7, 2013 Share Posted October 7, 2013 Hello, I need one help to do a LISP that can execute it: get one irregular area, and split it according a specific aredea defined, like, 100 m², and I need to split it in 25 m² (I know that it will result on 4 parts of the first one, but how do it?), can someone help me, thanks a lot. José Robeto. Quote Link to comment Share on other sites More sharing options...
mikekmx Posted October 7, 2013 Share Posted October 7, 2013 wow. good luck. if any curves at all i would imagine you would need some Calculus to obtain the required area? unless taking chunks out of the middle somehow. Quote Link to comment Share on other sites More sharing options...
SLW210 Posted October 7, 2013 Share Posted October 7, 2013 I moved your thread to the AutoLISP, Visual LISP & DCL forum. Quote Link to comment Share on other sites More sharing options...
Organic Posted October 8, 2013 Share Posted October 8, 2013 See if http://forums.augi.com/showthread.php?40484-Looking-for-a-LISP-routine-to-cut-area-of-parcel-of-land/page2& helps you. Most civil or survey programs have this built into them also. Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 8, 2013 Author Share Posted October 8, 2013 wow. good luck. if any curves at all i would imagine you would need some Calculus to obtain the required area? unless taking chunks out of the middle somehow. I need something like the picture, is necessary to split the area independently of the form... Thanks for help... Quote Link to comment Share on other sites More sharing options...
Organic Posted October 8, 2013 Share Posted October 8, 2013 If it is a one off need, you could do it manually through trial and error. Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 8, 2013 Author Share Posted October 8, 2013 "Organic"... there has some thing, so is in different way and I can't split it in more than 3 pieces... if you know another thing I'll be grateful... Thanks... Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 8, 2013 Author Share Posted October 8, 2013 "SLW210"... Thanks to help... Quote Link to comment Share on other sites More sharing options...
Organic Posted October 8, 2013 Share Posted October 8, 2013 "Organic"... there has some thing, so is in different way and I can't split it in more than 3 pieces... if you know another thing I'll be grateful... Thanks... I don't understand what you mean. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 9, 2013 Share Posted October 9, 2013 Did you have a look at the link on Organic's post ? It describes the 4 common methods of cutting area's and has a lisp ? Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 9, 2013 Author Share Posted October 9, 2013 (edited) Sorry Organic, so, that Lisp on your link split a region as the picture (in two pieces), so what I'm looking is one Lisp that can get the total area and divide it by a specific area or specific number of pieces. To do it with a regular area it's easy and do not necessary a Lisp, so to do it with one irregular area it's necessary something to help, I'm ataching another picture as a example and one link: Something like that: Edited October 10, 2013 by CafeJr Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 9, 2013 Author Share Posted October 9, 2013 Yes "Bigal", I saw, that has one Lisp solution. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 10, 2013 Share Posted October 10, 2013 Re the pictures to split a object into 3 you would run the routine twice and nominate the area required each time. It could be modified to recognise total area and work it out for you. Do a bit of googling using "survey" as one of the key words if you can find theory then someone can do coding. Quote Link to comment Share on other sites More sharing options...
pBe Posted October 10, 2013 Share Posted October 10, 2013 ....Do a bit of googling using "survey" as one of the key words if you can find theory then someone can do coding. I concur. But it looks easy enough to code . Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 10, 2013 Author Share Posted October 10, 2013 (edited) "Bigal" I have no idea how works with "survey" so I'll try to found some thing to study about it... thanks!... About the first Lisp, I do know what happened but dosen't work good... and in my application I'll use about 20 pieces (or more) to split one area, but I have more than only one area to split in 20 pieces. If you look something that can help-me I'll be grateful... Edited October 10, 2013 by CafeJr Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 10, 2013 Author Share Posted October 10, 2013 "pBe", I don't know, If you know something and can showme how to do... thanks... Quote Link to comment Share on other sites More sharing options...
BIGAL Posted October 10, 2013 Share Posted October 10, 2013 This is a screen grab of a commercial product (Civilcad) you can see the lots being produced it has various options on how to create a lot but you do have to buy it. Quote Link to comment Share on other sites More sharing options...
sepultura Posted October 11, 2013 Share Posted October 11, 2013 CafeJr, I can help you, cause I'm working on some extended lisp functions in babacad. If you are interested I will add new babacad lisp specific function, and I will name it like 'bc-area-divide'. It will work with polylines input at first. You will just have to install babacad and lisp extension and you can use it. When you finish your work, you can save dxf and open it in autocad, or whatever cad you use. If you are interested, just tell me and give me one day to finish it. Forgot to say. You don't have to buy anything Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 11, 2013 Author Share Posted October 11, 2013 "Bigal", It's exactly that I need, but to apply on AutoCad 2010... I'm looking for it a litle time and studing how to do the Lisp code, so it's no too easy... cause the references points that's necessary to get and how to split these area... I'm trying to create a "map" like a knowed are above the area that I'm spliting and after work like a manually through trial and error, drawing a line get the area inside, check, and erase the line if's out of the wanted area and drawing another line again to find the wanted area... Thanks to help... Quote Link to comment Share on other sites More sharing options...
CafeJr Posted October 11, 2013 Author Share Posted October 11, 2013 ?... Thanks "Sepultura", but how do it?... Are you Brazilian?... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.