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.

drilling holes for shelf pins in 3d

Started by compman2, February 19, 2013, 01:39:33 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

compman2

I have cabinet sides created in 3d.  The material is 3/4" thick.  I want to drill out 1/4" holes 1/4" deep in the side panels to accept shelf pins.  I have created a circle then drawn an array of circles from the initial circle.  I then convert all the circles to planed and extruded them 1/4" in correct direction.  I then try to subtract the extrusions from the larger panel and I can't make it happen.  I always get an error.  Is this a possible operation or is there a different approach needed? 

I have created the same panel 1/4" thick and done the operation extruding the holes to about 1" and then subtracting them.  I then created a second panel 1/2" thick and did a solid add of the two solids.  This did work but involves quite a few more steps.

Any help or tips or different approaches.  I was hoping to experiment with a macro to build a simple cabinet but creating two panels and adding them together looked a bit daunting.

Bob P

Instead of starting with a plane(s) and extruding, I'd probably use cylinders to begin with.

Make sure that the subtracting solid passes completely through the side of the other solid.  Instead of making the subtracting cylinders 1/4" long, make them 1/2" long but have them extend past the surface of the other solid 1/4". 
Combine all the cylinders into a single solid, then subtract.

MarkX

Make sure your "board" is a solid. Make sure your "holes" are solid.

Some people say that the subtracting pin has to be a bit out of the board to make sure that it creates a hole. I'm not sure that that is true anymore in v22. It seems to work without that on a perfectly flat "board".

But here's a trick to make sure. Create your subtraction "hole" as a cylinder flush with the plane you're "drilling" into, and the right depth for your hole. Then use the Resizing Handles to extend the top of the cylinder away from the board a bit. Now you have the right depth plus some arbitrary distance.

Good Luck,
Mark

compman2

I seem to be having trouble placing 3d objects on other 3d objects that is why I have started with 2d and extruded.  I am sure there are some tricks that I just haven't caught yet. 

So the cabinet side is created as a solid.  How do I go about precisely locating the cylinder on/in the solid to subtract?

Rob S


You are right, this requires some tricks, because basic cylinders do not have centrelines by default

I would create one "drill" pin as a cylinder, and make sure to retain the original circle it was extruded from.

Also, extend the drill in both directions from this circle.

Then, by selecting the cylinder, and setting the handle on the radius point of the circle, the drill copies can be accurately snapped to intersections of a grid of centerlines drawn on the surface of the "Cabinet side"

Then, to simplify the subtract operation, first combine (solid define) all the drills into a single solid, then perform only one subtract command.

DC sometimes seems to work better subtracting one complex solid than several simple ones.
User since forever

JJG

Quote from: Rob S on February 20, 2013, 08:01:48 PM

...
DC sometimes seems to work better subtracting one complex solid than several simple ones.
You are right, Rob S : indeed, it is more efficient to solid-define all the solids you want to subtract in one complex solid, and then to solid subtract it in only one time.

Dr PR

compman,

An easy way to find the center of the end of a cylinder is to use the "Draw/Circles/Circle (3 point)" function and gravity snap to three points around the end of the cylinder. Then select the circle and a handle will appear at the center.

If you need to create a centerline for a cylinder you can create 3 point circles at each end and connect the centers. Or I usually just draw a line (V) by gravity snapping to the ends of a facet on the cylinder and then move the line to the center of a circle at one end of the cylinder.

If you know the location of a hole relative to a corner of a solid you can select the cylinder, set a handle at the center of one end, start the "Move" (M) function and use "Point Relative" to position the cylinder relative to the corner. If you set the proper depth in the "Point Relative" function the cylinder will be positioned correctly after the move for creating the hole.

If you want to make a lot of evenly spaced holes you can use the "Array" function to make multiple, evenly spaced copies of the cylinder before using Solid Subtract.

One word of warning - there is a not very large limit to the number of times you can subtract from a solid with "Solid Subtract." I can't give the actual number because I think it has something to do with the total number of facets, but I'm not sure. I had lots of problems creating the grating shown in the attached image. The program (V17 or V18, I think) crashed before all the holes were punched when I tried to subtract each hole one at a time. Then I created the array of holes, lumped them together as a single solid, and it got a little farther but still crashed. Eventually I created half of the grating, miror imaged it, and combined the two halves into one solid. The program has no problem working with the end result. It was just the "Solid Subtract" function that crashed if the facet count was too large.

Phil
DesignCAD user since 1987

JJG

Quote from: Dr PR on February 21, 2013, 12:07:52 AM

One word of warning - there is a not very large limit to the number of times you can subtract from a solid with "Solid Subtract." I can't give the actual number because I think it has something to do with the total number of facets, but I'm not sure. I had lots of problems creating the grating shown in the attached image. The program (V17 or V18, I think) crashed before all the holes were punched when I tried to subtract each hole one at a time. Then I created the array of holes, lumped them together as a single solid, and it got a little farther but still crashed. Eventually I created half of the grating, miror imaged it, and combined the two halves into one solid. The program has no problem working with the end result. It was just the "Solid Subtract" function that crashed if the facet count was too large.

Phil

I think instead of crashing, the program should pop up a message such as "operation failed ..."
It would avoid us a lot of wasted time or of irritation when we forgot to save the work before such an Boolean operation.

MarkX


Dean

Quote from: MarkX on February 21, 2013, 06:22:27 AM
Here's a video that may (or may not) help:

  http://youtu.be/-CkDiZO_g-g

Mark

Nice tutorial Mark! And if you use the "solid segregate" command you'll have the shelf pins too..
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

compman2

The video was helpful.  I have watched it a couple of times and will return to it again.  I have tried some of the other techniques suggested and am learning new things.

I didn't know about resize handles, I figured out how to use them, very helpful.  Thanks for all the help and suggestions.  There is so much to learn, but it is fun and challenging. 

MarkX

Quote from: Dean on February 22, 2013, 04:51:26 AM
Nice tutorial Mark! And if you use the "solid segregate" command you'll have the shelf pins too..
Great  idea! Maybe if I make "Rev. 2". I was trying to get this one out there fast.

Mark

minstrel

#12
Since I'm always looking for creative things to make I've now made it a habit to always use the 'segregate' command. You will be surprised at some of the remarkable by-products of solid segregates and what can be done with them...

Minstrel

Mark gave us another great 'SCast' - thanks Mark!

...and compman2 - keep on havin' FUN!  It makes for a good 'learning' environment!