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.

Drawing true rounded boxes

Started by MarkX, September 27, 2012, 09:31:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JJG


prl

Quote from: MarkX on September 28, 2012, 07:20:08 AM
Very, very clever, but it shouldn't have to be this hard.

Agreed!  I tried this in TurboCAD Pro and it is so easy.


JJG, nice! (but I get the job Lar is offering.  May need the work.)  ;D

Lar

Quote from: JJG on September 28, 2012, 08:38:54 AM
Quote from: prl on September 28, 2012, 03:56:37 AM
... IlLARstration . 

Yes, ... just hiLarious !!!
8)
I feel so like Chuck Norris right now. Prl, you can have the job as long as you remain the Dabbler and I be the DabbLAR.

Lar (TM)

MarkX

Quote from: Lar on September 28, 2012, 07:40:44 AM
Mark, I just paralleled the original line along the points of the arc you see in the small window. Took 10 seconds. Normally I would duplicate and scale though ...
Its great that you have a work-around. Diabolically clever.

But one shouldn't have to disassemble an object in order to make it. You should be able to do it just using 3D tools. The way it should have worked:

  1) Make rounded box
  2) Make cut-out in box by subtraction or other technique
  3) Fillet new edges
  4) Shell object. (or, subtract a scaled version of the object)

Thanks!
Mark


Dr PR

Lar,

Could you explain step 4 in more detail. I have never been able to get the parallel function to work predictably in 3D. Sometimes the parallel lines are generated far away from where I set the point. It seems to be very rotation sensitive.

Phil
DesignCAD user since 1987

Lar

#20
Phil,

To make a 3d parallel of the inner line I first created a vector arc with the amount of points I wanted the curvature to have then placed it at the start of the corner curve (as seen in the small window of the image). I started parallel and snapped the first point on the line, close to the intersection of the line and v-arc, then snapped the 2nd point at the 1st inner point of the v-arc. I then repeated parallel and used the new line to make a parallel at the 2nd inner point. I repeated this for the rest of the points of the v-arc.

This only worked because the lines lay in a single plane, ie, flat like 'plane' entities. With non-flat lines there's no telling what sort of parallel you will get. Also, it is best to line snap to the line or gravity snap to a point of the line for the 1st parallel point. You also should check the parallel lines to make they close... and remember 'plane' entities don't parallel in most versions of dcad, especially later versions. You would have to vector convert planes.

Lar

minstrel

Quote from: MarkX on September 28, 2012, 03:35:27 PM
... The way it should have worked:

That would be ideal, wouldn't it?  Yet in this one 'thread' we are offered 3 different approaches that reach the same goal.  What a perfect way to learn DCAD! 

-Lar -  I've come to grips with step 4, finally!  Where my results are a bit 'amiss' can be traced to total confusion as to how to setup the 'Surface Connect' dialog.  I've tried various settings, but none give results as smooth as yours.

Minstrel


prl

#22
Quote from: minstrel on September 29, 2012, 02:08:31 AM
Yet in this one 'thread' we are offered 3 different approaches that reach the same goal.  What a perfect way to learn DCAD! 

The forum is nice for seeing alternate ways of doing things. The dabbLar's approach got me thinking about simply running a router along all the edges.  This can be done with the evil extrude-along-curve commandTricky.  It takes some patience and the pointy corners aren't right, but the rest is pretty good.

JJG

#23
Prl,

to have it right even in the corners, instead to draw a right angle (for the "curve" you want extrude along), draw a very short quarter circle (as vector, i. e. radius 0.01 mm) (you should use the Filet command for ...),  and it'lll work right.
;)

prl

#24
Quote from: JJG on September 29, 2012, 02:55:32 AM
instead to draw a right angle (for the "curve" you want extrude along), draw a very short quarter circle (as vector, i. e. radius 0.01 mm) (you should use the Filet command for

JJG,

That makes sense.  Using the router analogy with a cove bit round-over bit and guide bearing (woodworker's forgive the terminology if I got it wrong), if you have a 90 degree corner you get sharp corners.  If you first round over the guide bearing path, you get a soft corner.


Thanks 

minstrel

Prl,

I was just trying the same approach...and was not very successful!  Look at the mess.  Think I was shooting with too great a radius or it shows the limitations of 'extude along curve'.

minstrel

prl

#26
Quote from: minstrel on September 29, 2012, 05:09:25 AM
Think I was shooting with too great a radius or it shows the limitations of 'extude along curve'.

The extrude along curve command is wickedly complicated with varying outcomes depending on many factors;  point order of follow-me curve,  point order of 2d profile, planes in which the curve or 2d entity were drawn,  location of handles, number of handles,  internal math oddities, it goes on and on.  Never use this command while in a hurry.   Lar has some tips and tricks for using it if you search the forum but be prepared.

minstrel

Yea... I've gone over and over Lar's 'Extrude Along Curve Method...' yet have not fully put it into practice, yet.

I'm determined to get a grip on it cause it seems vitial for this approach to work, especially when using multiple sized radiii.

Minstrel

prl

#28
OK, I was experimenting with JJG's suggestion and it should work but doesn't.  I've concluded the extrude-along-curve doesn't properly position the profiles around a corner. 

In the attached, I'm simply experimenting on a single corner.  On the very left is the profile and path.  Second from the left is the mess the extrude-along-curve made. 2nd from the right is when I manually lay out out the profiles.  Right is when I surface connect them.  This is how it should look.  DcD file also attached.

Maybe somebody else can get it to work but I can't.

Lar

Guys, looks like I opened a bag of snakes here. Sorry. At first I was going to avoid this topic because my approach would required too much explaining and it was cheating (didn't address the intent of the topic).

Prl, my first approach was to use extrude along a curve but that command is like golf: unforgiving (I've heard) when you don't follow a specific method, so I opted for surface connect but looks like the 3d-parallel was the trick there.

Minstrel, refering to you pic: extrude along curve actually skips out any segments where the radius of the curvature is smaller than radius of the resulting surface. I find I have to make the smallest radius in the curve  bigger than the radius of the profile.

For surface connect the parameters are: Connection: Normal...    ignore Divisions and Breaks...     activate Use Original Points.    Retain Point Order is not important since the lines to be surface connected were paralleled, meaning they all run in the same direction. If the points of some of the lines got reversed somehow and 'retain point order' is enabled the resulting surface connect will twist. If it isn't enabled and the some of the lines got reversed no telling what dcad will do in any given circumstance. In this example it helps with the option disabled.

In previous posts I said that a problem with parallel is that the lines may not close. I have just discovered a solution to this, subject to more testing: for a closed line gravity snap the first point of the parallel command on the starting/ending point of the line to be paralleled.

So, in my tutorial I would have to make sure my original line starts and ends at the location where I placed the guide arc (step 4 in the tutorial, shown in the small window). There's no telling where dcad will start the line once you combine all the vector arcs with the straight segments (step 3). So, after placing the guide arc in a convenient place select the line and in point select mode try to split the line at the guide arc. If dcad appears to be behaving badly and doesn't want to split the line that means that point is the start/end of the line. Otherwise the line would split and one side would remain selected. Move the point of the selected side away from the unselected side (this would ensure that dcad does not connect those two points together again). Shift+select the unselected side and 'combine'. If you get the error message that the combined failed that means the old end points did not match so find them and snap them together then combine again. Once the line is combined reconnect the point you moved away so the line is closed.

Lar