gvgbabu Posted April 18, 2011 Posted April 18, 2011 HI ALL how to write the lisp program for getting the attached drawing i have a rectangle i have a text 3-20# st. + 3-20# Extra from the text how can get total (3+3) nos. of donuts at top as placed in the drawing can u some body help me thanks in advance Quote
Organic Posted April 18, 2011 Posted April 18, 2011 You might need to describe clearer how the 'donuts' are placed/determined. Quote
BIGAL Posted April 18, 2011 Posted April 18, 2011 Would it be easier to pick the number of donuts then write text ? given the donuts are placed also as part of program. ie do 3 donuts = 3-20# 6 donuts = 3-20#+3-16# 5 donuts = ???? Quote
pBe Posted April 18, 2011 Posted April 18, 2011 Would it be easier to pick the number of donuts then write text ? given the donuts are placed also as part of program. ie do 3 donuts = 3-20# 6 donuts = 3-20#+3-16# 5 donuts = ???? I would think the OP may already have the data (the info). so a code for donuts AND/OR text/leaders within the rectangle would be the result. Info needed: Minimum clear cover Vertical spacing between "donuts" (EXTRA): Stirrups (might as well include that): Quote
gvgbabu Posted April 18, 2011 Author Posted April 18, 2011 hi pBe thanks for reply minimum cover is 20 mm alround the stirrups vertical spacing also 20 mm rectangle stirrups donuts must be placed at corners spacing between them is adjusted depending on number of donuts would come is it possible if yes could u explain further thanks gvg sample.dwg Quote
pBe Posted April 18, 2011 Posted April 18, 2011 I beleive we can write a code wherein you input/select or better yet read form a source (table or file) to create the drawing in one go. and even include the dimensions. I'll take a crack at it tomorrow (I'm on a different Time Zone) Quote
gvgbabu Posted April 18, 2011 Author Posted April 18, 2011 thanks pBe yeah we may read from afile (xcel) i am eagerly waiting for ur reply thanks Quote
BIGAL Posted April 19, 2011 Posted April 19, 2011 Understand now your drawing concrete beams with reo this has been done before, do a bit of searching posts here and other forum sites Theswamp etc "Concrete beam", also isn't your 3-20 + 3 -16 drawn in-correct, maybe I am wrong but if I wrote 3-20 + 3-16 bars I would expect two rows of 3 not four on top. The only time this would happen would be if the designer had specifically computated it to have a 16 added to the top row very un-usual arrangement. PbE the way to go is to do it from a dialouge box L W stirrup offset top diaxNo 2nd diaxNo Bottom reo same as topall boxes have increase/decrease size arrows etc Gee I wonder why I have seen this done already plus more http://www.cad.com.au/strucplus/strucplus.htm Pretty sure have one of these at home will have a look for it. Quote
pBe Posted April 19, 2011 Posted April 19, 2011 also isn't your 3-20 + 3 -16 drawn in-correct, maybe I am wrong but if I wrote 3-20 + 3-16 bars I would expect two rows of 3 not four on top. The only time this would happen would be if the designer had specifically computated it to have a 16 added to the top row very un-usual arrangement. I'm wondering about that same thing on my first post PbE the way to go is to do it from a dialouge box L W stirrup offset top diaxNo 2nd diaxNo Bottom reo same as topall boxes have increase/decrease size arrows etc Nice idea, but first, the OP need to provide us with data Quote
gvgbabu Posted April 19, 2011 Author Posted April 19, 2011 hi pBe what data u need i already provided the data thanks Quote
pBe Posted April 19, 2011 Posted April 19, 2011 DATA as in your table in excel format yeah we may read from afile (xcel) To make it work, we need this values to generate a variables based on the varying values such as "donut" sizes as per callout 3-16, 3-20. some of us here are totally clueless as to what this means. so if you can provide info on these items the better the code will work for you. i.e. 12 being the smallest diameter and 20 as the biggest, and for the other query as BIGAL stated, placement of the rebars on your sample drawing somehow doesnt jibe with the call-out, and as he suggests it varies with the designers point of view. thats why its important for us to understand placement/sizes and the like. Hence the request for data and more info Quote
gvgbabu Posted April 19, 2011 Author Posted April 19, 2011 hi pBe i am attached a dwg and excel file here so if u need any thing just reply ur effort will be appreciated i am eagerly waiting for ur reply thanks gvg 1.xls.zip Quote
pBe Posted April 19, 2011 Posted April 19, 2011 (edited) Now thats more like it. Let's see what we can come up. cheers EDIT:While I was working on parsing the string form the XLS file (actually converted it to CSV) I realized that BIGALs suggestion of running the routine with the use of a dialog box makes more sense. PbE the way to go is to do it from a dialouge box L W stirrup offset top diaxNo 2nd diaxNo Bottom reo same as topall boxes have increase/decrease size arrows etc though parsiing the string is doable, there are too many possible pattern to consider (very unpredictable). Bigal, Do you have a dcl file similar to OP's requirement? maybe i could start with that. I can hanlde writing the code to draw the entities but DCL just takes too much of my time. BTW, gvgbabu did you check the link that BIGAL posted? I'll work on your code sans the dialog box for now Be patient my friend. unless someone can provide a similar DCL i can modify. Edited April 19, 2011 by pBe Query Quote
BIGAL Posted April 20, 2011 Posted April 20, 2011 Unfortunately I dont have a dcl it probably comes down to designing one from scratch I would have enter W & D as two beside each other, Next top reo two lines No of bars maybe slider (step by 1 ) and have a pull down reo values min at 12 other reo sizes only need 1 list for all reo sizes Bottom reo again two lines Stirrup dia again a list 6 8 etc Check actually works no bars + spacing plus stirrup = no cover ??? do agian or exit Then pick point on sheet splatt done! I can post some help from another Dcl I have if you need it but can not send it all as copyrighted. I still think reinventing the wheel the commercial add on has years of development way past just a reo beam. But if you want to do it as a learning exercise more than happy to help. Quote
pBe Posted April 20, 2011 Posted April 20, 2011 Thanks Bigal I would make a simple dialog to start, then we'll pick from there Keep you posted Quote
pBe Posted April 20, 2011 Posted April 20, 2011 this is a draft of the DCL You guys think the clear minmum cover will change form 200 to something else? I'm having second thoughts for the need to include that on the DCL. Suggestions? Quote
gvgbabu Posted April 20, 2011 Author Posted April 20, 2011 hi pBe thanks some time clear cover changes it would be better to have clear cover as well on the DCL thanks in advance gvg Quote
BIGAL Posted April 21, 2011 Posted April 21, 2011 Clear cover cover depends on a couple of major things first is obvious can not have bar sticking out and takes into account stuff like conc strength and aggregate size, 2nd is enviroment in a sea water site will have more cover to stop bars rusting, there is more the engineer will advise but set the value to say 25mm min steps of 5 . Quote
pBe Posted April 22, 2011 Posted April 22, 2011 I'll get back to you after the Lenten Season be patient Quote
pBe Posted April 24, 2011 Posted April 24, 2011 gvgbabu are you using this values for bar sizes? (metric) 5 6 8 10 12 14 18 16 20 22 25 28 32 40 50 Quote
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.