Monday, December 7, 2009

My Next Project


Hmphhh! Seems nobody wanted my handrail routine. Oh well, as I said I'm going to get fun out of it.

Now for the next pile of frustration: A lisp set that does wooden joinery,ie windows (or called millwork in the USA). A friend of mine recently bought an English program that costs up joinery, so maybe I'll add to my drawing part to create a saleable item. I think I'm done now with giving some things away for free.

Progress has been slow-it is now at the stage shown in the pic.
I'm realising in my travels that there are some drawings done by architects of joinery, but most of these only have a passing nod at doing things to scale. It seems nowhere is there an "engineering" type of scale drawing exactly how joinery is constructed.

Friday, November 20, 2009

Now Anyone can draw handrails












Finally. The baby has arrived. hrail.lsp that is. A difficult birth, accompanied by much wailing and gnashing of teeth. Just as well that I was forced to take some days off work, otherwise it might never have been done. Last weekend it was "finished", that is until I tried it out on a real drawing: it crashed and burned when the pline had an elevation greater than 0.
I'm quite surprised that I managed to debug it today and get it ready to roll. It was a neat feeling to see it doing it's thing in the end.
Which makes me wonder why I should spend my limited time left on planet earth doing stuff that I end up giving away for free? Probably just mad. Seriously, I have wanted one of these for years now-and if nobody else wants it, big deal: I'm going to get a lot of fun out of using it.
It's a bit like someone doing crosswords-just a bit of a challenge and exercise for the brain, and if someone else gets some use, good.
It makes use of a dialog box, offering use of 6 different types (see the previous blog). The idea is to draw a pline CLOCKWISE around the floor edge of your steel platform, issue the hrail command, make your choices, and pick the pline to get the results shown above.
I'm making the files available only by email request to gauge if anyone is interested.
See http://bilrocad.com/Lisps3d.html for instructions on use.
I can be emailed on bill@bilroCad.com










Friday, November 13, 2009

Handrails: The final solutions?

This handrail business is turning into an obsession for me. I'm hoping to move on by putting it to bed once and for all. At present work where I'm at is tailing off, so I'm busy going to the movies and generally taking things far too easy. I''m hoping to finally nail the handrail lisp routine which I have almost finished, and will post it as soon as it is finished. Before Xmas?
To this end I can present 5 different versions, the dwg files of which can be found at:
http://bilrocad.com/Structural/Structural.html
The jpgs which follow are of these different types. Each has it's advantages and disadvantages.
For instance Type A has the advantage of the stanchion doing two purposes: one as support and the second as a capping.
If I had to pick one, it would be Type C as it looks the best and has minimal welding. For stainless steel, a Type F would be the cheapest to install, and does not look that bad.
Please note that these handrails may or may not conform to the standards applicable in your country. I'm sure that some will say they know of another 10 variations on the handrail theme,
if you are interested in these being in the listing, contact me at bill@bilrocad.com



























Monday, November 9, 2009

Finding the mass of a solid using Autocad

You may know of the Autocad command "MASSPROP". A very useful command when you have drawn an item in a 3D solid and wish to calculate the volume or mass of it. If your model is made up of many solids you might have to take a copy of them and run the union command on them, to make them all one piece.

Unfortunately, all it gives is the volume, and in my case in cubic millimetres, so you have to usually convert it to cubic metres and then multiply that by 7850 which is the density of steel in kg/cubic metre.

To shortcut all this I have written a lisp that does all this for you.

Before running the routine, which can be found at my website, http://bilrocad.com ,please make a directory called "bilro" off your c: drive, ie c:\bilro, othewise it won't work. If you want to put it somewhere else, fine, but be sure to alter the two places in the routine where it reads and writes to a file-have a look, they are easy to spot!

How it works:
1. It issues the Autocad command MASSPROP and when asked if it wants to write to a file, it does so, putting it at c:\bilro
2. It then opens up this file and using a counter skips down the first five lines to locate the volume.
3. The final part just multiplies the volume x 7850 to give an aswer in kg on the command line.

You will see that in the process of doing it's thing it sets filedia to 0, which suppresses file dialog boxes. If this routine ever crashes, to set things back to normal, type filedia at the command prompt and set it to 1, otherwise you have to use the command line to open drawings.

Happy massing!

Monday, November 2, 2009

Vaguely Autocad Related....

This set of renders I did about 4 years ago. At the time I was helping a friend with his architectural stuff. I must have had a bit of time on my hands because I had a little go at finding out doing architecture is not as easy as you might think!

These I have to admit are not wonderful renders-I've posted them as a series, starting at the top, showing how a design can metamorphose. My friend had a preference for Corten Steel, so this had a slight influence, as did things going wrong with materials-see the gold crinkly one.

In the end we did not get the job, but I had fun finding out I'm not an architect.

I can look back now and see that the design was a bit "office building"




























































































Monday, September 28, 2009

The Wunnerful World of Xrefs

Xrefs....love them or hate them? In my normal course of work, I do not really need to use them because most of my drawings are of simple things. Occasionally I have to do a large layout, so instead of cluttering up the model with sectional views, I write these out to separate files, which are in turn xreffed into an output drawing.

Recently a friend got me to check out how quick my computer was printing a PDF. His drawing was full of xreffed in bits and pieces. What was interesting, was that he was xreffing back into
the components, the main layout! So, when the layout was opened, I got a message saying "circular reference detected, breaking reference". He explained that this was the clever way to ensure that components ended up in the correct place. Clever indeed.

Recently, I have had a small tank and piping job to do for a consultancy. So I thought what a good place to experiment with circular references and so on. I knew of a thing called refedit, but never used it much. On this job though, I found that if you right click, there is an option to use refedit. I'm now convinced that this is the way to go, as you can use the geometry of the other things in the layout to position parts on a component drawing.

I think sometimes you can overdo xreffing-after all: you have drawn a pump - is it likely to change? No.

The set of drawings created makes much use of viewports using conceptual shading: try it, you will like it!

I was able to make great use of pip and pipeset lisp routines for this job (see earlier posts and my website http://www.bilroCAD.com for info). Of course the first comment from someone was "Does it produce a BOM?" to which the answer is no. Maybe one day.

Saturday, August 22, 2009

Just a short trip to heaven and back...

Oops. Now I'm back. In the course of my whining about lack of work, one of my friends donated me a customer that he was too busy to deal to. Only a day and a half. A brand new computer at this place. Quad core, FX3700 graphics card (high end!), 24" monitor...woopee!
How come nobody wants to know about all this wonderfulness? Guess I'm just a geek after all.

On the first day, I found it did not let dialog boxes display (R2010) and the pgp file had partially gone, so on the second day I asked if I could do a "repair installation". This was a success and things were a lot easier, so I decided to check 3dconfig. It was set to software acceleration. A bit strange as it had a high end Nvidia card, so I set it to hardware and checked out a shaded view....very smooth!

It was using Vista, which did not seem to slow it down much (it did a bit).
I got a bit faded after 10 hrs on the second day, doing a factory layout, in 2D.

Then back to the "other" place, to revisit the small platform. Oh dear...It seems what looked OK as a layout turns out to have serious flaws, like for instance the top step having a rise of 300mm!
I spent a day knocking it into shape and doing the detail drawings. Funny how starting the details brings out all the mistakes made!

I'm also shaking at the knees about a large 300kg duct that they are going to install by dropping through the roof with a helicopter. I find out this week on Monday.

Shaded views: I'm trying out a new policy (just to see if anyone will notice)-plotted viewports are now using conceptual shading. I think it makes the drawings look a lot more realistic than just hidden lines.