by DrPR » Sat Feb 19, 2011 3:59 am
I have used DesignCAD since 1987, and there are a number of tricks I use to hold down file size. Nevertheless, my USS Oklahoma City CLG-5 model is more than 500 Mbytes (I am modeling 1:1 with every feature 1/4" or larger, so there is a huge number of little pieces like nuts, bolts and screws). I expect it to be close to a gigabyte when it is done.
1. With extrusions along a curve - like railings, cable runs, pipes, etc. - the program defaults to a large number of sections to create very smooth solids. A single hand rail on a ladder will be about 13 Mbytes! I override the defaults and reduce the number of sections to the bare minimum that still produces a smooth looking surface at a "normal" viewing distance. The same hand rail will be 1-2 kbytes or so.
2. I break up pipes into straight sections and curved sections and create them separately. I use simple cylinders for the straight sections - this makes the file much smaller than the normal straight extrusion. For the curved parts where the curve has a constant radius I use a swept planar cross sections instead of extrusions. Again, I can control the number of steps in the sweep to get a good result with minimum file size increase.
3. Solids with complex curved surfaces gobble memory. If a curved surface is hidden - against another surface for example, I explode the solid and delete the hidden surface grid. Then I recombine the remaining parts into a faux solid (one side open). This often almost halves the memory needed for the part. Don't do this if you are planning on generating 3D stereolith files from the CAD model!
4. For cable runs I cheat. I don't use circular cross sections. Instead I use an octagonal plane and extrude it along a curve. If you look very closely it is ugly, but from even a moderate distance rendering artifacts make it look more like a braided cable than a smooth cylinder does, and the octagonal surface uses less memory and renders faster.
5. I build parts of the model (winches, boats, individual deck houses, hull, props and prop shafts, etc.) in separate files. It is much easier and faster to work in a 10-20 Mbyte file than it is to work with a 250 Mbyte file. Each is a separate project. Only when I need a complete assembly do I put all the pieces together, and I don't do any significant editing in the assembly file.
6. For complex assemblies like winches I create parts in many layers and disable everything I don't need in order to speed rendering, rotation, etc. After the whole assembly is completed I copy it to the larger file it will be a part of, and there I collapse the whole assembly (winch, boat, searchlight, etc.) into a single layer, and a single group. In the larger file it is just a single part. If it needs editing I work in the original file and not in the larger composite file.
7. I tried the trick of not combining solids, especially with hand rails. This created two problems. First, when I try to make a 2D drawing the intersections of the surfaces will be missing. It looks wierd. Second, you cannot create stereolith files from these "irrational" solids.
I have used DesignCAD since 1987, and there are a number of tricks I use to hold down file size. Nevertheless, my USS Oklahoma City CLG-5 model is more than 500 Mbytes (I am modeling 1:1 with every feature 1/4" or larger, so there is a huge number of little pieces like nuts, bolts and screws). I expect it to be close to a gigabyte when it is done.
1. With extrusions along a curve - like railings, cable runs, pipes, etc. - the program defaults to a large number of sections to create very smooth solids. A single hand rail on a ladder will be about 13 Mbytes! I override the defaults and reduce the number of sections to the bare minimum that still produces a smooth looking surface at a "normal" viewing distance. The same hand rail will be 1-2 kbytes or so.
2. I break up pipes into straight sections and curved sections and create them separately. I use simple cylinders for the straight sections - this makes the file much smaller than the normal straight extrusion. For the curved parts where the curve has a constant radius I use a swept planar cross sections instead of extrusions. Again, I can control the number of steps in the sweep to get a good result with minimum file size increase.
3. Solids with complex curved surfaces gobble memory. If a curved surface is hidden - against another surface for example, I explode the solid and delete the hidden surface grid. Then I recombine the remaining parts into a faux solid (one side open). This often almost halves the memory needed for the part. Don't do this if you are planning on generating 3D stereolith files from the CAD model!
4. For cable runs I cheat. I don't use circular cross sections. Instead I use an octagonal plane and extrude it along a curve. If you look very closely it is ugly, but from even a moderate distance rendering artifacts make it look more like a braided cable than a smooth cylinder does, and the octagonal surface uses less memory and renders faster.
5. I build parts of the model (winches, boats, individual deck houses, hull, props and prop shafts, etc.) in separate files. It is much easier and faster to work in a 10-20 Mbyte file than it is to work with a 250 Mbyte file. Each is a separate project. Only when I need a complete assembly do I put all the pieces together, and I don't do any significant editing in the assembly file.
6. For complex assemblies like winches I create parts in many layers and disable everything I don't need in order to speed rendering, rotation, etc. After the whole assembly is completed I copy it to the larger file it will be a part of, and there I collapse the whole assembly (winch, boat, searchlight, etc.) into a single layer, and a single group. In the larger file it is just a single part. If it needs editing I work in the original file and not in the larger composite file.
7. I tried the trick of not combining solids, especially with hand rails. This created two problems. First, when I try to make a 2D drawing the intersections of the surfaces will be missing. It looks wierd. Second, you cannot create stereolith files from these "irrational" solids.