" /> Adobe Solutions for Manufacturing: August 2008 Archives

« June 2008 | Main | September 2008 »

August 23, 2008

About Acrobat Pro Extended and 3D Formats

We hear very often the question whether a 3D format is supported in Acrobat 9 Pro Extended, and in some cases the response is a) "yes, all current versions", or b) "yes, up to version X", or c) "no, it is not supported". On the same subject of formats, there is increasing interest in the 3D format representation inside PDF called PRC, with questions being asked such as a) "is the PRC format open" or b) "are the specifications accessible" or c) "is there an SDK to read and write PRC".

In this article, I will try to address all these questions by providing short answers when possible and by introducing the new Acrobat 3D SDK that is now available as part of the Acrobat 9 SDK that is now live. So, please read on and feel free to ask any additional questions using the comments form.

Supported 3D Formats in Acrobat 9 Pro Extended

The short answer is actually a fairly long list which now includes over 30 CAD formats. So, if you just need to know if the format of the CAD application you are using is supported, before making a decision to evaluate or purchase the product, please don't wait any longer and download the PDF below which includes a detailed list of all 3D formats and versions from which you can create a 3D PDF using Acrobat 9 Pro Extended:

Acrobat 9 Pro Extended Supported 3D Formats

If unfortunately, the format you were looking for is not on the list, you have an alternative solution called 3D Capture. If you are not familiar with this very powerful tool that comes with Acrobat 9 Pro Extended, I encourage you to check it out by reading the documentation available on-line at the following links: 

    1. Capture a 3D Model in PDF
    2. Supported 3D Applications for Capture in PDF

Last but not least, if none of the two methods above work for your format, your last resort is to read further down and discover what is possible with the Acrobat 3D SDK. Note that it will require to have developer skills to create a new translator for a non suppoted format using the 3D SDK.

Adobe PRC Specifications

Yes, the PRC format is open as are all the formats that PDF can contain. Whether you are an end-user or a developer and need to access the detailed PRC specifications, please don't wait any longer and go to the link below to discover all the bits and bytes that PRC is made of:

Adobe PRC Specifications

Acrobat 3D SDK

For your information, the 3D SDK to read and write PRC is now part of the Acrobat 9 SDK which is now live and can be downloaded from the following page:

            http://www.adobe.com/go/acrobat_developer

Below are some pointers to the 3D sections inside the Acrobat SDK documentation that will provide you with direct acces to 3D related topics such as the 3D API Reference guide and the 3D Samples guides that can be leveraged for instance to add support for a new 3D format in Acrobat 9 Pro Extended.

     Acrobat 9 SDK Documentation available online

  1. Link to the online documentation:
    http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/index.html 

  2. Intro to the new 3D SDK:
    Introduction to SDK > What’s New > What’s New for Acrobat SDK > 3D Support

  3. 3D Developer guide:
    Plug-ins and Applications > Developing Plug-ins and Applications > Creating 3D Annotations
    Plug-ins and Applications > Developing Plug-ins and Applications > Parsing and Creating PRC Files

  4. 3D Samples guides:
    • Introduction to SDK > Guide to SDK Samples > Plug-in Samples > Embed3DData
    • Introduction to SDK > Guide to SDK Samples > Plug-in Samples > ExportFromPRC
    • Introduction to SDK > Guide to SDK Samples > Plug-in Samples > ImportToPRCBrep
    • Introduction to SDK > Guide to SDK Samples > Plug-in Samples > ImportToPRCTess
    • Introduction to SDK > Guide to SDK Samples > Windows - Interapplication Communications > ReadCADFileVC
    • Introduction to SDK > Guide to SDK Samples > Windows - Interapplication Communications > ReadPdfPrcVC
    • Introduction to SDK > Guide to SDK Samples > Windows - Interapplication Communications > WritePdfPrcVC

  5. Link to the 3D API Reference guide:
    http://livedocs.adobe.com/acrobat_sdk/9/Acrobat9_HTMLHelp/API_References/PRCReference/3D_API_Reference/index.html

  6. 3D JavaScript Developer guide:
    JavaScript > Developing Acrobat Applications Using JavaScript > Interfacing with 3D JavaScript

  7. 3D JavaScript Reference guide:
    JavaScript > JavaScript for Acrobat 3D Annotations API Reference

 

Pierre Tager, Acrobat Product Manager

August 20, 2008

Vector Snapshots - Pointing the Way

Recently, I have been asked by several customers to explain how to “export to vector” for technical illustrations in Acrobat Pro Extended Version 9.  There are numerous cases where existing and perspective customers are interested in creating vector renderings using 3D data.  Some simply want to save images as a page within a PDF.  Others want to bring the vector image into Adobe Illustrator or other editing tools to add additional content.  Because we have replaced the 3D Tool Kit that shipped with previous versions of Acrobat 3D with 3D Reviewer, there is a little re-learning for some.

 

To learn how to create vector snapshots, please read on.

Let’s start with 3D Reviewer.  3D Reviewer is an application that ships with Acrobat Pro Extended, and is the key to creating vector images.  There are two ways to access 3D Reviewer.  The first is create a 3D PDF in Acrobat and then right click on the 3D window to select “Edit in 3D Reviewer”.  Changes made to files in 3D Reviewer can be ported back to PDF later.  A second option, and possibly a faster way to go, is to simply convert your CAD parts or assemblies directly for use in 3D Reviewer.  Simply open the application and drag the CAD files onto the scene graph. In this case, you will probably want to choose “tessellated” as the format when importing.  In the image below, I have selected the top of the assembly tree (this is the disk brake that you have seen dozens of times if you have visited the Adobe web site).  I am about to drag it onto the scene graph.

 

Next, I want to select the snap shot tools.  Below, you will see our friend the disc brake in 3D Reviewer.  I have just selected Tools -> Snapshot -> Vector -> Window to Vector.

By the way, there is also a Window to Vector icon available on the Snapshot Toolbar. 

Next is to create the AutoCad DXF or Windows Metafile (ewf). Both are readable in Illustrator. In this case, I will choose DXF.  When you create the DXF file, use these settings by selecting “options” when the dialog box appears:

 

cid:image007.jpg@01C9015E.AD3009D0

 

Wait a few seconds, depending upon file size, and you will have your DXF file.  Here is an image of mine open in Illustrator.

 

Before I end this article, there is one other thing to share.  For those of you who simply want a PDF of the with a vector image like the one above, you can simply select file -> Print -> and the Adobe PDF from the print pull down menu. When you do that, you may want to scale the output to manage file size and rendering quality.  I have also selected “Preferences” so you can see the settings I used. 

Lastly, here is the PDF I just created:

As a final touch, I might go ahead and import a “template” as a layer into the PDF to put a nice border around the vector image, but let’s leave that for a future article.  So there you have it, a quick tour of how to generate vector images.

August 12, 2008

Can I save 3D measurement markups in PDF?

I can't tell you how many times I've heard this question in the past 12 months, but it's quite a lot. We've heard your voice and the short answer is now you can save 3D measurement markups in Acrobat/Reader 9 and I am going to teach you how! So, if you haven't yet discovered this new feature, I strongly invite you to read further to learn the basics of adding and managing measurement markups as well as a few interesting tips you will certainly appreciate.

Accessing the 3D measurement tool

We've had a measurement tool since the first release of Acrobat/Reader supporting 3D and we've tried to enhance the tool in every new release based on customer feedback. To access the tool, you have several options that are all equivalent, choosing one or another only depends on whether you prefer using the main menus or toolbar icons. Before you follow any of the 3 methods below, make sure you have a PDF with 3D open and that you have activated your 3D model.

  1. Go to Menu>Tools>Analysis>Measuring Tool
  2. Go to View>Toolbars>Analysis and click on the icon circled in red 
  3. On the 3D toolbar, click on this icon   (if you can't find the tool, click on the drop down arrow next to the Rotate tool)

Note: you have to hover the mouse over the 3D model to turn the 3D measurement tool on. Otherwise, you may see the 2D tool controls appear.

If you have correctly followed one of the methods described above, here's a snapshot of the 3D measurement toolbar you should be able to see on your screen:

                               

You will notice at first sight a significant change in the user interface. Notably, we have separated out the control modes, such as the snap modes and the measurement types, from the feedback window that you should see displayed in the lower right hand corner as represented below:

                                         

We've also added a context menu to give you acces to the most common tools that you may need while in measurement mode. Here's a snapshot of what you should see when right-clicking on the mouse while in measurement mode:

Feel free at this point to spend more time discovering the different options exposed in the menu above before moving on to the next section. To go back to the starting point, you can exit the measurement mode by hitting the ESC key and start over beginning with one of the three methods described above.

Creating a 3D measurement markup in Acrobat

Let's first look at the user experience for creating a measurement markup in Acrobat, then we'll continue with how it applies in Reader. First, we'll start with the most natural method, then I will describe an alternative method to better control how to organize your measurement markups.

Start by clicking on the Home view  and use the mouse to set your camera view for best accessing the part or area you want to measure. Feel free to use the context menu to turn on/off the display of some parts or change the rendering mode to transparent for optimal display.

Tip: to use the mouse controls for navigation, hold the ALT key and click on the mouse buttons like you would normally do when the measurement tool is not turned on, i.e. LMB to rotate, RMB to zoom, LMB+RMB to pan.

Then pick any snap mode, edge points for instance , and any measurement mode such as point to point  and measure a distance on your 3D model.

Note while you are moving your mouse to select your measurement end points, the feedback window is updated in real time and displays important information, similar to this:

                                               

Now select one of the hilighted points in red as you hover over your 3D model and select a second edge point highlighted in red to obtain the desired dimension. At this point, you should have the choice to place the measurement markup anywhere you want along the line connecting the two edge points you have selected. Click one more time and the markup will be placed relative to the current position of the mouse cursor.

Tip: while in snapping mode to select the end points of your measurement, use the right-click context menu to cancel the current selection by selecting the optin Cancel Measurement at the top.

If you see a green markup with some dimension like the one below, then you have successfully created a 3D measurment markup that you can now save with your PDF:

One more thing to note though is that a new view was automatically created for you. If you open the Model Tree and look at the list of views in the Views panel, you will notice a new view at the bottom of the list labeled something like MesurementView11 with a measurement markup attached to it. This is exactly the same way the Comment & Markup tool works with 3D models.

I will now teach you how to manage your 3D measurement markups by controlling which view they are attached to. Let's imagine you have 3 parts in your model and you would like to create a series of 3D measurement markups for each of the 3 parts. The way 3D measurement markups and views work is very simple. If you have a view selected in the View panel, and you just add a new 3D measurement markup, the markup will automaticall get attached to the view selected. You can keep manipulating the 3D model for adding more dimensions, and all of the markups added will attach to the same view currently selected. Once you are ready to switch to another part, create a new view with that part and start adding new measurement markups. From this point on, the new 3D measurement markups will get added to the new view created. It's only when no view is selected, that a new view will be created for you automatically. You can joggle from one view to another at any time to add more markups to a particular view. Check out the snapshot below of an example with 2 views and multiple measurement markups attached to each:

Finally, as you probably guessed by now, the 3D measurement markups are similar to any other markups you can apply using the Comment and Markup tool. The only difference is that 3D measurement markups are not necessarily converted into Comments, but you can selectively decide which ones to promote as a Comment. In order to turn a 3D measurement markup into a Comment, select the markup from the view panel or in the viewport, right-click and select the option Convert to Comment. After doing so on one of the measurement markup you created, if you open the Comments panel at the bottom of the Acrobat window, you will find your 3D measurement markup accessible there as well. Direclty clicking on the markup entry will take you directly to the view to which the markup belongs and display all of the other markups attached to that view.

Creating a 3D measurement markup in Reader

I am sure you are very familiar with the Reader Extensions concept. As a quick reminder, to enable a user to access the Comment/Markup, Measurement and Cross-Sectioning tools in the free Adobe Reader, the author of the PDF needs to enable that function using Acrobat. Here are the steps to take for doing so:

  1. Open any PDF with 3D in Acrobat
  2. Go to Comments>Enable for Commenting and Analysis in Adobe Reader
  3. Save the file

The PDF saved as described above is referred as having Reader Extensions enabled. This simply means that if the PDF is opened in the free Adobe Reader, the following additional tools are turned on: Comment and Markup, Measurement, Cross-sectioning.

The reason it is important to mention the Reader Extensions capability is because otherwise anyone opening a normal PDF with 3D in Adobe Reader will not have the ability to make measurements nor add 3D measurement markups.

So go ahead and use the PDF previously created and apply Reader Extensions to it using Acrobat as indicated above. If you have Reader available on your machine, open that PDF in Reader and observe the Reader toolbar area and the 3D toolbar. You will notice that the Reader toolbar includes the Comment and Markup tool icons while the 3D toolbar includes the measurement and cross-sectioning tool icons. Here's what you should be seeing:

If you open the Model Tree, and look at the list of views in the View panel, of course you will find the views you created previously and the 3D measurement markups attached to each view. Try clicking on one of the views or the markups directly and experience the exact same behavior as in Acrobat.

One difference though you will notice is when adding a new 3D measurement markup. Suppose you want to add a new markup to an existing view or you want to create a new view and attach a 3D measurement markup to it. The difference will simply be that any 3D measurement markup is automatically converted to a Comment. The reason for this behavior is that we don't want a user participating in a review workflow to alter the original PDF without tracking each modification as a new Comment. Look at the snapshot below and notice the icon circled in red indicating the markup is also a Comment.

Conclusion

I hope you have enjoyed the material reviewed. Having the ability to save 3D measurement markups is indeed a key feature added in Acrobat/Reader 9 that many of you I am sure will get to use more and more. Here are some examples of use cases where saving 3D measurement markups would be most useful:

  • Internal cross-functional design collaboration
  • Extended design reviews with suppliers
  • Feedback reports from shop floors

As always, we welcome your feedback and any suggestions you may have as well as your experience using Acrobat/Reader 9.

Cheers,

Pierre Tager, Acrobat Product Manager