Compare commits
32 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 82555b7307 | |||
| 44c0b46080 | |||
| d2981b7b69 | |||
| 7b3e2b31bb | |||
| 719fe8d8d5 | |||
| 1906d2b4c5 | |||
| bf54d78024 | |||
| c783fc6f75 | |||
| 3848791e4e | |||
| baa57b83fb | |||
| 87e5281a5e | |||
| 54a6c8bdb6 | |||
| cb236ad0c7 | |||
| e76b50a157 | |||
| c91f5e12ce | |||
| fd71dd41ca | |||
| caa56039e7 | |||
| c1f5476f77 | |||
| 3c55f31a58 | |||
| fce06cba20 | |||
| 2b6ab16b22 | |||
| a60d4fef56 | |||
| 6aa4afbd84 | |||
| b5f465e1a3 | |||
| 80b7cd886a | |||
| f57ee4658e | |||
| af61b08fa2 | |||
| a6b5a09efa | |||
| f07eb732da | |||
| 68cb85e029 | |||
| 067d66ae16 | |||
| 4b4eae32a2 |
+14
-13
@@ -29,12 +29,13 @@ commands:
|
||||
copyright-string:
|
||||
type: string
|
||||
steps:
|
||||
- run:
|
||||
- run: #Remove BOM header, then add copyright comment
|
||||
name: "Add copyright notice to source files"
|
||||
command: |
|
||||
shopt -s globstar
|
||||
for file in Source/**/*.{cpp,hpp,c,h,cs};
|
||||
do if [ -f $file ]; then
|
||||
sed -i '1s/^\xEF\xBB\xBF//' $file;
|
||||
sed -i '1s/^/\/\/ <<parameters.copyright-string>>\n/' $file;
|
||||
echo "added copyright notice to $file";
|
||||
fi;
|
||||
@@ -50,7 +51,7 @@ jobs:
|
||||
steps:
|
||||
- checkout
|
||||
- add-source-copyright:
|
||||
copyright-string: "Copyright AEC SYSTEMS 2022"
|
||||
copyright-string: "Copyright AEC SYSTEMS 2023"
|
||||
- zip-source:
|
||||
target: <<parameters.target>>
|
||||
outputdir: "output/unreal/<<parameters.target>>"
|
||||
@@ -80,9 +81,6 @@ workflows:
|
||||
marketplace-publish:
|
||||
when: <<pipeline.parameters.marketplace-deploy>>
|
||||
jobs:
|
||||
- generate-source-zip:
|
||||
name: "Generate Source Archive UE4.26"
|
||||
target: "4.26"
|
||||
- generate-source-zip:
|
||||
name: "Generate Source Archive UE4.27"
|
||||
target: "4.27"
|
||||
@@ -95,16 +93,19 @@ workflows:
|
||||
- generate-source-zip:
|
||||
name: "Generate Source Archive UE5.2"
|
||||
target: "5.2"
|
||||
- hold:
|
||||
type: approval
|
||||
- generate-source-zip:
|
||||
name: "Generate Source Archive UE5.3"
|
||||
target: "5.3"
|
||||
- generate-source-zip:
|
||||
name: "Generate Source Archive UE5.4"
|
||||
target: "5.4"
|
||||
- marketplace-deploy:
|
||||
name: "Deploy to marketplace"
|
||||
context: do-spaces-speckle-releases
|
||||
requires:
|
||||
- "Generate Source Archive UE4.26"
|
||||
- "Generate Source Archive UE4.27"
|
||||
- "Generate Source Archive UE5.0"
|
||||
- "Generate Source Archive UE5.1"
|
||||
- "Generate Source Archive UE5.2"
|
||||
- marketplace-deploy:
|
||||
name: "Deploy to marketplace"
|
||||
context: do-spaces-speckle-releases
|
||||
requires:
|
||||
- hold
|
||||
- "Generate Source Archive UE5.3"
|
||||
- "Generate Source Archive UE5.4"
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.15.0",
|
||||
"VersionName": "2.19.0",
|
||||
"FriendlyName": "Speckle Unreal",
|
||||
"Description": "Speckle is an open source data platform for Architecture, Engineering, and Construction. It has been open sourced under the Apache License 2.0, is customizable, and available in the cloud or via a self-hosted server. It allows users to exchange data between various AEC modelling and content creation platforms.",
|
||||
"Category": "AEC",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.15.0",
|
||||
"VersionName": "2.19.0",
|
||||
"FriendlyName": "Speckle Unreal",
|
||||
"Description": "Speckle is an open source data platform for Architecture, Engineering, and Construction. It has been open sourced under the Apache License 2.0, is customizable, and available in the cloud or via a self-hosted server. It allows users to exchange data between various AEC modelling and content creation platforms.",
|
||||
"Category": "AEC",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.15.0",
|
||||
"VersionName": "2.19.0",
|
||||
"FriendlyName": "Speckle Unreal",
|
||||
"Description": "Speckle is an open source data platform for Architecture, Engineering, and Construction. It has been open sourced under the Apache License 2.0, is customizable, and available in the cloud or via a self-hosted server. It allows users to exchange data between various AEC modelling and content creation platforms.",
|
||||
"Category": "AEC",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.15.0",
|
||||
"VersionName": "2.19.0",
|
||||
"FriendlyName": "Speckle Unreal",
|
||||
"Description": "Speckle is an open source data platform for Architecture, Engineering, and Construction. It has been open sourced under the Apache License 2.0, is customizable, and available in the cloud or via a self-hosted server. It allows users to exchange data between various AEC modelling and content creation platforms.",
|
||||
"Category": "AEC",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.15.0",
|
||||
"VersionName": "2.19.0",
|
||||
"FriendlyName": "Speckle Unreal",
|
||||
"Description": "Speckle is an open source data platform for Architecture, Engineering, and Construction. It has been open sourced under the Apache License 2.0, is customizable, and available in the cloud or via a self-hosted server. It allows users to exchange data between various AEC modelling and content creation platforms.",
|
||||
"Category": "AEC",
|
||||
@@ -14,7 +14,7 @@
|
||||
"IsBetaVersion": true,
|
||||
"IsExperimentalVersion": false,
|
||||
"Installed": false,
|
||||
"EngineVersion": "4.26",
|
||||
"EngineVersion": "5.3",
|
||||
"Modules": [
|
||||
{
|
||||
"Name": "SpeckleUnreal",
|
||||
@@ -0,0 +1,6 @@
|
||||
.gitattributes export-ignore
|
||||
.github/* export-ignore
|
||||
.circleci/* export-ignore
|
||||
.circleci/ export-ignore
|
||||
.pluginconfig/* export-ignore
|
||||
LICENSE export-ignore
|
||||
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.19.0",
|
||||
"FriendlyName": "Speckle Unreal",
|
||||
"Description": "Speckle is an open source data platform for Architecture, Engineering, and Construction. It has been open sourced under the Apache License 2.0, is customizable, and available in the cloud or via a self-hosted server. It allows users to exchange data between various AEC modelling and content creation platforms.",
|
||||
"Category": "AEC",
|
||||
"CreatedBy": "Speckle",
|
||||
"CreatedByURL": "https://speckle.systems/",
|
||||
"DocsURL": "https://github.com/specklesystems/speckle-unreal",
|
||||
"MarketplaceURL": "com.epicgames.launcher://ue/marketplace/product/98770ce9d4f143de8dd7882a707a6f81",
|
||||
"SupportURL": "https://speckle.community/",
|
||||
"CanContainContent": true,
|
||||
"IsBetaVersion": true,
|
||||
"IsExperimentalVersion": false,
|
||||
"Installed": false,
|
||||
"EngineVersion": "5.4",
|
||||
"Modules": [
|
||||
{
|
||||
"Name": "SpeckleUnreal",
|
||||
"Type": "Runtime",
|
||||
"LoadingPhase": "Default",
|
||||
"WhitelistPlatforms": [ "Win64", "Linux", "Mac" ]
|
||||
},
|
||||
{
|
||||
"Name": "SpeckleUnrealEditor",
|
||||
"Type": "Editor",
|
||||
"LoadingPhase": "PostEngineInit",
|
||||
"WhitelistPlatforms": [ "Win64", "Linux", "Mac" ]
|
||||
}
|
||||
],
|
||||
"Plugins": [
|
||||
{
|
||||
"Name": "ProceduralMeshComponent",
|
||||
"Enabled": true
|
||||
},
|
||||
{
|
||||
"Name": "LidarPointCloud",
|
||||
"Enabled": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,23 +1,24 @@
|
||||
# Speckle for Unreal Engine
|
||||
<h1 align="center">
|
||||
<img src="https://user-images.githubusercontent.com/2679513/131189167-18ea5fe1-c578-47f6-9785-3748178e4312.png" width="150px"/><br/>
|
||||
Speckle | Unreal
|
||||
</h1>
|
||||
|
||||
[](https://twitter.com/SpeckleSystems) [](https://speckle.community) [](https://speckle.systems) [](https://speckle.guide/user/unreal.html)
|
||||
<p align="center"><a href="https://twitter.com/SpeckleSystems"><img src="https://img.shields.io/twitter/follow/SpeckleSystems?style=social" alt="Twitter Follow"></a> <a href="https://speckle.community"><img src="https://img.shields.io/discourse/users?server=https%3A%2F%2Fspeckle.community&style=flat-square&logo=discourse&logoColor=white" alt="Community forum users"></a> <a href="https://speckle.systems"><img src="https://img.shields.io/badge/https://-speckle.systems-royalblue?style=flat-square" alt="website"></a> <a href="https://speckle.guide/dev/"><img src="https://img.shields.io/badge/docs-speckle.guide-orange?style=flat-square&logo=read-the-docs&logoColor=white" alt="docs"></a></p>
|
||||
|
||||
Speckle makes integrating Unreal Engine with your 3D workflows even easier. </br>
|
||||
This plugin connects Unreal Engine to Speckle, allowing you to receive your versioned 3D data from Speckle inside Unreal Engine,
|
||||
enabling interoperable collaboration between Unreal and other Speckle connectors (Revit, Rhino, Blender, Sketchup, Unity, AutoCAD, [and more!](https://speckle.systems/features/connectors/))
|
||||
> Speckle is the first AEC data hub that connects with your favorite AEC tools. Speckle exists to overcome the challenges of working in a fragmented industry where communication, creative workflows, and the exchange of data are often hindered by siloed software and processes. It is here to make the industry better.
|
||||
|
||||
<h3 align="center">
|
||||
Speckle Connector for Unreal Engine
|
||||
</h3>
|
||||
|
||||
https://user-images.githubusercontent.com/45512892/187969471-3f548b17-3388-48ee-a07c-bd3a0ecf5149.mp4
|
||||
|
||||
|
||||
Checkout our dedicated [Tutorials and Docs](https://speckle.systems/tag/unreal/).
|
||||
|
||||
If you are enjoying using Speckle, don't forget to ⭐ our [GitHub repositories](https://github.com/specklesystems),
|
||||
and [join our community forum](https://speckle.community/) where you can post any questions, suggestions, and discuss exciting projects!
|
||||
> [!WARNING]
|
||||
> This is a legacy repo! A new next generation connector will be coming soon. In the meantime, check out our active next generation repos here 👇<br/>
|
||||
> [`speckle-sharp-connectors`](https://github.com/specklesystems/speckle-sharp-connectors): our .NET next generation connectors and desktop UI<br/>
|
||||
> [`speckle-sharp-sdk`](https://github.com/specklesystems/speckle-sharp-sdk): our .NET SDK, Tests, and Objects
|
||||
|
||||
## Notice
|
||||
|
||||
We officially support Unreal Engine 4.27, 5.0, 5.1, 5.2
|
||||
We officially support Unreal Engine 4.27, 5.0-5.4
|
||||
|
||||
**Features**:
|
||||
- [Receiving Speckle geometry as Actors in editor and standalone runtime](https://speckle.systems/tutorials/getting-started-with-speckle-for-unreal/).
|
||||
@@ -34,6 +35,7 @@ We officially support Unreal Engine 4.27, 5.0, 5.1, 5.2
|
||||
| [`Objects.Geometry.PointCloud`](https://github.com/specklesystems/speckle-sharp/blob/main/Objects/Objects/Geometry/Pointcloud.cs) | → | [LiDAR Point Cloud](https://docs.unrealengine.com/4.27/en-US/WorkingWithContent/LidarPointCloudPlugin/LidarPointCloudPluginReference/) |
|
||||
| [`Objects.Other.Instance`](https://github.com/specklesystems/speckle-sharp/blob/main/Objects/Objects/Other/Instance.cs) | → | Actor with Transform |
|
||||
| [`Objects.BuiltElements.View`](https://github.com/specklesystems/speckle-sharp/blob/main/Objects/Objects/BuiltElements/View.cs) | → | [Camera](https://docs.unrealengine.com/4.27/en-US/InteractiveExperiences/Framework/Camera/) |
|
||||
| [`Speckle.Core.Models.Collection`](https://github.com/specklesystems/speckle-sharp/blob/main/Core/Core/Models/Collection.cs) | → | Empty Actor |
|
||||
|
||||
**Supported platforms**: Windows, Linux, MacOS
|
||||
*Other platforms may work, but currently untested*.
|
||||
|
||||
@@ -27,7 +27,7 @@ void FClientAPI::MakeGraphQLRequest(const FString& ServerUrl, const FString& Aut
|
||||
if(!GetResponseAsJSON(Response, RequestLogName, Obj, OnError)) return;
|
||||
|
||||
const TSharedPtr<FJsonObject>* DataObjectPtr;
|
||||
if(!Obj->TryGetObjectField("data", DataObjectPtr))
|
||||
if(!Obj->TryGetObjectField(TEXT("data"), DataObjectPtr))
|
||||
{
|
||||
OnError(TEXT("%s responce was invalid, expected to find a \"data\" property in response"));
|
||||
return;
|
||||
@@ -89,7 +89,7 @@ void FClientAPI::MakeGraphQLRequest(const FString& ServerUrl, const FString& Aut
|
||||
UE_LOG(LogSpeckle, Warning, TEXT("POST Request %s to %s failed to send"), *RequestLogName, *Request->GetURL() );
|
||||
}
|
||||
|
||||
FAnalytics::TrackEvent(Request->GetURL(), "NodeRun", TMap<FString, FString> { {"name", __FUNCTION__}});
|
||||
FAnalytics::TrackEvent(Request->GetURL(), TEXT("NodeRun"), TMap<FString, FString> { {TEXT("name"), __FUNCTION__}});
|
||||
}
|
||||
|
||||
|
||||
@@ -124,14 +124,14 @@ FHttpRequestRef FClientAPI::CreatePostRequest(const FString& ServerUrl, const FS
|
||||
{
|
||||
FHttpRequestRef Request = FHttpModule::Get().CreateRequest();
|
||||
|
||||
Request->SetURL(ServerUrl + "/graphql");
|
||||
Request->SetURL(ServerUrl + TEXT("/graphql"));
|
||||
Request->SetVerb(TEXT("POST"));
|
||||
Request->SetHeader("Accept-Encoding", Encoding);
|
||||
Request->SetHeader("Content-Type", TEXT("application/json"));
|
||||
Request->SetHeader(TEXT("Accept-Encoding"), Encoding);
|
||||
Request->SetHeader(TEXT("Content-Type"), TEXT("application/json"));
|
||||
if(!AuthToken.IsEmpty())
|
||||
Request->SetHeader("Authorization","Bearer " + AuthToken);
|
||||
Request->SetHeader("apollographql-client-name", "Unreal Engine");
|
||||
Request->SetHeader("apollographql-client-version", SPECKLE_CONNECTOR_VERSION);
|
||||
Request->SetHeader(TEXT("Authorization"), FString::Printf(TEXT("Bearer %s"), *AuthToken));
|
||||
Request->SetHeader(TEXT("apollographql-client-name"), TEXT("Unreal Engine"));
|
||||
Request->SetHeader(TEXT("apollographql-client-version"), SPECKLE_CONNECTOR_VERSION);
|
||||
Request->SetContentAsString(PostPayload);
|
||||
|
||||
return Request;
|
||||
@@ -178,10 +178,10 @@ bool FClientAPI::CheckForOperationErrors(const TSharedPtr<FJsonObject> GraphQLRe
|
||||
FString Message;
|
||||
const TSharedPtr<FJsonObject>* ErrorObject;
|
||||
bool HadMessage = e->TryGetObject(ErrorObject)
|
||||
&& (*ErrorObject)->TryGetStringField("message", Message);
|
||||
&& (*ErrorObject)->TryGetStringField(TEXT("message"), Message);
|
||||
if(!HadMessage)
|
||||
{
|
||||
Message = "An operation error occured but had no message!\n";
|
||||
Message = TEXT("An operation error occured but had no message!\n");
|
||||
UE_LOG(LogSpeckle, Warning, TEXT("%s"), *Message);
|
||||
}
|
||||
|
||||
|
||||
@@ -24,9 +24,9 @@ UBase* USpeckleSerializer::DeserializeBase(const TSharedPtr<FJsonObject> Obj,
|
||||
}
|
||||
|
||||
FString SpeckleType;
|
||||
if (!Obj->TryGetStringField("speckle_type", SpeckleType)) return nullptr;
|
||||
if (!Obj->TryGetStringField(TEXT("speckle_type"), SpeckleType)) return nullptr;
|
||||
FString ObjectId = "";
|
||||
Obj->TryGetStringField("id", ObjectId);
|
||||
Obj->TryGetStringField(TEXT("id"), ObjectId);
|
||||
|
||||
TSubclassOf<UBase> BaseType;
|
||||
|
||||
@@ -62,7 +62,7 @@ UBase* USpeckleSerializer::DeserializeBase(const TSharedPtr<FJsonObject> Obj,
|
||||
}
|
||||
|
||||
//If we couldn't even deserialize this to a Base, something is quite wrong...
|
||||
if(WorkingType == "Base" || BaseType == UBase::StaticClass())
|
||||
if(WorkingType == TEXT("Base") || BaseType == UBase::StaticClass())
|
||||
{
|
||||
UE_LOG(LogSpeckle, Warning, TEXT("Skipping deserilization of %s id: %s - object could not be deserilaized to Base"), *SpeckleType, *ObjectId );
|
||||
return nullptr;
|
||||
|
||||
@@ -6,8 +6,8 @@
|
||||
#include "Kismet/GameplayStatics.h"
|
||||
#include "LogSpeckle.h"
|
||||
#include "Interfaces/IHttpResponse.h"
|
||||
#include "Launch/Resources/Version.h"
|
||||
#include "Misc/Base64.h"
|
||||
#include "Runtime/Launch/Resources/Version.h"
|
||||
#include "Policies/CondensedJsonPrintPolicy.h"
|
||||
#include "Serialization/JsonSerializerMacros.h"
|
||||
#include "Serialization/JsonWriter.h"
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
#include "Conversion/Converters/CollectionConverter.h"
|
||||
|
||||
#include "Objects/Collection.h"
|
||||
|
||||
UCollectionConverter::UCollectionConverter()
|
||||
{
|
||||
SpeckleTypes.Add(UCollection::StaticClass());
|
||||
|
||||
|
||||
ActorType = AActor::StaticClass();
|
||||
ActorMobility = EComponentMobility::Static;
|
||||
}
|
||||
|
||||
UObject* UCollectionConverter::ConvertToNative_Implementation(const UBase* SpeckleBase, UWorld* World,
|
||||
TScriptInterface<ISpeckleConverter>& AvailableConverters )
|
||||
{
|
||||
const UCollection* p = Cast<UCollection>(SpeckleBase);
|
||||
|
||||
if(p == nullptr) return nullptr;
|
||||
|
||||
return CollectionToNative(p, World);
|
||||
}
|
||||
|
||||
AActor* UCollectionConverter::CollectionToNative(const UCollection*, UWorld* World)
|
||||
{
|
||||
AActor* MeshActor = CreateEmptyActor(World);
|
||||
|
||||
|
||||
return MeshActor;
|
||||
}
|
||||
|
||||
AActor* UCollectionConverter::CreateEmptyActor(UWorld* World, const FActorSpawnParameters& SpawnParameters)
|
||||
{
|
||||
AActor* Actor = World->SpawnActor<AActor>(ActorType, SpawnParameters);
|
||||
USceneComponent* Scene = NewObject<USceneComponent>(Actor, "Root");
|
||||
Actor->SetRootComponent(Scene);
|
||||
Scene->RegisterComponent();
|
||||
Scene->SetMobility(ActorMobility);
|
||||
return Actor;
|
||||
}
|
||||
|
||||
|
||||
UBase* UCollectionConverter::ConvertToSpeckle_Implementation(const UObject* Object)
|
||||
{
|
||||
return nullptr; //TODO implement ToSpeckle function
|
||||
}
|
||||
|
||||
|
||||
UCollection* UCollectionConverter::CollectionToSpeckle(const AActor* Object)
|
||||
{
|
||||
return nullptr; //TODO implement ToSpeckle function
|
||||
}
|
||||
@@ -101,10 +101,10 @@ AActor* UStaticMeshConverter::MeshesToNativeActor(const UBase* Parent, const TAr
|
||||
FMatrix Transform = FMatrix::Identity;
|
||||
// For single mesh, we check for transform
|
||||
//TODO figure out how to handle DisplayValueElement with transform. Maybe we just grab transform from parent unconditionally? How does this affect blocks?
|
||||
if(Parent == SpeckleMeshes[0])
|
||||
{
|
||||
Transform = SpeckleMeshes[0]->Transform;
|
||||
}
|
||||
// if(Parent == SpeckleMeshes[0])
|
||||
// {
|
||||
// Transform = SpeckleMeshes[0]->Transform;
|
||||
// }
|
||||
|
||||
AActor* Actor = CreateEmptyActor(World, USpeckleObjectUtils::CreateTransform(Transform));
|
||||
TInlineComponentArray<UStaticMeshComponent*> Components;
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "API/SpeckleSerializer.h"
|
||||
#include "Conversion/Converters/AggregateConverter.h"
|
||||
#include "Conversion/Converters/BlockConverter.h"
|
||||
#include "Conversion/Converters/CollectionConverter.h"
|
||||
#include "Conversion/Converters/PointCloudConverter.h"
|
||||
#include "Conversion/Converters/StaticMeshConverter.h"
|
||||
#include "Conversion/Converters/MaterialConverter.h"
|
||||
@@ -22,6 +23,7 @@ USpeckleConverterComponent::USpeckleConverterComponent()
|
||||
static ConstructorHelpers::FObjectFinder<UPointCloudConverter> PointCloudConverter(TEXT("PointCloudConverter'/SpeckleUnreal/Converters/DefaultPointCloudConverter.DefaultPointCloudConverter'"));
|
||||
static ConstructorHelpers::FObjectFinder<UBlockConverter> BlockConverter(TEXT("BlockConverter'/SpeckleUnreal/Converters/DefaultBlockConverter.DefaultBlockConverter'"));
|
||||
static ConstructorHelpers::FObjectFinder<UMaterialConverter> MaterialConverter(TEXT("MaterialConverter'/SpeckleUnreal/Converters/DefaultMaterialConverter.DefaultMaterialConverter'"));
|
||||
static ConstructorHelpers::FObjectFinder<UCollectionConverter> CollectionConverter(TEXT("CollectionConverter'/SpeckleUnreal/Converters/DefaultCollectionConverter.DefaultCollectionConverter'"));
|
||||
static ConstructorHelpers::FObjectFinder<UObject> CameraConverter(TEXT("CameraConverter'/SpeckleUnreal/Converters/DefaultCameraConverter.DefaultCameraConverter'"));
|
||||
//static ConstructorHelpers::FObjectFinder<ULightConverter> LightConverter(TEXT("LightConverter'/SpeckleUnreal/Converters/DefaultLightConverter.DefaultLightConverter'"));
|
||||
|
||||
@@ -31,6 +33,7 @@ USpeckleConverterComponent::USpeckleConverterComponent()
|
||||
SpeckleConverter->SpeckleConverters.Add(PointCloudConverter.Object);
|
||||
SpeckleConverter->SpeckleConverters.Add(BlockConverter.Object);
|
||||
SpeckleConverter->SpeckleConverters.Add(MaterialConverter.Object);
|
||||
SpeckleConverter->SpeckleConverters.Add(CollectionConverter.Object);
|
||||
SpeckleConverter->SpeckleConverters.Add(CameraConverter.Object);
|
||||
//SpeckleConverter->SpeckleConverters.Add(LightConverter.Object);
|
||||
|
||||
@@ -41,8 +44,19 @@ AActor* USpeckleConverterComponent::RecursivelyConvertToNative(AActor* AOwner, c
|
||||
const TScriptInterface<ITransport>& LocalTransport, bool DisplayProgressBar, TArray<AActor*>& OutActors)
|
||||
{
|
||||
float ObjectsToConvert{};
|
||||
Base->TryGetDynamicNumber("totalChildrenCount", ObjectsToConvert);
|
||||
|
||||
if(Base->TotalChildrenCount > 0)
|
||||
{
|
||||
ObjectsToConvert = Base->TotalChildrenCount;
|
||||
}
|
||||
else
|
||||
{
|
||||
Base->TryGetDynamicNumber("totalChildrenCount", ObjectsToConvert);
|
||||
}
|
||||
if(ObjectsToConvert <= 1)
|
||||
{
|
||||
ObjectsToConvert = 99999; //A large number
|
||||
}
|
||||
|
||||
// Progress bar
|
||||
FScopedSlowTask Progress(ObjectsToConvert + 2,
|
||||
LOCTEXT("SpeckleConvertoNative","Converting Speckle Objects to Native"), DisplayProgressBar);
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
|
||||
#include "Objects/Collection.h"
|
||||
|
||||
|
||||
|
||||
|
||||
bool UCollection::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterface<ITransport> ReadTransport)
|
||||
{
|
||||
if(!Super::Parse(Obj, ReadTransport)) return false;
|
||||
|
||||
// Parse Name property
|
||||
if(!Obj->TryGetStringField(TEXT("name"), Name)) return false;
|
||||
//DynamicProperties.Remove(TEXT("name")); //Don't remove from dynamic, as we pick this up to name the actor
|
||||
|
||||
// Parse collectionType
|
||||
if(!Obj->TryGetStringField(TEXT("collectionType"), CollectionType)) return false;
|
||||
DynamicProperties.Remove(TEXT("collectionType"));
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -14,7 +14,7 @@ bool UMesh::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterface<ITra
|
||||
if(USpeckleObjectUtils::TryParseTransform(Obj, Transform))
|
||||
{
|
||||
Transform.ScaleTranslation(FVector(ScaleFactor));
|
||||
DynamicProperties.Remove("transform");
|
||||
DynamicProperties.Remove(TEXT("transform"));
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -24,38 +24,38 @@ bool UMesh::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterface<ITra
|
||||
|
||||
//Parse Vertices
|
||||
{
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectVertices = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField("vertices"), ReadTransport);
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectVertices = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField(TEXT("vertices")), ReadTransport);
|
||||
const int32 NumberOfVertices = ObjectVertices.Num() / 3;
|
||||
|
||||
Vertices.Reserve(NumberOfVertices);
|
||||
|
||||
for (size_t i = 0, j = 0; i < NumberOfVertices; i++, j += 3)
|
||||
{
|
||||
Vertices.Add(Transform.InverseTransformPosition(FVector
|
||||
Vertices.Add(FVector
|
||||
(
|
||||
ObjectVertices[j].Get()->AsNumber(),
|
||||
-ObjectVertices[j + 1].Get()->AsNumber(),
|
||||
ObjectVertices[j + 2].Get()->AsNumber()
|
||||
) * ScaleFactor ));
|
||||
) * ScaleFactor );
|
||||
}
|
||||
DynamicProperties.Remove("vertices");
|
||||
DynamicProperties.Remove(TEXT("vertices"));
|
||||
}
|
||||
|
||||
//Parse Faces
|
||||
{
|
||||
const TArray<TSharedPtr<FJsonValue>> FaceVertices = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField("faces"), ReadTransport);
|
||||
const TArray<TSharedPtr<FJsonValue>> FaceVertices = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField(TEXT("faces")), ReadTransport);
|
||||
Faces.Reserve(FaceVertices.Num());
|
||||
for(const auto& VertIndex : FaceVertices)
|
||||
{
|
||||
Faces.Add(VertIndex->AsNumber());
|
||||
}
|
||||
DynamicProperties.Remove("faces");
|
||||
DynamicProperties.Remove(TEXT("faces"));
|
||||
}
|
||||
|
||||
//Parse TextureCoords
|
||||
{
|
||||
const TArray<TSharedPtr<FJsonValue>>* TextCoordArray;
|
||||
if(Obj->TryGetArrayField("textureCoordinates", TextCoordArray))
|
||||
if(Obj->TryGetArrayField(TEXT("textureCoordinates"), TextCoordArray))
|
||||
{
|
||||
TArray<TSharedPtr<FJsonValue>> TexCoords = USpeckleObjectUtils::CombineChunks(*TextCoordArray, ReadTransport);
|
||||
|
||||
@@ -69,14 +69,14 @@ bool UMesh::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterface<ITra
|
||||
TexCoords[i + 1].Get()->AsNumber()
|
||||
));
|
||||
}
|
||||
DynamicProperties.Remove("textureCoordinates");
|
||||
DynamicProperties.Remove(TEXT("textureCoordinates"));
|
||||
}
|
||||
}
|
||||
|
||||
//Parse VertexColors
|
||||
{
|
||||
const TArray<TSharedPtr<FJsonValue>>* ColorArray;
|
||||
if(Obj->TryGetArrayField("colors", ColorArray))
|
||||
if(Obj->TryGetArrayField(TEXT("colors"), ColorArray))
|
||||
{
|
||||
TArray<TSharedPtr<FJsonValue>> Colors = USpeckleObjectUtils::CombineChunks(*ColorArray, ReadTransport);
|
||||
|
||||
@@ -86,16 +86,16 @@ bool UMesh::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterface<ITra
|
||||
{
|
||||
VertexColors.Add(FColor(Colors[i].Get()->AsNumber()));
|
||||
}
|
||||
DynamicProperties.Remove("colors");
|
||||
DynamicProperties.Remove(TEXT("colors"));
|
||||
}
|
||||
}
|
||||
|
||||
//Parse Optional RenderMaterial
|
||||
if (Obj->HasField("renderMaterial"))
|
||||
if (Obj->HasField(TEXT("renderMaterial")))
|
||||
{
|
||||
RenderMaterial = NewObject<URenderMaterial>();
|
||||
RenderMaterial->Parse(Obj->GetObjectField("renderMaterial"), ReadTransport);
|
||||
DynamicProperties.Remove("renderMaterial");
|
||||
RenderMaterial->Parse(Obj->GetObjectField(TEXT("renderMaterial")), ReadTransport);
|
||||
DynamicProperties.Remove(TEXT("renderMaterial"));
|
||||
}
|
||||
|
||||
AlignVerticesWithTexCoordsByIndex();
|
||||
|
||||
@@ -12,7 +12,7 @@ bool UPointCloud::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterfac
|
||||
|
||||
//Parse Points
|
||||
{
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectPoints = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField("points"), ReadTransport);
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectPoints = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField(TEXT("points")), ReadTransport);
|
||||
|
||||
Points.Reserve(ObjectPoints.Num() / 3);
|
||||
for (int32 i = 2; i < ObjectPoints.Num(); i += 3)
|
||||
@@ -30,7 +30,7 @@ bool UPointCloud::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterfac
|
||||
|
||||
//Parse Colors
|
||||
{
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectColors = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField("colors"), ReadTransport);
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectColors = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField(TEXT("colors")), ReadTransport);
|
||||
|
||||
Colors.Reserve(ObjectColors.Num());
|
||||
for (int32 i = 0; i < ObjectColors.Num(); i += 1)
|
||||
@@ -42,7 +42,7 @@ bool UPointCloud::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterfac
|
||||
|
||||
//Parse Sizes
|
||||
{
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectSizes = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField("sizes"), ReadTransport);
|
||||
TArray<TSharedPtr<FJsonValue>> ObjectSizes = USpeckleObjectUtils::CombineChunks(Obj->GetArrayField(TEXT("sizes")), ReadTransport);
|
||||
|
||||
Sizes.Reserve(ObjectSizes.Num());
|
||||
for (int32 i = 0; i < ObjectSizes.Num(); i += 1)
|
||||
|
||||
@@ -15,27 +15,27 @@ bool UBlockInstance::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInte
|
||||
//Transform
|
||||
if(!USpeckleObjectUtils::TryParseTransform(Obj, Transform)) return false;
|
||||
Transform.ScaleTranslation(FVector(ScaleFactor));
|
||||
DynamicProperties.Remove("Transform");
|
||||
DynamicProperties.Remove(TEXT("Transform"));
|
||||
|
||||
|
||||
//Geometries
|
||||
//NOTE: This logic differs greatly from sharp/py implementations
|
||||
const TSharedPtr<FJsonObject>* DefPtr;
|
||||
if(!(Obj->TryGetObjectField("definition", DefPtr) || Obj->TryGetObjectField("blockDefinition", DefPtr) )) return false;
|
||||
if(!(Obj->TryGetObjectField(TEXT("definition"), DefPtr) || Obj->TryGetObjectField(TEXT("blockDefinition"), DefPtr) )) return false;
|
||||
|
||||
const FString RefID = DefPtr->operator->()->GetStringField("referencedId");
|
||||
const FString RefID = DefPtr->operator->()->GetStringField(TEXT("referencedId"));
|
||||
const TSharedPtr<FJsonObject> Definition = ReadTransport->GetSpeckleObject(RefID);
|
||||
|
||||
if(!Obj->TryGetStringField("name", Name))
|
||||
if(!Obj->TryGetStringField(TEXT("name"), Name))
|
||||
{
|
||||
if(Definition->TryGetStringField("name", Name))
|
||||
if(Definition->TryGetStringField(TEXT("name"), Name))
|
||||
{
|
||||
//The instance has no name, so we'll steal it from the definition
|
||||
DynamicProperties.Add("name", Definition->TryGetField("name"));
|
||||
DynamicProperties.Add(TEXT("name"), Definition->TryGetField(TEXT("name")));
|
||||
}
|
||||
}
|
||||
|
||||
const auto Geometries = Definition->GetArrayField("geometry");
|
||||
const auto Geometries = Definition->GetArrayField(TEXT("geometry"));
|
||||
|
||||
if(Geometries.Num() <= 0)
|
||||
{
|
||||
@@ -46,7 +46,7 @@ bool UBlockInstance::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInte
|
||||
for(const auto& Geo : Geometries)
|
||||
{
|
||||
const TSharedPtr<FJsonObject> MeshReference = Geo->AsObject();
|
||||
const FString ChildId = MeshReference->GetStringField("referencedId");
|
||||
const FString ChildId = MeshReference->GetStringField(TEXT("referencedId"));
|
||||
|
||||
if(ReadTransport->HasObject(ChildId))
|
||||
{
|
||||
@@ -56,11 +56,11 @@ bool UBlockInstance::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInte
|
||||
}
|
||||
else UE_LOG(LogSpeckle, Warning, TEXT("Block definition references an unknown object id: %s"), *ChildId)
|
||||
}
|
||||
DynamicProperties.Remove("geometry");
|
||||
DynamicProperties.Remove(TEXT("geometry"));
|
||||
|
||||
// Intentionally don't remove blockDefinition from dynamic properties,
|
||||
// because we want the converter to create the child geometries for us
|
||||
//DynamicProperties.Remove("blockDefinition");
|
||||
//DynamicProperties.Remove(TEXT("blockDefinition"));
|
||||
|
||||
return true;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
#include "Objects/Other/RevitInstance.h"
|
||||
#include "LogSpeckle.h"
|
||||
|
||||
@@ -15,31 +15,32 @@ bool URevitInstance::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInte
|
||||
//Transform
|
||||
if(!USpeckleObjectUtils::TryParseTransform(Obj, Transform)) return false;
|
||||
Transform.ScaleTranslation(FVector(ScaleFactor));
|
||||
DynamicProperties.Remove("Transform");
|
||||
DynamicProperties.Remove(TEXT("Transform"));
|
||||
|
||||
|
||||
//Geometries
|
||||
//NOTE: This logic differs greatly from sharp/py implementations
|
||||
const TSharedPtr<FJsonObject>* DefPtr;
|
||||
if(!Obj->TryGetObjectField("definition", DefPtr)) return false;
|
||||
if(!Obj->TryGetObjectField(TEXT("definition"), DefPtr)) return false;
|
||||
|
||||
const FString RefID = DefPtr->operator->()->GetStringField("referencedId");
|
||||
const FString RefID = DefPtr->operator->()->GetStringField(TEXT("referencedId"));
|
||||
const TSharedPtr<FJsonObject> Definition = ReadTransport->GetSpeckleObject(RefID);
|
||||
|
||||
if(!Obj->TryGetStringField("name", Name))
|
||||
|
||||
const FString NameKey = TEXT("name");
|
||||
if(!Obj->TryGetStringField(NameKey, Name))
|
||||
{
|
||||
if(Definition->TryGetStringField("name", Name))
|
||||
if(Definition->TryGetStringField(NameKey, Name))
|
||||
{
|
||||
//The instance has no name, so we'll steal it from the definition
|
||||
DynamicProperties.Add("name", Definition->TryGetField("name"));
|
||||
DynamicProperties.Add(NameKey, Definition->TryGetField(NameKey));
|
||||
}
|
||||
}
|
||||
auto Geometries = TArray<TSharedPtr<FJsonValue>>();
|
||||
const TArray<TSharedPtr<FJsonValue>>* ElementsPtr;
|
||||
if(Definition->TryGetArrayField("elements", ElementsPtr))
|
||||
if(Definition->TryGetArrayField(TEXT("elements"), ElementsPtr))
|
||||
Geometries.Append(*ElementsPtr);
|
||||
const TArray<TSharedPtr<FJsonValue>>* DisplayValuePtr;
|
||||
if(Definition->TryGetArrayField("displayValue", DisplayValuePtr))
|
||||
if(Definition->TryGetArrayField(TEXT("displayValue"), DisplayValuePtr))
|
||||
Geometries.Append(*DisplayValuePtr);
|
||||
|
||||
|
||||
@@ -52,7 +53,7 @@ bool URevitInstance::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInte
|
||||
for(const auto& Geo : Geometries)
|
||||
{
|
||||
const TSharedPtr<FJsonObject> MeshReference = Geo->AsObject();
|
||||
const FString ChildId = MeshReference->GetStringField("referencedId");
|
||||
const FString ChildId = MeshReference->GetStringField(TEXT("referencedId"));
|
||||
|
||||
if(ReadTransport->HasObject(ChildId))
|
||||
{
|
||||
@@ -62,7 +63,7 @@ bool URevitInstance::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInte
|
||||
}
|
||||
else UE_LOG(LogSpeckle, Warning, TEXT("Block definition references an unknown object id: %s"), *ChildId)
|
||||
}
|
||||
DynamicProperties.Remove("geometry");
|
||||
DynamicProperties.Remove(TEXT("geometry"));
|
||||
|
||||
// Intentionally don't remove blockDefinition from dynamic properties,
|
||||
// because we want the converter to create the child geometries for us
|
||||
|
||||
@@ -10,26 +10,26 @@ bool UView3D::Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterface<IT
|
||||
const float ScaleFactor = USpeckleObjectUtils::ParseScaleFactor(Units);
|
||||
|
||||
// Parse optional Name property
|
||||
if(Obj->TryGetStringField("name", Name)) { }
|
||||
if(Obj->TryGetStringField(TEXT("name"), Name)) { }
|
||||
|
||||
// Parse Origin
|
||||
if(!USpeckleObjectUtils::ParseVectorProperty(Obj, "origin", ReadTransport, Origin)) return false;
|
||||
if(!USpeckleObjectUtils::ParseVectorProperty(Obj, TEXT("origin"), ReadTransport, Origin)) return false;
|
||||
Origin *= ScaleFactor;
|
||||
DynamicProperties.Remove("origin");
|
||||
DynamicProperties.Remove(TEXT("origin"));
|
||||
|
||||
// Parse UpDirection
|
||||
if(!USpeckleObjectUtils::ParseVectorProperty(Obj, "upDirection", ReadTransport, UpDirection)) return false;
|
||||
UpDirection *= ScaleFactor;
|
||||
DynamicProperties.Remove("upDirection");
|
||||
DynamicProperties.Remove(TEXT("upDirection"));
|
||||
|
||||
// Parse ForwardDirection
|
||||
if(!USpeckleObjectUtils::ParseVectorProperty(Obj, "forwardDirection", ReadTransport, ForwardDirection)) return false;
|
||||
if(!USpeckleObjectUtils::ParseVectorProperty(Obj, TEXT("forwardDirection"), ReadTransport, ForwardDirection)) return false;
|
||||
ForwardDirection *= ScaleFactor;
|
||||
DynamicProperties.Remove("forwardDirection");
|
||||
DynamicProperties.Remove(TEXT("forwardDirection"));
|
||||
|
||||
// Parse IsOrthogonal
|
||||
if(!Obj->TryGetBoolField("isOrthogonal", IsOrthogonal)) return false;
|
||||
DynamicProperties.Remove("isOrthogonal");
|
||||
if(!Obj->TryGetBoolField(TEXT("isOrthogonal"), IsOrthogonal)) return false;
|
||||
DynamicProperties.Remove(TEXT("isOrthogonal"));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -17,12 +17,12 @@ TArray<TSharedPtr<FJsonValue>> USpeckleObjectUtils::CombineChunks(const TArray<T
|
||||
for(int32 i = 0; i < ArrayField.Num(); i++)
|
||||
{
|
||||
FString Index;
|
||||
if(ArrayField[i]->AsObject()->TryGetStringField("referencedId", Index))
|
||||
if(ArrayField[i]->AsObject()->TryGetStringField(TEXT("referencedId"), Index))
|
||||
{
|
||||
if(!ensureAlwaysMsgf(Transport->HasObject(Index), TEXT("Failed to Dechunk array, Could not find chunk %s in transport"), *Index))
|
||||
continue;
|
||||
|
||||
const auto Chunk = Transport->GetSpeckleObject(Index)->GetArrayField("data");;
|
||||
const auto Chunk = Transport->GetSpeckleObject(Index)->GetArrayField(TEXT("data"));;
|
||||
ObjectPoints.Append(Chunk);
|
||||
}
|
||||
else
|
||||
@@ -38,9 +38,9 @@ bool USpeckleObjectUtils::ResolveReference(const TSharedPtr<FJsonObject> Object,
|
||||
FString SpeckleType;
|
||||
FString ReferenceID;
|
||||
|
||||
if (Object->TryGetStringField("speckle_type", SpeckleType)
|
||||
&& SpeckleType == "reference"
|
||||
&& Object->TryGetStringField("referencedId",ReferenceID))
|
||||
if (Object->TryGetStringField(TEXT("speckle_type"), SpeckleType)
|
||||
&& SpeckleType == TEXT("reference")
|
||||
&& Object->TryGetStringField(TEXT("referencedId"),ReferenceID))
|
||||
{
|
||||
check(Transport != nullptr && Transport.GetObject() != nullptr)
|
||||
|
||||
@@ -96,10 +96,10 @@ bool USpeckleObjectUtils::TryParseTransform(const TSharedPtr<FJsonObject> Speckl
|
||||
const TSharedPtr<FJsonObject>* TransformObject;
|
||||
const TArray<TSharedPtr<FJsonValue>>* TransformData;
|
||||
|
||||
if(SpeckleObject->TryGetArrayField("transform", TransformData)) //Handle transform as array
|
||||
if(SpeckleObject->TryGetArrayField(TEXT("transform"), TransformData)) //Handle transform as array
|
||||
{ }
|
||||
else if(SpeckleObject->TryGetObjectField("transform", TransformObject)
|
||||
&& (*TransformObject)->TryGetArrayField("matrix", TransformData)) //Handle transform as object
|
||||
else if(SpeckleObject->TryGetObjectField(TEXT("transform"), TransformObject)
|
||||
&& (*TransformObject)->TryGetArrayField(TEXT("matrix"), TransformData)) //Handle transform as object
|
||||
{ }
|
||||
else return false;
|
||||
|
||||
@@ -136,9 +136,9 @@ bool USpeckleObjectUtils::ParseVector(const TSharedPtr<FJsonObject> Object,
|
||||
|
||||
double x = 0, y = 0, z = 0;
|
||||
|
||||
if(!(Obj->TryGetNumberField("x", x)
|
||||
&& Obj->TryGetNumberField("y", y)
|
||||
&& Obj->TryGetNumberField("z", z))) return false;
|
||||
if(!(Obj->TryGetNumberField(TEXT("x"), x)
|
||||
&& Obj->TryGetNumberField(TEXT("y"), y)
|
||||
&& Obj->TryGetNumberField(TEXT("z"), z))) return false;
|
||||
|
||||
OutObject = FVector(x,y,z);
|
||||
//return true;
|
||||
@@ -151,7 +151,7 @@ template <typename TBase>
|
||||
bool USpeckleObjectUtils::ParseSpeckleObject(const TSharedPtr<FJsonObject> Object,
|
||||
const TScriptInterface<ITransport> Transport, TBase*& OutObject)
|
||||
{
|
||||
static_assert(TIsDerivedFrom<TBase, UBase>::IsDerived, "Type TBase must inherit UBase");
|
||||
static_assert(TIsDerivedFrom<TBase, UBase>::IsDerived, TEXT("Type TBase must inherit UBase"));
|
||||
|
||||
TSharedPtr<FJsonObject> Obj;
|
||||
if(!ResolveReference(Object, Transport, Obj)) Obj = Object;
|
||||
@@ -179,9 +179,9 @@ FString USpeckleObjectUtils::DisplayAsString(const FString& msg, const TSharedPt
|
||||
FString USpeckleObjectUtils::GetFriendlyObjectName(const UBase* SpeckleObject)
|
||||
{
|
||||
FString Prefix;
|
||||
if(!(SpeckleObject->TryGetDynamicString("name", Prefix)
|
||||
|| SpeckleObject->TryGetDynamicString("Name", Prefix)
|
||||
|| SpeckleObject->TryGetDynamicString("Family", Prefix)))
|
||||
if(!(SpeckleObject->TryGetDynamicString(TEXT("name"), Prefix)
|
||||
|| SpeckleObject->TryGetDynamicString(TEXT("Name"), Prefix)
|
||||
|| SpeckleObject->TryGetDynamicString(TEXT("Family"), Prefix)))
|
||||
{
|
||||
Prefix = UObjectModelRegistry::GetSimplifiedTypeName(SpeckleObject->SpeckleType);
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ void UReceiveSelectionComponent::UpdateStreams()
|
||||
if(!IsAccountValid || bManualMode) return;
|
||||
|
||||
const FString LogName(__FUNCTION__);
|
||||
const FString Payload = FString::Printf(TEXT("{\"query\": \"query{user{id streams(limit: %d){items{id name}}}}\"}"), Limit);
|
||||
const FString Payload = FString::Printf(TEXT("{\"query\": \"query{activeUser{id streams(limit: %d){items{id name}}}}\"}"), Limit);
|
||||
|
||||
//Response Handling
|
||||
auto OnComplete = [&](const FString& ResponseJson)
|
||||
@@ -253,7 +253,7 @@ void UReceiveSelectionComponent::UpdateStreams()
|
||||
FErrorDelegate ErrorDelegate;
|
||||
ErrorDelegate.BindStatic(LogError, LogName);
|
||||
|
||||
FClientAPI::MakeGraphQLRequest(ServerUrl, AuthToken, "user", Payload, LogName, CompleteDelegate, ErrorDelegate);
|
||||
FClientAPI::MakeGraphQLRequest(ServerUrl, AuthToken, "activeUser", Payload, LogName, CompleteDelegate, ErrorDelegate);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ void ASpeckleUnrealManager::Receive()
|
||||
const FString StreamId = ReceiveSelection->StreamId;
|
||||
const FString ObjectId = ReceiveSelection->ObjectId;
|
||||
|
||||
FAnalytics::TrackEvent( ServerUrl, "NodeRun", TMap<FString, FString> { {"name", StaticClass()->GetName() }, {"worldType", FString::FromInt(GetWorld()->WorldType)}});
|
||||
FAnalytics::TrackEvent( ServerUrl, TEXT("NodeRun"), TMap<FString, FString> { {TEXT("name"), StaticClass()->GetName() }, {TEXT("worldType"), FString::FromInt(GetWorld()->WorldType)}});
|
||||
FString Message = FString::Printf(TEXT("Fetching Objects from Speckle Server: %s"), *ServerUrl);
|
||||
PrintMessage(Message);
|
||||
|
||||
@@ -104,7 +104,7 @@ void ASpeckleUnrealManager::HandleReceive(TSharedPtr<FJsonObject> RootObject, bo
|
||||
else
|
||||
{
|
||||
FString Id;
|
||||
RootObject->TryGetStringField("id", Id);
|
||||
RootObject->TryGetStringField(TEXT("id"), Id);
|
||||
FString Message = FString::Printf(TEXT("Failed to deserialise root object: %s"), *Id);
|
||||
HandleError(Message);
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ bool FReceiveSelectionComponentTest::RunTest(const FString& Parameters)
|
||||
|
||||
|
||||
s->AuthToken = TEST_AUTH_TOKEN;
|
||||
s->ServerUrl = TEXT("https://latest.speckle.dev");
|
||||
s->ServerUrl = TEXT("https://latest.speckle.systems");
|
||||
s->bManualMode = false;
|
||||
s->Refresh();
|
||||
|
||||
@@ -64,6 +64,7 @@ bool FReceiveSelectionComponentTest::RunTest(const FString& Parameters)
|
||||
ADD_LATENT_AUTOMATION_COMMAND(FCheckValidSelection(this, s));
|
||||
ADD_LATENT_AUTOMATION_COMMAND(FCheckLimitMatch(this, s));
|
||||
|
||||
return true;
|
||||
|
||||
#else
|
||||
TestTrue(TEXT("TEST_AUTH_TOKEN definition exists"), false);
|
||||
@@ -71,7 +72,6 @@ bool FReceiveSelectionComponentTest::RunTest(const FString& Parameters)
|
||||
return false;
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "LogSpeckle.h"
|
||||
#include "Mixpanel.h"
|
||||
#include "Runtime/Launch/Resources/Version.h"
|
||||
#include "JsonObjectConverter.h"
|
||||
#include "HttpModule.h"
|
||||
#include "Interfaces/IHttpRequest.h"
|
||||
@@ -34,7 +35,7 @@ void UServerTransport::HandleRootObjectResponse(const FString& RootObjSerialized
|
||||
TSharedPtr<FJsonObject> RootObj;
|
||||
if(!LoadJson(RootObjSerialized, RootObj))
|
||||
{
|
||||
FString Message = FString::Printf( TEXT("A Root Object %s was recieved but was invalid and could not be deserialied"), *ObjectId);
|
||||
FString Message = FString::Printf(TEXT("A Root Object %s was recieved but was invalid and could not be deserialied"), *ObjectId);
|
||||
InvokeOnError(Message);
|
||||
return;
|
||||
}
|
||||
@@ -42,7 +43,7 @@ void UServerTransport::HandleRootObjectResponse(const FString& RootObjSerialized
|
||||
TargetTransport->SaveObject(ObjectId, RootObj);
|
||||
|
||||
// Find children are not already in the target transport
|
||||
const auto Closures = RootObj->GetObjectField("__closure")->Values;
|
||||
const auto Closures = RootObj->GetObjectField(TEXT("__closure"))->Values;
|
||||
|
||||
TArray<FString> ChildrenIds;
|
||||
Closures.GetKeys(ChildrenIds);
|
||||
@@ -70,16 +71,21 @@ void UServerTransport::CopyObjectAndChildren(const FString& ObjectId,
|
||||
// Create Request for Root Object
|
||||
const FHttpRequestRef Request = FHttpModule::Get().CreateRequest();
|
||||
const FString Endpoint = FString::Printf(TEXT("%s/objects/%s/%s/single"), *ServerUrl, *StreamId, *ObjectId);
|
||||
Request->SetVerb("GET");
|
||||
Request->SetVerb(TEXT("GET"));
|
||||
Request->SetURL(Endpoint);
|
||||
Request->SetHeader("Accept", TEXT("text/plain"));
|
||||
Request->SetHeader(TEXT("Accept"), TEXT("text/plain"));
|
||||
if(!AuthToken.IsEmpty())
|
||||
Request->SetHeader("Authorization","Bearer " + AuthToken);
|
||||
Request->SetHeader("apollographql-client-name", "Unreal Engine");
|
||||
Request->SetHeader("apollographql-client-version", SPECKLE_CONNECTOR_VERSION);
|
||||
Request->SetHeader(TEXT("Authorization"),FString::Printf(TEXT("Bearer %s"), *AuthToken));
|
||||
Request->SetHeader(TEXT("apollographql-client-name"), TEXT("Unreal Engine"));
|
||||
Request->SetHeader(TEXT("apollographql-client-version"), SPECKLE_CONNECTOR_VERSION);
|
||||
|
||||
// Response Callback
|
||||
auto ResponseHandler = [=](FHttpRequestPtr, FHttpResponsePtr Response, bool bWasSuccessful) mutable
|
||||
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 3
|
||||
auto ResponseHandler = [=, this](FHttpRequestPtr, FHttpResponsePtr Response, bool bWasSuccessful) mutable
|
||||
#else
|
||||
auto ResponseHandler = [=](FHttpRequestPtr, FHttpResponsePtr Response, bool bWasSuccessful) mutable
|
||||
#endif
|
||||
|
||||
{
|
||||
if(!bWasSuccessful)
|
||||
{
|
||||
@@ -153,17 +159,21 @@ void UServerTransport::FetchChildren(TScriptInterface<ITransport> TargetTranspor
|
||||
const FHttpRequestRef Request = FHttpModule::Get().CreateRequest();
|
||||
{
|
||||
const FString EndPoint = FString::Printf(TEXT("%s/api/getobjects/%s"), *ServerUrl, *StreamId);
|
||||
Request->SetVerb("POST");
|
||||
Request->SetVerb(TEXT("POST"));
|
||||
Request->SetURL(EndPoint);
|
||||
Request->SetHeader("Accept", TEXT("text/plain"));
|
||||
Request->SetHeader(TEXT("Accept"), TEXT("text/plain"));
|
||||
if(!AuthToken.IsEmpty())
|
||||
Request->SetHeader("Authorization","Bearer " + AuthToken);
|
||||
Request->SetHeader("Content-Type", "application/json");
|
||||
Request->SetHeader(TEXT("Authorization"), FString::Printf(TEXT("Bearer %s"), *AuthToken));
|
||||
Request->SetHeader(TEXT("Content-Type"), TEXT("application/json"));
|
||||
Request->SetContentAsString(Body);
|
||||
}
|
||||
|
||||
// Response Callback
|
||||
auto ResponseHandler = [=](FHttpRequestPtr, FHttpResponsePtr Response, bool bWasSuccessful) mutable
|
||||
#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 3
|
||||
auto ResponseHandler = [=, this](FHttpRequestPtr, FHttpResponsePtr Response, bool bWasSuccessful) mutable
|
||||
#else
|
||||
auto ResponseHandler = [=](FHttpRequestPtr, FHttpResponsePtr Response, bool bWasSuccessful) mutable
|
||||
#endif
|
||||
{
|
||||
// Request Fail
|
||||
if(!bWasSuccessful)
|
||||
|
||||
@@ -32,6 +32,9 @@ struct FSpeckleUser
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category="Speckle|API Models")
|
||||
FString Avatar;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category="Speckle|API Models")
|
||||
bool Verified = false;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category="Speckle|API Models")
|
||||
FString Role;
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Conversion/SpeckleConverter.h"
|
||||
#include "Engine/EngineTypes.h"
|
||||
#include "Engine/World.h"
|
||||
|
||||
#include "CollectionConverter.generated.h"
|
||||
|
||||
class UCollection;
|
||||
|
||||
|
||||
/**
|
||||
* Converts Speckle Mesh objects into native actors with a procedural mesh component.
|
||||
*
|
||||
* Compared with the StaticMeshConverter, this converter has some serious limitations
|
||||
* - Cannot convert displayValues,
|
||||
* - N-gon faces will be ignored,
|
||||
* - Meshes are transient, and won't persist on level reload
|
||||
*/
|
||||
UCLASS()
|
||||
class SPECKLEUNREAL_API UCollectionConverter : public UObject, public ISpeckleConverter
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
CONVERTS_SPECKLE_TYPES()
|
||||
|
||||
public:
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="ToNative")
|
||||
TSubclassOf<AActor> ActorType;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="ToNative")
|
||||
TEnumAsByte<EComponentMobility::Type> ActorMobility;
|
||||
|
||||
// Sets default values for this actor's properties
|
||||
UCollectionConverter();
|
||||
|
||||
virtual UObject* ConvertToNative_Implementation(const UBase* SpeckleBase, UWorld* World,
|
||||
TScriptInterface<ISpeckleConverter>& AvailableConverters) override;
|
||||
|
||||
virtual UBase* ConvertToSpeckle_Implementation(const UObject* Object) override;
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="ToNative")
|
||||
virtual AActor* CollectionToNative(const UCollection* SpeckleCollection, UWorld* World);
|
||||
|
||||
UFUNCTION(BlueprintCallable, Category="ToNative")
|
||||
virtual UCollection* CollectionToSpeckle(const AActor* Object);
|
||||
|
||||
virtual AActor* CreateEmptyActor(UWorld* World, const FActorSpawnParameters& SpawnParameters = FActorSpawnParameters());
|
||||
|
||||
};
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "SpeckleConverter.generated.h"
|
||||
|
||||
|
||||
UINTERFACE()
|
||||
UINTERFACE(BlueprintType)
|
||||
class SPECKLEUNREAL_API USpeckleConverter : public UInterface
|
||||
{
|
||||
GENERATED_BODY()
|
||||
@@ -34,6 +34,7 @@ public:
|
||||
UObject* ConvertToNative(const UBase* SpeckleBase, UWorld* World, UPARAM(ref) TScriptInterface<ISpeckleConverter>& AvailableConverters);
|
||||
|
||||
/// Tries to convert a given Actor or Component into a Speckle Base
|
||||
/// NOT IMPLEMENTED!!!
|
||||
UFUNCTION(BlueprintNativeEvent, BlueprintCallable, Category="ToSpeckle")
|
||||
UBase* ConvertToSpeckle(const UObject* Object);
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ struct FSlowTask;
|
||||
/**
|
||||
* An Actor Component for encapsulating recursive conversion of Speckle Objects
|
||||
*/
|
||||
UCLASS(ClassGroup=(Speckle), meta=(BlueprintSpawnableComponent))
|
||||
UCLASS(ClassGroup=(Speckle), meta=(BlueprintSpawnableComponent), HideCategories=(Activation, Collision, Cooking, Tags))
|
||||
class SPECKLEUNREAL_API USpeckleConverterComponent : public UActorComponent
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
@@ -33,7 +33,7 @@ public:
|
||||
FString Id;
|
||||
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category="Speckle|Objects")
|
||||
int64 TotalChildrenCount;
|
||||
int64 TotalChildrenCount = 0;
|
||||
|
||||
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category="Speckle|Objects")
|
||||
FString ApplicationId;
|
||||
@@ -51,16 +51,16 @@ public:
|
||||
{
|
||||
bool IsValid = false;
|
||||
DynamicProperties = Obj->Values;
|
||||
if(Obj->TryGetStringField("id", Id))
|
||||
if(Obj->TryGetStringField(TEXT("id"), Id))
|
||||
{
|
||||
IsValid = true;
|
||||
DynamicProperties.Remove("id");
|
||||
DynamicProperties.Remove(TEXT("id"));
|
||||
}
|
||||
|
||||
if(Obj->TryGetStringField("units", Units)) DynamicProperties.Remove("units");
|
||||
if(Obj->TryGetStringField("speckle_type", SpeckleType)) DynamicProperties.Remove("speckle_type");
|
||||
if(Obj->TryGetStringField("applicationId", ApplicationId)) DynamicProperties.Remove("applicationId");
|
||||
if(Obj->TryGetNumberField("totalChildrenCount", TotalChildrenCount)) DynamicProperties.Remove("totalChildrenCount");
|
||||
if(Obj->TryGetStringField(TEXT("units"), Units)) DynamicProperties.Remove(TEXT("units"));
|
||||
if(Obj->TryGetStringField(TEXT("speckle_type"), SpeckleType)) DynamicProperties.Remove(TEXT("speckle_type"));
|
||||
if(Obj->TryGetStringField(TEXT("applicationId"), ApplicationId)) DynamicProperties.Remove(TEXT("applicationId"));
|
||||
if(Obj->TryGetNumberField(TEXT("totalChildrenCount"), TotalChildrenCount)) DynamicProperties.Remove(TEXT("totalChildrenCount"));
|
||||
|
||||
return IsValid;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
#include "Objects/Base.h"
|
||||
|
||||
#include "Collection.generated.h"
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
UCLASS()
|
||||
class SPECKLEUNREAL_API UCollection : public UBase
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
public:
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category="Speckle|Objects")
|
||||
FString Name;
|
||||
|
||||
UPROPERTY(BlueprintReadWrite, Category="Speckle|Objects")
|
||||
FString CollectionType;
|
||||
|
||||
UCollection() : UBase(TEXT("Speckle.Core.Models.Collection")) {}
|
||||
|
||||
virtual bool Parse(const TSharedPtr<FJsonObject> Obj, const TScriptInterface<ITransport> ReadTransport) override;
|
||||
};
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
|
||||
@@ -40,25 +40,25 @@ public:
|
||||
{
|
||||
if(!Super::Parse(Obj, ReadTransport)) return false;
|
||||
|
||||
if(!Obj->TryGetStringField("name", Name)) return false;
|
||||
if(Obj->TryGetNumberField("opacity", Opacity)) DynamicProperties.Remove("opacity");
|
||||
if(Obj->TryGetNumberField("metalness", Metalness)) DynamicProperties.Remove("metalness");
|
||||
if(Obj->TryGetNumberField("roughness", Roughness)) DynamicProperties.Remove("roughness");
|
||||
if(!Obj->TryGetStringField(TEXT("name"), Name)) return false;
|
||||
if(Obj->TryGetNumberField(TEXT("opacity"), Opacity)) DynamicProperties.Remove(TEXT("opacity"));
|
||||
if(Obj->TryGetNumberField(TEXT("metalness"), Metalness)) DynamicProperties.Remove(TEXT("metalness"));
|
||||
if(Obj->TryGetNumberField(TEXT("roughness"), Roughness)) DynamicProperties.Remove(TEXT("roughness"));
|
||||
|
||||
bool IsValid = false;
|
||||
|
||||
int32 ARGB;
|
||||
if(Obj->TryGetNumberField("diffuse", ARGB))
|
||||
if(Obj->TryGetNumberField(TEXT("diffuse"), ARGB))
|
||||
{
|
||||
Diffuse = FColor(ARGB);
|
||||
DynamicProperties.Remove("diffuse");
|
||||
DynamicProperties.Remove(TEXT("diffuse"));
|
||||
IsValid = true;
|
||||
}
|
||||
|
||||
if(Obj->TryGetNumberField("emissive", ARGB))
|
||||
if(Obj->TryGetNumberField(TEXT("emissive"), ARGB))
|
||||
{
|
||||
Emissive = FColor(ARGB);
|
||||
DynamicProperties.Remove("emissive");
|
||||
DynamicProperties.Remove(TEXT("emissive"));
|
||||
}
|
||||
|
||||
return IsValid;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CoreMinimal.h"
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
* Either by Stream Id + Object Id (Object selection mode)
|
||||
* Or by Stream + Branch + Commit (Commit selection mode)
|
||||
*/
|
||||
UCLASS(ClassGroup=(Speckle), meta=(BlueprintSpawnableComponent))
|
||||
UCLASS(ClassGroup=(Speckle), meta=(BlueprintSpawnableComponent), HideCategories=(Activation, Collision, Cooking, Tags))
|
||||
class SPECKLEUNREAL_API UReceiveSelectionComponent : public UActorComponent
|
||||
{
|
||||
GENERATED_BODY()
|
||||
@@ -22,7 +22,7 @@ public:
|
||||
|
||||
// URL of the speckle server
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Speckle")
|
||||
FString ServerUrl = "https://speckle.xyz";
|
||||
FString ServerUrl = "https://app.speckle.systems";
|
||||
|
||||
// A Personal Access Token can be created from your Speckle Profile page (Treat tokens like passwords, do not share publicly)
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category="Speckle", meta=(PasswordField=true))
|
||||
@@ -126,7 +126,7 @@ protected: //Internal logic for branch/stream/commit fetching and selection
|
||||
#pragma endregion
|
||||
|
||||
#pragma region Branch
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Transient, Category="Speckle", meta=(DisplayName="Branch", GetOptions=GetBranchOptions, EditCondition="IsStreamValid && !bManualMode", NoResetToDefault))
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Transient, Category="Speckle", meta=(DisplayName="Branch", GetOptions=GetBranchOptions, EditCondition="IsAccountValid && !bManualMode", NoResetToDefault))
|
||||
FString SelectedBranchText;
|
||||
|
||||
UPROPERTY(BlueprintReadOnly, Transient, Category="Speckle")
|
||||
@@ -150,7 +150,7 @@ protected: //Internal logic for branch/stream/commit fetching and selection
|
||||
#pragma endregion
|
||||
|
||||
#pragma region Commit
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Transient, Category="Speckle", meta=(DisplayName="Commit", GetOptions=GetCommitOptions, EditCondition="IsCommitValid && !bManualMode", NoResetToDefault))
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite, Transient, Category="Speckle", meta=(DisplayName="Commit", GetOptions=GetCommitOptions, EditCondition="IsAccountValid && !bManualMode", NoResetToDefault))
|
||||
FString SelectedCommitText;
|
||||
|
||||
UPROPERTY(BlueprintReadOnly, Transient, Category="Speckle")
|
||||
|
||||
@@ -13,7 +13,7 @@ class FJsonObject;
|
||||
/**
|
||||
* An Actor to handle the receiving of Speckle objects into a level
|
||||
*/
|
||||
UCLASS(ClassGroup=(Speckle), AutoCollapseCategories=("Speckle|Conversion"), BlueprintType)
|
||||
UCLASS(ClassGroup=(Speckle), AutoCollapseCategories=("Speckle|Conversion"), BlueprintType, HideCategories = (Collision, Rendering, Replication, HLOD, Physics, Networking, Input, Actor))
|
||||
class SPECKLEUNREAL_API ASpeckleUnrealManager : public AActor
|
||||
{
|
||||
GENERATED_BODY()
|
||||
|
||||
@@ -15,7 +15,7 @@ public class SpeckleUnreal : ModuleRules
|
||||
//
|
||||
// bUseUnity = false;
|
||||
|
||||
PublicDefinitions.Add("SPECKLE_CONNECTOR_VERSION=\"2.15.0\"");
|
||||
PublicDefinitions.Add("SPECKLE_CONNECTOR_VERSION=\"2.19.0\"");
|
||||
|
||||
PublicIncludePaths.AddRange(
|
||||
new string[] {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"FileVersion": 3,
|
||||
"Version": 1,
|
||||
"VersionName": "2.15.0",
|
||||
"VersionName": "2.19.0",
|
||||
"FriendlyName": "Speckle Unreal",
|
||||
"Description": "Speckle is an open source data platform for Architecture, Engineering, and Construction. It has been open sourced under the Apache License 2.0, is customizable, and available in the cloud or via a self-hosted server. It allows users to exchange data between various AEC modelling and content creation platforms.",
|
||||
"Category": "AEC",
|
||||
|
||||
Reference in New Issue
Block a user