VIDEO TUTORIAL: How to compress / reduce the size of an industrial 3D CAD model with MeshLab and Blender?
Tutorials | Monday 20th of March 2023 03:09:28 PM |
We previously published tutorial on reducing 3D model sizes with Blender, an effective method for most 3D models, including animated ones. For high-definition static CAD models, we offer an alternative approach to achieve optimal results for your final AR render.
Our method supports various 3D CAD file formats, including STL, OBJ, STP, IGS, OFF, GLTF, GLB, WRL, BREP, XBF, PLY, MSH, PNG, LOG, ES, 3DS, QOBJ, PTX, VMI, PTS, APTS, XYZ, PDB, TRI, ASC, TXT, X3D, X3DV, FBX, BRE, DAE, and E57.
Understanding Industrial 3D CAD Models
Computer-Aided Design (CAD) refers to 3D modeling for parts and assemblies in the Industry & Manufacturing sector. CAD models require high-definition for production and are created using dedicated 3D CAD software like Fusion 360 Autodesk, Solidworks, CorelCAD, AutoCAD, Tinkercad, FreeCAD, SketchUp, Solid Edge, Bentley, LibreCAD, SOLVESPACE, BRL-CAD, QCAD, IRONCAD, PTC, CATIA, OpenSCAD, Rhino, and Siemens NX. These models often use dedicated file formats.
Reducing the Size of Industrial 3D Models
Follow our step-by-step guide to create a lighter CAD 3D model for augmented reality display using an AR Code. Begin by reducing the model's vertices directly in the design software if possible. Otherwise, use our recommended method involving CAD Assistant, Meshlab, Blender, and Gimp:
1. Convert Non-Annotated 3D Models with CAD Assistant
CAD Assistant is a free 3D CAD converter for personal and commercial use. Download it from https://www.opencascade.com/products/cad-assistant/.
Import your 3D model into the interface and export it in .OBJ format. This conversion prepares your 3D model for the next step.
2. Decimate Your 3D Model with MeshLab and/or Blender
Decimating a 3D model reduces its vertices, potentially causing a loss of definition. Avoid creating holes in the model's texture by regularly checking the rendering after each decimation. For optimal results, we recommend using both MeshLab and Blender, with MeshLab being particularly useful for very high-definition static models.
Decimation with Blender: (https://www.blender.org/download/)
- Import your 3D file (GLB, GLTF, DAE, ABC, USD, BVH, PLY, STL, FBX, OBJ and X3D only)
- Select the first mesh to decimate
- Decimate as shown below, aiming for under 40,000 faces per mesh. If decimation creates UV holes, try Meshlab decimation first.
- Export your model in *.glb format, selecting "Apply modifiers" but not the "Compress" option.
Decimation with Meshlab: (https://www.meshlab.net/#download)
- Import your 3D file (ES, 3DS, PLY, STL, OBJ, OFF, QOBJ, PTX, VMI, PTS, APTS, E57, GLTF, GLB, XYZ, PDB, TRI, ASC, TXT, X3D, X3DV, FBX, WRL, BRE, DAE, and E57)
Then, based on the texture, select:
- Textured: Filters > Remeshing, Simplification and Reconstruction > Simplification: Quadric Edge Collage Decimation (with texture)
- Not textured: Filters > Remeshing, Simplification, and Reconstruction > Simplification: Quadric Edge Collage Decimation
Preserve your model's quality by setting an appropriate number of faces.
Export your 3D model in *.obj format to include any textures.
3. Compress Textures with Gimp
Follow these steps if your model has image textures:
- Import your 3D model into Blender
- Export your 3D model in .gltf + .bin + textures
- Open texture files in GIMP
- Scale images (to 1024x1024 or smaller for higher compression): Image > Scale Image
- Export textures in *.jpg format with a resolution of 90 (or lower for higher compression): File > Export as
- Edit your .gltf file with a text editor, replacing texture formats if needed (e.g., ".png" to ".jpg")
- Save the file
4. Convert Your Model to .GLB for Upload to AR Code
To convert and export your model:
- Import your .gltf model into Blender
- If you have already decimated your model with Meshlab, try adding a Blender decimation as detailed in Step 2.
- Export your model in *.glb format, selecting "Apply modifiers" but not the "Compress" option.
You can now easily upload your 3D model to the AR Code platform.
Video Tutorial: Reduce the Size of a CAD 3D Model
Watch this video to learn how to reduce the size of a 3D model using Blender and Gimp. The video demonstrates each step in the process.
Frequently asked questions
What are industrial 3D CAD models and why are they used?
Industrial 3D CAD (Computer Aided Design) models refer to the 3D models created for parts and assemblies used in industry and manufacturing. These models need high definition for production and are designed using specialized 3D CAD software like Fusion 360, Solidworks, AutoCAD, and others. They are used to visualize, plan, and simulate complex products and systems before manufacturing.
How can I convert my 3D model using CAD Assistant?
CAD Assistant is a free 3D CAD converter for personal and commercial use. You can download it from https://www.opencascade.com/products/cad-assistant/. Import your 3D model into the interface and export it in .OBJ format to prepare it for the next step.
What is 3D model decimation and why is it important?
Decimation is the process of reducing the number of vertices in a 3D model, which results in a smaller file size. This is important for augmented reality displays, as it enables smoother and faster rendering. However, aggressive decimation can cause loss of definition or texture information, so it's crucial to find the right balance for maintaining the model's appearance.
How to compress the textures of a 3D model with GIMP?
First, import your 3D model into Blender and export it in .gltf + .bin + textures format. Then, open the texture files in GIMP. Scale the images to 1024x1024 or smaller if higher compression is needed by going to Image > Scale Image. Export the textures in *.jpg format with a resolution of 90 (or lower for higher compression) by selecting File > Export as. Finally, edit your .gltf file with a text editor to replace the texture formats if needed (e.g., ".png" to ".jpg") and save it.
23,886 AR experiences
87,912 Scans per day
Top Blog Posts
- VIDEO TUTORIAL: How to compress / reduce the size of a 3D model in Blender (GLB, GLTF, DAE, FBX, OBJ...)?
- How Do I Scan AR Codes?
- VIDEO TUTORIAL: How to convert a 3D file (.stl, .obj, .fbx, .dae to .glb or .gltf) on AR Code Studio ?
- AR Video: Play Videos Over Augmented Reality QR Codes
- AR QR Codes: The Future of Interactive Advertising
- VIDEO TUTORIAL: Create an AR 3D Photo on AR Code
- What are Custom Pages & How to create one?
- What is the difference between a QR Code and an AR Code?
- AR Code Technology, The Future of Museums and Art exhibitions
- AR Codes: How They Work & Applications in Education
- VIDEO TUTORIAL: Generate 3D Text on AR Code
- VIDEO TUTORIAL: How to create an AR Portal and anchor it with an AR Code?
- How to add Augmented Reality on a Business Card with an AR QR Code ?
- How to use Augmented Reality Codes in Real Estate business?
- AR Logo, to Automatically Design 3D logos from SVG image files
- VIDEO TUTORIAL: How to Display a 3D Scan Photogrammetry in Augmented Reality with an AR Code
- Uploading 3D Models on AR Code, What File Size and Format?
- Augmented Reality QR Codes in Sports Centers
- How to create "Text to AR" experiences with the AR Text app by AR Code?
- How Augmented Reality Codes Can Make our Cities Smarter ?
- How AR Code is going to Transform Industrial and Manufacturing Companies
- How to Track and Retarget Users from your AR QR Code Experiences?
- VIDEO TUTORIAL: How to convert a 3D CAD model from STP STEP or IGS IGES formats to GLB or OBJ
- VIDEO TUTORIAL: How to compress / reduce the size of an industrial 3D CAD model with MeshLab and Blender?
- AR Codes on Packaging to Display 3D Animations, Videos, or Data in Augmented Reality
- Scan AR Codes to Display Products from an Online Store in Augmented Reality
- AR QR Codes for Event Promotional Materials: Brochures, Posters, or Flyers
- 3D Models GLB & USDZ and AR QR Codes of Concept Cars and Auto Parts
- 3D Models GLB & USDZ of Museum Artworks and Their AR Codes
- Apple to Release Augmented Reality Headset in Spring 2023
- Enhancing Sports Events with AR Code: bring the FIFA World Cup to life
- Educational 3D Models GLB & USDZ and their AR QR Codes: Enhancing Learning for Students
- Industrial 3D Models GLB & USDZ and their AR Codes: Equipment, Tools and Machines
- 3D NFTs can be viewed in Augmented Reality with an AR QR Code
- Celebrating Christmas with Augmented Reality Codes
- Brands' AR Logos and Their GLB & USDZ 3D Models
- Apple Reality Code: The Future of AR and QR Codes on RealityOS
- Metaverse, Virtual Reality, and Augmented Reality: Apple's and Meta's plans
- Augmented Reality Glasses to Replace Smartphones Within 10 Years ?
- Decorative Vases: downloadable 3D Models GLB & USDZ with corresponding AR Codes
- Marketing Agencies can easily offer AR Solutions using AR Code
- Augmented Reality QR Codes Enhance Collaborative Product Design
- Furniture AR Codes and Their 3D Models in GLB & USDZ Formats
- Digitalizing Restaurant Menus with Augmented Reality QR Codes
- Augmented Reality QR Codes in Corporate Product Catalogs
- 8thWall VS AR Code: Comparing WebAR SaaS for Your Business
- App Clip Codes and Apple Reality Codes: anchoring Augmented Reality Experiences on iOS 17 and RealityOS
- How AR QR Codes in Books and Magazines are Transforming the Reading Experience
- Blippar VS AR Code: WebAR SaaS Platforms Compared
- AR FaceTime on the Apple Reality Pro Headset at WWDC 2023
For great Augmented Reality experiences, use devices with LiDAR sensors like the iPhone Pro: