News:

Please note new Forum URL: forum.designcad.com

Main Menu
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.

Fillet Command Deletes Plane

Started by BlankMan, December 19, 2021, 11:00:50 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BlankMan

Trying to do something simple. Or so I thought.

Draw a Plane Fillet two corners Sweep the plane. But. When ever a attempt to fillet one corner is done the plane disappears. Doesn't matter the order that I fillet the corners in, doesn't matter the radius of the fillet.

This isn't the first time this has happened. Happens quite often. But I decided to see if anyone has any insight into the matter.

I deal with this kind of DC BS all the time and have to use work arounds because the DC commands just don't work sometimes or do bizarre things. Now I'll have to draw it using Lines and Arcs then MakePlane it. PITA.

Macro is attached detailing/showing the problem. (Had to add .txt to the name to upload it.)
Newbie? Not.
Been using DesignCAD 3D since ~1990
Still have version 4 floppies from 1992...

Rob S

OK, preliminary look at this - I tried it manually, ie draw a plane, fillet two corners and sweep, and it works just fine in both V2020 and V2021

Then, I tried your macro, and it does something other than filleting the corner of the plane.  When completed, it is not gone but it is displayed as some kind of tortured line shape, see below.

I have not yet understood all the calculations in your macro, but it just might be that one of the parameters is not calculating out as it should, thus giving the odd result displayed below.

You might be able to test your formulas by having a message-box pop up with the result of each one to make sure it is what you need it to be.

By the way which version of DCAD are you using
User since forever

BlankMan

Thanks for looking Rob.  Na calculations are good. And yeah I've seen what you got many a time too. I'm using 2021 but haven't looked if there's an update for a while.

Whenever I have some sort of problem I double check things by using PointSelect in the macro. I either do the PointSelect and just 'end' there to see that the point I think I'm picking I really am picking,

I'll do that for both points. Or I'll do the PointSelect and do an 'anykey' or 'message' then DeSelect and do the other point the same way. And I'll use 'message' too to see what the calc'd values are.

I had another 'Fillet' blowout later on yesterday too. One corner worked the other one became a really weird external bump out.
Newbie? Not.
Been using DesignCAD 3D since ~1990
Still have version 4 floppies from 1992...

Rob S

Does it happen only in macros setting, or can you reproduce by doing it manually?

User since forever

Rob S

Tested a few more things.

If I exit the macro after the plane is drawn, a manual fillet fails in  the same way.

If I try your macro in earlier versions, the plane command produces an error message. No idea why.

If I edit your macro to draw your shape as a rectangle (line command) instead of a plane, the fillet command works.

So, if you can then convert the result to a plane before the sweep, you would have the desired result

ps You can include macro code in your posts by using the "insert code" button above
User since forever

BlankMan

Thanks Rob. I didn't try it manually I resorted to lines and arcs and MakePlane to get it done.

Thanks for the suggestion of using line to draw the rectangle then fillet that and make it a plane, I'll try that next time. Using fillet instead of arc is just easier that's why I like it.

I've used fillet in past versions never got an error message but did get bizarre results at times just like now. Yeah I knew the code option was there just didn't think of it, thanks.
Newbie? Not.
Been using DesignCAD 3D since ~1990
Still have version 4 floppies from 1992...