Giter VIP home page Giter VIP logo

free-solidworks-obj-exporter's People

Contributors

aeroanion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

free-solidworks-obj-exporter's Issues

runtime error 91

Got a runtime error 91

Private Function getFaceMaterial(sldFace As Object) As String



    getFaceMaterial = convArrayToStr(sldFace.MaterialPropertyValues)



    Dim getFaceTexture As SldWorks.texture 'look for textures on faces

    Dim configName As String

    Dim strTexPath As String, strTex As String, strScFact As String, saveTexPath As String

    Dim bfaceName As String, savebFaceName As String

    Dim featureName As String, saveFeatureName As String

    

    Set getFaceTexture = sldFace.GetTexture(configName)

    If Not getFaceTexture Is Nothing Then

        strTexPath = getFaceTexture.MaterialName

        saveTexPath = collectTexPaths(strTexPath)

        strTex = getTextureName(strTexPath)
 ➡       strScFact = getFaceTexture.ScaleFactor
        'Print #3, strTex, "fc"

    Else

        strTex = ""

        strScFact = ""

    End If

    

    If Not getFaceMaterial = "" Then 'face's body name for reference name

        bfaceName = sldFace.GetBody.Name & " face" '& " fcn"

        savebFaceName = collectReferNa

Selectable output units

Would it be useful if the UI indicated file units and gave choices of export units with Meters as the default?

Please open a SW document

Been a while since I used this addon but keep getting this popup on parts and assemblies using 2022.

I have tried a few different parts, even a basic cube and have the same issues.

Any ideas?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.