Teilen Sie Ihre Erfahrunge und Wünsche mit uns und anderen Usern!

0

Unable to Create New Material Mapping

pfry 3 years ago in CADLink updated 3 years ago 1

So I can import a 3MF file created with SolidWorks; however, the result import in Unity appears as a bright violet version of the object. I also just tried manually importing the toy car sample 3MF and the colors were transferred properly. This leads me to believe I need to define a material mapping which I am unable to do within the CADLNK Unity asset features.

I am trying to follow the instructions here https://game4automation.com/documentation/current/cadlink.html#3MF-Import-Settings and see if designing my own material mapping will resolve the issue. However, when I click on the "Create New Material Mapping" button I get the following error

IndexOutOfRangeException: Index was outside the bounds of the array.
game4automation.CADLink.CreateAsset[T] () (at Assets/game4automation/CADLink/private/CADLink.cs:750)
game4automation.CADLink.CreateMeaterialMapping () (at Assets/game4automation/CADLink/private/CADLink.cs:86)

The line of problem is 

var find = AssetDatabase.FindAssets("StandardMaterialMapping t:ScriptableObject");

string path = AssetDatabase.GUIDToAssetPath(find[0]);

I'm guessing the issue is that when I import the CADLINK asset the "StandardMaterialMapping" is not included. I am struggling to find any further documents outlining the details of what a material map looks like. Is there no default option which just takes the color defined in the 3MF file and uses that to create the unity material? I thought that would be the default and was the main appeal of asset. 


Please let me know if there is something I am doing incorrectly, because I'm looking through all the available documentation and other forum responses to try and figure out what is going on.

0
Not a bug

Main Menu Bar Item not added

pfry 3 years ago in CADLink updated by Support 3 years ago 5

Unity Editor Version 2019.4.21f1 LTS

Asset CADLINK https://assetstore.unity.com/packages/tools/modeling/game4automation-cadlink-150559?aid=1101l3b93&utm_source=aff

Looking at the documentation here https://game4automation.com/documentation/current/index.html

either the documentation is outdated, or I am having an issue getting the main menu bar item for the game4automation to appear on my editor.


There are conflicting screenshots showing that upon importing the asset it will create a "Tools > game4automation" in the main menu bar, and others showing that the "game4autmation" item will appear in the top level main menu bar. Neither of these are created when I import from the asset store.

I saw previous forum posts stating to use LTS versions of Unity. Should I be on the 2020 LTS version now?

0
Declined

URP and post processing

Benedikt Scholz 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 3

I have problems using the URP with the post-processing function. I downloaded the Post-processing Stack and Activated the HQ settings in the game4automation GameObject. However the sliders for settings are not working. I tried to manually put a post-processing volume into the camera, but this failed also. 

There is an error on the console: Array out of bounds in game4automationController.ChangedVisual()

Can you help?

0
Answered

Multiple node to subscribe OPC UA

exiatec sb 3 years ago in OPCUA4Unity updated by Support 3 years ago 3

How to subscribe multiple nodes and with events? Fyi i need to subscribe more than 200 nodes to monitor (is this possible using the client?). Based on the documentation it only explain subscribe for one node and event.

Answer
Support 3 years ago

The OPCUANodeSubscription object includes everything you need, e.g. the NodeID of the node which changed.

0
Completed

json and value

Fahrul Rozi 3 years ago updated by Support 3 years ago 7

hi,

i want to start simulation on CMM robot , i use json data


the data like this

{"mc_access": false, "chuck5": false, "unlock_chuck": false}

how to connect value(true/false) with this robot?

can you explaine with game4automation ?

Image 349

Answer
Support 3 years ago

Our product should be enough proof.

With some basic Unity and C# knowledge it should be possible to do what you need. Do you know C# and Unity?

Are you a private person or a company? If you are a private person support needs to be paid in advance per credit card.

Please send me your full contact data for a full offer.

0

S7 interface DB write bug

Дмитрий Мурашов 3 years ago in General Questions updated by ctbenergy 3 years ago 1

I write in S7 interface in DB1.DBX1.0  but on PLC it is writing in DB1.DBX1.1

Image 347

Image 348

0
Answered

MQTT + game4automation

Fahrul Rozi 3 years ago updated by Support 3 years ago 2

hi i have a problem with mqtt+game4automation

i buy your asset plugin


i received data from MQTT Broker,and that is json format(like screenshot)
i want to add this coordinat to 3D object(fanuc robot yellow)

can you help me?

so my goal is real robot simulation with robot on unity via MQTT

please reply soon

Image 346

Image 345

Answer
Support 3 years ago

Hi, this is possible. Some programming / scripting is necessary from your side. What kind of MQTT Asst are you using inside Unity?

MQTT interface is planned later on this year. Please understand that we can't provide for free individual support. 

You could purchase a support budget and we could do what you need within this budget.

0
Answered

Reading many inputs

Willem Van Der Gaag 3 years ago in realvirtual.io Starter and Professional updated by Support 3 years ago 2

Hi! Is it possible to acces all the inputs at the same time. I would like to write all the values of these to a file for future reference. Thanks in advance!

Answer
Support 3 years ago

You could loop through all Signal objects in a script each FixedUpdate and read Signal.Value for saving it to whatever format you would like.

0
Answered

Is it possible to make an executable game-file linked to PLC?

Toni Niemi 3 years ago in realvirtual.io Starter and Professional updated by Martin 2 years ago 7

Hey! 

I have managed to get the OPC UA -connection working with while inside Unity Editor's Play-mode, but when I try to Build into an .exe, the OPC UA -connection no more works. Is there a solution to this?

Answer
Support 3 years ago

The Upgrade Message is always there - if you can use and add OPCUA and other Professional features you are having the professional version. Will let you know when the Beta is available. B

0
Fixed

s7

konrad tschurtschenthaler 3 years ago in General Questions updated by Support 3 years ago 2

Hello

I played a little bit with the conveyor and the sensor form the starter tutorial. I noticed that if a MU is occupying the sensor and then I delete the MU either manually or with a think, the sensor continues to be occupied. In order for the sensor to be free, I first need to move the MU out of the sensor collision box and then I can delete it. In my opinion the senor shouldn't remain occupied if the MU that occupies the sensor is deleted.