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.

Fillets between line and curve drawn as line

Started by pdspring, May 06, 2008, 09:11:53 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

pdspring

Object (in red) on left side is pump exit cone under development, drawn Unitless, DC18.2 . Two splines (curves) over circles S1...S5 are drawn as a line.
The casting thickness (10)is added with F2. When checked with control box, the two parallel curves are listed as vectors (=lines).

Trying to add a fillet (5 radius) between splines and and vertical flange does not work.

However the same works fine in the green sketch as shown. Why would that be?
I have tried about every trick I know in DC. In older version of DC I had no problem with same procedure, as long as curves where drawn as lines.

Dr PR

pdspring,

Fillet failed for me in V18 - I saw the "Commnad Failed" report. I opened the drawing in V15 and tried filleting the lines. It reported that the command failed because the lines are not in the same plane. I switched to 3D, and sure enough, the vertical flange line is offset 3 units from the ends of the curves.

The curve that passes through the circle centers (S1-S5) extends 3 units into the Z direction.
DesignCAD user since 1987

pdspring

Dr. PR,
Your reply hit the nail on the head! Never thought of that.
I erased the flange, drew a new one. Now the fillets could be added.

My drawing was 2-D.  The question arises how the offset could happen in the first place. The developers should take notice of this.

Thanks,
pdspring

prl

Quote from: pdspring on May 06, 2008, 07:01:37 PM
The question arises how the offset could happen in the first place.

Working back and forth between 2d and 3d mode causes this.  It's usually a user generated problem but difficult to notice.  Below is a macro that will flatten your drawing.  Use it only on 2d work (unless you really want your 3d model flattened like a steamroller).

'Program: zzero.d3m (make z data equal zero - used to flatten a drawing)

include "dcadalias.d3i"


Sys(1027) = 4 'Yes/No MessageBox style
Message "WARNING!  This routine changes all entity Z coordinates to ZERO. Do you wish to continue?"
if sys(1028) = 7 then
      sys(80) = 0
    end
end if

precision 15
for i = 1 to sys(9)
  entity i
  Query Ent_Npts, epoints
  for j = 1 to epoints
    Query Ent_Point, j, ptX, ptY, ptZ
    Change Ent_Point, j, ptX, ptY, 0
  next j
next i

regen
sys(1027) = 0
message "Done"
end

Dr PR

pdspring,

Are you sure you never switched to 3D mode? I ask because I have seen some strange 3D things happening in 2D drawings, and I am certain that I haven't used 3D mode with these drawings. V18 apprently does not make any distinction between 2D drawings and 3D drawings (it just displays only a 2D window), and will rotate or move parts of a 2D drawing into the 3rd dimension. In 2D mode this will not be noticed until things like the Intersect 2 command stop working.
DesignCAD user since 1987

pdspring

Dr PR,
I am sure that I never switched to 3-D and back again to 2-D. (I did after your reply.)

prl,
Thanks for the zzero.d3m macro. Will use it when the problem arisesd again

pdspring