Jump to content

Recommended Posts

Posted

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

DWG1.JPG

  • Replies 22
  • Created
  • Last Reply

Top Posters In This Topic

  • pBe

    10

  • gvgbabu

    7

  • BIGAL

    5

  • Organic

    1

Top Posters In This Topic

Posted Images

Posted

You might need to describe clearer how the 'donuts' are placed/determined.

Posted

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 = ????

Posted
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):

Posted

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

sample.jpg

Posted

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)

Posted

thanks pBe

 

yeah we may read from afile (xcel)

 

i am eagerly waiting for ur reply

 

thanks

Posted

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.

Posted

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

Posted

hi pBe

 

what data u need

 

i already provided the data

 

thanks

Posted

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

Posted

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

sample.JPG

1.xls.zip

Posted (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? :lol:

 

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 by pBe
Query
Posted

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.

Posted

Thanks Bigal

 

I would make a simple dialog to start, then we'll pick from there

 

Keep you posted

Posted

this is a draft of the DCL

 

dcL_Donut.png

 

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?

Posted

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

Posted

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 .

Posted

I'll get back to you after the Lenten Season

 

be patient

 

:)

Posted

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

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...