News:

Be sure your post is relevant to the current discussion.  Create a new topic within the appropriate board if you are unsure.

Main Menu
TurboCAD 2026 Platinum box
Now available

TurboCAD 2026.2

The latest update for TurboCAD 2026. It installs over any 2026 build and keeps your activation, drawings and settings. Get it from the Start Page or Help > Check for Update.

Convert 2d into 3d solid with cutouts

Started by dwc309, January 13, 2010, 11:45:42 AM

Previous topic - Next topic

0 Members and 0 Guests are viewing this topic.

dwc309

Newbie question.  I have a part that is basically a cylinder with a D shaped hole down the middle that I'm trying to draw.  It also has 2 parallel slots cut part way down.

I draw the 2D version, then I select the interior part and 3d it up to the correct height.  Then I select each of the other side pieces & 3d them up to the correct height.  Everything looks good, but how do I say that there should be a D shaped hole in the middle & the rest is solid?

I've looked at a tutorial where it used the hemisphere to do that, but there example is a solid object.  The toroid doesn't seem to work.  The extrude might work, but I'm uncertain as to how to do that.

thank you.

[attachment deleted by admin]

Henry Hubich

#1
Quote from: dwc309 on January 13, 2010, 11:45:42 AM
Newbie question.  I have a part that is basically a cylinder with a D shaped hole down the middle that I'm trying to draw.  It also has 2 parallel slots cut part way down.

I draw the 2D version, then I select the interior part and 3d it up to the correct height.  Then I select each of the other side pieces & 3d them up to the correct height.  Everything looks good, but how do I say that there should be a D shaped hole in the middle & the rest is solid?

I've looked at a tutorial where it used the hemisphere to do that, but there example is a solid object.  The toroid doesn't seem to work.  The extrude might work, but I'm uncertain as to how to do that.

thank you.

The first thing you must do is to repair the overlaps shown in the attached screenshot. (There are more overlaps that I haven't pointed out -- each end of each straight line overlaps the arc to which it's supposed to be connected.) Once you've done that -- most easily by redrawing them, IMO -- your best approach is to set the Thickness to zero and Simple-Extrude the lines and arcs. Enable "Use compound profile" before extruding; hold the Shift key while you click on the outer outline (2 arcs plus 2 lines, all of which will light up at once when you've correctly repaired the overlaps) and then the inner outline; start dragging upward; TAB to the Height field of the Inspector Bar, type .25, and press Enter. The lower part of the object is most easily constructed by replacing the two smaller arcs with a single unbroken circle of .1375 radius and extruding that, along with the D-shaped profile, to a height of .077. 3D-Add the two extrusions to make a single piece.

I've attached your drawing, repaired as indicated above (except that I haven't added the two extrusions) and renamed. Note also that I've increased the Precision of your Space Units and your Angles. A value of 2 (the default, I think) is totally inadequate. Look a bit further and you'll see I've disabled Degenerative Faceting (because it results in a misleading Wireframe presentation) and selected "Quality" Faceter Mode (just because it looks better).

Henry H

[attachment deleted by admin]

dwc309

Thanks Henry.  You went above & beyond the call of duty on this.

It is very much appreciated.

don clay

dwc309

#3
Those suggestions helped significantly.  Now the part is closer.  I first started with the part as 2D & fixed the 2 overlaps that I could see.  The rest of them had no overlaps even when zoomed in as close as possible.

I redrew the part in 2D making sure that there were no overlaps.  I activated auto select compound profile, selected the 2 arcs and 2 lines but, when I clicked on simple extrude, the selection went away and I could never select everything that I wanted to extrude.

So then I deleted the 2 arcs & drew a circle as you suggested that was slightly larger in radius.  Then I selected all but the circle & extruded that.  Then extracted the circle & am close.  But I want the D shape to be a hole that runs the length of the part with the remainder of the part solid.  I'm guessing that would happen if I could just extrude all but the D shape, but I cannot get that to work.

I hear you on the selection working when the lines meet correctly, but I think that has been done.  By the way, I'm using trim to cut the lines.  If that isn't correct, please say so.

I had a problem joining an arc and a line earlier.  I forget the error I got.  But could that be part of the problem?  If so, please explain why that won't work?  I don't get that.

thanks again.

So, after positing this, I decided to check my 'perfect' no overlaps & found that they were not so perfect after all.  I must be doing something after I trim them.  It's tough being a grasshopper sometimes :).  Then I was able to select the 2 arcs & 2 lines, but now it won't extrude.  I'll keep trying while I wait for a reply.

Then, I selected just the 2 arcs & 2 lines, selected properties, and set the thickness to .25.  The selected the outside circle & set the thickness to .077 and got a cup with a solid base.

[attachment deleted by admin]

Henry Hubich

#4
Quote from: dwc309 on January 14, 2010, 06:16:29 AM
Then, I selected just the 2 arcs & 2 lines, selected properties, and set the thickness to .25.  The selected the outside circle & set the thickness to .077 and got a cup with a solid base.

Render the view in a Draft mode and examine it by dragging with the mouse wheel depressed, and I think you'll see you don't really have a solid object. The base, with its "thickened" continuous circle, should be OK, but not the rest of it.

Here's a fairly foolproof way to construct your profiles and then extrude them. (I'm assuming your object should have a radius of .1375, an overall height of .25, the circular base should be .077 high, the upper part should be .182 across flats. And the central hole should be .109 diameter, flattened on one side to .099 wide):

1. Working in plan view, draw a circle of .1375 radius. Draw a second circle of .0545 radius, starting it by placing the cursor on the circumference of the first circle and pressing "C" on the keyboard (thus making it concentric with the first circle).

2. Draw a line from the bottom to the top of the large circle, starting it by placing the cursor on the bottom part of its circumference and pressing "Q," and finishing by "Q" snapping to the upper part. Select this line, type .091 in the Delta X field of the Inspector Bar, and press Enter. While the line is still selected, click the "Make Copy" icon on the Inspector Bar, type -.182 in the Delta X field, press Enter, and then deselect "Make Copy."

3. Activate "Arc Center and Radius." Place the cursor anyplace on the circumference of either circle and press "C" to establish the center of the arc; put the cursor at the intersection of the large circle and the upper part of the right-hand line and press "I" to establish the radius of the arc ("I" means Intersection); leave the cursor where it is and press "I" again to establish the starting point of the arc; move the cursor to the intersection of the large circle and the upper part of the left-hand line and press "I" one more time to establish the end point of the arc. Draw the lower arc the same way, this time beginning at the intersection of the large circle and the lower part of the left-hand line and finishing at the intersection of the large circle and the lower part of the right-hand line.

4. Activate the Trim tool and trim the vertical lines.

5. Create a new Layer; move the large circle to that layer; turn off the visiblilty of that layer. This will keep Genie from becoming confused later when you extrude things.

6. Now for the central hole: Q-snap a line from the top to the bottom of the small circle and then Delta X the line .0445". Draw an arc concentric with the small circle, starting with the intersection of the small circle and the upper part of the line (remember to "I" snap twice, once to establish the arc's radius and again to establish its starting point), and finishing at the intersection of the small circle and the lower part of the line. Trim the line to the small circle and then delete that circle.

7. Your profiles are finished. Now extrude them, as follows... Switch to an isometric view; activate Simple Extrude with "Use compound profile" enabled and "Two sided extrude" not enabled. Holding the Shift key, click on any portion of the outer profile (the two arcs and two lines). The entire profile should light up; if it does not, you made a mistake somewhere when drawing it. Assuming it does light up, keep the Shift key depressed while you click on the hole profile and verify that this also lights up in its entirety. (If a message pops up, saying "Line/Arc/None" or the like, Genie doesn't know whether you're designating the outer profile or the inner profile. Press Esc and start the extrusion again.) Release the Shift key and drag the cursor upward, observing the extrusion starting to form. Press TAB to highlight the Height field of the Inspector Bar; type .25; press Enter. You've made the outer object and the hole in a single shot.

8. Create another new Layer and move the extrusion to it, then make it invisible. Restore the visiblilty of the Layer that contains the large circle, then extrude that circle plus the hole profile to a height of .077. Restore the visiblility of the first extrusion and 3D-Add the two extrusions.

Henry H

dwc309

Thanks once again, Henry.  It's beautimous.   ;D  I hope that becomes less tedious as I get more repetitions in with it.  It took me a long time to get the timing correct between clicking & hitting C, I, Q.

Much Appreciated.

[attachment deleted by admin]