Macro - drawing simple objects

Discussion in 'SolidWorks' started by Jacek Zagaja, Jan 7, 2006.

  1. Jacek Zagaja

    Jacek Zagaja Guest

    Having an equation:

    radius = exp(a*angle)

    I willing to draw circles (center is on curve) and define planes for
    this circles which for a given angles. Where can I find some basic
    drawing routines using VB scripts for that purpose?

    Jack,
     
    Jacek Zagaja, Jan 7, 2006
    #1
  2. Jacek Zagaja

    TOP Guest

    Probably the easiest approach to get you started is to record a macro
    by creating an offset plane and then sketching a spline on it. That
    will give you the routines to create a plane from another and create a
    spline based on points. It isn't that hard to then create a spline in a
    FOR NEXT loop.
     
    TOP, Jan 9, 2006
    #2
  3. Jacek Zagaja

    Jacek Zagaja Guest

    Made it. There's nothing in swp file saved by Solidworks that can be
    used so far :(

    Jack,
     
    Jacek Zagaja, Jan 11, 2006
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.