Home > Community > Forums > PCB SKILL > How to change the Shape fill style

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 How to change the Shape fill style 

Last post Wed, Oct 29 2008 8:59 PM by leonlee. 6 replies.
Started by leonlee 29 Oct 2008 01:03 AM. Topic has 6 replies and 4871 views
Page 1 of 1 (7 items)
Sort Posts:
  • Wed, Oct 29 2008 1:03 AM

    • leonlee
    • Top 200 Contributor
    • Joined on Mon, Jul 21 2008
    • Shanghai, Shanghai
    • Posts 38
    • Points 580
    How to change the Shape fill style Reply

    I created 3 shapes with SKILL routine. And I want to change the shape's fill style from solid to crosshatch.
    But I met a problem with the voids. Sometimes, some of the old voids are dispear, some of them are correct.

    Below is the codes, which I simplified them:

    ;;Before running the SKILL tool, Shape is filled in Solid, and Shape1, Shape2 are filled in Hori_Vert.
    ;;Now I want to change Shape's fill sytle with myfill.
    Layer="board geometry/test_layer"   ;;The test_layer is an example
    myfill1=make_axlFill(?angle 45, ?origin 0:0, ?width 0.127, ?spacing 2.54)
    myfill2=make_axlFill(?angle 135, ?origin 0:0, ?width 0.127, ?spacing 2.54)
    myfill=list(myfill1 myfill2)  ;;to define the fill style
    axlDBCreateShape(car(axlPolyFromDB(Shape)), myfill, Layer, nil, nil); To create a new shape
    axlDeleteObject(Shape) 

    I have tried to use the function: axlDBCreateOpenShape, axlDBCreateVoid and axlDBCreateCloseShape. But it is same situation.

     What is the reason?

    Thanks.

    • Post Points: 20
  • Wed, Oct 29 2008 1:10 AM

    • leonlee
    • Top 200 Contributor
    • Joined on Mon, Jul 21 2008
    • Shanghai, Shanghai
    • Posts 38
    • Points 580
    Re: How to change the fill style with SKILL Reply

    I can't paste picture here, how yo upload local picture to my post?

     

    • Post Points: 20
  • Wed, Oct 29 2008 12:50 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 736
    • Points 15,930
    Re: How to change the Shape fill style Reply

    I raised a service request that should have seen this fixed in 16.0.

    I quick test gives me no problems in 16.01.

    You need to write some repeatable code and submit it as a new service request.

     Dave

    Dave Elder, Tait Communications
    • Post Points: 20
  • Wed, Oct 29 2008 5:04 PM

    • redwire
    • Top 10 Contributor
    • Joined on Thu, Jul 17 2008
    • Allen, TX
    • Posts 876
    • Points 13,500
    Re: How to add photos Reply

     See below.


    • Post Points: 20
  • Wed, Oct 29 2008 7:47 PM

    • leonlee
    • Top 200 Contributor
    • Joined on Mon, Jul 21 2008
    • Shanghai, Shanghai
    • Posts 38
    • Points 580
    Re: How to add photos Reply

    OK, thanks

     

    The voids is no problem in solid shape.


    • Post Points: 5
  • Wed, Oct 29 2008 7:50 PM

    • leonlee
    • Top 200 Contributor
    • Joined on Mon, Jul 21 2008
    • Shanghai, Shanghai
    • Posts 38
    • Points 580
    Re: How to add photos Reply

    Below is the incorrect one, the voids of Shape1 is disappeared.


    • Post Points: 5
  • Wed, Oct 29 2008 8:59 PM

    • leonlee
    • Top 200 Contributor
    • Joined on Mon, Jul 21 2008
    • Shanghai, Shanghai
    • Posts 38
    • Points 580
    Re: How to change the Shape fill style Reply

    Thanks, Dave.

    I think it is a bug too. My Allegro is 15.5.1, and will be upgraded soon.

    • Post Points: 5
Page 1 of 1 (7 items)
Sort Posts:
Started by leonlee at 29 Oct 2008 01:03 AM. Topic has 6 replies.