How to create U3d Files
-
Guys, I want to create U3d files programmatically from .NET Anyone have idea? Code snippet will be highly appreciated.:rose::rose:
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates -
Guys, I want to create U3d files programmatically from .NET Anyone have idea? Code snippet will be highly appreciated.:rose::rose:
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET TemplatesOpen a file stream, then follow this specification[^] and everything will be all good.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Open a file stream, then follow this specification[^] and everything will be all good.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008Hey .. .this is all I know.. I have already seen the specification. But from this it wouldnt be possible to do, I think. If I can get something simplified, it would be better to absorb. Can you provide one simple C# script to make one circle or so, that might help. Any link to find example other than ECMA specification...? Err.. I am really confused with this specification stuffs :confused: Thanks in advance.
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates -
Hey .. .this is all I know.. I have already seen the specification. But from this it wouldnt be possible to do, I think. If I can get something simplified, it would be better to absorb. Can you provide one simple C# script to make one circle or so, that might help. Any link to find example other than ECMA specification...? Err.. I am really confused with this specification stuffs :confused: Thanks in advance.
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET TemplatesI don't have an examples because I've never messed with u3d files. I can't find any examples of writing them, nor can I find a library that supports writing them. It would appear that you are going to have to write your own library from scratch. And to do this, you're going to have to understand the format specification.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Hey .. .this is all I know.. I have already seen the specification. But from this it wouldnt be possible to do, I think. If I can get something simplified, it would be better to absorb. Can you provide one simple C# script to make one circle or so, that might help. Any link to find example other than ECMA specification...? Err.. I am really confused with this specification stuffs :confused: Thanks in advance.
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET TemplatesIf you have access to a 3D CAD program that emits such files, create a few drawings, as simple as possible and starting from scratch; save the designs in U3D files, then analyze them with an hex editor, and try to figure out how they obey the standards specification. Then write code accordingly. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
-
I don't have an examples because I've never messed with u3d files. I can't find any examples of writing them, nor can I find a library that supports writing them. It would appear that you are going to have to write your own library from scratch. And to do this, you're going to have to understand the format specification.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008same I think as well... I was reading the specification on that. Actually I want to add one 3d graphics object to PDF files, similar as Adobe Apollo does. I have seen iText of java does this using u3d files. Those files can be animated using javascript specific to PDF. do you know any other way-around to create 3d graphics on fly and add to PDF files. It would take me a lot of time to create library based on the documentation... :(( :((
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates -
If you have access to a 3D CAD program that emits such files, create a few drawings, as simple as possible and starting from scratch; save the designs in U3D files, then analyze them with an hex editor, and try to figure out how they obey the standards specification. Then write code accordingly. :)
Luc Pattyn [Forum Guidelines] [My Articles]
The quality and detail of your question reflects on the effectiveness of the help you are likely to get. Show formatted code inside PRE tags, and give clear symptoms when describing a problem.
yes .. . I will look into that. Thank you so much for helping me. :)
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET Templates -
same I think as well... I was reading the specification on that. Actually I want to add one 3d graphics object to PDF files, similar as Adobe Apollo does. I have seen iText of java does this using u3d files. Those files can be animated using javascript specific to PDF. do you know any other way-around to create 3d graphics on fly and add to PDF files. It would take me a lot of time to create library based on the documentation... :(( :((
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET TemplatesAbhishek Sur wrote:
do you know any other way-around to create 3d graphics on fly and add to PDF files
Nope. You're treading in an area that is so specific to you, you're going to find very few people with experience in what you're trying to do. This is where your research skills are going to come in. You're going to have to do the leg work to find any libraries or techniques that deal specifically with embedding a u3d-based object in a PDF. I don't know of any, since I just found out about u3d when you asked the question in your original post.
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007, 2008 -
Guys, I want to create U3d files programmatically from .NET Anyone have idea? Code snippet will be highly appreciated.:rose::rose:
Abhishek Sur My Latest Articles Basics on LINQ and Lambda Expressions
Create .NET TemplatesTo generate u3d file from our cad models we use http://sourceforge.net/projects/u3d/[^]. It's native C++ (you will need to wrap it), has not much documentation but its free. Commercial libraries are everything but cheap! It allows us to generate u3d files. Then you can use iTextSharp to insert the generated file in a pdf document.
___________________________________________________________ On the whole human beings want to be good, but not to good and not quite all the time - George Orwell
-
To generate u3d file from our cad models we use http://sourceforge.net/projects/u3d/[^]. It's native C++ (you will need to wrap it), has not much documentation but its free. Commercial libraries are everything but cheap! It allows us to generate u3d files. Then you can use iTextSharp to insert the generated file in a pdf document.
___________________________________________________________ On the whole human beings want to be good, but not to good and not quite all the time - George Orwell
Yes friend, I have already used this library. It really generates u3d files. Anyways, thanks for your help.:rose::rose:
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET Templates