How to create an SLPK file: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
Line 52: Line 52:


===3.Georeference your imported model===
===3.Georeference your imported model===
Imported models, if they are created in a software program without a CRS (Coordinate Reference System), are imported and probably not placed on the right location.
[[How_to_Georeference_a_3D_model]]
Therefore, the model has to be moved to the right location on the map. 
Note that imported DWG 3d models are georeferenced in a different way than other 3d formats like obj or other 3d formats. Therefore there are 2 ways to georeference your models depending on if they are a DWG or another file format.
See the steps below appropriate to your workflow.
 
<gallery mode="nolines">
File:Selection_context_menu.jpg|Select Building
File:CAD_Layer_tab.jpg|CAD Layer tab
File:Define_projection.jpg|Choose coordinate system
File:Translate_tools.jpg|Positioning tools.
</gallery>
 
{{editor steps|title=Georeference DWG models|In ArcGIS Pro, select your 3D object (Multipatch layer) from the Contents pane by right-clicking on the imported multipatch feature, choosing "selection" and clicking on "select all". (If model is not visisble in the viewport choose "zoom to selection" from the same selection menu)|Go to the "CAD Layer" Manage tab (this tab will only appear if the imported model is a DWG file).|Click on the "Define Projection" tool and select a coordinate system from the library (click on the globe next to the field)or choose the default one. (This can be done from the right tools pane)|Click on "Run" in the lower right of the pane.|Select the "Georeference" tool.|Choose the "move", "scale" or "rotate" tool and drag, rotate and scale the 3D model along one or all of the axes to move it on the map to the desired location.|Use the "Elevate To Ground" tool so that the model snaps to the ground (Provided that the pivot point or center of the model is at the desired groundlevel base of the model.|Finally click on "Save To Workspace" (Next to the move, scale and rotate tools) so that the location is saved.|Close the Georeference toolset, your model is georeferenced for use in your project and ready for export to SLPK.}}
 
<gallery mode="nolines">
File:Select building.jpg|Select Multipatch
File:Georeference_model.jpg|Georeference 3d model
</gallery>
 
{{editor steps|title=Georeference 3D models|In ArcGIS Pro, select your 3D object from the Contents pane or the Viewport.|Go to the "Edit" tab. The tools section will appear|Select the "Move" tool and drag the 3D model along one of the axes to move it on the map to the desired location.|If desired, the model can be rotated and/or scaled with the "Rotate" and "Scale" tools|Make sure that the model is at the proper height relative to the ground|}}


===4. Export the model as a SLPK file===
===4. Export the model as a SLPK file===

Revision as of 10:44, 25 February 2020

This page provides information on how to export a SLPK file with ArcGIS Pro. The ArcGIS PRo version used in this documentation is 2.4.0. To learn more about ArcGIS Pro visit ESRI's ArcGis Pro Documentation. In order to export a 3D model as a SLPK, it has to be imported into ArcGIS Pro and Georeferenced to place the model on the right location. ArcGIS Pro allows for the following file formats to be imported:

  • DWG (Drawing) Used in CAD software. Can be exported from most 3D animation packages. An Autocad 2004 export works best to create an slpk file.
  • OBJ (Wavefront object) Used in most 3D animation packages like Autodesk 3dsmax and Maya.
  • DAE (Collada) Used in most 3D animation packages like Autodesk 3dsmax and Maya.
  • 3DS (3D studio) Used as an exported file from Autodesk 3dsmax.
  • FLT (OpenFlight) Used in MultiGen Creator.
  • WRL (Virtual Reality Modeling Language File) A VRML file format for representing 3D vector graphics.

There are differences in how a DWG file is added to your ArcGIS Pro project from other 3D file formats. Both will be explained below.
In general for the 3D models, make sure there are no duplicate polygons in the 3D model.

1. Creating a new ArcGIS Pro project

To add a 3D model like CAD or OBJ you should first create a new project in ArcGIS Pro. When starting a new project make sure that you select a local Scene from the Blank Templates section. You can convert a local scene to a global scene after you have imported your model(s).

2.a Adding a DWG file

If you are working with CAD data follow this procedure to import a DWG file:

File:Add data.jpg

Template:Editor steps

2.b Importing other 3D file formats

To import other 3D files like OBJ, DAE, 3DS, FLT or WRL follow this procedure:


Template:Editor steps

2.c Importing and assigning texture maps on an imported model

If your model has a texture map and it is not loaded onto the model after importing you can import it manually in ArcGis Pro. To import and assign a texture follow this procedure:

Template:Editor steps

To learn more about applying textures to a multipatch feature in ArcGis Pro go to Applying textures to Multipatch feature

3.Georeference your imported model

How_to_Georeference_a_3D_model

4. Export the model as a SLPK file

After importing and Georeferencing your model(s) you can export them to a SLPK file by following the steps below, which are divided into three sections. Please follow them in order.

Template:Editor steps

Template:Editor steps

Template:Editor steps

Importing a SLPK into the Tygron Platform

After creating a SLPK file, the data can be imported into the Tygron Platform by making use of the Geo data wizard. Read here for the steps on how to use the wizard.