3D Design

3D Design

Topics related to Ansys Discovery and Ansys SpaceClaim.

Extracting SAB file and transformations from a SpaceClaim Assembly file

    • PeteRimkus
      Subscriber

      Hello,

      I am working on importing SpaceClaim models into our product and I'm a little confused regarding how the SAB files and their related transforms are stored in a .SCDoc file that represents an Assembly.

      When I programmatically unzip the .SCDoc in the attached .7Z file, I am finding references to the 3 SAB files and their UUIDs in document.xml.refs. I am also finding 3 'ComponentDefs's in the document.xml file (under DesignPartDef) that seem to associated the UUIDs with transformation matrices.

      But ... 2 of the ComponentDefs have 'refId's that refer to identical UUIDs with no transformation. So I wonder .. why the duplication? The 3rd ComponentDef does have a transformation, but knowing what the SAB file looks like I don't see it when the part is viewed in a separate viewer or in the thumbnail. There is also no mention of the 3rd SAB file ... yet the body for that one is evidently there when the assembly is viewed.

      So obviously I've made some incorrect assumptions about how to extract the information about the placement of the SAB file component bodies. If anyone out there could help me parse the data I want ... (specifically transformations and visibility of the component bodies) it would be greatly appreciated. I feel like I'm close, but things just don't line up.

      Thanks in advance

      Pete

    • PeteRimkus
      Subscriber
      No one, huh?
      Does anyone then perhaps know of a contact at Ansys/Spaceclaim who might know how to figure out the placement of component parts in an assembly?
      Thanks in advance Pete
    • Keyur Kanade
      Ansys Employee
      As ANSYS Staff, we can not download attachments. Please upload images using upload image functionality.
      Do you have student version?
      Please go through help manual for more details
      Regards Keyur
      How to access Ansys Online Help Document
      How to show full resolution image
      Guidelines on the Student Community
      How to use Google to search within Ansys Student Community
    • PeteRimkus
      Subscriber
      No - we do not have the Student version. In fact I don't have SpaceClaim installed ... I do have the viewer though.
      Therefore I don't have access to the help manual (though I don't it covers a description of the contents of the .SCDOC file).
    • PeteRimkus
      Subscriber
    • PeteRimkus
      Subscriber
      Again - I am looking to decipher the connection between the .SAB files and the Document.XML files inside the SCDOC archive which is just a ZIP file.
      There must be someone at Ansys/Spaceclaim able to answer the question in my first post ...
      Thanks in advance
      Pete
    • peteroznewman
      Subscriber
      Pete If you download and install the free ANSYS Student software, you will have access to all these help files including the Developer's Guide.
    • PeteRimkus
      Subscriber
      OK - thanks ... I'll give that a shot to see if the information I'm looking for is in there.
      Pete
    • PeteRimkus
      Subscriber
      I downloaded and installed the Student Version but apparently I cannot read the API Docs without registering and I cannot register without a Customer number.
    • peteroznewman
      Subscriber
      The files I showed above are installed with the Student version. They are on your drive. I opened the .pdf file and the .chm file as well. It's not apparent to me that you need a Customer number.
    • PeteRimkus
      Subscriber
      Thanks ... That was not obvious so I appreciate the help.
      The Developers Guide gives me lots of information about developing an addin in SpaceClaim. That is not what I am trying to do, but I will look further to see if there's more there than I noticed.
      Thanks again
      Pete
    • PeteRimkus
      Subscriber
      I found a couple screenshots on-line from a site/company named pidex where they due a scanty job at showing whats in the SCDOC file. But I still can't make total sense of what's in the documents.xls file.
Viewing 11 reply threads
  • The topic ‘Extracting SAB file and transformations from a SpaceClaim Assembly file’ is closed to new replies.