Save all entities in command-line mode?
Posted: Sun Jul 06, 2025 3:34 am
Three solutions proposed by ChatGPT, none work!
CloudCompare -SILENT \
-O cloud1.las \
-O cloud2.las \
-O mesh1.obj \
-MERGE_CLOUDS \
-SAVE_CLOUDS FILE "combined_scene.bin"
🔹 What this does
✅ Loads two point clouds and a mesh.
✅ Merges all point clouds into one (optional — remove -MERGE_CLOUDS if you want separate point clouds).
✅ Saves all entities currently loaded — including point clouds and meshes — into a single CloudCompare .bin file named combined_scene.bin.
CloudCompare -SILENT -AUTO_SAVE OFF \
-O cloud1.las \
-O mesh1.obj \
-SAVE FILE "combined_scene.bin"
🔹 What this does:
Loads the point cloud and the mesh into the DB tree.
Tells CloudCompare not to autosave partial results (-AUTO_SAVE OFF).
Explicitly saves all currently loaded entities to the .bin file.
CloudCompare -SILENT \
-O cloud1.las \
-O mesh1.obj \
-o combined_scene.bin
🔹 How it works:
The -O options load your clouds and meshes.
The lowercase -o combined_scene.bin sets the output .bin file for all currently loaded entities.
CloudCompare automatically writes all entities (point clouds + meshes) to the specified .bin.
Link to the chat if interested: https://chatgpt.com/share/6869ea2b-6a24 ... f48f2cf12a
CloudCompare -SILENT \
-O cloud1.las \
-O cloud2.las \
-O mesh1.obj \
-MERGE_CLOUDS \
-SAVE_CLOUDS FILE "combined_scene.bin"
🔹 What this does
✅ Loads two point clouds and a mesh.
✅ Merges all point clouds into one (optional — remove -MERGE_CLOUDS if you want separate point clouds).
✅ Saves all entities currently loaded — including point clouds and meshes — into a single CloudCompare .bin file named combined_scene.bin.
CloudCompare -SILENT -AUTO_SAVE OFF \
-O cloud1.las \
-O mesh1.obj \
-SAVE FILE "combined_scene.bin"
🔹 What this does:
Loads the point cloud and the mesh into the DB tree.
Tells CloudCompare not to autosave partial results (-AUTO_SAVE OFF).
Explicitly saves all currently loaded entities to the .bin file.
CloudCompare -SILENT \
-O cloud1.las \
-O mesh1.obj \
-o combined_scene.bin
🔹 How it works:
The -O options load your clouds and meshes.
The lowercase -o combined_scene.bin sets the output .bin file for all currently loaded entities.
CloudCompare automatically writes all entities (point clouds + meshes) to the specified .bin.
Link to the chat if interested: https://chatgpt.com/share/6869ea2b-6a24 ... f48f2cf12a