DesignCAD 3D Max 2027 box
Now available

DesignCAD 2027

Hatches that follow their boundaries, an on-screen dial to turn your model, and a way to find any command by name, in a clean Windows 11 look.

Cabinets for Design Cad and Sketchup

Started by Garry K, February 13, 2013, 05:18:46 PM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

Garry K

I went away for a while and converted all of my design cad macros into a ruby script for sketchup. I managed to get through the learning curve. What is interesting is the results.

With a kitchen that has 23 cabinets Design Cad took just over a minute to process. Some of the solids exported to via dxf to sketchup incorrectly and I couldn't get the groups to work completely like I wanted.

The same kitchen processed in standard sketchup 7 or 8 in under 3 seconds and did process completely correctly and this is with textures (primitive but interesting)

After I learned how to do this in sketchup with their push pull, it left me wondering if some of the solid-subtract processes could be accomplished in Design Cad using a similiar strategy - Set up vertices for a plane and then extrude into 3D. However I don't believe that you can cut out bits in Design Cad the same way you use pushpull to cut out bits in Design Cad.

What is interesting is that there ends up being far less code using Sketchup. The accuracy of  the drawn parts appears to be comparable.

At this point - I am supporting both strategies.

The bathroom was built in sketchup with a single button press.

MarkX

Quote from: Garry K on February 13, 2013, 05:18:46 PM
After I learned how to do this in sketchup with their push pull, it left me wondering if some of the solid-subtract processes could be accomplished in Design Cad using a similiar strategy - Set up vertices for a plane and then extrude into 3D. However I don't believe that you can cut out bits in Design Cad the same way you use pushpull to cut out bits in Design Cad.
Those look very nice!

You can do something similar to push/pull in DC, but it takes more work. First you need to set a workplane, unless your surface is already in one of the orthogonal XYZ planes. Then draw a plane that will be the hole in your cabinet on top of the surface, extrude it a bit, and then subtract the extruded part. Using a side view, switch to a side view, set "H" and select the points that form the back of the cabinet. Now you can change the cabinet depth however deep you want just by moving the 4 points.

Quote
What is interesting is that there ends up being far less code using Sketchup. The accuracy of  the drawn parts appears to be comparable.
Ruby is a great, modern language. BasicCad would have been outdated even in the 90s. Some people in these forums can do wonders with BC, but most people picking up a box at the local Software store will never come to these forums.

SketchUp can be as accurate as you need it to be. Trimble doesn't seem like a good match for SU. My guess is that SU will be sold again.

DC could improve its position comparatively by simply adding more textures to the current library and making it as easy (the "finger") to apply textures as it currently is to apply materials. You can get some nice results in DC with textures, but it takes too much work to apply them.

Do you build the cabinets yourself, or are you planning to sell the plans, or to sell the service that makes the plans or is it just for fun?

Really nice!
Mark

prl

Garry,

Nice.  Ultimately, in my opinion, SU will be the better visual presentation environment and you'll be able to pick and chose from a much larger material library.  Also one that you can control as to how the textures are positioned, rotated, scale, etc.

But if you are looking to create 2d CAD working drawings from a 3d model, then DesignCAD is a good choice.  Sort of the SketchUP Layout that  SketchUp doesn't have.  Even the version they sell with the PRO package is too much like a scrapbook app for me. 




Garry K

Mark,

Thanks for the feedback.

I have built software in C++ that allows you to very quickly build a set of cabinets. A material list is generated that is sent over to cutlist plus - an optimizer program. There is a 70 page pdf manual complete with examples and a tutorial.

I will licence this software to cabinet makers who want it.

My next project after this one is curved staircases. Spirals, double helix, flairs etc.

MarkX

Quote from: Garry K on February 14, 2013, 06:23:56 AM
I have built software in C++ that allows you to very quickly build a set of cabinets. A material list is generated that is sent over to cutlist plus - an optimizer program. There is a 70 page pdf manual complete with examples and a tutorial.
Hi Garry,

Cool. Once upon a time, I worked on optimization programming for a commercial program that provides build information for construction companies.

So, you're using DC or SU to provide the visual representation of the final product? I seem to recall that there's no way to apply textures through the DC API or basicCad. If you don't have a photo-realistic render environment (like SU or DC) then the next best thing is material textures or photo wraps. DC makes this so difficult, there's actually a 3rd party program to do it for you. But $300 is just too much.

Good luck,
Mark

minstrel

Quote from: Garry K on February 13, 2013, 05:18:46 PM
At this point - I am supporting both strategies.

Real fine results, Garry K...
...and glad to see your progress using both the programs as 'proving' grounds for one another.  There's no better way to learn and develop a solid work-flow.  Plus you are adding your scripting skills on top of them both!  Excellent!

No doubt, this same stradegy could be applied to more than just cabinet building...I can't wait to see what else you come up with.

All success with your marketing the software/scripts!

Minstrel

Garry K

Minstrel,

My next project will be with curved staircases. Spirals, double helix, flairs, winders etc.

Garry K

For anyone who is interested - I now have a web site set up where you can download a trial version of the Cabinet Making software.

The software CabMaker32 has a database populated with 4 kitchens and 2 bathrooms.
There is a pdf help file that contains a tutorial.

www.CabMaker32.com

Dean

Quote from: Garry K on February 22, 2013, 06:43:31 AM
For anyone who is interested - I now have a web site set up where you can download a trial version of the Cabinet Making software.

The software CabMaker32 has a database populated with 4 kitchens and 2 bathrooms.
There is a pdf help file that contains a tutorial.

www.CabMaker32.com

Garry,
Nice work on the program!. I am trying the demo version. I have a couple of questions. I have created a job using data entry and reporting units in inches and fractions when I "render" a current or all 3d cabinets in sketch up pro v8 all dimensions are correct but if I "render" in Design Cad 3d max v22.1 I need to scale down .3937 to get correct dimensions. It's not really a problem but was wondering if there is something I can do to correct this, thanks. Also, I can't get one of my new jobs to "render" all cabinets in sketch up, it works with design cad though. Some of the jobs you created render all 3d cabinets in sketch up. Is there a setting or something I over looked? Are you planning on creating more traditional door styles?
DesignCad 3D max 2021
Lenovo 17.3"Laptop Intel(R) Core(TM) i7-9750H CPU @ 2.6GHz/Turbo boost 6 cores 12 threads.16GB memory.SSD 256GB/HDD 1TB 7200 Rpm.Nvidia Graphics GeForce GTX 1660 Ti 6GB
Windows 10 Home 64 bit

DrollTroll

Garry, you may want to set up your own forum for questions like these.  The Simple Machines Forum software is dirt-simple to set up and administer.
Hint: Don't allow auto-activation of new users, or you'll be drowning in spammers.

DT
25 years with DesignCAD

Garry K

Dean,

The Render All feature requires that you have quantity set to 1 and that a wall is set. There is a built in feature to help place the cabinets in 3D space.

For the first cabinet, go to the Render page and set "Wall Number" to 1

For the second cabinet (assuming it should be placed immediately to the right of cabinet 1), go to the Render page and set "After Cabinet" to 1

Let's assume that you require space for a stove between the second and third cabinets.
For the third cabinet, go to the Render page and set "After Cabinet" to 2 AND set "Extra Space" the amount of room you want for the stove.

When you place a cabinet after a corner cabinet the program rotates the cabinet and increments the wall number.

I am planning on creating more door styles - it is on my to do list.  There is a to do list at the end of the help file. I have finished the first 4 items in the list which will be on version 1.0.5.

The output for Design Cad is in cm and for Sketchup it is in mm.
If you change your units of measure in Design Cad it will scale properly.
I can certainly add some code to convert cm to decimal inches.

BTW - internally I store everything to 1 thousands of a mm which is 1/25,400 of an inch.

Garry K

DT

I just created my first web site not even a month ago!

Yes - I am going to setup my own forum.

Dean can email me directly with questions. I assumed that he posted his questions here for other peoples benefit.

Until then there is a contact page on my web site that you can use.

Garry

DrollTroll

Sorry if I stepped on your toes, Garry. It was just a gentle suggestion. :D
Very nice-looking site, by the way.
25 years with DesignCAD

Garry K

No problem at all.

I fully understand that you need to facilitate this forum and keep it focused.

DrollTroll

We're all good then!
Note that I have just now added a new board for such discussions. Hope it'll come in handy!
25 years with DesignCAD