Error loading DWG file
radug
6/13/2018 8:14 AM
|
---|
Yes. Or one can convert the 3D objects to step/iges and use OpenCascade to show/manipulate/extract info from/etc them.
This is actually how I used to handle the problem but now the (potential) customer sent me some 3D - DWG files.
On the other hand, Teigha looks interesting!
Again, thank you!
Regards,
Radu G.
|
radug
6/14/2018 10:06 AM
|
---|
I took your suggestion and I used TeighaFileConverter 4.3.2 to export the given DWG file to DXF (ascii R12 and R13).
The DXF R12 format worked like a charm, the other one (R13) ... not so much ...
The good news is I decided to buy the libraries (CADLIB Pro) as they suit our needs. So far ;-)
Thank you for your support!
Regards,
Radu G.
|
radug
6/15/2018 11:40 AM
|
---|
Is it possible to show the resulting DXF R12 3D object as wireframe (as well) in OpenGLExtendedViewExampleCS ?
Is there smth. i'm overlooking?
Regards,
Radu G.
|
Wout
6/15/2018 11:42 AM
|
---|
There's a renderMode field that you can set to RenderMode.Wireframe, but you might as well use Win Forms if you do wireframe rendering.
- Wout
|
radug
6/15/2018 11:56 AM
|
---|
Thank you!
I tried the WinForm approach but it showed me only a 2D view (projection?) and, besides that, I need both views (solid and wireframe ... you know customer's requirement ;-))!
Regards,
Radu G.
|
Wout
6/15/2018 12:10 PM
|
---|
Sure, whatever works for you. But the win forms view you can also rotate in 3D through Matrix4D, but if you need both solid rendering then OpenGL is probably easier.
- Wout
|
radug
6/15/2018 12:32 PM
|
---|
I tried your suggestion RenderMode.Wireframe but the result is quite different from what i had in mind (No Surface Triangulation). Is this possible?
|
Wout
6/15/2018 12:33 PM
|
---|
I don't understand, why would you need surface triangulation in wireframe rendering?
- Wout
|
radug
6/15/2018 12:37 PM
|
---|
I don't!
Have a look at the second image!
PS I hope i didn't express myself wrongly!
|
Wout
6/15/2018 12:58 PM
|
---|
Oh, you have surface triangulation, but you don't want it, I understood the other way around.
Could you send the DXF/DWG file for me to have a look at?
- Wout
|