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.

3D printing from DesignCAD files

Started by Dr PR, January 02, 2022, 10:55:28 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dr PR

I'm back! At least for now.

I have many hundreds of 3D CAD files produced with DesignCAD, and none of them were generated with the intention of using them for 3D printing. They are usually made up of a collection of planes and grids, and have more holes than a sieve. About ten years ago I tried to work with a modeling company and use my files for 3D printing and it just couldn't be made to work.

Fast forward to Christmas when Santa brought a new entry level 3D printer, an Anycubic Photon Mono. It was a total surprise, and pushed me into trying again to get my DesignCAD files to print. To my astonishment it was VERY easy to do!

Here is the procedure.

1. Take any reasonably closed collection of planes, surfaces and solids and use "Solids/Solid Define" to bless them and make them a solid. You should make an effort to get the edges of grids and planes as close together as possible but don't sweat the occasional gap or "hole."

2. Export the drawing as a STL stereolith file.

3. Feed the STL file into Microsoft's 3D Builder (free for download from the Microsoft store).

4. After opening the file click "Load." The program will inform you that the file has problems. Click the box and it fixes them. Automatically, no fuss, no bother.

5. Save the repaired STL file.

6. Load the repaired STL file into the "slicer" program you use. I use Chitubox, but there are other free programs available. Note: I could never get the Photon Workshop program that came with the printer to work.

7. Use the slicer program to set up supports, define printing parameters (you need to study up on this but I started with the default settings for the printer).

8. Save the print file for your type of printer.

9. Send the file to the printer, start printing and wait. Large complex jobs can take many hours.

Many of the 3D files are from my USS Oklahoma City CLG-5 CAD project. I used to have a thread for the model on the Forum from 2006 through about 2018 but I can't find it now. You can see a lot of the images from the model here:

https://www.okieboat.com/CAD%20model.html

The anchor and propeller are very complex bunches of individual surface grids and polygons. There are no actual solids. But I blessed them with "Solid Define" and here are the printed results. Each piece is about an inch across, and the propeller blades are extremely thin (0.5 mm to 0.03 mm). The physical model is 1:96 scale.
DesignCAD user since 1987

Bob P

Interesting. I hadn't heard of Microsoft's 3D Builder. In my last project, I used Accutrans 3D to fix DC's STL file. The printer (I outsourced that) still had to do a little cleanup, mostly because of mistakes in my original DC file.

Adrian 2.0

Welcome back Doc.
I know you informed us you were going off-grid but it's a relief to know you are OK.
Mother nature has claimed too many of our group already and now with the-bug-from-hell the chances are that more of us will be checking out!
It's good news that you've found a reliable way to print leaky solids from DCad, trying to create watertight solids seems to be near impossible. Since DCad started checking itself it tells me 'the resulting solid will not be watertight' nearly every time I combine them.
I can't be sure, but I think combining 2 solids works ok, but if I try to add a third one I get the error message.

Adrian

paul craig

One of the things I do not  understand is when I have tried a couple of things in the watertight addition,
it claimed they were not, but then when printing on my Creality ender 3 pro, they worked.
So sometimes it is to do with the slicer, as well. I had problems with my printer a PLA one,
and had to pester Creality to get the latest version of their slicer, which is like many based on Cura,
but interestingly, I have found some Cura files would not print out if the object was too small.
Paul

bdeck




Hi DrPR, Good to hear from you. Thanks for the notes.

Paul, Adrian, BobP, DrPR: This part is not clear from your posts. After you exported the non-watertight drawing to STL, did you immediately re- import it to check if DC reported it to be watertight?

Just curious whether additional cleanup was required after DC gave an imported STL a clean bill of heath, or whether the watertight test still failed after reimporting the exported STL.

Best Regards,
bd
.


Bob P

My file had some flaws which were fixed by the people doing the 3D print. I really got a good deal...

My STL file was about 400Kb. When I tried running it through DC's check, it looked like it would take all morning. It also wouldn't allow me to switch to another task. (V2020, 64bit). I ended up doing a hard reset on my computer to return to my normal chaos. Accutrans did the same check in 5 seconds, showing at least some of the errors.

paul craig

BD, I did not re-import into DCAD, because I am not sure how stable imports of STL files is.
I have not tried microsoft 3d builder, though others tell me it works very well.
I think the problem is DCAD not necessarily understanding what is need for the water tight test.
However cura and others do tell you if they find problems so you can fix that problem .

Paul

bdeck

#7
Bob and Paul,

Thanks for the added info. Very enlightening.

For simple tests, importing the exported stl file for a watertight test has often worked for me. (as DT suggested elsewhere). I'll report the Bob's lockup as a bug.

Meanwhile, I'll be certain to save any open files before running the watertight test.

bd

Bob P

Just so the developers don't waste time, my computer just locked up like before, but it wasn't running DC. The problem is not related to DC.

Dr PR

I created a new 3D file mostly from solid primitives. I used "Solid Add"  to combine the parts, and then used "Solid Subtract" to subtract a non-overlapping cube primitive to force a cleanup of redundant surfaces and internal planes. Then I exported it as a STL, and every program I looked at it with reported leaks, more than two triangles sharing a side, internal planes, etc. I used Accutrans 3D, Chitubox, and 3D Builder to check the file. Accutrans 3D showed problems at almost every plane/grid intersection. I have seen no DesignCAD STL files that do n ot have problems. However, I should say I am not using Solid Surfaces, but my files used the older original 3D surfaces.

So the DesignCAD STL output is pretty screwed up, as is almost everything that has been introduced since programming was moved to Elbonia.

However, Microsoft's 3D Builder (free to download for Windows 10-11) successfully repairs most DesignCAD STL files and I have had great success printing them. Most ...

There is a problem in DesignCAD files that Builder doesn't fix, but actually makes worse. Builder automatically places a surface over any opening that is surrounded by a single surface. For example, if you draw a plane with a hole in it, setting points around one edge (inside or outside) and then coming back around through points on the other edge, closing the plane along one single edge, Builder will fill the opening with a plane.

Think of drawing a "C" shaped plane, but then closing the gap to create an "O". In this case the central opening is surrounded by a single surface and Builder will fill it in.

But if you create an "O" with two separate "C" shaped planes Builder will recognize the interior opening and not cover it over.

There is another not so obvious case. If you create an open cylinder by extruding a circular line (not a plane) Builder will fill in planes at the ends, even though you may want an open tube. Again, the openings are surrounded by a single entity. If you extrude two "C" shaped lines to create the hollow cylinder Builder will not fill the ends with surfaces. It took me 2 1/2 days to figure this one out!

Most CAD programs I have used won't allow a hole to be surrounded by one continuous plane - and DesignCAD originally wouldn't allow it. I think the ability to draw these complex planes that close back on themselves was introduced about V21. I don't know if this "feature" of Builder is actually a part of the STL file standard.

****

Another caveat about Builder - be sure to check the file units it uses to load and save the file. I am working in millimeters in DesignCAD, and the STL output files have millimeter dimensions in Chitubox. However, sometimes Builder defaults to centimeters, and the repaired files saved from Builder are 10x the design size. Ask me how I know!

Phil
DesignCAD user since 1987

Dean

Phil,
Can you post a Dcad drawing that reports errors in the stl export?
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

bdeck

Quote from: Dr PR on January 24, 2022, 01:07:11 PM
.... and then used "Solid Subtract" to subtract a non-overlapping cube primitive to force a cleanup of redundant surfaces and internal planes. 

Phil, thanks for all the insights, including this neat trick that might not have occurred to those of us who only dabble in 3d.

bd