Loading AutoCAD drawing on Cesium map

707 views
Skip to first unread message

prashanth...@gmail.com

unread,
Jul 15, 2019, 8:29:03 AM7/15/19
to cesium-dev
Hi,

Do you have an option to load AutoCAD drawings as 3D models on Cesiumm map??

Regards,
Prashanth

Omar Shehata

unread,
Jul 16, 2019, 1:42:20 PM7/16/19
to cesium-dev
Hey Prashanth,

What formats are you using? If it's one of the formats on here: https://cesium.com/docs/tutorials/uploading/ you should be able to upload it to Cesium ion and select "3D model" to see it in CesiumJS.


If you don't see your preferred format here, let me know!

prashanth...@gmail.com

unread,
Jul 17, 2019, 12:18:19 AM7/17/19
to cesium-dev
Hey Omar,

Thank you for the prompt reply.
I'm adding gltf/glb 3D files and they load fine on the map. I was looking forward to adding dwg format files, which is already requested by an user as per the link shared by you.

My requirement is to zoom into a device placed within a 3D building on receiving an alert. Kindly help here with some links if available. It will be of great help!

Omar Shehata

unread,
Jul 19, 2019, 2:43:24 PM7/19/19
to cesium-dev
If this device is a separate model loaded into the scene, you can zoom in on it with:

viewer.flyTo(deviceModel);

Assuming it's a model entity. Alternatively you can fly to a Cartesian3 location. You can see a full list of the parameters here:

prashanth...@gmail.com

unread,
Jul 22, 2019, 1:01:09 AM7/22/19
to cesium-dev
Got it! Thank you Omar!

Reply all
Reply to author
Forward
0 new messages