i2e-haw-hamburg / cad-in-unity

Loading CAD into Unity 3D applications
Apache License 2.0
105 stars 27 forks source link

Improve the documentation #2

Open Marneus68 opened 8 years ago

Marneus68 commented 8 years ago

Hello,

This project seems rather useful, but I'm a bit puzzled by how I'm supposed to use it for CATPart and CATProduct import at runtime in Unity. Would it be possible to have a few pointers on how to get started in the README and possibly eventually a better documentation?

Best regards;

eobet commented 8 years ago

I'm actually about to try to start using this as well, and I suspect that you here see an example of how to use it (from another project by the same author):

https://github.com/i2e-haw-hamburg/simple-view/blob/master/Simple%20View/Assets/Scripts/FileLoader.cs

Will try myself hopefully this weekend! I'm curious if there is any dynamic polygon reduction available (as well as edge length limiting). There's a commercial Unity loader from Japan available that does this, but... it's very Japanese... (and requires Unity Pro).

Marneus68 commented 8 years ago

Very interesting, thanks a lot for pointing that out to me, I totally missed it. I just gave it a try and haven't been able to build this project either. It's shipped without the "cad-in-unity" .dlls and adding the ones from a fresh compilation of the Visual Studio solution doesn't seem to yield much positive result as the 'IModel' interface is not found. If you eventually get it to work I'd be really interested to know how you did it. I'm still evaluating multiple competitive solutions to do what I want but this project seems to be in its early stages.

As for the commercial "Unity CAD Importer" I requested some technical details and a quote but haven't heard back from them for now.

1blankz7 commented 8 years ago

Thank you for pointing this out. I will try to update the documentation and give some hints. Feel free to ask if something is unclear.

@eobet At this time their is no polygon reduction. But it would be an interesting topic for further development.

Marneus68 commented 8 years ago

Thanks for offering some assistance @1blankz7. I finally got your other project, simple-view (which looks like some sort of demonstration project), to work. With it I was able to load some .stl files but had no chance loading CATParts and CATProduct. Is this feature implemented in cad-in-unity or is this just part of the roadmap? If it's implemented could you point me out in the general direction of where I should look for it?

Best regards;

1blankz7 commented 8 years ago

At this time we have only implemented STL and 3DXML. We are working on STEP right now. The list in the roadmap is just a bunch of possible formats. I admit that the readme is not the best place for a discussion and leads to misunderstanding.

Your right. simple-view is a demo app for our technology and a proof of concept for our thesis.

Marneus68 commented 8 years ago

Thanks for your reply, at least I'm glad I managed to get the test project to work. Unfortunately the CATPArt and CATProduct import are the features I was looking for.

Thanks a lot for your help and best of luck for your thesis.

fullstackdeveloperstar commented 6 years ago

Hello I am a student of unity so I don't know how to use this libraries I have CATPart and CATProduct files then I don't know how to load in unity project. if you teach me from the start , thank you very much

Senne021 commented 6 years ago

Hey @Marneus68, I have also got a problem with the missing DLLs. Do you know how you've solved the problems 2 years ago? It would be realy great when I'm getting an answer

Perissinotto commented 6 years ago

@1blankz7 I'm working on loading the STEP , have you make any improvement? Thanks for the great Job

Sarabenarfa commented 4 years ago

@1blankz7 I'm working on loading STEP file in unity, I was wondering if there are any improvement?

HTSMRT commented 4 years ago

Hi, I am working on a project which need CAD file importer in Unity, I have tried to use your project but I am not really successful in that way. I would really appreciate if you release some documentation about how could I use this project to import any format of CAD files.