Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. IT & Infrastructure
  4. How to create U3d Files

How to create U3d Files

Scheduled Pinned Locked Moved IT & Infrastructure
csharplinqwpfcomfunctional
10 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Abhishek Sur
    wrote on last edited by
    #1

    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

    D F 2 Replies Last reply
    0
    • A Abhishek Sur

      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

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      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, 2008

      A 1 Reply Last reply
      0
      • D Dave Kreskowiak

        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, 2008

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        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 Templates

        D L 2 Replies Last reply
        0
        • A Abhishek Sur

          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 Templates

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          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, 2008

          A 1 Reply Last reply
          0
          • A Abhishek Sur

            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 Templates

            L Offline
            L Offline
            Luc Pattyn
            wrote on last edited by
            #5

            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.


            A 1 Reply Last reply
            0
            • D Dave Kreskowiak

              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, 2008

              A Offline
              A Offline
              Abhishek Sur
              wrote on last edited by
              #6

              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 Templates

              D 1 Reply Last reply
              0
              • L Luc Pattyn

                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.


                A Offline
                A Offline
                Abhishek Sur
                wrote on last edited by
                #7

                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

                1 Reply Last reply
                0
                • A Abhishek Sur

                  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 Templates

                  D Offline
                  D Offline
                  Dave Kreskowiak
                  wrote on last edited by
                  #8

                  Abhishek 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

                  1 Reply Last reply
                  0
                  • A Abhishek Sur

                    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

                    F Offline
                    F Offline
                    Francois Gasnier
                    wrote on last edited by
                    #9

                    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

                    A 1 Reply Last reply
                    0
                    • F Francois Gasnier

                      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

                      A Offline
                      A Offline
                      Abhishek Sur
                      wrote on last edited by
                      #10

                      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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups