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.

STL (Stereolithography) File Export

Started by fltenwheeler, July 20, 2008, 06:29:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

chairs

Phil,
Thank you for your demo sweep which launched a whole relationship with Wayne, Author of Accutrans. He's a jem.  It turns out my application requires higher resolutions  than the 198 segment limit of Dcad's cylinder tool. Figured out how to get around that. This led to much work figuring out that Dcad does not generate solids but meshes thereby  precluding telling the .DXF export what resoultion is required and how to match the mesh number of the cylinder with the mesh number of the sweep.  They cannot go watertight until the points of every triangle of the mating edge of the sweep are mated to those of the cylinder where they join.

They can look good but you can't "build" them via .stl without the pojnts of one being locked to the points of the other.

So, Four threads, in this case,  at 360 degrees each = 1440 degrees so the cylinder needs 360 segments. Apparently wrong. Perhaps because the 360 segments of each revolution of the seep are stretched out along the cylinder.
Do you know if your sample drawing is watertight? Am I perhaps the first to inquire about a part having this combination of geometries?

I have tried subtracting  the solid add larger cylinder and sweep from a cube to try to get them to be the "same part" and then subtracting smaller cylinder and solid add sweep from another cube. No help.

New idea while typing! Should the cylinder not be a cylinder but instead be another sweep since after the sweep of the small threads cuts away most of the cylinder to make everything hollow, whats left of the cylinder looks like a sweep?

Any thoughts on how to match up the triangles of the mesh on the cylinder and the sweep? Thanks in advance for any suggestions.
Tim
PS.  the points can be manually dragged one by one in Accutrans to solve the problem requiring an estimated 22 hours.



Dr PR

chairs,

Getting the edges of facets to align properly has always been a problem. By using the subtractive method of creating an object there "should" be no leaks. However, when you are working with helical surfaces all bets are off. They cannot be represented perfectly with planar polygons.

I have attached the DesignCAD file for the internal thread subtract example. I have also attached an image showing the intersections of the outer (blue) and inner (red) surfaces. They look like they all come together with no leaks. This should produce a good STL file.

Note: The whole thing as drawn is not complete. Look at the ends of the threads. I did not close these, so the hollow solid does have two openings at the ends of the threads, but the solid itself doean't appear to be leaky. OK, I was lazy, so shoot me! The best way to fix this would be to subtract a bit from the thread ends on the inner tool solid before subtracting it from the outer working solid.

DesignCAD does think it is a closed solid and the "Dimension/Info?Volume" tool does give the internal volume and the surface area. If it was really leaky the volume shouldn't work.

****

In another thread magic tipped me to a different way to export DesignCAD solids to AccuTrans. DesignCAD will export VRML files and AccuTrans will import them. Furthermore, when you do this the original colors (or something close) are retained in AccuTrans. This may be a better way to get files into AccuTrans then by using the DXF file format.

DXF has always been a flaky way to transfer files, with something often being lost in the translation.

Phil
DesignCAD user since 1987