Questions tagged [modelio]

Modelio is an Open Source UML tool developed by Modeliosoft, based in Paris, France. It supports the UML2 and BPMN standards.

Modelio is an Open Source UML tool developed by Modeliosoft, based in Paris, France.
It supports the UML2 and BPMN standards.

Wikipedia: http://en.wikipedia.org/wiki/Modelio

50 questions
19
votes
1 answer

How To Apply .MTL File on .OBJ 3d Model via SceneKit & Model I/O

I am trying to apply an .mtl file texture on .obj 3d model via SceneKit & Model I/0. My code below works fine when I try to apply .jpg of a texture on it: let url = NSBundle.mainBundle().URLForResource("chair", withExtension: "obj") …
n.by.n
  • 2,458
  • 22
  • 31
6
votes
2 answers

Error on iOS14 when loading OBJs into MDLAsset

When loading OBJs into an MDLAsset using the MDLAsset(url:) initializer (to eventually get the model into SceneKit), the operation fails frequently and inconsistently on iOS14. This operation works fine for these same files on previous iOS versions.…
Michael
  • 291
  • 2
  • 6
6
votes
1 answer

How do I add parameters on Modelio, UML

I can't really find how to add arguments on a Operation, how can I do it? The picture above is the program I use, Modelio... How do I add arguments on Operation? And how do I add a return value?
John
  • 2,900
  • 8
  • 36
  • 65
4
votes
3 answers

SceneKit: how to recreate lighting from Google Poly for same OBJ file?

The goal is to recreate the lighting for this OBJ file: https://poly.google.com/view/cKryD9VnDEZ Code to load OBJ file into SceneKit (can download file from above link): let modelPath = "model.obj" let url = NSURL(string: modelPath) let scene =…
Crashalot
  • 33,605
  • 61
  • 269
  • 439
3
votes
1 answer

How to load 3D content into RealityKit Apps at runtime?

For a specific purpose I have to load 3D content (glTF absolutely preferred) into my RealityKit based App during runtime. As far as I understand, RealityKit usually relies on 3D content conversion to proprietary .reality during compilation. To make…
wkrt
  • 78
  • 9
3
votes
0 answers

Performance when creating an MDLVoxelArray algorithmically

I've been playing around with the MDLVoxelArray functionality in iOS, to create a mesh algorithmically via voxels. Currently I create the voxel array like this: let minBounds = vector_float3(x: 0.0, y: 0.0, z: 0.0) let maxBounds = vector_float3(x:…
andygeers
  • 6,909
  • 9
  • 49
  • 63
3
votes
1 answer

Load .obj to .scn with multiple sub-objects, textures, materials in SceneKit & Model I/O?

I'm currently working with large .obj files in Apple's SceneKit/Model I/O that contain multiple objects within, each with separate textures and materials. This means I cannot apply one single texture to the file like many other form posts suggest.…
3
votes
2 answers

How do I pull the data out of a MDLMeshBufferData to fill a MTKMeshBuffer?

I need to create a MTKMeshBuffer instance from a MDLMeshBufferData instance. Here is a code snippet: let mdlm = MDLMesh(scnGeometry:sceneGeometry, bufferAllocator:nil) let mdlSubmesh:MDLSubmesh = mdlm.submeshes?[ 0 ] as! MDLSubmesh let…
dugla
  • 12,774
  • 26
  • 88
  • 136
3
votes
2 answers

I have MDLAsset created from an SCNScene. How do I extract MDLMeshs, MDLCamera(s), and MDLLights?

I am struggling trying to traverse an MDLAsset instance created by loading an SCNScene file (.scn). I want to identify and extract the MDLMeshs as well as camera(s) and lights. I see no direct way to do that. For example I see this instance method…
dugla
  • 12,774
  • 26
  • 88
  • 136
3
votes
1 answer

Which files should be include/ignore for modelio

I am using modelio 3.3.1 with the following details: Windows 7 64bit Modelio: Version 3.3.1 Build: 201502191121 Metamodel: 9023 System: win32 (6.1) Architecture: x86_64 I want to use git 1.9.0 to keep every version. The tree…
Lai
  • 115
  • 1
  • 6
2
votes
1 answer

Modelio - class diagram -sequence diagram

Is it possible to create class diagram and sequence diagram on the same page(or can we link) in Modelio? This is the class diagram I have created for the signUp . This is the sequence diagram I have created for the signUp I am unable to find the…
2
votes
2 answers

.obj file from server URL doesn't work

I need to import 3D model from server URL but it's not working properly. Here is my code: guard let path = modelPath, !path.isEmpty else { fatalError("Failed to find model file path.") } guard let modelURL = URL(string: path) else { …
iBeginner
  • 241
  • 1
  • 2
  • 8
2
votes
0 answers

Using a bundle to load object file for MDLAsset

I'm trying to load an .obj file to create an MDLAsset object in a macOS Swift app. Originally, I was creating the asset like so: let myAsset = URL(fileURLWithPath: "/Users/me/Development/MyProject/MyApp/Assets.xcassets/arrow.dataset/arrow.obj") …
narner
  • 2,908
  • 3
  • 26
  • 63
2
votes
2 answers

What does this operation mean, and what is the function?

I’m having a hard time figuring out what this means. Can someone explain the operation for me? Specially the m and n values. I know what system and int is. The screenshot is taking from a premade tutorial, so I’m sure it’s something the owner/author…
KamK
  • 61
  • 4
2
votes
2 answers

Generating MDLMesh with crease support?

I’ve been able to create a MDLMesh and convert to SCNGeometry to render in SceneKit. But I haven’t been able to get crease support in my meshes or geometry. I just wanted to verify that I’m taking the correct steps to add crease support for my…
Phi
  • 157
  • 1
  • 8
1
2 3 4