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 drawings.

Started by John M, July 10, 2011, 01:57:19 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

John M

I wonder has anyone used or have any tips for using DesignCAD produced models for 3D Printing?

I have had some simple models produced  but I am experiencing problems with the more complex models.

I generally use an additive approach, I usually export the model in dxf and convert to dae. or stl.
and check the model for integrity as the design progresses.

Generally I use Accutrans 3D to check for problems and convert the dxf. file. to dae. or stl. Accutrans is capable off repairing small holes, however sometimes entire sections of a model appear to be lost during the process of exporting to dxf.

Problem appears to be chiefly to the mesh seemingly stretching and fracturing as a result of carrying out Boolean Operations.

I have tried Sketchup and other modelling programmes, but prefer to stick to DC as it allows me to integrate my 2D CAD work and 3D Modelling.

I wonder have others encountered similar problems or can offer suggestions.


John



magic

Hi John,

and welcome to the forum.

I don't know, which 3D printer you are trying to print to, but some time ago I was in touch with Z-corporation and they claimed that their 3D printers will print 3D in color from VRML files, which DesignCAD 3D MAX will produce.
It's a kind of magic!




Dr PR

John,

I have used Accutrans to translate DXF files from DesignCAD into STL files. Like you, I have had problems. For many 3D printers the STL file must not have any gaps between surfaces.

I have had this problem where I have constructed complex shapes from many surface grids. Unless you plan very carefully adjoining grids will not have the same number of polygons per edge. If the edges are curved this produces slight gaps between the grids because there are not the same number of points/facet corners.

In some cases I can redraw grids to get the same number of polygons per side. Then I edit the grids in Point Select mode to snap the points on one grid to corresponding points on the neighboring grid.

Where you cannot get the same number of polygons along adjacent sides of grids you should fill in the gaps between grids with triangles.

****

If you construct a solid with surface grids (and combine everything together with "Solids/Solid Define") and then perform solid Boolean operations on the solid the surface grids will "decompose" into a large number of rectangles and triangles. You can get missing fragments if you are not careful.

A known bug in DesignCAD solid Boolean operations is the occasional transfer of grid facets to another layer, along with a change in the solid material. Thie is very common with "Solid Add" and "Solid Subtract." In almost all cases the bits and pieces are moved to Layer 0 (zero) and the material is changed to "Aluminum." However, in at least one case the wayward grid fragments moved to a higher numbered layer than the original layer.

For this reason I never use Layer 0 for anything. It is just a garbage collection layer for the solid Boolean operations. If I see an asterisk beside Layer 0 in the Layers Dialog I know a solid Boolean operation has screwed up again. The solution is to unlock Layer 0 and gravity snap to the grid fragments. Then use the Info Box to reassign the entire solid to the correct layer and reassign the correct material and color if necessary.

Note: the fragments are still part of the solid, so all layers containing parts of the solid must be unlocked to be able to select any part.

I think you can lose parts of a grid if you export to DXF while the grid is fragmented between multiple layers. Accutrans creates STL objects from entities on layers. If you don't select all of the layers containing parts of a fractured grid you will get an STL file with holes in the surfaces, and this can cause problems with some 3D printers. It is a good idea to be sure all parts of each solid object are on a single layer before exporting to DXF.

****

Another problem I have seen is that STL files cannot have negative coordinates, and you can get negative coordinates in DXF files if the drawing origin is in the middle of the drawing. Furthermore, it seems STL files use a coordinate system where the Z axis positive direction is opposite that of DesignCAD, so you have to position the origin appropriately in DesignCAD to avoid getting negative Z coordinates in the STL file.

One other thing that can confuse 3D printers is the number of objects in the STL file - some allow only one. You can generate several STL files from a single DXF file if each object is on a separate layer. Accutrans allows you to print one or more layers as a single object to the STL file.

Let us know any problems and solutions you find for 3D printing. Not many people have ventured into this realm yet so what you learn can be helpful for beginners.

Phil
DesignCAD user since 1987

DrollTroll

Another thing to look for: When you export, make sure you don't have the "save selection only" option checked, if anything is selected.
25 years with DesignCAD

cimbian

I am just trying the Accutrans software as I need an STL file for my CNC router; however, I can't see where the origin can be set in 3D so that all coordinates are positive.

Any ideas?

DCAD 3D v19

Steve.

magic

Hi Steve,

If you've got your ruler on, you can just click the Origin button as shown below, otherwise you'll find Origin a little more than half way down in the Point menu, then place your cursor, where you want your origin to be.
It's a kind of magic!




cimbian

#6
Magic, Thanks.

How do I do this for 3D?

Steve.

Edit: I have a circular object, so the ruler trick sets 0,0 on one plane correctly but in the middle of the workpiece on the other two planes. What I think I need is a point to the lower-left-corner in order to generate only positive coordinates... is that right?

magic

Hi Steve,

Set a Pointmark, where you want your Origin to be and then go Point > Origin and gravity snap to that point.
It's a kind of magic!




cimbian

Magic,
I guess I just don't think in the right way.

I place a point mark in one pane but it is in the wrong place in another.

Steve.

DrollTroll

Here's a very simple macro to move everything to positive coordinates, with minimum x, y, and z values of +0.25.

Just save the macro somewhere that you can find it, load the drawing, and run the macro. The macro will automatically select everything, set a handle at the minimum x,  y, and z coordinates, and move from that point to 0.25, 0.25, 0.25. I've just tested it with V19 to make sure it works, but it should for all versions from 15 on up.
25 years with DesignCAD

cimbian

Thank you.

I've just started to redraw it as I also noticed that the Z axis was actually going from front-to-back with the part and I couldn't find how to switch the axes.

Steve.

DrollTroll

In the General Options tab you can select left-hand coordinates (DesignCAD's default setting) or right-hand.

Left-hand coordinates have increasingly positive Z going away from you (deeper into the screen); right-hand coordinates have increasing Z coming out toward you.
25 years with DesignCAD


Dr PR

Steve,

I have used AccuTrans to generate STL files. All coordinate values must be positive for STL files. STL files have reveresed Z axis coordinates from DesignCAD, so you have to set the origin in DesignCAD so all objects have negative X and Y coordinate values and a positive Z coordinate value - or use DT's suggestion to switch to a right-hand corrdinate system.

One way to set the origin is to gravity snap to a point in your drawing and then use the "Point Relative" (') function to move the cursor to a position in the negative direction in all axes. Then use "Point/Origin" to set the origin at the cursor position.

Phil
DesignCAD user since 1987

Lar

One way to find a particular corner of a sphere or any irregular object is to select it then start the selection handle command (Edit menu> Selection Edit> Set Handles). In the dialog box click the down arrow and select the corner needed [eg, 'Lower-Left (Front) ].

You will have to remember to reset it to 'Any Location' the next time you use the command otherwise it will go to the selected location no matter where you click the mouse, which is very unnerving.

Lar